/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--earth-dark);
    background: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--earth-dark);
}

a {
    transition: all 0.3s var(--ease-gentle);
    text-decoration: none;
    color: inherit;
}

/* ========================================
   Navigation
   ======================================== */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(249, 246, 243, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 165, 152, 0.1);
    transition: all 0.3s var(--ease-gentle);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--earth-dark);
}

.nav-logo img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.nav-logo span {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.125rem;
}

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

.nav-links a {
    color: var(--earth);
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.a--active {
    color: var(--coral-deep);
}

.nav-links a.a--active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--coral-deep);
    border-radius: 2px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger__line {
    width: 100%;
    height: 2px;
    background: var(--earth-dark);
    border-radius: 2px;
    transition: all 0.3s var(--ease-organic);
    transform-origin: center;
}

.hamburger--active .hamburger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger--active .hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger--active .hamburger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--cream);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-organic);
    padding: 5rem 2rem 2rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu--active {
    transform: translateX(0);
}

.mobile-menu__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(107, 92, 78, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-gentle);
}

.mobile-menu__overlay--active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu__list a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--earth-dark);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 16px;
}

.mobile-menu__list a:hover,
.mobile-menu__list a.a--active {
    background: var(--coral-blush);
    color: var(--coral-deep);
}

.mobile-menu__footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--sand);
}

.mobile-menu__footer p {
    font-size: 0.8125rem;
    color: var(--earth);
    margin-bottom: 0.5rem;
}

/* ========================================
   Organic Background Elements
   ======================================== */
.organic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.blob--1 {
    width: 600px;
    height: 600px;
    background: var(--coral-soft);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.blob--2 {
    width: 500px;
    height: 500px;
    background: var(--sage-soft);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
    animation-duration: 25s;
}

.blob--3 {
    width: 400px;
    height: 400px;
    background: var(--coral-blush);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    animation-duration: 22s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95) rotate(-3deg);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.02) rotate(3deg);
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    position: relative;
    padding: 3rem 1.5rem;
    background: var(--earth-dark);
    color: var(--sand);
    text-align: center;
    z-index: 1;
}

.footer p {
    color: var(--sand);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--coral-soft);
}

.footer__legal {
    font-size: 0.8125rem;
    color: var(--earth);
    margin-top: 1rem;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

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

    .quick-links {
        display: flex;
        overflow-x: auto;
        padding-bottom: 1rem;
        gap: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .quick-links::-webkit-scrollbar {
        display: none;
    }

    .quick-link {
        flex: 0 0 calc(50% - 0.5rem);
        scroll-snap-align: start;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding-top: 5rem;
    }

    .main {
        padding-bottom: 3rem;
    }

    .step {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.75rem;
        border-radius: 24px;
    }

    .values__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .showcase-card {
        width: 260px;
    }

    .screenshot-row img {
        min-width: 150px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.875rem 1rem;
    }

    .nav-logo img {
        width: 32px;
        height: 32px;
    }

    .nav-logo span {
        font-size: 1rem;
    }

    .hero {
        padding: 5rem 1rem 2rem;
    }

    .values,
    .features,
    .showcase,
    .cta-section {
        padding: var(--space-xl) 1rem;
    }

    .showcase-card {
        width: 240px;
    }

    .mobile-menu {
        max-width: 280px;
        padding: 5rem 1.5rem 2rem;
    }

    .mobile-menu__list a {
        padding: 0.875rem 1.25rem;
        font-size: 1.125rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.9375rem;
    }

    .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }

    .promise-box {
        padding: 1.5rem;
    }
}
