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

:root {
    --bg: #F5F0E8;
    --bg-card: #EDE8DE;
    --bg-card-hover: #E8E2D6;
    --text: #1A1A1A;
    --text-muted: #6B6560;
    --accent: #C9A84C;
    --accent-hover: #B8963E;
    --gold: #C9A84C;
    --gold-hover: #B8963E;
    --border: #D5CFC4;
    --border-light: #E0DBD2;
    --white: #FEFCF9;
    --serif: 'DM Serif Display', Georgia, serif;
    --serif-italic: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, sans-serif;
    --mono: 'Space Mono', monospace;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-pill: 999px;
}

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

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Side Labels ── */
.side-label {
    position: fixed; top: 50%; z-index: 90;
    font-family: var(--mono); font-size: 9px; letter-spacing: 2px;
    color: var(--text-muted); text-transform: uppercase;
    writing-mode: vertical-rl; white-space: nowrap;
}
.side-label-left { left: 16px; transform: translateY(-50%) rotate(180deg); }
.side-label-right { right: 16px; transform: translateY(-50%); }

/* ── Topbar ── */
.topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 60px; font-family: var(--mono); font-size: 10px;
    letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.topbar-dot { color: var(--accent); }

/* ── Header ── */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(245,240,232,0.92); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 60px; max-width: 1440px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-circle {
    width: 38px; height: 38px; border-radius: 50%;
    border: 2px solid var(--text); display: flex; align-items: center;
    justify-content: center; font-family: var(--serif); font-weight: 700;
    font-size: 13px;
}
.logo-circle.small { width: 28px; height: 28px; font-size: 10px; }
.logo-text strong { font-size: 15px; display: block; }
.logo-text small {
    font-family: var(--mono); font-size: 9px; letter-spacing: 2px;
    color: var(--text-muted); text-transform: uppercase;
}
.nav { display: flex; gap: 32px; }
.nav a {
    font-size: 14px; font-weight: 500; letter-spacing: 0.3px;
    transition: color 0.2s; position: relative;
}
.nav a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
    height: 2px; background: var(--accent); transition: width 0.3s;
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after { width: 100%; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 28px; border-radius: var(--radius-pill);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all 0.3s ease; border: 2px solid transparent;
    font-family: var(--sans); letter-spacing: 0.3px;
}
.btn-primary {
    background: var(--accent); color: var(--white); border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-hover); border-color: var(--accent-hover);
    transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.btn-outline {
    background: transparent; color: var(--text);
    border: 2px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--text); transform: translateY(-2px);
}
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Mobile Menu ── */
.mobile-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-toggle span {
    width: 24px; height: 2px; background: var(--text);
    transition: all 0.3s;
}
.mobile-menu {
    display: none; flex-direction: column; gap: 16px;
    padding: 24px 60px; border-bottom: 1px solid var(--border);
}
.mobile-menu a { font-size: 16px; font-weight: 500; }
.mobile-menu.active { display: flex; }

/* ── Hero ── */
.hero-wrapper {
    position: relative;
    overflow: hidden;
}
.hero-wrapper::before {
    content: '';
    position: absolute; inset: 0;
    background: url('images/cloud-bg.webp') center center / cover no-repeat;
    opacity: 0.45;
    z-index: 0;
}
.hero-wrapper::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(245,240,232,0.15) 0%, rgba(245,240,232,0.2) 70%, rgba(245,240,232,1) 100%);
    z-index: 0;
}
.hero { padding: 20px 60px 80px; max-width: 1440px; margin: 0 auto; position: relative; z-index: 1; }
.hero-meta {
    display: flex; justify-content: space-between; padding: 16px 0;
    font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--text-muted);
    border-bottom: 1px solid var(--border-light); margin-bottom: 40px;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-label {
    font-family: var(--mono); font-size: 11px; letter-spacing: 2px;
    text-transform: uppercase; color: var(--accent); margin-bottom: 24px;
}
.hero-title {
    font-family: var(--serif); font-size: clamp(52px,6.8vw,96px);
    line-height: 1.0; font-weight: 900; margin-bottom: 28px;
}
.hero-title em {
    font-family: var(--serif-italic); font-style: italic; font-weight: 400;
}
.hero-title strong { font-weight: 900; }
.dot { color: var(--accent); }
.hero-desc {
    font-size: 18px; line-height: 1.7; color: var(--text);
    max-width: 460px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Image */
.hero-image-frame {
    position: relative; border-radius: var(--radius);
    overflow: hidden; border: 1px solid var(--border);
    background: var(--bg-card);
}
.hero-image-frame img { width: 100%; display: block; }
.frame-label {
    position: absolute; font-family: var(--mono); font-size: 9px;
    letter-spacing: 1.5px; color: var(--text-muted); z-index: 2;
    text-transform: uppercase; background: rgba(245,240,232,0.8);
    padding: 4px 8px; border-radius: 4px;
}
.frame-label.top-left { top: 12px; left: 12px; }
.frame-label.top-right { top: 12px; right: 12px; }
.hero-image-annotations { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.annotation {
    position: absolute; display: flex; align-items: flex-start; gap: 6px;
    font-family: var(--mono); font-size: 9px; letter-spacing: 1px;
    color: var(--text-muted); line-height: 1.4;
}
.annotation-dot {
    width: 6px; height: 6px; background: var(--accent);
    border-radius: 50%; margin-top: 3px; flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}
.a1 .annotation-dot { background: var(--accent); }
.a2 .annotation-dot { background: var(--gold); }
.a1 { top: 25%; right: 8%; }
.a2 { bottom: 30%; right: 5%; }

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

/* ── Section Backgrounds ── */
.section-bg {
    position: relative;
    overflow: hidden;
}
.section-bg::before {
    content: '';
    position: absolute; inset: 0;
    z-index: 0;
}
.section-bg::after {
    content: '';
    position: absolute; inset: 0;
    z-index: 0;
}
.section-bg > section {
    position: relative;
    z-index: 1;
}
.parchment-bg::before {
    background: url('images/parchment-bg.webp') center center / cover no-repeat;
    opacity: 0.42;
}
.parchment-bg::after {
    background: linear-gradient(180deg,
        rgba(245,240,232,1) 0%,
        rgba(245,240,232,0.2) 12%,
        rgba(245,240,232,0.15) 50%,
        rgba(245,240,232,0.2) 88%,
        rgba(245,240,232,1) 100%);
}
.clouds-bg::before {
    background: url('images/cloud-bg.webp') center center / cover no-repeat;
    opacity: 0.45;
}
.clouds-bg::after {
    background: linear-gradient(180deg,
        rgba(245,240,232,1) 0%,
        rgba(245,240,232,0.2) 12%,
        rgba(245,240,232,0.15) 50%,
        rgba(245,240,232,0.2) 88%,
        rgba(245,240,232,1) 100%);
}

/* ── Section Dividers ── */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--gold) 30%,
        var(--gold) 70%,
        transparent 100%);
    opacity: 0.4;
}
.section-divider .divider-ornament {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 3px;
    font-family: var(--mono);
    opacity: 0.6;
}
.section-divider .divider-ornament .diamond {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
    opacity: 0.7;
}


/* ── Benefits ── */
.benefits { padding: 100px 60px; max-width: 1440px; margin: 0 auto; }
.section-eyebrow {
    font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
    color: var(--accent); text-transform: uppercase; margin-bottom: 20px;
}
.editorial-title {
    font-family: var(--serif); font-size: clamp(36px,4.5vw,64px);
    line-height: 1.1; font-weight: 900; margin-bottom: 20px;
}
.editorial-title em { font-family: var(--serif-italic); font-style: italic; font-weight: 400; }
.section-desc {
    font-size: 18px; line-height: 1.7; color: #4a4540; max-width: 520px;
}

/* Benefits header — two columns */
.benefits-header {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center; margin-bottom: 72px;
}
.benefits-header-right {
    display: flex; flex-direction: column; gap: 0;
    border-left: 1px solid var(--border); padding-left: 64px;
}
.stat-item {
    display: flex; align-items: center; gap: 24px;
    padding: 28px 0;
}
.stat-number {
    font-family: var(--serif); font-size: 64px; font-weight: 900;
    color: var(--text); line-height: 1; min-width: 90px;
}
.stat-detail { display: flex; flex-direction: column; gap: 4px; }
.stat-label {
    font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
    color: var(--accent); text-transform: uppercase;
}
.stat-desc { font-size: 15px; color: #4a4540; line-height: 1.4; }
.stat-divider { height: 1px; background: var(--border); }

/* Cards */
.benefits-grid {
    display: flex; flex-direction: column; gap: 20px;
}
.benefit-card {
    position: relative; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
    display: flex; flex-direction: row;
    transition: all 0.4s ease; overflow: hidden;
    border-left: 3px solid transparent;
}
.benefit-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-left-color: var(--accent);
}

/* Video/placeholder — left side */
.card-video-frame,
.card-placeholder-frame {
    flex-shrink: 0; width: 200px; aspect-ratio: 3/4;
    overflow: hidden; position: relative;
}
.card-video-frame { background: #1a1a1a; }
.card-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    display: block;
}
.card-placeholder-frame {
    background: var(--bg-card-hover);
    border-right: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
}
.placeholder-label {
    font-family: var(--mono); font-size: 9px; letter-spacing: 3px;
    color: var(--border); text-transform: uppercase;
    writing-mode: vertical-rl; transform: rotate(180deg);
}
.card-video-thumb {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    display: block; opacity: 1;
    transition: opacity 0.4s ease; z-index: 1;
}
.card-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    display: block; opacity: 0;
    transition: opacity 0.4s ease; z-index: 2;
}
.card-video-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(0,0,0,0.15) 100%);
    pointer-events: none; z-index: 3;
}
.benefit-card.has-video:hover .card-video { opacity: 1; }
.benefit-card.has-video:hover .card-video-thumb { opacity: 0; }

/* Text — right side */
.card-body {
    flex: 1; padding: 28px 32px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative;
}
.card-top {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}
.card-label {
    font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
    color: var(--text-muted);
}
.card-tag {
    font-size: 18px; color: var(--border);
    transition: color 0.3s, transform 0.3s; display: inline-block;
}
.benefit-card:hover .card-tag { color: var(--accent); transform: translate(3px, -3px); }
.card-bg-num {
    font-family: var(--serif); font-size: 100px; font-weight: 900;
    color: var(--border); line-height: 1; position: absolute;
    right: 16px; bottom: -10px; opacity: 0.4;
    transition: opacity 0.4s, color 0.4s;
    pointer-events: none; user-select: none;
}
.benefit-card:hover .card-bg-num { opacity: 0.7; color: var(--accent); }
.benefit-card h3 {
    font-family: var(--serif); font-size: 26px; font-weight: 700;
    line-height: 1.2; margin-bottom: 12px; position: relative; z-index: 1;
}
.benefit-card p {
    font-size: 15px; line-height: 1.7; color: #4a4540;
    position: relative; z-index: 1;
}

/* ── Process ── */
.process { padding: 100px 60px; max-width: 1440px; margin: 0 auto; }
.process-header { margin-bottom: 60px; }
.process-steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.process-step {
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; background: var(--bg-card);
    transition: all 0.4s ease;
}
.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.step-num {
    font-family: var(--serif); font-size: 48px; font-weight: 900;
    color: var(--gold); display: block; line-height: 1; margin-bottom: 12px;
}
.step-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
}
.step-head h3 { font-family: var(--serif); font-size: 24px; font-weight: 700; }
.step-arrow {
    font-size: 18px; color: var(--text-muted);
    transition: transform 0.3s, color 0.3s;
}
.process-step:hover .step-arrow { transform: translateX(6px); color: var(--accent); }
.process-step p {
    font-size: 15px; line-height: 1.7; color: #4a4540; margin-bottom: 20px;
}
.step-image {
    border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1;
    border: 1px solid var(--border-light);
}
.step-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Pricing ── */
.pricing { padding: 100px 60px; max-width: 1440px; margin: 0 auto; }
.pricing-header { margin-bottom: 60px; }
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.price-card {
    position: relative; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 36px 28px; transition: all 0.4s ease;
}
.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.price-card.featured {
    background: var(--text); color: var(--white);
    border-color: var(--text);
}
.price-card.featured .price-label,
.price-card.featured .price-features li { color: rgba(255,255,255,0.7); }
.price-card.featured .price-amount { color: var(--white); }
.price-card.featured .btn-primary {
    background: var(--accent); border-color: var(--accent);
}
.price-badge {
    position: absolute; top: -12px; right: 20px;
    background: var(--accent); color: var(--white);
    font-family: var(--mono); font-size: 9px; letter-spacing: 2px;
    padding: 4px 14px; border-radius: var(--radius-pill);
}
.price-label {
    font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
    color: var(--text-muted); display: block; margin-bottom: 8px;
}
.price-num {
    font-family: var(--serif); font-size: 14px; color: var(--gold);
    font-weight: 700; display: block; margin-bottom: 12px;
}
.price-card h3 {
    font-family: var(--serif); font-size: 24px; font-weight: 700;
    margin-bottom: 8px;
}
.price-amount {
    font-size: 16px; color: var(--text-muted); margin-bottom: 24px;
}
.price-amount strong {
    font-family: var(--serif); font-size: 42px; font-weight: 900;
    color: var(--text); line-height: 1;
}
.price-card.featured .price-amount strong { color: var(--white); }
.price-features {
    list-style: none; margin-bottom: 28px;
}
.price-features li {
    padding: 8px 0; border-bottom: 1px solid var(--border-light);
    font-size: 15px; color: #4a4540;
}
.price-card.featured .price-features li { border-color: rgba(255,255,255,0.12); }

/* ── Contact ── */
.contact { padding: 100px 60px; max-width: 1440px; margin: 0 auto; position: relative; z-index: 1; }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start;
}
.contact-desc {
    font-size: 16px; line-height: 1.7; color: var(--text-muted);
    margin-bottom: 36px; max-width: 420px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-item {
    display: flex; align-items: center; gap: 16px;
}
.contact-icon {
    width: 44px; height: 44px; display: flex; align-items: center;
    justify-content: center; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 18px;
}
.contact-item small {
    font-family: var(--mono); font-size: 9px; letter-spacing: 2px;
    color: var(--text-muted); display: block; margin-bottom: 2px;
}
.contact-item a { font-weight: 500; transition: color 0.2s; }
.contact-item a:hover { color: var(--accent); }
.social-links { display: flex; gap: 12px; }
.social-icon {
    width: 42px; height: 42px; display: flex; align-items: center;
    justify-content: center; border: 1px solid var(--border);
    border-radius: 50%; transition: all 0.3s; color: var(--text-muted);
}
.social-icon:hover {
    background: var(--gold); border-color: var(--gold); color: var(--white);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-family: var(--mono); font-size: 10px;
    letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted);
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); background: var(--white);
    font-family: var(--sans); font-size: 15px; color: var(--text);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Footer ── */
.footer {
    border-top: 1px solid var(--border); padding: 24px 60px;
    max-width: 1440px; margin: 0 auto;
}
.footer-inner {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
}
.footer-left { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); }
.footer-right .mono {
    font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px;
    color: var(--text-muted);
}
.footer-tagline {
    text-align: center; font-family: var(--mono); font-size: 11px;
    letter-spacing: 2px; color: var(--text-muted); padding: 16px 0;
    border-top: 1px solid var(--border-light);
}

/* ── Animations ── */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .side-label { display: none; }
    .topbar { padding: 8px 32px; }
    .header-inner { padding: 14px 32px; }
    .hero, .benefits, .process, .pricing, .contact, .footer { padding-left: 32px; padding-right: 32px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .benefits-header { grid-template-columns: 1fr; gap: 48px; }
    .benefits-header-right { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 40px; flex-direction: row; flex-wrap: wrap; gap: 0; }
    .stat-item { flex: 1; min-width: 140px; padding: 16px 24px 16px 0; }
    .stat-divider { display: none; }
    .process-steps, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .mobile-menu { padding: 24px 32px; }
    .section-divider { padding: 0 32px; }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .header-inner { padding: 12px 20px; }
    .nav { display: none; }
    .header .btn-sm { display: none; }
    .mobile-toggle { display: flex; }
    .mobile-menu { padding: 20px; }
    .hero, .benefits, .process, .pricing, .contact, .footer { padding-left: 20px; padding-right: 20px; }
    .hero { padding-top: 16px; padding-bottom: 60px; }
    .process-steps, .pricing-grid { grid-template-columns: 1fr; }
    .card-video-frame, .card-placeholder-frame { width: 140px; }
    .hero-meta { flex-direction: column; gap: 4px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .contact-form-wrap { padding: 24px; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
    .section-divider { padding: 0 20px; }
}
