/* ═══════════════════════════════════════════════════════════════════════
   CASACONDO — Dark Luxury Design System
   Network di Ospitalità Vesuviano
   Mobile-First · Dark Luxury Theme · Oro/Argento
   Palette: #0a0a0a / #141414 / #1a1a1a / #d4af37 (Oro) / #c0c0c0 (Argento)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────────── */
:root {
    --black: #0a0a0a;
    --black-light: #111111;
    --dark: #141414;
    --dark-mid: #1a1a1a;
    --dark-card: #161616;
    --dark-elevated: #1e1e1e;
    --gold: #d4af37;
    --gold-light: #e8c547;
    --gold-dim: #a08520;
    --gold-glow: rgba(212, 175, 55, 0.12);
    --gold-glow-strong: rgba(212, 175, 55, 0.25);
    --silver: #c0c0c0;
    --silver-light: #e0e0e0;
    --silver-dim: #888888;
    --white: #f5f5f0;
    --coral: #FF5A5F;

    --text: #b0b0b0;
    --text-bright: #e8e8e3;
    --text-dim: #6a6a6a;
    --text-gold: #d4af37;

    --border: rgba(212, 175, 55, 0.1);
    --border-gold: rgba(212, 175, 55, 0.25);
    --border-silver: rgba(192, 192, 192, 0.1);
    --glass: rgba(20, 20, 20, 0.7);
    --glass-strong: rgba(20, 20, 20, 0.9);

    --shadow: 0 4px 30px rgba(0,0,0,0.6);
    --shadow-gold: 0 0 40px rgba(212, 175, 55, 0.08);
    --shadow-card: 0 2px 16px rgba(0,0,0,0.5);
    --shadow-hover: 0 8px 40px rgba(212, 175, 55, 0.12);

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 9999px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s var(--ease);
}

/* ── Reset & Base ──────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-color: var(--dark-mid) var(--black);
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--dark-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Geometric Canvas ──────────────────────────────────────────────── */
#geoCanvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none; opacity: 0.4;
}

/* ── Typography ────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-bright);
    font-weight: 700;
    line-height: 1.2;
}

.accent { color: var(--gold); }
.silver { color: var(--silver); }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font); font-weight: 600; font-size: 0.9rem;
    border: none; cursor: pointer; transition: var(--transition);
    padding: 14px 28px; border-radius: var(--r-full);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}
.btn-gold:hover, .btn-gold:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45);
}

.btn-outline {
    background: transparent; color: var(--gold);
    border: 2px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--black); }

.btn-ghost {
    background: var(--glass); color: var(--text-bright);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── Navbar ─────────────────────────────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 12px 0;
    background: transparent;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 8px; }
.logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-bright);
    font-weight: 700;
}
.logo-text span { color: var(--gold); font-weight: 400; }

.nav-links { display: none; }

.hamburger {
    width: 44px; height: 44px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 0;
    -webkit-tap-highlight-color: transparent;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--text-bright); border-radius: 2px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(30px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
    z-index: 99;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
    font-family: var(--font-display); font-size: 1.5rem; color: var(--text-bright);
    padding: 8px 0;
}
.mobile-menu a:hover, .mobile-menu a:active { color: var(--gold); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh; min-height: 100dvh;
    display: flex; align-items: center;
    padding: 80px 0 40px;
    position: relative; overflow: hidden;
    background: var(--black);
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(192, 192, 192, 0.03) 0%, transparent 50%);
    pointer-events: none;
}
.hero-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--glass); border: 1px solid var(--border-gold);
    padding: 8px 16px; border-radius: var(--r-full);
    font-size: 0.75rem; font-weight: 600; color: var(--gold);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1rem; color: var(--text);
    max-width: 540px; margin-bottom: 28px;
    line-height: 1.7;
}

.hero-cta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }

/* Hero Grid — 2 col on Desktop */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Visual — Geometric Art Area */
.hero-visual {
    display: none;
    position: relative;
    width: 100%;
    height: 420px;
}

/* Geometric Elements */
.geo-sphere {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border-gold);
    opacity: 0.6;
}
.sphere-1 {
    width: 200px; height: 200px;
    top: 10%; right: 5%;
    background: radial-gradient(circle at 30% 30%, rgba(212,175,55,0.08), transparent 70%);
}
.sphere-2 {
    width: 120px; height: 120px;
    top: 55%; right: 40%;
    background: radial-gradient(circle at 30% 30%, rgba(192,192,192,0.06), transparent 70%);
    border-color: var(--border-silver);
}
.sphere-3 {
    width: 80px; height: 80px;
    top: 20%; left: 10%;
    background: radial-gradient(circle at 30% 30%, rgba(212,175,55,0.05), transparent 70%);
}
.geo-prism {
    position: absolute;
    width: 160px; height: 160px;
    top: 30%; left: 20%;
    background: linear-gradient(135deg, rgba(212,175,55,0.06), transparent);
    border: 1px solid rgba(212,175,55,0.12);
    transform: rotate(45deg);
    border-radius: 4px;
}
.geo-ring {
    position: absolute;
    width: 280px; height: 280px;
    top: 5%; right: -10%;
    border-radius: 50%;
    border: 1px dashed rgba(212,175,55,0.1);
}

/* Glass Cards — floating in hero-visual */
.glass-card {
    position: absolute;
    display: flex; align-items: center; gap: 12px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold);
    border-radius: var(--r-md);
    padding: 14px 18px;
    min-width: 210px;
    z-index: 2;
}
.glass-card-1 { top: 15%; right: 5%; }
.glass-card-2 { top: 50%; left: 0%; }
.glass-card-3 { bottom: 10%; right: 15%; }

.glass-icon { font-size: 1.6rem; flex-shrink: 0; }
.glass-text strong {
    display: block; font-size: 0.85rem;
    color: var(--text-bright); font-weight: 600;
}
.glass-text span {
    font-size: 0.72rem; color: var(--text-dim);
}
.glass-dot {
    width: 8px; height: 8px; border-radius: 50%;
    margin-left: auto; flex-shrink: 0;
}
.glass-dot.green { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,0.5); }

/* Hero Main CTA pulse */
.hero-main-cta { position: relative; overflow: visible; }
.cta-pulse {
    position: absolute; inset: -4px;
    border-radius: var(--r-full);
    border: 2px solid var(--gold);
    animation: cta-ring 2s ease-out infinite;
    pointer-events: none;
}
@keyframes cta-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 0; }
}

.hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    padding-top: 32px; border-top: 1px solid var(--border);
}
.stat-val {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
}
.stat-lbl {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Sections ──────────────────────────────────────────────────────── */
.section {
    padding: 64px 0;
    position: relative;
    z-index: 1;
}
.section-dark { background: var(--black); }
.section-mid { background: var(--dark); }

/* ── Sticky Card-Stacking Effect ───────────────────────────────────── */
.sticky-section {
    position: sticky;
    top: 0;
    z-index: 2;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.8);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent 10%, var(--gold-dim) 50%, transparent 90%) 1;
}
/* Stack each section slightly lower so the edge of the previous peeks */
.sticky-section:nth-of-type(1) { z-index: 3; }
.sticky-section:nth-of-type(2) { z-index: 4; top: 20px; }
.sticky-section:nth-of-type(3) { z-index: 5; top: 40px; }

.section-head { margin-bottom: 40px; }
.section-tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--gold); margin-bottom: 12px;
}
.section-head h2 { font-size: 1.75rem; margin-bottom: 12px; }
.section-head p { color: var(--text-dim); max-width: 480px; font-size: 0.95rem; }

/* ── Business Proposition Cards ────────────────────────────────────── */
.biz-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}
.biz-card {
    position: relative;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 32px 24px;
    transition: var(--transition);
    overflow: hidden;
}
.biz-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.biz-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--dark-card), rgba(212,175,55,0.05));
}
.biz-glow {
    position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.biz-badge {
    position: absolute; top: 16px; right: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
    padding: 4px 14px; border-radius: var(--r-full);
    font-size: 0.7rem; font-weight: 800;
}
.biz-icon {
    font-size: 2.5rem; margin-bottom: 16px;
    position: relative; z-index: 1;
}
.biz-card h3 {
    font-size: 1.25rem; margin-bottom: 4px;
    position: relative; z-index: 1;
}
.biz-subtitle {
    font-size: 0.8rem; color: var(--gold);
    font-weight: 600; margin-bottom: 20px;
    text-transform: uppercase; letter-spacing: 1px;
    position: relative; z-index: 1;
}
.biz-features {
    position: relative; z-index: 1;
    margin-bottom: 24px;
}
.biz-features li {
    font-size: 0.85rem; color: var(--text);
    padding: 6px 0; padding-left: 20px;
    position: relative; line-height: 1.5;
}
.biz-features li::before {
    content: '✓';
    position: absolute; left: 0;
    color: var(--gold); font-weight: 700;
}
.biz-card .btn {
    position: relative; z-index: 1;
    width: 100%;
}

/* ── Properties Grid ───────────────────────────────────────────────── */
.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* ── Property Cards ────────────────────────────────────────────────── */
.properties-scroll {
    display: flex; gap: 16px; overflow-x: auto;
    padding-bottom: 16px; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.properties-scroll::-webkit-scrollbar { display: none; }

.prop-card {
    flex: 0 0 85%; max-width: 340px; scroll-snap-align: start;
    background: var(--dark-card); border: 1px solid var(--border);
    border-radius: var(--r-lg); overflow: hidden;
    transition: var(--transition);
}
.prop-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-hover);
}

.prop-img {
    height: 200px; position: relative;
    display: flex; align-items: flex-end; padding: 16px;
}
.prop-img-flora { background: linear-gradient(135deg, #1a2a1a 0%, #0a0a0a 100%); }
.prop-img-maria { background: linear-gradient(135deg, #2a1a2a 0%, #0a0a0a 100%); }
.prop-img-aniello { background: linear-gradient(135deg, #1a1a2a 0%, #0a0a0a 100%); }
.prop-img-2apt { background: linear-gradient(135deg, #2a2a1a 0%, #0a0a0a 100%); }
.prop-img-village { background: linear-gradient(135deg, #1a2a2a 0%, #0a0a0a 100%); }

.prop-badge {
    position: absolute; top: 12px; left: 12px;
    background: rgba(10, 10, 10, 0.75); backdrop-filter: blur(10px);
    border: 1px solid var(--border-gold);
    color: var(--gold); padding: 4px 12px;
    border-radius: var(--r-full); font-size: 0.7rem; font-weight: 700;
}

.prop-id {
    position: absolute; top: 12px; right: 12px;
    background: rgba(10, 10, 10, 0.6);
    color: var(--text-dim); padding: 3px 8px;
    border-radius: var(--r-sm); font-size: 0.6rem; font-family: monospace;
}

.prop-body { padding: 20px; }
.prop-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.prop-body p { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 12px; line-height: 1.5; }

.prop-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.prop-meta span { font-size: 0.75rem; color: var(--text-dim); }

.prop-foot {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 16px; border-top: 1px solid var(--border);
}
.prop-price { font-size: 0.85rem; color: var(--text-dim); }
.prop-price strong { font-size: 1.2rem; color: var(--gold); }

/* ── Package Cards ──────────────────────────────────────────────────── */
.packages-grid { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }

.pkg-card {
    background: linear-gradient(135deg, var(--dark-card), rgba(212, 175, 55, 0.03));
    border: 1px solid var(--border-gold);
    border-radius: var(--r-lg); padding: 24px;
    transition: var(--transition);
}
.pkg-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-dim);
}
.pkg-card h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--gold); }
.pkg-card .pkg-id { font-size: 0.65rem; color: var(--text-dim); font-family: monospace; margin-bottom: 10px; }
.pkg-card p { font-size: 0.85rem; color: var(--text); line-height: 1.6; margin-bottom: 12px; }
.pkg-card .pkg-includes {
    font-size: 0.8rem; color: var(--silver-dim);
    padding: 8px 12px; background: rgba(255,255,255,0.03);
    border-radius: var(--r-sm); margin-bottom: 12px;
}
.pkg-card .pkg-foot {
    display: flex; align-items: center; justify-content: space-between;
}
.pkg-card .pkg-price { font-size: 0.85rem; color: var(--text-dim); }
.pkg-card .pkg-price strong { font-size: 1.25rem; color: var(--gold); }

/* ── Services B2B ──────────────────────────────────────────────────── */
.services-grid { display: flex; flex-direction: column; gap: 16px; }

.svc-card {
    background: var(--dark-card); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 24px;
    transition: var(--transition); position: relative;
}
.svc-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.svc-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--dark-card), rgba(212, 175, 55, 0.04));
}
.svc-card.featured::before {
    content: '🏆 Top'; position: absolute; top: -10px; right: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
    padding: 2px 12px; border-radius: var(--r-full);
    font-size: 0.7rem; font-weight: 800;
}

.svc-icon { font-size: 2rem; margin-bottom: 12px; }
.svc-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.svc-card p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 16px; }

.svc-price {
    display: inline-block; background: var(--gold-glow);
    color: var(--gold); padding: 4px 14px;
    border-radius: var(--r-full); font-size: 0.8rem; font-weight: 700;
}

/* ── Journal ───────────────────────────────────────────────────────── */
.journal-grid { display: flex; flex-direction: column; gap: 20px; }

.journal-card {
    background: var(--dark-card); border: 1px solid var(--border);
    border-radius: var(--r-lg); overflow: hidden;
    transition: var(--transition);
}
.journal-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.journal-thumb {
    height: 180px;
    background: linear-gradient(135deg, var(--dark-mid), var(--black));
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; position: relative;
}
.journal-cat {
    position: absolute; top: 12px; left: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
    padding: 3px 10px; border-radius: var(--r-full);
    font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
}

.journal-body { padding: 20px; }
.journal-date {
    font-size: 0.7rem; color: var(--text-dim); margin-bottom: 8px;
    text-transform: uppercase; letter-spacing: 1px;
}
.journal-body h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.3; }
.journal-body p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }
.journal-read {
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--gold); font-size: 0.8rem; font-weight: 600; margin-top: 12px;
}
.journal-read:hover { gap: 8px; }

/* ── Journal Full Page ─────────────────────────────────────────────── */
.journal-hero {
    padding: 100px 0 48px;
    background: var(--black);
    border-bottom: 1px solid var(--border);
}
.journal-hero h1 { font-size: 2rem; margin-bottom: 8px; }
.journal-hero p { color: var(--text-dim); font-size: 0.95rem; }

.journal-list { padding: 32px 0; }
.journal-list-grid { display: flex; flex-direction: column; gap: 24px; }

/* ── Comparison Table ──────────────────────────────────────────────── */
.compare-table {
    width: 100%; border-collapse: collapse;
    background: var(--dark-card); border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--border);
}
.compare-table th, .compare-table td {
    padding: 14px 16px; text-align: center; font-size: 0.85rem;
}
.compare-table th {
    background: var(--dark-mid);
    color: var(--gold);
    font-weight: 700; font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 1px;
}
.compare-table td { border-top: 1px solid var(--border); color: var(--text); }
.compare-table .highlight { color: var(--gold); font-weight: 700; }
.compare-table .strike { color: var(--text-dim); text-decoration: line-through; }

/* ── CTA Section ───────────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--dark), #0d0d0d);
    border: 1px solid var(--border-gold);
    border-radius: var(--r-xl); padding: 40px 24px;
    text-align: center; margin: 0 20px;
}
.cta-section h2 { font-size: 1.5rem; margin-bottom: 12px; }
.cta-section p { color: var(--text-dim); margin-bottom: 24px; font-size: 0.9rem; }
.cta-buttons { display: flex; flex-direction: column; gap: 12px; }
.cta-info {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
    margin-top: 28px; padding-top: 20px;
    border-top: 1px solid var(--border);
}
.cta-info span {
    font-size: 0.8rem; color: var(--text-dim);
}

/* ── Compare Winner Row ────────────────────────────────────────────── */
.compare-winner td {
    background: rgba(212, 175, 55, 0.06);
}
.compare-wrapper {
    max-width: 640px;
    margin: 0 auto;
}

/* ── Floating AI CTA Button ────────────────────────────────────────── */
.floating-cta {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 90;
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
    padding: 14px 22px;
    border-radius: var(--r-full);
    font-weight: 700; font-size: 0.85rem;
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
    text-decoration: none;
}
.floating-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.55);
}
.floating-pulse {
    position: absolute; inset: -6px;
    border-radius: var(--r-full);
    border: 2px solid var(--gold);
    animation: cta-ring 2.5s ease-out infinite;
    pointer-events: none;
}
.floating-icon { font-size: 1.3rem; }
.floating-label { font-size: 0.85rem; }

/* ── Footer ────────────────────────────────────────────────────────── */
.footer {
    background: var(--black);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}
.footer-grid { display: flex; flex-direction: column; gap: 32px; margin-bottom: 32px; }

.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }

.footer-col h4 {
    font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
    color: var(--gold); text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 12px;
}
.footer-col a { display: block; font-size: 0.85rem; color: var(--text-dim); padding: 4px 0; }
.footer-col a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid var(--border); padding-top: 20px;
    font-size: 0.75rem; color: var(--text-dim); text-align: center;
}

/* ── Divider ───────────────────────────────────────────────────────── */
.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
    border: none;
    margin: 0;
}

/* ── Glassmorphism Enhancements ────────────────────────────────────── */
.glass-card {
    background: rgba(20, 20, 20, 0.45);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}
.glass-card:hover {
    background: rgba(20, 20, 20, 0.55);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 175, 55, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Glassmorphism for Biz Cards */
.biz-card {
    background: rgba(22, 22, 22, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.biz-card.featured {
    background: rgba(22, 22, 22, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(212, 175, 55, 0.08),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

/* Glassmorphism for Service Cards */
.svc-card {
    background: rgba(22, 22, 22, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 2px 20px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Glassmorphism for Stat Cards */
.stat-card {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: var(--r-md);
    padding: 12px 8px;
    text-align: center;
}

/* Glassmorphism for CTA Section */
.cta-section {
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(212, 175, 55, 0.08);
}

/* Glassmorphism Navbar */
.navbar.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* ── Geometric Animations ──────────────────────────────────────────── */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-12px) rotate(1deg); }
    66% { transform: translateY(8px) rotate(-1deg); }
}
@keyframes float-medium {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-18px) translateX(8px); }
    50% { transform: translateY(-6px) translateX(-6px); }
    75% { transform: translateY(-22px) translateX(4px); }
}
@keyframes float-reverse {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(15px) translateX(-10px); }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes spin-prism {
    0% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(55deg) scale(1.05); }
    100% { transform: rotate(45deg) scale(1); }
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; box-shadow: 0 0 0 rgba(212,175,55,0); }
    50% { opacity: 0.9; box-shadow: 0 0 30px rgba(212,175,55,0.1); }
}
@keyframes dash-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Apply animations to geo elements */
.sphere-1 { animation: float-slow 8s ease-in-out infinite; }
.sphere-2 { animation: float-medium 10s ease-in-out infinite; }
.sphere-3 { animation: float-reverse 7s ease-in-out infinite; }
.geo-prism { animation: spin-prism 12s ease-in-out infinite; }
.geo-ring  { animation: dash-rotate 60s linear infinite; }

/* Glass card floating animations */
.glass-card-1 { animation: float-slow 6s ease-in-out infinite; }
.glass-card-2 { animation: float-medium 8s ease-in-out infinite 1s; }
.glass-card-3 { animation: float-reverse 7s ease-in-out infinite 0.5s; }

/* Glow pulse on green dot */
.glass-dot.green {
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 6px rgba(34,197,94,0.5); }
    50% { box-shadow: 0 0 14px rgba(34,197,94,0.8), 0 0 4px rgba(34,197,94,1); }
}

/* Hero background shimmer */
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        125deg,
        transparent 0%,
        transparent 40%,
        rgba(212, 175, 55, 0.02) 45%,
        transparent 50%,
        transparent 100%
    );
    background-size: 200% 200%;
    animation: hero-shimmer 8s ease-in-out infinite;
}
@keyframes hero-shimmer {
    0% { background-position: 200% 200%; }
    100% { background-position: -200% -200%; }
}

/* ── Animations ────────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Staggered fade-up delays */
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (min 640px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-cta { flex-direction: row; }
    .hero-stats { gap: 32px; }

    .properties-grid { grid-template-columns: 1fr 1fr; }
    .prop-card { flex: 0 0 48%; max-width: none; }

    .biz-grid { grid-template-columns: 1fr 1fr; }
    .biz-card .btn { width: auto; }

    .packages-grid { display: grid; grid-template-columns: 1fr 1fr; }
    .journal-grid { display: grid; grid-template-columns: 1fr 1fr; }
    .services-grid { display: grid; grid-template-columns: 1fr 1fr; }

    .cta-buttons { flex-direction: row; justify-content: center; }
    .cta-section { margin: 0; padding: 48px 40px; }

    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — DESKTOP (min 1024px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
    .container { padding: 0 40px; }

    /* ── Navbar Desktop ── */
    .nav-links {
        display: flex; gap: 28px; align-items: center;
    }
    .nav-links a {
        font-size: 0.85rem; color: var(--text); font-weight: 500;
        position: relative;
    }
    .nav-links a::after {
        content: ''; position: absolute; bottom: -4px; left: 0;
        width: 0; height: 2px;
        background: linear-gradient(90deg, var(--gold), var(--gold-light));
        transition: var(--transition);
    }
    .nav-links a:hover { color: var(--text-bright); }
    .nav-links a:hover::after { width: 100%; }
    .nav-actions { display: flex !important; gap: 12px; align-items: center; }
    .hamburger { display: none; }

    /* ── Hero 2-Column Layout ── */
    .hero { padding: 100px 0 60px; }
    .hero h1 { font-size: 3.5rem; line-height: 1.1; }
    .hero-sub { font-size: 1.05rem; }
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    .hero-visual {
        display: block;
        height: 480px;
    }
    .hero-cta { flex-direction: row; }
    .hero-stats { gap: 32px; }
    .stat-val { font-size: 2rem; }

    /* ── Sections Desktop ── */
    .section { padding: 100px 0; }
    .section-head h2 { font-size: 2.4rem; }
    .section-head p { max-width: 560px; font-size: 1rem; }

    /* ── Sticky Desktop refinements ── */
    .sticky-section {
        top: 60px; /* offset for fixed navbar */
        border-radius: var(--r-xl) var(--r-xl) 0 0;
        box-shadow:
            0 -10px 40px rgba(0, 0, 0, 0.6),
            0 0 80px rgba(0, 0, 0, 0.3);
    }
    .sticky-section:nth-of-type(2) { top: 80px; }
    .sticky-section:nth-of-type(3) { top: 100px; }

    /* ── Business Proposition 3-Col ── */
    .biz-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    .biz-card { padding: 36px 28px; }
    .biz-card.featured {
        transform: scale(1.03);
        z-index: 2;
    }
    .biz-card.featured:hover {
        transform: scale(1.06) translateY(-4px);
    }
    .biz-card h3 { font-size: 1.3rem; }
    .biz-card .btn { width: 100%; }

    /* ── Properties 3-Col Grid ── */
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    .prop-card { flex: none; max-width: none; }
    .prop-img { height: 220px; }
    .properties-scroll { overflow-x: visible; flex-wrap: wrap; justify-content: center; }

    /* ── Packages 2-Col ── */
    .packages-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

    /* ── Services 4-Col ── */
    .services-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .svc-card { padding: 28px; }

    /* ── Journal 3-Col ── */
    .journal-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }

    /* ── Compare Table Desktop ── */
    .compare-wrapper { max-width: 720px; }
    .compare-table th, .compare-table td { padding: 18px 24px; font-size: 0.95rem; }

    /* ── CTA Desktop ── */
    .cta-section { padding: 64px 56px; }
    .cta-section h2 { font-size: 2rem; }
    .cta-section p { font-size: 1rem; max-width: 520px; margin: 0 auto 28px; }

    /* ── Footer 4-Col ── */
    .footer { padding: 64px 0 32px; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — WIDE DESKTOP (min 1440px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (min-width: 1440px) {
    .container { max-width: 1320px; }
    .hero h1 { font-size: 4rem; }
    .hero-grid { gap: 80px; }
    .hero-visual { height: 540px; }
    .section { padding: 120px 0; }
    .section-head h2 { font-size: 2.8rem; }
    .biz-grid { gap: 36px; }
    .biz-card { padding: 40px 32px; }
    .properties-grid { gap: 32px; }
    .services-grid { gap: 28px; }
    .cta-section { padding: 80px 72px; }
    .cta-section h2 { font-size: 2.4rem; }
}
