/* RESET & VARIABLES */
:root {
    --bg-dark: #0f0f11;
    --bg-dark-secondary: #1a1a1c;
    --bg-light: #fdfcf9;
    --bg-light-secondary: #f5f4ef;
    
    --text-dark: #121212;
    --text-light: #fdfcf9;
    --text-muted-dark: #666;
    --text-muted-light: #a0a0a0;
    
    --accent: #d86b4a; /* Rich terracotta */
    --accent-glow: rgba(216, 107, 74, 0.25);
    
    --font-heading: 'Outfit', sans-serif;
    --font-ui: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: var(--font-ui);
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Respect the user's OS-level motion preference: shorten/disable decorative
   animations and transitions site-wide instead of removing functionality. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.editorial-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 1.5rem;
}

p {
    line-height: 1.65;
    font-size: 1.05rem;
    font-weight: 400;
}

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

.dark-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 30px;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background-color: #c05739;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-lg {
    padding: 18px 45px;
    font-size: 1rem;
}

.btn-text {
    background: transparent;
    border-bottom: 1px solid var(--text-dark);
    border-radius: 0;
    padding: 5px 0;
    font-weight: 500;
}
.btn-text i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.btn-text:hover i {
    transform: translateY(3px);
}
.dark-section .btn-text {
    border-color: var(--text-light);
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}
.site-header.scrolled {
    padding: 15px 0;
    background: rgba(253, 252, 249, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.site-header.dark-mode {
    background: rgba(15, 15, 17, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-light);
}
.header-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}
/* Dynamic logo switching — .site-header.dark-mode is already toggled by the
   existing ScrollTrigger dark-section detection (see script.js); the two
   logo images simply crossfade off that same class, so scrolling over a
   dark section (or back to a light one) smoothly swaps the mark with no
   extra scroll listeners and no flicker. */
.logo-img {
    transition: opacity 0.4s ease;
}
.logo-img-light {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.logo-img-dark {
    opacity: 1;
}
.site-header.dark-mode .logo-img-dark {
    opacity: 0;
}
.site-header.dark-mode .logo-img-light {
    opacity: 1;
}
.desktop-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}
.desktop-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s var(--ease);
}
.desktop-nav a:hover, .desktop-nav a.active {
    color: var(--accent);
}
.site-header.dark-mode .desktop-nav a {
    color: var(--text-light);
}
.site-header.dark-mode .desktop-nav a:hover, .site-header.dark-mode .desktop-nav a.active {
    color: var(--accent);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.mobile-nav-close {
    display: none; /* shown only in the mobile overlay — see the max-width:1024px block */
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    color: inherit;
}
.mobile-menu-btn span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    left: 0;
    transition: all 0.3s ease;
}
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { bottom: 0; }
.mobile-menu-btn.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { bottom: 9px; transform: rotate(-45deg); }

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    padding: 120px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(rgba(18,18,18,0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    background-position: -14px -14px;
}
.hero-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
}
.hero-content {
    flex: 1.2;
    max-width: 900px;
    z-index: 2;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 14px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(18,18,18,0.08);
    box-shadow: 0 8px 20px rgba(18,18,18,0.05);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted-dark);
    margin-bottom: 26px;
    opacity: 0;
}
.hero-eyebrow .dot-pulse {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    flex-shrink: 0;
}
.hero-title {
    font-size: clamp(3rem, 5.5vw, 6rem);
    font-weight: 600;
    line-height: 1.03;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}
.hero-title .line {
    display: block;
    padding: 0.1em 0; /* Add slight padding to prevent clipping of descenders */
    overflow: visible; /* Ensure we never clip */
    white-space: nowrap;
}
.hero-title .accent {
    color: var(--accent);
    font-weight: 700;
}
.hero-subtitle {
    font-size: 1.2rem;
    max-width: 450px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
}
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
    opacity: 0;
}
.hero-visuals {
    flex: 0.8;
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transform: scale(0.85);
}
/* Subtle depth behind the phone spread: two faint rings + a few slow-drifting
   particles. Kept minimal and low-opacity so it reads as ambience, not decoration. */
.hero-visuals::before,
.hero-visuals::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.hero-visuals::before { width: 620px; height: 620px; border: 1px solid rgba(18,18,18,0.05); }
.hero-visuals::after { width: 470px; height: 470px; border: 1px solid rgba(216,107,74,0.14); }
.hero-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
    animation: heroParticleDrift 7s ease-in-out infinite;
}
.hero-particle:nth-child(2) { width: 3px; height: 3px; opacity: 0.25; }
.hero-particle:nth-child(3) { width: 4px; height: 4px; opacity: 0.3; }
@keyframes heroParticleDrift {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
    50% { transform: translateY(-18px) scale(1.15); opacity: 0.45; }
}
.floating-phone {
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15), inset 0 0 0 8px #121212;
    overflow: hidden;
    position: absolute;
    opacity: 0;
    transform: translateY(50px);
}
.phone-main {
    width: 300px;
    height: 600px;
    z-index: 3;
}
.phone-main::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 20px;
    background: #121212;
    border-radius: 20px;
    z-index: 10;
}
.phone-side {
    width: 250px;
    height: 500px;
    z-index: 2;
}
.phone-left {
    left: 5%;
    transform: rotate(-8deg) translateY(50px);
}
.phone-right {
    right: 5%;
    transform: rotate(8deg) translateY(50px);
}
.screen-mockup {
    width: 100%;
    height: 100%;
    position: relative;
    background: #f4f2ea;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/* Mockup 1: Opening Envelope */
.mockup-opening { background: #1a1a1a; color: #fff; }
.envelope-wrapper { position: relative; width: 80%; height: 160px; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center;}
.envelope-flap { position: absolute; top: 0; left: 0; width: 100%; height: 50%; border-bottom: 1px solid rgba(255,255,255,0.2); background: #1a1a1a; clip-path: polygon(0 0, 100% 0, 50% 100%); z-index: 1;}
.wax-seal { width: 50px; height: 50px; background: var(--accent); border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.5);}
.tap-hint { text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; margin-top: 50px; opacity: 0.5; animation: pulse 2s infinite;}
@keyframes pulse { 0% {opacity:0.3; transform:translateY(0);} 50% {opacity:1; transform:translateY(5px);} 100% {opacity:0.3; transform:translateY(0);} }

/* Mockup 2: Intro Arch */
.mockup-intro { background: #fdfcf9; padding: 20px;}
.intro-arch { position: relative; width: 100%; height: 80%; border: 1px solid #d4af37; border-top-left-radius: 140px; border-top-right-radius: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; overflow: hidden;}
.arch-border { position: absolute; inset: 5px; border: 1px dashed rgba(212, 175, 55, 0.4); border-top-left-radius: 135px; border-top-right-radius: 135px;}
.intro-arch .mock-heading { font-size: 3.5rem; font-weight: 600; line-height: 1.15; margin-bottom: 15px; color: #121212; z-index: 1;}
.intro-arch p { font-size: 0.8rem; letter-spacing: 0.03em; color: #666; z-index: 1;}
.date-badge { margin-top: 30px; padding: 10px 20px; border: 1px solid #121212; border-radius: 30px; font-size: 0.75rem; letter-spacing: 2px; z-index: 1;}
.scroll-hint { margin-top: auto; width: 1px; height: 30px; background: rgba(0,0,0,0.2); position: relative;}
.scroll-hint .dot { position: absolute; top: 0; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: #121212; animation: scrollDown 2s infinite;}
@keyframes scrollDown { 0% {top:0; opacity:1;} 100% {top:100%; opacity:0;} }

/* Mockup 3: Details */
.mockup-details { background: #121212; color: #fff; padding: 30px; justify-content: flex-start;}
.details-top { width: 100%; height: 160px; background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%231a1a1a"/><circle cx="50" cy="50" r="40" stroke="%23333" stroke-width="1" fill="none"/></svg>') center/cover; border-radius: 16px; margin-bottom: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center;}
.details-top i { font-size: 1.5rem; color: var(--accent); margin-bottom: 10px;}
.details-top .mock-heading { font-family: var(--font-heading); font-size: 0.83em; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.countdown-block { display: flex; gap: 10px; margin-bottom: 40px; width: 100%; justify-content: space-between;}
.cd-box { flex: 1; display: flex; flex-direction: column; background: #1a1a1a; border-radius: 8px; padding: 10px 0;}
.cd-box span { font-family: var(--font-heading); font-size: 2rem;}
.cd-box small { font-size: 0.6rem; color: #888; text-transform: uppercase;}
.details-row { width: 100%; height: 1px; background: #333; margin-bottom: 20px; position: relative;}
.details-row::before { content: ''; position: absolute; left: 0; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #555;}
.btn-micro { background: #fff; color: #121212; padding: 12px 0; width: 100%; border-radius: 20px; text-transform: uppercase; font-size: 0.75rem; font-weight: 600; margin-top: auto;}

.hero-glow {
    position: absolute;
    right: 5%;
    top: 20%;
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(80px);
}
.hero-glow-secondary {
    position: absolute;
    left: -10%;
    bottom: -10%;
    width: 40vw;
    height: 40vw;
    max-width: 500px;
    max-height: 500px;
    background: radial-gradient(circle, rgba(18,18,18,0.05) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
}

/* Floating context chips near the hero phones — echoes the .floating-feature
   language used later on the page, tying the hero into the product story. */
.hero-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 12px 20px 12px 14px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(18,18,18,0.1);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dark);
    z-index: 4;
    opacity: 0;
}
.hero-chip .f-icon { width: 28px; height: 28px; font-size: 0.85rem; flex-shrink: 0; }
.hero-chip-rsvp { top: 8%; left: 2%; }
.hero-chip-music { bottom: 12%; right: 0%; }

/* STORYTELLING SECTION (Strictly scroll-driven) */
.story-section {
    padding: 0;
    position: relative;
}
.story-container {
    display: flex;
    position: relative;
    width: 100%;
}
.story-text-wrap {
    width: 50%;
    padding-right: 5%; /* Adjusted padding for container flow */
    display: flex;
    flex-direction: column;
}
.story-step {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    opacity: 0.28;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.story-step.is-active {
    opacity: 1;
    transform: translateY(0);
}
.story-step h2 {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    max-width: 500px;
}

/* Eyebrow label — "01 — YOUR INVITATION JOURNEY" */
.story-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted-light);
    margin-bottom: 18px;
}
.story-eyebrow-num {
    color: var(--accent);
    font-weight: 700;
}

/* Thin accent line + dot, between heading and description */
.story-accent {
    display: block;
    width: 46px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    margin: 22px 0 18px;
    position: relative;
}
.story-accent::after {
    content: '';
    position: absolute;
    left: 58px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-glow);
    border: 1px solid var(--accent);
}

.story-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted-light);
    max-width: 400px;
}

.story-visual-wrap {
    width: 50%;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1900px;
}

/* Ambient backdrop behind the phone — subtle glow, curved paths, particles */
.story-ambient {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.story-ambient-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(216,107,74,0) 70%);
    opacity: 0.55;
}
.story-ambient-curves {
    position: absolute;
    width: 600px;
    height: 600px;
    max-width: 90%;
    max-height: 90%;
    opacity: 0.6;
}
.story-ambient-curves circle {
    fill: none;
    stroke: rgba(255,255,255,0.05);
    stroke-width: 1;
}
.story-ambient-curves path {
    fill: none;
    stroke: rgba(216,107,74,0.14);
    stroke-width: 1;
}
.story-ambient-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.45;
}
.story-ambient-particles span:nth-child(1) { top: 18%; left: 30%; animation: storyParticleFloat 6s ease-in-out infinite; }
.story-ambient-particles span:nth-child(2) { top: 70%; left: 22%; animation: storyParticleFloat 7s ease-in-out infinite 1s; }
.story-ambient-particles span:nth-child(3) { top: 15%; left: 72%; animation: storyParticleFloat 5.5s ease-in-out infinite 0.5s; }
.story-ambient-particles span:nth-child(4) { top: 80%; left: 68%; animation: storyParticleFloat 8s ease-in-out infinite 1.5s; }
.story-ambient-particles span:nth-child(5) { top: 45%; left: 12%; animation: storyParticleFloat 6.5s ease-in-out infinite 0.8s; }
.story-ambient-particles span:nth-child(6) { top: 40%; left: 85%; animation: storyParticleFloat 7.5s ease-in-out infinite 0.3s; }
@keyframes storyParticleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-14px) scale(1.3); opacity: 0.65; }
}

/* Phone presentation — angled, dimensional, premium product-shot feel.
   Three distinct layers so the device silhouette always reads clearly
   against the dark section background, regardless of which invitation
   screen is active:
     1. .story-phone-container — the physical body/frame (graphite finish)
     2. .story-phone-screen    — the recessed display (its own dark base +
                                  a hairline bevel that separates it from
                                  the frame even when a screen is dark)
     3. .story-phone / .story-screen — UNCHANGED, the existing content */
.story-phone-container {
    width: 320px;
    height: 650px;
    padding: 18px 13px 20px;
    box-sizing: border-box;
    background: linear-gradient(155deg, #3a3a40 0%, #222226 42%, #131315 78%, #0c0c0d 100%);
    border-radius: 54px;
    box-shadow:
        0 55px 100px -30px rgba(0,0,0,0.6),
        0 22px 50px -18px rgba(0,0,0,0.45),
        inset 0 1.5px 1px rgba(255,255,255,0.22),
        inset 0 -1.5px 1px rgba(0,0,0,0.65),
        inset 1px 0 0 rgba(216,107,74,0.08),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
    z-index: 1;
    animation: storyPhoneFloat 7s ease-in-out infinite;
}
.story-phone-screen {
    width: 100%;
    height: 100%;
    background: #050506;
    border-radius: 38px;
    overflow: hidden;
    position: relative;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.14),
        0 0 0 1px rgba(0,0,0,0.55);
}
.story-phone-notch {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 24px;
    background: #050506;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
}
.story-phone-cam {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1c1c1f;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
/* Subtle side-button detailing — protrudes slightly past the body edge
   (the container itself is overflow:visible; only .story-phone-screen
   clips the actual UI, so these read as real hardware details) */
.phone-side-btn {
    position: absolute;
    background: linear-gradient(90deg, #26262a, #3a3a40);
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    z-index: 0;
}
.phone-side-btn.btn-power { right: -3px; top: 158px; width: 3px; height: 68px; }
.phone-side-btn.btn-vol-up { left: -3px; top: 132px; width: 3px; height: 42px; }
.phone-side-btn.btn-vol-down { left: -3px; top: 182px; width: 3px; height: 42px; }
@keyframes storyPhoneFloat {
    0%, 100% { transform: rotateY(-15deg) rotateX(3deg) rotateZ(1deg) translateY(0); }
    50% { transform: rotateY(-15deg) rotateX(3deg) rotateZ(1deg) translateY(-12px); }
}
.story-screen {
    position: absolute;
    inset: 0;
    background: #1a1a1c;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96) translateY(10px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), visibility 0.7s ease;
}
.story-screen.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

/* Screen 1: Link */
.elegant-notification { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: #0f0f11;}
.notif-header { display: flex; justify-content: space-between; font-size: 0.75rem; color: #888; margin-bottom: 10px; padding: 0 10px;}
.notif-body { background: rgba(255,255,255,0.05); padding: 25px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px);}
.notif-body strong { display: block; font-size: 1.1rem; color: #fff; margin-bottom: 8px;}
.notif-body p { font-size: 0.9rem; color: #bbb; margin-bottom: 15px;}
.notif-link { display: inline-block; padding: 12px 20px; background: var(--accent); color: #fff; border-radius: 20px; font-family: monospace; font-size: 0.8rem; text-decoration: none;}

/* Screen 2: Opening */
.envelope-reveal { height: 100%; position: relative; background: #222; display: flex; align-items: center; justify-content: center; perspective: 1000px;}
.env-top {
    position: absolute; inset: 0; background: #121212; z-index: 3;
    transition: transform 1s var(--ease), opacity 1s ease;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.18); font-size: 2.2rem;
}
.story-screen.active .env-top { transform: translateY(-100%); opacity: 0; }
.env-card { width: 85%; height: 70%; background: #fdfcf9; border-radius: 12px; z-index: 2; padding: 15px; transform: scale(0.9); transition: transform 1s var(--ease) 0.3s;}
.story-screen.active .env-card { transform: scale(1); }
.card-inner { border: 1px solid #d4af37; height: 100%; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; padding: 10px; text-align: center;}
.card-border { position: absolute; inset: 5px; border: 1px dashed rgba(212, 175, 55, 0.5);}
.card-inner .mock-welcome { font-size: 2.2rem; font-weight: 600; line-height: 1.15; color: #121212; z-index: 1;}
.card-seal {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 50%; background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; margin-bottom: 16px; z-index: 1;
    box-shadow: 0 10px 22px var(--accent-glow);
}
.card-tagline { font-size: 0.78rem; color: #888; letter-spacing: 0.04em; margin-top: 8px; z-index: 1;}
.env-bottom { position: absolute; inset: 0; background: #1a1a1c; z-index: 1;}

/* Screen 3: Celeb */
.celebration-ui-rich { height: 100%; background: #121212; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 40px 20px;}
.rich-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0;}
.glow-orb { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 200px; height: 200px; background: var(--accent); filter: blur(60px); opacity: 0.3; animation: pulseOrb 4s infinite alternate;}
@keyframes pulseOrb { 0% {transform: translate(-50%, -50%) scale(1);} 100% {transform: translate(-50%, -50%) scale(1.2); opacity: 0.5;} }
.music-player-mini { z-index: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 15px; border-radius: 30px; display: flex; align-items: center; gap: 15px; width: 100%; backdrop-filter: blur(5px);}
.play-btn { width: 35px; height: 35px; background: #fff; color: #121212; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem;}
.track-info { flex: 1; display: flex; flex-direction: column;}
.track-info span { font-size: 0.65rem; color: #888; text-transform: uppercase; letter-spacing: 1px;}
.track-info strong { font-size: 0.85rem; color: #fff;}
.sound-wave { display: flex; gap: 3px; align-items: flex-end; height: 15px;}
.sound-wave span { width: 3px; background: var(--accent); border-radius: 2px; animation: bounceWave 1s infinite alternate;}
.sound-wave span:nth-child(2) { animation-delay: 0.2s;} .sound-wave span:nth-child(3) { animation-delay: 0.4s;}
@keyframes bounceWave { 0% {height: 4px;} 100% {height: 15px;} }
.hero-typography { z-index: 1; text-align: center;}
.hero-typography .hero-couple-name { font-size: 5rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; line-height: 1;}
.hero-typography p { color: var(--accent); text-transform: uppercase; letter-spacing: 3px; font-size: 0.75rem; margin-top: 10px;}
.scroll-indicator { z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #888; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px;}
.line-down { width: 1px; height: 40px; background: linear-gradient(to bottom, #888, transparent);}

/* Screen 4: Details */
.event-details-rich { height: 100%; background: #fdfcf9; padding: 40px 20px; display: flex; flex-direction: column; overflow: hidden; position: relative;}
.event-details-rich::before { content:''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--accent);}
.d-header h2 { font-size: 2.5rem; color: #121212; margin-bottom: 30px;}
.d-cards { display: flex; flex-direction: column; gap: 15px; flex: 1;}
.d-card { background: #fff; border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 20px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.02);}
.icon-wrap { width: 45px; height: 45px; background: var(--bg-light-secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.2rem;}
.info-wrap { display: flex; flex-direction: column; gap: 4px;}
.info-wrap strong { font-size: 1rem; color: #121212;}
.info-wrap span { font-size: 0.8rem; color: #666;}
.d-countdown { display: flex; justify-content: space-between; background: #121212; color: #fff; border-radius: 16px; padding: 20px; margin-top: 10px;}
.cd-item { display: flex; flex-direction: column; align-items: center;}
.cd-item span { font-family: var(--font-heading); font-size: 2.2rem;}
.cd-item label { font-size: 0.65rem; color: #888; text-transform: uppercase; letter-spacing: 1px;}
.d-rsvp-btn { width: 100%; background: var(--accent); color: #fff; border: none; padding: 18px; border-radius: 30px; font-family: var(--font-ui); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 20px; cursor: pointer;}

/* Journey bottom highlights strip — desktop only; mobile keeps the original story section untouched */
.story-highlights-wrap {
    display: none;
}
@media (min-width: 1025px) {
    .story-highlights-wrap {
        display: block;
        padding-top: 50px;
        padding-bottom: 70px;
        border-top: 1px solid rgba(255,255,255,0.08);
        position: relative;
        z-index: 1;
    }
}
.story-highlights {
    display: flex;
    gap: 24px;
}
.story-highlight {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0 20px;
    position: relative;
}
.story-highlight:first-child { padding-left: 0; }
.story-highlight:last-child { padding-right: 0; }
.story-highlight:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: rgba(255,255,255,0.08);
}
.sh-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.05rem;
}
.sh-text { display: flex; flex-direction: column; gap: 4px; }
.sh-text strong { font-size: 0.95rem; font-weight: 600; color: var(--text-light); }
.sh-text span { font-size: 0.82rem; line-height: 1.5; color: var(--text-muted-light); }

/* Mobile-only storytelling sequence (hidden on desktop, shown ≤1024px — see responsive block) */
.story-mobile { display: none; }
/* Mobile-only carousel pagination dots (hidden on desktop, shown ≤1024px — see responsive block) */
.swipe-dots { display: none; }


/* CATEGORIES / EXPERIENCES */
.category-experience {
    padding: 150px 0;
}
.section-header-left {
    max-width: 600px;
    margin-bottom: 100px;
}
.category-stack {
    display: flex;
    flex-direction: column;
    gap: 120px;
}
.cat-panel {
    display: flex;
    align-items: center;
    gap: 8%;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 80px;
}
.cat-panel:nth-child(even) {
    flex-direction: row-reverse;
}
.cat-info {
    flex: 1;
}
.cat-info .cat-step-num {
    display: block;
    font-size: 1.2rem;
    line-height: 1.15;
    color: var(--accent);
    margin-bottom: 15px;
    font-family: var(--font-ui);
    font-weight: 600;
}
.cat-info h2 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 20px;
}
.explore-link {
    display: inline-block;
    margin-top: 30px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--text-dark);
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.explore-link:hover { color: var(--accent); border-color: var(--accent); }
.cat-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}
.mini-invite {
    width: 340px;
    height: 550px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.cat-panel:hover .mini-invite {
    transform: scale(1.02) translateY(-10px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}
.invite-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    position: relative;
}
/* Weddings */
.invite-eternal-bloom { background: #fcf9f2; }
.floral-frame { position: absolute; inset: 20px; border: 1px solid rgba(0,0,0,0.1); border-radius: 12px;}
.corner { position: absolute; width: 30px; height: 30px; border: 1px solid #d4af37;}
.c-tl { top: -10px; left: -10px; border-right: none; border-bottom: none;}
.c-tr { top: -10px; right: -10px; border-left: none; border-bottom: none;}
.c-bl { bottom: -10px; left: -10px; border-right: none; border-top: none;}
.c-br { bottom: -10px; right: -10px; border-left: none; border-top: none;}
.cat-invite-title { font-family: var(--font-heading); font-size: 3.2rem; font-weight: 600; letter-spacing: -0.02em; color: #222; z-index: 1; line-height: 0.95;}
.cat-invite-sub { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; color: #888; margin-top: 20px;}
.scroll-dot { position: absolute; bottom: 40px; width: 6px; height: 6px; background: #d4af37; border-radius: 50%;}
/* Engagements */
.invite-afterglow { background: #1a1a1c; color: #fff;}
.soft-gradient-bg { position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(216,107,74,0.4) 0%, transparent 60%); }
.invite-afterglow .cat-invite-title { font-size: 2.8rem; z-index: 1; margin-bottom: 20px; font-weight: 300; color: #fff;}
.photo-placeholder-arch { width: 140px; height: 180px; border-top-left-radius: 70px; border-top-right-radius: 70px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); z-index: 1; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px;}
.img-mock { width: 100px; height: 120px; background: rgba(255,255,255,0.1); border-radius: 8px;}
.ui-pill { position: absolute; bottom: 40px; background: #fff; color: #121212; padding: 10px 20px; border-radius: 20px; font-size: 0.7rem; text-transform: uppercase; font-weight: 600;}
/* Birthdays */
.invite-twenty-five { background: var(--accent); color: #fff; justify-content: flex-start; padding-top: 80px;}
.bold-typography-bg { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); font-size: 18rem; font-weight: 800; opacity: 0.15; line-height: 1; font-family: var(--font-ui);}
.ticker-tape { position: absolute; top: 20px; left: -20px; right: -20px; background: #121212; transform: rotate(-5deg); padding: 10px 0; font-family: monospace; font-size: 0.8rem; letter-spacing: 2px;}
.invite-twenty-five .cat-invite-title { font-size: 3.5rem; font-weight: 800; font-family: var(--font-ui); letter-spacing: -0.02em; z-index: 1; margin-top: 40px; color: #fff;}
.neon-btn { position: absolute; bottom: 50px; background: #121212; color: #fff; padding: 15px 40px; border-radius: 30px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 10px 20px rgba(0,0,0,0.3);}
/* Corporate */
.invite-gathering { background: #121212; color: #fff;}
.minimal-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 30px 30px;}
.corp-logo { width: 50px; height: 50px; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 40px; z-index: 1;}
.diamond { width: 15px; height: 15px; background: #fff; transform: rotate(45deg);}
.invite-gathering .cat-invite-title { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 4px; font-size: 1.8rem; padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.2); border-bottom: 1px solid rgba(255,255,255,0.2); z-index: 1; color: #fff;}
.corp-details { margin-top: 40px; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px;}
.corp-details .line { width: 2px; height: 30px; background: var(--accent);}
.corp-details span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: #aaa;}


/* INVITATION SHOWCASE */
.showcase-section {
    padding: 150px 0;
    overflow: hidden;
}
.showcase-header {
    margin-bottom: 80px;
}
.showcase-scroll-container {
    /* Rely on .container class applied in HTML for padding */
}
.showcase-track {
    display: flex;
    gap: 40px;
    width: max-content;
}
.showcase-item {
    width: 380px;
    height: 600px;
}
.showcase-mockup {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.showcase-mockup:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
/* A small notch reads the mockup as an actual phone screen rather than a plain card */
.showcase-mockup::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 16px;
    background: rgba(0,0,0,0.4);
    border-radius: 20px;
    z-index: 5;
    pointer-events: none;
}
.design-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    position: relative;
    z-index: 2;
    color: #fff;
}
.overlay-dark { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, rgba(0,0,0,0.2) 60%), #1f271b; z-index: -1; }
.overlay-light { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 10%, rgba(0,0,0,0.1) 60%), #e3ddd3; z-index: -1; }
.overlay-neon { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent), #1a1a1c; box-shadow: inset 0 0 150px rgba(216, 107, 74, 0.15); z-index: -1; }
.overlay-minimal { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent), #2a2a2c; border: 1px solid #444; z-index: -1; }

.showcase-ui-top { display: flex; justify-content: space-between; align-items: center; font-size: 1.2rem;}
.showcase-ui-top.flex-end { justify-content: flex-end;}
.nav-dot { width: 6px; height: 6px; background: rgba(255,255,255,0.3); border-radius: 50%; margin-right: 5px; display: inline-block;}
.nav-dot.active { background: #fff;}
.menu-line { width: 30px; height: 2px; background: #fff; position: relative;}
.menu-line::after { content:''; position:absolute; top:8px; right:0; width:20px; height:2px; background:#fff;}

.showcase-content { margin-top: auto; margin-bottom: 40px;}
.showcase-content.centered { text-align: center; margin-bottom: auto;}
.circle-image { width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,0.2); margin-bottom: 20px;}
.abstract-shape { width: 60px; height: 60px; border: 2px solid rgba(255,255,255,0.2); margin-bottom: 20px; transform: rotate(45deg);}

.design-title { font-size: 2.3rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; line-height: 1.15;}
.neon-text { font-family: var(--font-ui); font-weight: 800; font-size: 3.2rem; letter-spacing: -0.01em; text-shadow: 0 0 20px rgba(216, 107, 74, 0.5);}
.design-type { font-family: var(--font-ui); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7;}
.countdown-mini { font-family: monospace; font-size: 1.5rem; background: #121212; display: inline-block; padding: 10px 20px; border-radius: 30px; margin-top: 20px;}

.showcase-ui-bottom { display: flex; justify-content: space-between; align-items: center;}
.audio-control { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center;}
.rsvp-pill { background: #fff; color: #121212; padding: 12px 25px; border-radius: 30px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; cursor: pointer; transition: background 0.3s ease;}
.rsvp-pill:hover { background: var(--accent); color: #fff;}
.rsvp-pill.full-width { width: 100%; text-align: center; padding: 18px;}
.swipe-up { width: 100%; text-align: center; color: rgba(255,255,255,0.7); animation: bounceUp 2s infinite;}
@keyframes bounceUp { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }
.agenda-btn { color: #fff; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 5px;}


/* FEATURES (Interactive UI Composition) */
.features-section {
    padding: 150px 0;
    background: #fff;
    overflow: hidden;
}
.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 100px;
}
.features-interactive-composition {
    position: relative;
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.features-center-phone {
    width: 320px;
    height: 650px;
    background: #fdfcf9;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.1), inset 0 0 0 10px #121212;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.phone-ui-base { height: 100%; display: flex; flex-direction: column; gap: 15px;}
.phone-ui-base .ui-header {
    height: 210px; border-radius: 20px; position: relative; overflow: hidden;
    background: linear-gradient(155deg, #2a2a2c 0%, var(--bg-dark) 55%, #1a1a1c 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
}
.ui-cover-img { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 16px 16px; opacity: 0.6; }
.ui-header-date {
    position: relative; align-self: flex-start;
    background: rgba(255,255,255,0.12); color: #fff; backdrop-filter: blur(4px);
    padding: 5px 12px; border-radius: 20px; font-size: 0.62rem; letter-spacing: 1.5px;
    text-transform: uppercase; margin-bottom: 10px;
}
.ui-title-mock {
    position: relative; font-family: var(--font-heading); font-weight: 600;
    font-size: 1.3rem; color: #fff; letter-spacing: -0.01em; line-height: 1.2;
}
.phone-ui-base .ui-body { height: 190px; background: var(--bg-light-secondary); border-radius: 20px; position: relative; overflow: hidden;}
.ui-map-mock {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 22px 22px;
}
.ui-map-mock .pin { position: relative; width: 15px; height: 15px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 10px rgba(216, 107, 74, 0.15); z-index: 1; }
.ui-map-mock .pin::after {
    content: ''; position: absolute; inset: -14px; border-radius: 50%;
    border: 1px solid var(--accent-glow); animation: pinPulse 2.4s infinite ease-out;
}
@keyframes pinPulse { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(2.4); opacity: 0; } }
.ui-map-label {
    position: relative; margin-top: 14px; background: #fff; padding: 6px 14px; border-radius: 20px;
    font-size: 0.68rem; font-weight: 500; color: var(--text-dark); box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.phone-ui-base .ui-footer { flex: 1; background: rgba(0,0,0,0.03); border-radius: 20px; display: flex; align-items: center; justify-content: center; padding: 20px;}
.ui-btn-mock {
    width: 100%; height: 50px; background: var(--accent); color: #fff; border-radius: 25px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 600; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase;
    box-shadow: 0 12px 24px var(--accent-glow);
}

.floating-feature {
    position: absolute;
    background: #fff;
    padding: 15px 25px;
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 3;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    animation: floatElem 6s infinite ease-in-out;
}
.floating-feature:hover {
    transform: scale(1.05) translateY(-5px) !important;
    box-shadow: 0 25px 45px rgba(0,0,0,0.12);
    z-index: 10;
}
@keyframes floatElem { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-15px);} }
.f-music { animation-delay: 0s; }
.f-rsvp { animation-delay: 1s; }
.f-countdown { animation-delay: 2s; }
.f-location { animation-delay: 3s; }
.f-gallery { animation-delay: 1.5s; }

.f-icon {
    width: 35px;
    height: 35px;
    background: var(--bg-light-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.f-music { top: 20%; left: calc(50% - 350px); }
.f-rsvp { top: 40%; right: calc(50% - 350px); }
.f-countdown { bottom: 25%; left: calc(50% - 300px); }
.f-location { bottom: 15%; right: calc(50% - 320px); }
.f-gallery { top: 10%; right: calc(50% - 280px); }


/* HOW IT WORKS */
.how-it-works-visual {
    padding: 150px 0;
    background: var(--bg-light-secondary);
}
.hiw-layout {
    display: flex;
    gap: 10%;
}
.hiw-left {
    width: 40%;
}
.hiw-steps {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
}
.hiw-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 27px;
    width: 1px;
    background: repeating-linear-gradient(to bottom, rgba(0,0,0,0.14) 0 6px, transparent 6px 13px);
}
.hiw-step {
    display: flex;
    gap: 30px;
    opacity: 0.4;
    transition: opacity 0.4s ease;
    cursor: pointer;
    position: relative;
}
.hiw-step.active, .hiw-step:hover {
    opacity: 1;
}
.hiw-num {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-muted-dark);
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    transition: all 0.4s var(--ease);
}
.hiw-step.active .hiw-num, .hiw-step:hover .hiw-num {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 10px 24px var(--accent-glow);
    transform: scale(1.06);
}
.hiw-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: var(--font-ui);
    font-weight: 600;
}
.hiw-content p {
    color: var(--text-muted-dark);
}
.hiw-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hiw-visual-container {
    width: 100%;
    aspect-ratio: 1;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.hiw-visual {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.hiw-visual.active {
    opacity: 1;
    visibility: visible;
}
.journey-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(0,0,0,0.05); z-index: 0;}

/* BRAND VALUE SECTION — presented as a real "link preview" product mockup rather than plain text pills */
.brand-value-section {
    padding: 150px 0;
}
.brand-value-subtitle {
    max-width: 480px;
    margin: 20px auto 60px;
    color: var(--text-muted-dark);
}
.link-preview-card {
    max-width: 620px;
    margin: 0 auto;
    background: #fff;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
    text-align: left;
}
.link-preview-urlbar {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-dark);
    color: #fff;
    padding: 16px 18px;
    border-radius: 16px;
    margin-bottom: 16px;
}
.link-preview-urlbar .url-icon {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
}
.link-preview-urlbar .url-text {
    flex: 1;
    font-family: monospace;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.link-preview-urlbar .url-copy {
    width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #fff; font-size: 0.8rem;
}
.link-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.lp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 8px;
    background: var(--bg-light-secondary);
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: transform 0.3s var(--ease), background 0.3s ease, box-shadow 0.3s ease;
}
.lp-item:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}
.lp-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 1.05rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.lp-item:hover .lp-icon { background: var(--accent); color: #fff; }


/* FINAL CTA */
.final-cta {
    padding: 200px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-bg-elements {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.parallax-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 107, 74, 0.25) 0%, transparent 70%);
    filter: blur(40px);
}
.c-1 { width: 800px; height: 800px; top: -300px; left: -200px; }
.c-2 { width: 600px; height: 600px; bottom: -200px; right: -100px; }
/* Faint blurred "screen" content instead of an empty rectangle — reads as a
   receding UI in the background rather than a placeholder box. */
.bg-mockup { position: absolute; width: 250px; height: 500px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 30px; transform: rotate(15deg); overflow: hidden;}
.bg-mockup::before {
    content: '';
    position: absolute;
    top: 36px; left: 20px; right: 20px;
    height: 56px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
}
.bg-mockup::after {
    content: '';
    position: absolute;
    top: 116px; left: 20px; right: 20px; bottom: 40px;
    background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,0.035) 0 10px, transparent 10px 26px);
}
.bg-m-left { top: 10%; left: 10%; transform: rotate(-15deg);}
.bg-m-right { bottom: 10%; right: 10%; transform: rotate(15deg);}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.cta-content p {
    font-size: 1.3rem;
    color: var(--text-muted-light);
}

/* FOOTER */
.site-footer {
    background: var(--bg-dark-secondary);
    color: var(--text-light);
    padding: 100px 5% 40px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 100px;
    margin-bottom: 80px;
}
.footer-brand {
    flex: 1;
    max-width: 400px;
}
.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.footer-brand p {
    color: var(--text-muted-light);
    margin-bottom: 30px;
}
.footer-links {
    display: flex;
    gap: 80px;
}
.link-col h3 {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted-light);
    margin-bottom: 25px;
}
.link-col ul {
    list-style: none;
}
.link-col li {
    margin-bottom: 12px;
}
.link-col a {
    transition: color 0.3s ease;
}
.link-col a:hover {
    color: var(--accent);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted-light);
    font-size: 0.9rem;
}
.domain-text {
    font-family: monospace;
    letter-spacing: 0.05em;
}

/* ============================================
   RESPONSIVE � ONE CLEAN MOBILE SYSTEM
   Applies at = 1024px (tablets + phones)
   Desktop styles above are untouched.
   ============================================ */

@media (max-width: 1024px) {

    /* ---- GLOBAL ---- */
    *, *::before, *::after { box-sizing: border-box; }
    .container { padding-left: 20px; padding-right: 20px; max-width: 100%; }

    /* ---- TYPOGRAPHY ---- */
    .editorial-title { font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.15; }
    p { font-size: 1rem; line-height: 1.65; }

    /* ---- HEADER (mobile) ---- */
    .header-inner { padding: 0 20px; }
    .header-actions .btn { display: none !important; } /* the header's own CTA is not shown next to the hamburger — only inside the open overlay */
    .mobile-menu-btn { display: flex; z-index: 200; }

    /* ---- MOBILE NAV — single authoritative overlay system ----
       Closed state is guarded three independent ways (transform,
       visibility, pointer-events) so no combination of scroll position,
       dark-mode toggling, or partial CSS load can leave the links/CTA
       visible or clickable behind the closed hamburger. */
    .desktop-nav {
        position: fixed;
        top: 0; right: 0; bottom: 0; left: 0;
        width: 100%; height: 100%;
        background: #fdfcf9;
        display: flex !important; flex-direction: column;
        justify-content: center; align-items: center;
        overflow-y: auto;
        /* opacity/visibility/pointer-events are the authoritative show/hide switch;
           the transform is a purely cosmetic lift and is never relied on to hide content */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-16px);
        transition: opacity 0.35s ease, visibility 0s linear 0.35s, transform 0.35s var(--ease);
        z-index: 150;
    }
    .site-header.dark-mode .desktop-nav { background: #0f0f11; }
    .desktop-nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity 0.35s ease, visibility 0s linear 0s, transform 0.35s var(--ease);
    }
    .desktop-nav ul { flex-direction: column; text-align: center; gap: 24px; margin-bottom: 36px; padding: 0; }
    .desktop-nav a {
        font-size: 1.7rem; font-family: var(--font-heading); font-weight: 500;
        text-transform: none;
        letter-spacing: -0.01em; color: var(--text-dark);
    }
    .site-header.dark-mode .desktop-nav a { color: var(--text-light); }
    .mobile-nav-cta { display: inline-flex !important; margin-top: 8px; padding: 16px 40px; }

    .mobile-nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        background: rgba(18,18,18,0.05);
        border: none;
        border-radius: 50%;
        font-size: 1.1rem;
        line-height: 1;
        color: var(--text-dark);
        cursor: pointer;
    }
    .site-header.dark-mode .mobile-nav-close { color: var(--text-light); background: rgba(255,255,255,0.08); }

    /* ---- HERO ---- */
    .hero-section { padding-top: 100px; padding-bottom: 0; min-height: auto; height: auto; }
    .hero-container { flex-direction: column; gap: 0; padding: 0; }
    .hero-content {
        width: 100%; padding: 0 20px 40px;
        text-align: center; display: flex; flex-direction: column; align-items: center;
    }
    .hero-eyebrow { opacity: 1 !important; margin-bottom: 18px; font-size: 0.65rem; padding: 7px 16px 7px 12px; }
    .hero-title { font-size: clamp(2.6rem, 10vw, 3.4rem); line-height: 1.1; margin-bottom: 14px; }
    .hero-title .line { display: block; text-align: center; }
    .hero-subtitle { font-size: 1rem; max-width: 320px; margin-bottom: 24px; opacity: 1 !important; transform: none !important; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 12px; opacity: 1 !important; transform: none !important; }
    .hero-buttons .btn { width: 100%; text-align: center; }

    /* Hero visuals */
    .hero-visuals {
        position: relative; width: 100%; height: 420px;
        display: flex; justify-content: center; align-items: flex-start;
        overflow: hidden;
        transform: none;
    }
    .phone-left, .phone-right { display: none !important; }
    /* The floating context chips rely on desktop-only % coordinates around the
       3-phone spread — with only the center phone left on mobile they'd overlap it. */
    .hero-chip { display: none; }
    .hero-glow-secondary { display: none; }
    .hero-visuals::before, .hero-visuals::after, .hero-particle { display: none; }
    .phone-main {
        position: relative !important;
        opacity: 1 !important;
        transform: none !important;
        width: 250px; height: 500px;
        margin-bottom: 0;
    }
    .hero-glow { display: none; }
    /* Force phone visible on mobile — GSAP sets opacity:0 initially */
    .floating-phone { opacity: 1 !important; transform: none !important; }

    /* ---- DARK STORYTELLING — desktop pinned-scroll rig hidden; dedicated mobile sequence ---- */
    .dark-section { padding: 60px 0; }
    .story-section { padding-bottom: 10px; }
    .story-container { display: none; } /* desktop sticky/scroll rig is not shown on mobile */

    .story-mobile { display: block; padding: 0 20px; }
    .story-mobile-step {
        display: grid;
        grid-template-columns: 36px 1fr;
        column-gap: 16px;
        padding-bottom: 44px;
    }
    .story-mobile-step:last-child { padding-bottom: 0; }
    .story-mobile-marker { display: flex; flex-direction: column; align-items: center; }
    .story-mobile-num {
        width: 36px; height: 36px; flex-shrink: 0;
        border-radius: 50%; background: var(--accent); color: #fff;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
        box-shadow: 0 4px 14px rgba(216,107,74,0.25);
        transition: box-shadow 0.6s ease, transform 0.6s ease;
    }
    .story-mobile-step.in-view .story-mobile-num {
        box-shadow: 0 0 0 5px rgba(216,107,74,0.18), 0 4px 18px rgba(216,107,74,0.4);
    }
    .story-mobile-line {
        flex: 1; width: 1px; min-height: 24px; margin: 8px 0;
        background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,0.28) 0 4px, transparent 4px 9px);
    }
    .story-mobile-step:last-child .story-mobile-line { display: none; }
    .story-mobile-content { padding-top: 4px; }
    .story-mobile-heading { font-size: clamp(1.3rem, 5.5vw, 1.6rem); font-weight: 600; line-height: 1.3; color: #fff; margin-bottom: 20px; }
    .story-mobile-visual { position: relative; display: flex; justify-content: center; }
    .story-mobile-visual::before {
        content: '';
        position: absolute;
        width: 75%; height: 55%;
        top: 18%;
        background: radial-gradient(circle, var(--accent-glow) 0%, transparent 72%);
        filter: blur(28px);
        opacity: 0.6;
        z-index: 0;
    }
    .story-mobile-frame {
        width: 100%; max-width: 260px;
        border-radius: 28px;
        background: #000;
        box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 0 8px #1a1a1c;
        overflow: hidden;
        position: relative;
        z-index: 1;
    }
    .story-mobile-frame::before {
        content: '';
        position: absolute;
        top: 9px; left: 50%;
        transform: translateX(-50%);
        width: 42px; height: 12px;
        background: #000;
        border-radius: 14px;
        z-index: 10;
    }
    .story-mobile-frame .elegant-notification,
    .story-mobile-frame .celebration-ui-rich,
    .story-mobile-frame .event-details-rich { height: 100%; }
    .story-mobile-frame.frame-1 { height: 220px; }
    .story-mobile-frame.frame-2 { height: 270px; display: flex; align-items: center; justify-content: center; background: #1a1a1c; padding: 20px; }
    .story-mobile-frame.frame-2 .card-inner { width: 88%; height: 80%; background: #fdfcf9; }
    .story-mobile-frame.frame-3 { height: 360px; }
    .story-mobile-frame.frame-3 .celebration-ui-rich { padding: 26px 20px; }
    .story-mobile-frame.frame-3 .hero-typography .hero-couple-name { font-size: 3.2rem; }
    .story-mobile-frame.frame-4 { height: 430px; }
    .story-mobile-frame.frame-4 .event-details-rich { padding: 26px 18px; }
    .story-mobile-frame.frame-4 .d-header h2 { font-size: 1.5rem; margin-bottom: 16px; }
    .story-mobile-frame.frame-4 .d-cards { gap: 10px; }
    .story-mobile-frame.frame-4 .d-card { padding: 14px; }
    .story-mobile-frame.frame-4 .icon-wrap { width: 36px; height: 36px; font-size: 1rem; }
    .story-mobile-frame.frame-4 .d-countdown { padding: 14px; margin-top: 6px; }
    .story-mobile-frame.frame-4 .cd-item span { font-size: 1.6rem; }
    .story-mobile-frame.frame-4 .d-rsvp-btn { padding: 14px; margin-top: 14px; font-size: 0.8rem; }

    /* Progressive-enhancement reveal (JS adds .reveal-init only when motion is OK) */
    .story-mobile-step.reveal-init { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
    .story-mobile-step.reveal-init.in-view { opacity: 1; transform: translateY(0); }

    /* ---- CATEGORIES — horizontal swipe ---- */
    .category-experience { padding: 60px 0; overflow: hidden; }
    .section-header-left { text-align: center; margin-bottom: 36px; padding: 0 20px; max-width: 100%; }
    .category-stack {
        display: flex !important; flex-direction: row !important;
        overflow-x: auto; scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 20px 30px; gap: 16px; scrollbar-width: none;
    }
    .category-stack::-webkit-scrollbar { display: none; }
    .cat-panel {
        flex-direction: column !important;
        min-width: 82vw; max-width: 82vw; flex-shrink: 0;
        scroll-snap-align: start; margin-bottom: 0;
        gap: 16px; text-align: left; align-items: flex-start;
    }
    .cat-info { padding: 0; }
    .cat-info .cat-step-num { font-size: 0.7rem; margin-bottom: 6px; }
    .cat-info h2 { font-size: 2.2rem; margin-bottom: 8px; }
    .cat-info p { font-size: 0.95rem; }
    .cat-visual {
        width: 100%; height: 380px;
        display: flex; justify-content: center;
        border-radius: 18px; overflow: hidden;
    }
    .mini-invite {
        width: 100%; height: 100%;
        transform: none !important; box-shadow: none !important;
        border-radius: 18px;
    }
    .cat-panel:hover .mini-invite { transform: none !important; }
    .explore-link { font-size: 0.9rem; }

    /* ---- SHOWCASE ---- */
    .showcase-section { padding: 60px 0; overflow: hidden; }
    .showcase-header { margin-bottom: 36px; text-align: center; padding: 0 20px; }
    /* Disable the GSAP horizontal scroll on mobile — and constrain the track to the
       viewport (desktop sets width:max-content, which must be overridden here or the
       track never actually becomes its own scroll container) */
    .showcase-track {
        display: flex !important; flex-direction: row !important;
        width: 100% !important;
        overflow-x: auto !important; transform: none !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px; padding: 0 20px 20px; scrollbar-width: none;
    }
    .showcase-track::-webkit-scrollbar { display: none; }
    .showcase-item {
        width: 76vw; height: 115vw; max-height: 480px;
        flex-shrink: 0; scroll-snap-align: start;
        min-width: 76vw;
    }

    /* ---- SWIPE / CAROUSEL PAGINATION DOTS (categories + showcase) ---- */
    .swipe-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 4px;
    }
    .swipe-dot {
        width: 6px; height: 6px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: rgba(0,0,0,0.15);
        cursor: pointer;
        transition: all 0.3s var(--ease);
    }
    .showcase-dots .swipe-dot { background: rgba(255,255,255,0.25); }
    .swipe-dot.active {
        width: 22px;
        border-radius: 4px;
        background: var(--accent);
    }

    /* ---- FEATURES ---- */
    .features-section { padding: 60px 0; }
    .section-header-center { margin-bottom: 36px; padding: 0 20px; text-align: center; }
    .features-interactive-composition {
        display: flex; flex-direction: column;
        align-items: center; gap: 14px; height: auto; margin-top: 0; padding: 0 20px;
    }
    .features-center-phone {
        position: relative !important; top: auto !important; left: auto !important;
        transform: none !important; width: 100%; max-width: 240px;
        margin: 0 auto 24px;
    }
    .floating-feature {
        position: relative !important;
        top: auto !important; left: auto !important;
        right: auto !important; bottom: auto !important;
        width: 100%; max-width: 400px;
        animation: none !important; transform: none !important;
        display: flex; align-items: center; gap: 14px;
        background: #fff; border: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 2px 16px rgba(0,0,0,0.05);
        padding: 16px 18px; border-radius: 14px;
    }
    .f-icon { width: 40px; height: 40px; font-size: 1.1rem; flex-shrink: 0; }
    .floating-feature span { font-size: 0.95rem; font-weight: 500; }

    /* ---- HOW IT WORKS — CSS-only, each step owns its visual ---- */
    .how-it-works-visual { padding: 60px 0; overflow: hidden; }
    .hiw-heading { text-align: center; margin-bottom: 36px; }
    .hiw-layout { flex-direction: column; gap: 0; }
    .hiw-left { width: 100%; position: static; padding: 0; }
    .hiw-left > h2 { display: none; }
    .journey-line { display: none; }

    .hiw-steps { display: flex; flex-direction: column; gap: 20px; padding: 0 20px; overflow: visible; }
    .hiw-steps::before { display: none; } /* desktop timeline connector doesn't apply to the stacked mobile cards */
    .hiw-step {
        flex-direction: column; width: 100%;
        min-width: auto; max-width: 100%;
        opacity: 1; background: #fff;
        border: 1px solid rgba(0,0,0,0.07); border-radius: 20px;
        box-shadow: 0 4px 24px rgba(0,0,0,0.06);
        overflow: hidden; padding: 0;
    }
    .hiw-content { padding: 0 22px 18px 22px; }
    .hiw-num {
        /* Reset the desktop circular timeline badge back to a small inline label for the mobile card */
        width: auto; height: auto; flex-shrink: initial; border-radius: 0;
        display: block; border: none; box-shadow: none; background: none; transform: none;
        padding: 22px 22px 0 22px; font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; color: var(--accent); margin-bottom: 6px;
    }
    .hiw-step.active .hiw-num, .hiw-step:hover .hiw-num { background: none; color: var(--accent); transform: none; box-shadow: none; }
    .hiw-step h3 { font-size: 1.3rem; margin-bottom: 6px; }
    .hiw-step p { font-size: 0.9rem; color: var(--text-muted-dark); margin: 0; }
    .hiw-step-visual-mobile { display: block; border-top: 1px solid rgba(0,0,0,0.05); background: #faf9f6; }
    .hiw-right { display: none; }

    /* ---- BRAND VALUE ---- */
    .brand-value-section { padding: 60px 0; }
    .brand-value-subtitle { padding: 0 20px; margin: 14px auto 36px; font-size: 0.95rem; }
    .link-preview-card { margin: 0 20px; padding: 18px; border-radius: 22px; }
    .link-preview-urlbar { padding: 14px; }
    .link-preview-urlbar .url-text { font-size: 0.75rem; }
    .link-preview-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .lp-item { padding: 18px 10px; font-size: 0.85rem; }

    /* ---- FINAL CTA ---- */
    .final-cta { padding: 80px 20px; text-align: center; }
    .cta-content h2 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    .parallax-circle, .bg-mockup { display: none; }

    /* ---- FOOTER ---- */
    .site-footer { padding: 60px 0 36px; }
    .footer-top { flex-direction: column; gap: 36px; align-items: center; text-align: center; padding: 0 20px; }
    .footer-brand { align-items: center; }
    .footer-brand img { width: 180px !important; margin: 0 auto 14px; }
    .footer-brand p { max-width: 280px; font-size: 0.9rem; }
    .footer-links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 32px 48px; width: 100%; margin-top: 0; }
    .link-col { text-align: center; }
    .link-col h3 { font-size: 0.8rem; margin-bottom: 14px; }
    .link-col ul { gap: 10px; }
    .link-col a { font-size: 0.9rem; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; margin-top: 36px; padding-top: 20px; }
    .domain-text { font-size: 0.8rem; }
    .bg-mockup { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(2.2rem, 10vw, 2.8rem); }
    .hero-visuals { height: 400px; }
    .phone-main { width: 230px; height: 460px; }
    .cat-panel { min-width: 90vw; max-width: 90vw; }
    .cat-visual { height: 320px; }
    .showcase-item { width: 85vw; height: 125vw; min-width: 85vw; }
    .story-phone-container { height: 440px; max-width: 230px; }
    .story-step h2 { font-size: 1.6rem; }
}

@media (min-width: 1025px) {
    .mobile-nav-cta { display: none !important; }
    .hiw-step-visual-mobile { display: none !important; }
    .hiw-heading { display: none !important; }
}

/* =========================================
   PRICING SECTION
   ========================================= */
.pricing-section {
    padding: 150px 0;
    background-color: #faf9f6;
}

.pricing-section .section-header-center {
    margin-bottom: 60px;
}

.pricing-subtitle {
    max-width: 600px;
    margin: 15px auto 0 auto;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.pricing-cards-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 80px auto;
}

.pricing-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.12);
}

.premium-card {
    border: 1px solid var(--accent);
    background: linear-gradient(180deg, #ffffff 0%, #fffaf8 100%);
    box-shadow: 0 20px 40px rgba(216, 107, 74, 0.12);
    transform: scale(1.02);
    z-index: 1;
}

.premium-card:hover {
    transform: scale(1.04) translateY(-5px);
    box-shadow: 0 25px 50px rgba(216, 107, 74, 0.2);
    border-color: var(--accent);
}

.premium-card::before {
    display: none;
}

.premium-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(216, 107, 74, 0.3);
}

.plan-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.premium-card .plan-label {
    color: var(--accent);
}

.plan-price-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 15px 0;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #121212;
    margin: 0;
    font-weight: 600;
}

.original-price {
    font-size: 1.4rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-tag {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
    animation: pulse-discount 2s infinite;
}

@keyframes pulse-discount {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.plan-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
    min-height: 45px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 16px;
    line-height: 1.4;
}

.plan-features li i {
    width: 26px; height: 26px; flex-shrink: 0;
    border-radius: 50%;
    background: rgba(216, 107, 74, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}
.premium-card .plan-features li i {
    background: rgba(216, 107, 74, 0.14);
}

.plan-note {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 30px;
    line-height: 1.4;
}

.exclusive-note {
    background: rgba(216, 107, 74, 0.05);
    color: #9c4327;
}

.plan-note i {
    margin-top: 2px;
    flex-shrink: 0;
}

.plan-cta {
    margin-top: auto;
}

.plan-cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Custom Theme CTA */
.custom-theme-cta {
    background: #fff;
    border-radius: 24px;
    padding: 50px 30px;
    max-width: 800px;
    margin: 0 auto 80px auto;
    border: 1px dashed rgba(216, 107, 74, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.02);
    position: relative;
}

.custom-theme-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(216, 107, 74, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 22px;
}

.custom-theme-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.custom-theme-cta p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 10px;
}

.custom-theme-cta .supporting-note {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 30px;
}

/* Compare Table */
.pricing-comparison {
    max-width: 900px;
    margin: 0 auto 80px auto;
}

.pricing-comparison h3 {
    margin-bottom: 40px;
}

.custom-theme-cta .editorial-title,
.pricing-comparison .editorial-title,
.good-to-know .editorial-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.compare-table-wrapper {
    background: #fff;
    border-radius: 24px;
    padding: 0;
    border: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    overflow: hidden;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: #fff;
}

.compare-table thead tr {
    background: #fafafa;
}

.compare-table th, 
.compare-table td {
    padding: 24px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background 0.3s ease;
}

.compare-table th {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: #121212;
    padding-top: 30px;
    padding-bottom: 30px;
}

.compare-table th:nth-child(2),
.compare-table td:nth-child(2) {
    text-align: center;
}

.compare-table th:nth-child(3),
.compare-table td:nth-child(3) {
    text-align: center;
    background-color: rgba(216, 107, 74, 0.03);
}



.compare-table th:nth-child(3) {
    color: var(--accent);
}

.compare-table td {
    font-size: 0.95rem;
    color: #555;
}

.compare-table td:first-child {
    font-weight: 500;
    color: #121212;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

/* Good to Know / Accordion */
.good-to-know {
    max-width: 700px;
    margin: 0 auto;
}

.good-to-know h3 {
    margin-bottom: 40px;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 500;
    color: #121212;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-ui);
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #faf9f6;
}

.accordion-header i {
    color: var(--accent);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #faf9f6;
}

.accordion-body p {
    margin: 0;
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Mobile Responsiveness for Pricing */
@media (max-width: 900px) {
    .pricing-cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 500px;
    }
    
    .plan-desc {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 80px 0;
    }
    
    .plan-price {
        font-size: 2.2rem;
    }
    
    .custom-theme-cta {
        padding: 40px 20px;
    }
    
    .compare-table-wrapper {
        padding: 15px;
        border-radius: 16px;
    }
    
    .compare-table th, 
    .compare-table td {
        padding: 14px 12px;
        font-size: 0.85rem;
    }
    
    .compare-table th {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    /* Stacked table layout for smaller mobile devices to prevent horizontal scroll */
    .compare-table thead {
        display: none;
    }
    
    .compare-table, 
    .compare-table tbody, 
    .compare-table tr, 
    .compare-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }
    
    .compare-table tr {
        margin-bottom: 20px;
        background: #faf9f6;
        border: 1px solid rgba(0,0,0,0.06);
        border-radius: 16px;
        overflow: hidden;
    }
    
    .compare-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        padding-top: 14px;
        padding-bottom: 14px;
    }
    
    .compare-table td:last-child {
        border-bottom: none;
    }
    
    .compare-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        text-align: left;
        font-weight: 600;
        color: #888;
        font-size: 0.8rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .compare-table td:first-child {
        background: #f0f0f0;
        text-align: left;
        padding: 14px 15px;
        font-weight: 600;
        color: #121212;
    }
    
    .compare-table td:first-child::before {
        display: none;
    }
}
/* =========================================
   PRICING PAGE ENHANCEMENTS
   ========================================= */
.pricing-page-wrapper {
    position: relative;
    overflow: hidden;
    background: #fdfcf9;
    padding-top: 50px;
}

.pricing-page-wrapper .pricing-section {
    background: transparent;
    padding-top: 100px; /* Space for the hero text */
}

/* Beautiful Glowing Orbs and Grid */
.pricing-page-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.pricing-page-wrapper .container {
    position: relative;
    z-index: 1;
}

.pricing-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -100px;
    left: -150px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #f8cda9; /* Soft peach/gold */
    top: 30%;
    right: -100px;
    opacity: 0.2;
}

.orb-3 {
    width: 700px;
    height: 700px;
    background: var(--accent);
    bottom: -200px;
    left: 20%;
    opacity: 0.08;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}


.pricing-page-wrapper .pricing-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Make custom CTA more premium */
.pricing-page-wrapper .custom-theme-cta {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.5));
    backdrop-filter: blur(20px);
    border: 1px dashed rgba(216, 107, 74, 0.35);
    box-shadow: 0 20px 40px rgba(0,0,0,0.04), inset 0 0 0 1px rgba(255,255,255,0.5);
}

/* Enhance comparison table */
.pricing-page-wrapper .compare-table-wrapper {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.6);
}

/* Enhance Accordion */
.pricing-page-wrapper .accordion-item {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.6);
}
.pricing-page-wrapper .accordion-header:hover {
    background: rgba(255,255,255,0.95);
}
.pricing-page-wrapper .accordion-body {
    background: transparent;
}

@media (max-width: 900px) {
    .pricing-page-wrapper .premium-card {
        transform: none;
    }
    .pricing-page-wrapper .premium-card:hover {
        transform: translateY(-5px);
    }
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.orb-1 { animation: floatOrb 25s ease-in-out infinite; }
.orb-2 { animation: floatOrb 30s ease-in-out infinite reverse; }
.orb-3 { animation: floatOrb 35s ease-in-out infinite; }

/* Social Links styling */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted-light, #aaa);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-links a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* =========================================
   FOOTER REDESIGN ENHANCEMENTS
   ========================================= */

.site-footer {
    padding: 100px 5% 40px;
    background: #111; /* ensure it's dark/premium */
}

.footer-top {
    gap: 60px;
    align-items: flex-start;
}

.footer-logo {
    width: 240px;
    height: auto;
    margin-bottom: 25px;
    display: block;
    opacity: 0.95;
}

.footer-brand p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #999;
    margin-bottom: 30px;
    max-width: 360px;
}

.footer-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.footer-links {
    gap: 60px;
    flex: 2;
    justify-content: flex-end;
}

.link-col h3 {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    margin-bottom: 25px;
}

.link-col li {
    margin-bottom: 15px;
}

.link-col a {
    color: #999;
    font-size: 0.95rem;
}

.link-col a:hover {
    color: var(--accent);
}

/* Prominent Socials UI */
.social-col {
    min-width: 220px;
}

.prominent-socials {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.prominent-socials li {
    margin-bottom: 0 !important;
}

.prominent-socials a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #eee;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.prominent-socials a:hover {
    background: rgba(216, 107, 74, 0.15); /* using var(--accent) approx */
    border-color: rgba(216, 107, 74, 0.4);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 1.1rem;
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.domain-text {
    color: #888;
}

/* Hide the old inline social links if they still exist somehow */
.footer-brand .social-links {
    display: none !important;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-top {
        flex-direction: column;
        gap: 50px;
    }
    .footer-links {
        justify-content: flex-start;
        width: 100%;
        flex-wrap: wrap;
        gap: 50px 80px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
    .social-col {
        width: 100%;
    }
    .prominent-socials {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .prominent-socials a {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 60px 5% 30px;
    }
    .footer-brand p {
        font-size: 0.95rem;
    }
    .prominent-socials {
        flex-direction: column;
    }
    .prominent-socials a {
        width: 100%;
        justify-content: flex-start;
    }
}
