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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── Typography ── */
.eyebrow {
    letter-spacing: 0.2em;
}

/* ── Navbar ── */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

#navbar.scrolled .nav-text,
#navbar.scrolled .nav-link {
    color: #1e293b;
}

#navbar.scrolled .nav-link {
    color: rgba(30, 41, 59, 0.7);
}

#navbar.scrolled .nav-link:hover {
    color: #0d9488;
}

#navbar.scrolled .nav-line-1,
#navbar.scrolled .nav-line-2,
#navbar.scrolled .nav-line-3 {
    background: #1e293b;
}

/* ── Hero ── */
.hero-eyebrow {
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-headline {
    animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-sub {
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-cta {
    animation: fadeUp 0.8s ease forwards 0.9s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.animate-hero-zoom {
    animation: heroZoom 1.5s ease forwards;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
    animation: fadeIn 1s ease forwards 1.5s;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── Buttons ── */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #0d9488;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid #0d9488;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #0f766e;
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-primary:hover::before {
    transform: translateX(0);
}

.cta-primary span {
    position: relative;
    z-index: 1;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ── Input Fields ── */
.input-field {
    background: transparent;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #1e293b;
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
}

.input-field::placeholder {
    color: #94a3b8;
    font-weight: 300;
}

.input-field:focus {
    border-bottom-color: #0d9488;
}

/* ── Mobile Menu ── */
.mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── Product Card Hover ── */
.group:hover .group-img {
    transform: scale(1.05);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }

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

    .cta-primary,
    .cta-secondary {
        padding: 12px 24px;
        font-size: 0.75rem;
    }
}

@media (max-width: 640px) {
    .scroll-indicator {
        display: none;
    }
}
