/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Serif', serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff5e1;
}

/* Navigation */
.navbar {
    background: #fff5e1;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #333333;
    z-index: 1001;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #333333;
    text-decoration: none;
    transition: color 0.2s;
    padding: 0.75rem 1rem;
}

.nav-links .cta-button {
    color: #fff5e1;
    padding: 0.75rem 1.5rem;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1rem;
    }

    .logo {
        flex: 0 0 auto;  /* Prevent logo from growing or shrinking */
    }

    .hamburger {
        display: flex;
        flex: 0 0 auto;  /* Prevent hamburger from growing or shrinking */
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: #fff5e1;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        gap: 2rem;
        padding: 2rem;
    }

    .nav-links.active {
        display: flex;
        right: 0;
    }

    /* Remove any conflicting styles from the general media query */
    .nav-content {
        flex-direction: row !important;  /* Override any other flex-direction */
        gap: 0;
        text-align: left;
    }
}

/* Override any other conflicting styles */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: row !important;
        gap: 0;
    }
}

/* Hero section */
.hero {
    padding: 8rem 2rem 4rem;
    background: #fff5e1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #333;
}

.subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #333333;
    box-shadow: none;
}

/* Buttons */
.cta-button, .primary-button, .secondary-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.cta-button, .primary-button {
    background: #333333;
    color: white;
}

.cta-button:hover, .primary-button:hover {
    background: #4a4a4a;
}

.secondary-button {
    background: transparent;
    color: #333333;
    border: 1px solid #333333;
    margin-left: 1rem;
}

.secondary-button:hover {
    background: rgba(51, 51, 51, 0.05);  /* Very subtle hover effect */
}

.cta-group {
    margin-top: 2rem;
}

/* Features section */
.features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: transparent;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333333;
    text-align: center;
    box-shadow: none;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

/* How it works section */
.how-it-works {
    padding: 4rem 2rem;
    background: transparent;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    border: 1px solid #333333;
    border-radius: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #333333;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}


/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
    color: #666;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1rem 2rem;
    }

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

    .nav-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .secondary-button {
        margin-left: 0;
    }
}
