/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Calluna', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #000000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 80px;
    overflow: visible;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    height: 80px;
    box-sizing: border-box;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    transition: none;
}

.nav-brand a:hover {
    color: #ffffff;
    text-decoration: none;
}

.brand-name {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    overflow: visible;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #c0c0c0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c0c0c0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #ffffff;
    padding: 120px 0 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 600;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #c0c0c0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.btn-primary:hover {
    background-color: #c0c0c0;
    color: #000000;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #000000;
}

/* Page-specific styles */
.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #c0c0c0;
    text-align: center;
    margin-bottom: 3rem;
}

/* Hero sections for individual pages */
.services-hero, .about-hero, .contact-hero, .margot-hero, .blog-hero {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #ffffff;
    padding: 120px 0 80px;
    text-align: center;
}

/* Overview section for homepage */
.overview {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.overview-item {
    text-align: center;
    padding: 2rem;
}

.overview-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.overview-item p {
    color: #c0c0c0;
    line-height: 1.6;
}

.overview-actions {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA section */
.cta-section {
    padding: 80px 0;
    background-color: #000000;
    text-align: center;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Services page specific */
.services-content {
    padding: 80px 0;
    background-color: #000000;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #c0c0c0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
}

/* About page specific */
.about-content {
    padding: 80px 0;
    background-color: #000000;
}

.team-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.approach-item {
    text-align: center;
    padding: 2rem;
}

.approach-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.approach-item p {
    color: #c0c0c0;
    line-height: 1.6;
}

/* Contact page specific */
.contact-content {
    padding: 80px 0;
    background-color: #000000;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.contact-item p {
    color: #c0c0c0;
}

.faq-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    padding: 2rem;
    background-color: #000000;
    border-radius: 8px;
}

.faq-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.faq-item p {
    color: #c0c0c0;
    line-height: 1.6;
}

/* Margot page specific */
.margot-content {
    padding: 80px 0;
    background-color: #000000;
}

.margot-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.margot-description {
    font-size: 1.1rem;
    color: #c0c0c0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.margot-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    padding: 2rem;
    background-color: #1a1a1a;
    border-radius: 8px;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    color: #c0c0c0;
    line-height: 1.6;
}

.margot-demo {
    margin: 4rem 0;
    padding: 3rem;
    background-color: #1a1a1a;
    border-radius: 12px;
}

.demo-conversation {
    margin-top: 2rem;
}

.message {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

.user-message {
    background-color: #333333;
    margin-left: 2rem;
}

.margot-message {
    background-color: #000000;
    margin-right: 2rem;
}

.message strong {
    color: #ffffff;
}

.message p {
    margin: 0.5rem 0 0 0;
    color: #c0c0c0;
}

.margot-integrations {
    margin: 4rem 0;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.integration-item {
    padding: 1rem;
    background-color: #1a1a1a;
    border-radius: 6px;
    text-align: center;
    color: #ffffff;
    font-weight: 500;
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #333333;
    border-radius: 4px;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
}

/* Active navigation state */
.nav-links a.active {
    color: #ffffff;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

/* Blog page specific */
.blog-content {
    padding: 80px 0;
    background-color: #000000;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-post {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.post-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-post .post-image {
    height: 300px;
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #ffffff;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #c0c0c0;
}

.post-category-tag {
    background-color: #333333;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.3;
}

.featured-post .post-title {
    font-size: 2rem;
}

.post-excerpt {
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #c0c0c0;
}

.newsletter-signup {
    background-color: #1a1a1a;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 4rem;
}

.newsletter-signup h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.newsletter-signup p {
    color: #c0c0c0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #333333;
    border-radius: 6px;
    background-color: #000000;
    color: #ffffff;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #ffffff;
}

.newsletter-form .btn {
    white-space: nowrap;
}

/* Responsive design for new pages */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .overview-actions,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .user-message {
        margin-left: 0;
    }
    
    .margot-message {
        margin-right: 0;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #c0c0c0;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #c0c0c0;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: #1a1a1a;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333333;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

.service-icon {
    font-size: 1.2rem;
    font-weight: 700;
    color: #c0c0c0;
    background-color: #000000;
    border: 2px solid #c0c0c0;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-card p {
    color: #c0c0c0;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #111111;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-description {
    font-size: 1.1rem;
    color: #c0c0c0;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
    border: 1px solid #333333;
}

.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #c0c0c0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* How We Work Section */
.how-we-work {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333333;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
}

/* Example Solutions Section */
.examples {
    padding: 80px 0;
    background-color: #0f0f0f;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.example-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #c0c0c0;
    border: 1px solid #333333;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
    border-left-color: #ffffff;
}

.example-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.example-card p {
    color: #c0c0c0;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #000000;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-info p {
    color: #c0c0c0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
    color: #c0c0c0;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: #c0c0c0;
}

.contact-form {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #333333;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background-color: #000000;
    color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c0c0c0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-text {
    color: #c0c0c0;
    margin: 0.5rem 0;
    font-style: italic;
}

.footer-copyright {
    color: #c0c0c0;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .process-steps {
        gap: 1rem;
    }

    .process-step {
        padding: 1rem;
        gap: 1rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .process-step h3 {
        font-size: 1rem;
    }

    .examples-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-links a:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #c0c0c0;
    outline-offset: 2px;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
    overflow: visible;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    z-index: 1001;
    display: none !important;
    padding: 0.5rem 0;
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-link:hover {
    background-color: #333333;
    color: #c0c0c0;
}


