/* ═══════════════════════════════════════════════════
   CastTide — index.css
   Luxury fishing marketplace aesthetic
   Playfair Display + DM Sans
═══════════════════════════════════════════════════ */

/* ── RESET & VARIABLES ── */
:root {
    --navy:       #0d1f35;
    --navy-mid:   #1e3a5f;
    --navy-lt:    #2d6a9f;
    --orange:     #f59e0b;
    --orange-dk:  #d97706;
    --orange-lt:  #fcd34d;
    --gold:       #b8960c;
    --cream:      #faf7f0;
    --green:      #0d9488;
    --red:        #e53e3e;
    --white:      #ffffff;
    --text:       #0d1f35;
    --muted:      #64748b;
    --border:     #e2e8f0;
    --bg:         #f8f7f4;
    --shadow:     0 4px 32px rgba(13,31,53,.10);
    --shadow-lg:  0 16px 64px rgba(13,31,53,.18);
    --r:          16px;
    --transition: all .35s cubic-bezier(.4,0,.2,1);
}

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

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

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }


/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 5%;
    height: 72px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13,31,53,.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    height: 64px;
    box-shadow: 0 4px 32px rgba(0,0,0,.3);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.5px;
}
.logo-cast { color: white; }
.logo-tide { color: var(--orange); }
.logo-icon { font-size: 1.2rem; }

.nav-links {
    display: flex;
    align-items: center;
    gap: .3rem;
}

.nav-link {
    color: rgba(255,255,255,.8);
    font-size: .9rem;
    font-weight: 500;
    padding: .5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    
}
.nav-link:hover { color: white; background: rgba(255,255,255,.1); }

.nav-actions { display: flex; align-items: center; gap: .7rem; }

.btn-nav-ghost {
    color: rgba(255,255,255,.85);
    font-size: .88rem;
    font-weight: 600;
    padding: .5rem 1.2rem;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,.25);
    transition: var(--transition);
}
.btn-nav-ghost:hover { border-color: rgba(255,255,255,.6); color: white; background: rgba(255,255,255,.08); }

.btn-nav-solid {
    color: var(--navy);
    font-size: .88rem;
    font-weight: 700;
    padding: .55rem 1.3rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dk));
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(245,158,11,.35);
}
.btn-nav-solid:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,158,11,.5); }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(13,31,53,.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 1.5rem 5%;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu a {
    color: rgba(255,255,255,.8);
    font-size: 1rem;
    font-weight: 500;
    padding: .7rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}
.mobile-menu a:hover { color: white; background: rgba(255,255,255,.08); }
.mobile-menu .mobile-cta {
    background: linear-gradient(135deg, var(--orange), var(--orange-dk));
    color: var(--navy);
    font-weight: 700;
    text-align: center;
    margin-top: .5rem;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Video carousel */
.video-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-video.active { opacity: 1; }

/* Fallback gradient when no videos load */
.video-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #0d1f35 0%,
        #1a3a5c 25%,
        #0d4a6e 50%,
        #0e3a2f 75%,
        #0d1f35 100%
    );
    background-size: 400% 400%;
    animation: gradShift 8s ease infinite;
    z-index: -1;
}

@keyframes gradShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Overlay at 50% opacity */
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13,31,53,.5) 0%,
        rgba(13,31,53,.4) 50%,
        rgba(13,31,53,.75) 100%
    );
    z-index: 1;
}

/* Video dots */
.video-dots {
    position: absolute;
    bottom: 100px;
    right: 5%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    z-index: 10;
}

.vdot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,.35);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.vdot.active {
    height: 24px;
    background: var(--orange);
}
.vdot:hover { background: rgba(255,255,255,.7); }

/* Hero content */
.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 900px;
    padding: 0 5%;
    padding-top: 72px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.4);
    color: var(--orange-lt);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: .45rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(1.3); }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}

.hero-italic {
    font-style: italic;
    color: var(--orange);
    display: block;
}

.hero-word-swap {
    display: block;
    min-height: 1.1em;
    position: relative;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.75);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Hero search */
.hero-search {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.97);
    border-radius: 100px;
    padding: .5rem .5rem .5rem 1.2rem;
    max-width: 680px;
    margin: 0 auto 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    gap: .8rem;
}

.search-icon { font-size: 1.1rem; color: var(--muted); flex-shrink: 0; }

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: .95rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: transparent;
    min-width: 0;
}
.search-input::placeholder { color: #94a3b8; }

.search-select {
    border: none;
    outline: none;
    font-size: .88rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--muted);
    background: transparent;
    padding: .3rem .5rem;
    border-left: 1px solid var(--border);
    cursor: pointer;
}

.search-btn {
    background: linear-gradient(135deg, var(--orange), var(--orange-dk));
    color: var(--navy);
    font-weight: 700;
    font-size: .9rem;
    padding: .75rem 1.8rem;
    border-radius: 100px;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(245,158,11,.4);
}
.search-btn:hover { transform: scale(1.03); box-shadow: 0 6px 24px rgba(245,158,11,.55); }

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hstat { text-align: center; }
.hstat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}
.hstat-lbl {
    font-size: .72rem;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-top: .25rem;
}
.hstat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.2);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    z-index: 5;
    animation: fadeInUp 1s .8s both;
}
.scroll-text { font-size: .72rem; color: rgba(255,255,255,.5); letter-spacing: 1px; text-transform: uppercase; }
.scroll-arrow {
    width: 22px;
    height: 22px;
    border-right: 2px solid rgba(255,255,255,.4);
    border-bottom: 2px solid rgba(255,255,255,.4);
    transform: rotate(45deg);
    animation: scrollBounce 1.5s ease infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50%       { transform: rotate(45deg) translateY(6px); }
}
/* ═══════════════════════════════════════════════════
   MAP PREVIEW SECTION (Landing Page)
═══════════════════════════════════════════════════ */
.section-map-preview {
    padding: 6rem 0;
    background: var(--bg);
}

.map-preview-container {
    background: white;
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.map-preview-container:hover {
    box-shadow: var(--shadow-lg);
}

.landing-map {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    border: 2px solid var(--border);
    overflow: hidden;
}

/* Map Legend */
.map-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 500;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.legend-dot.bookable { background: #ff9800; }
.legend-dot.public { background: #43a047; }
.legend-dot.cluster { 
    background: #1e3a5f;
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-map { height: 280px; }
    .map-preview-container { padding: 1rem; }
}

@media (max-width: 480px) {
    .landing-map { height: 220px; }
    .map-legend { gap: 0.8rem; }
    .legend-item { font-size: 0.7rem; }
}

/* ═══════════════════════════════════════════════════
   MAP SECTION
═══════════════════════════════════════════════════ */
.section-map {
    padding: 6rem 0;
    background: var(--cream);
}

.map-container-wrap {
    background: white;
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    position: relative;
    border: 1px solid var(--border);
}

.landing-map {
    width: 100%;
    height: 420px;
    border-radius: 12px;
    border: 2px solid var(--border);
    overflow: hidden;
}

/* Map Legend */
.map-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 500;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.legend-dot.bookable { background: #ff9800; }
.legend-dot.public { background: #43a047; }
.legend-dot.cluster { 
    background: #1e3a5f;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: white;
    font-weight: 700;
}

/* Map Stats Grid */
.map-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.map-stat-card {
    background: white;
    border-radius: var(--r);
    padding: 1.2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.map-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--orange);
}

.map-stat-icon { font-size: 1.8rem; margin-bottom: 0.3rem; }
.map-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    font-family: 'Playfair Display', serif;
}
.map-stat-label {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}

/* ═══════════════════════════════════════════════════
   SYSTEM FLOW SECTION
═══════════════════════════════════════════════════ */
.section-flow {
    padding: 6rem 0;
    background: var(--bg);
}

/* Flow Diagram */
.flow-diagram {
    background: white;
    border-radius: var(--r);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 2.5rem;
}

.flow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.flow-actor {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--navy);
    border-radius: var(--r);
    min-width: 150px;
    flex: 1;
    max-width: 220px;
    transition: var(--transition);
}
.flow-actor:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(13,31,53,0.2);
}

.flow-actor-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.flow-actor-name {
    font-size: 1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.2rem;
}
.flow-actor-desc {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

.flow-arrow {
    font-size: 1.8rem;
    color: var(--orange);
    font-weight: 300;
    flex-shrink: 0;
}

.flow-connector {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.flow-line {
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    opacity: 0.3;
}

/* Flow Features */
.flow-features-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.flow-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cream);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.flow-feature:hover {
    border-color: var(--orange);
    background: #fff8f0;
    transform: translateY(-2px);
}

.flow-feature-icon { font-size: 1.2rem; }
.flow-feature-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
}
.flow-feature-arrow {
    font-size: 1.2rem;
    color: var(--muted);
    font-weight: 300;
}

/* Flow Steps Grid */
.flow-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.flow-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: white;
    border-radius: var(--r);
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.flow-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--orange);
}

.flow-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-dk));
    color: var(--navy);
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-step-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.3rem;
}
.flow-step-content p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MAP & FLOW
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .map-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-actor { min-width: 120px; padding: 1rem; }
}

@media (max-width: 768px) {
    .landing-map { height: 280px; }
    .map-container-wrap { padding: 1rem; }
    .map-stats-grid { grid-template-columns: 1fr 1fr; }
    .flow-row { flex-direction: column; }
    .flow-actor { max-width: 100%; width: 100%; }
    .flow-arrow { transform: rotate(90deg); }
    .flow-features-grid { flex-direction: column; gap: 0.5rem; }
    .flow-feature { width: 100%; justify-content: center; }
    .flow-feature-arrow { transform: rotate(90deg); }
    .flow-steps-grid { grid-template-columns: 1fr; }
    .flow-step { padding: 1rem; }
}

@media (max-width: 480px) {
    .map-stats-grid { grid-template-columns: 1fr; }
    .landing-map { height: 220px; }
    .map-legend { gap: 0.8rem; }
    .legend-item { font-size: 0.7rem; }
    .flow-step-number { width: 28px; height: 28px; font-size: 0.8rem; }
}

/* ── REVEAL ANIMATIONS ── */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp .8s ease forwards;
}
.delay-0 { animation-delay: .1s; }
.delay-1 { animation-delay: .25s; }
.delay-2 { animation-delay: .4s; }
.delay-3 { animation-delay: .55s; }
.delay-4 { animation-delay: .7s; }
.delay-5 { animation-delay: .85s; }

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

/* Scroll-triggered reveals */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease, transform .7s ease;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal.delay-0 { transition-delay: 0s; }
.scroll-reveal.delay-1 { transition-delay: .12s; }
.scroll-reveal.delay-2 { transition-delay: .24s; }
.scroll-reveal.delay-3 { transition-delay: .36s; }
.scroll-reveal.delay-4 { transition-delay: .48s; }
.scroll-reveal.delay-5 { transition-delay: .60s; }

/* ══════════════════════════════════════
   MARQUEE STRIP
══════════════════════════════════════ */
.marquee-strip {
    background: var(--navy);
    border-top: 1px solid rgba(245,158,11,.2);
    border-bottom: 1px solid rgba(245,158,11,.2);
    padding: .9rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 2rem;
    animation: marqueeScroll 28s linear infinite;
}

.marquee-track span {
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .3px;
}
.marquee-track span:first-child,
.marquee-track span:nth-child(even) { color: var(--orange); font-weight: 700; }

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   SECTIONS SHARED
══════════════════════════════════════ */
.section-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    background: rgba(245,158,11,.12);
    border: 1px solid rgba(245,158,11,.3);
    color: var(--orange-dk);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}
.section-tag.light {
    background: rgba(245,158,11,.15);
    border-color: rgba(245,158,11,.4);
    color: var(--orange-lt);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: .8rem;
}
.section-title.light { color: white; }
.section-title em { font-style: italic; color: var(--orange); }

.section-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-cta { text-align: center; margin-top: 2.5rem; }

.btn-outline-navy {
    display: inline-block;
    border: 2px solid var(--navy);
    color: var(--navy);
    font-weight: 700;
    font-size: .95rem;
    padding: .9rem 2rem;
    border-radius: 100px;
    transition: var(--transition);
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13,31,53,.2);
}

/* ══════════════════════════════════════
   SPOTS SECTION
══════════════════════════════════════ */
.section-spots { padding: 6rem 0; background: var(--bg); }

.spots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.spot-card {
    background: white;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,.04);
}
.spot-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.spot-card-img {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spot-card-emoji {
    font-size: 4rem;
    opacity: .6;
    transition: var(--transition);
}
.spot-card:hover .spot-card-emoji { transform: scale(1.2); opacity: .4; }

.spot-card-badges {
    position: absolute;
    top: .8rem;
    left: .8rem;
    display: flex;
    gap: .4rem;
}

.spot-badge {
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem .75rem;
    border-radius: 100px;
}
.spot-badge.bookable { background: rgba(245,158,11,.9); color: var(--navy); }
.spot-badge.free     { background: rgba(13,148,136,.9); color: white; }

.spot-card-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,31,53,.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.spot-card:hover .spot-card-hover-overlay { opacity: 1; }

.spot-card-btn {
    background: white;
    color: var(--navy);
    font-weight: 700;
    font-size: .9rem;
    padding: .75rem 1.8rem;
    border-radius: 100px;
    transition: var(--transition);
}
.spot-card-btn:hover { background: var(--orange); transform: scale(1.05); }

.spot-card-body { padding: 1.3rem 1.5rem; }

.spot-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem;
}
.spot-state { font-size: .78rem; color: var(--muted); font-weight: 500; }
.spot-rating { font-size: .78rem; font-weight: 700; color: var(--orange-dk); }

.spot-card-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: .4rem;
    line-height: 1.3;
}

.spot-card-desc {
    font-size: .84rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.spot-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: .8rem;
    border-top: 1px solid var(--border);
}

.spot-price { display: flex; align-items: baseline; gap: .25rem; }
.price-from { font-size: .72rem; color: var(--muted); }
.price-val  { font-size: 1.1rem; font-weight: 800; color: var(--orange-dk); }
.price-per  { font-size: .72rem; color: var(--muted); }
.price-free { font-size: .85rem; font-weight: 700; color: var(--green); }

.spot-capacity { font-size: .78rem; color: var(--muted); font-weight: 500; }

.spots-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 4rem;
    color: var(--muted);
    background: white;
    border-radius: var(--r);
    border: 2px dashed var(--border);
}

/* ══════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════ */
.section-hiw {
    padding: 6rem 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.section-hiw::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(245,158,11,.06) 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(45,106,159,.15) 0%, transparent 60%);
}

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.hiw-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--r);
    padding: 2.5rem 2rem;
    position: relative;
    transition: var(--transition);
}
.hiw-card:hover {
    background: rgba(255,255,255,.08);
    transform: translateY(-4px);
}

.hiw-num {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(245,158,11,.15);
    line-height: 1;
    margin-bottom: .5rem;
    letter-spacing: -2px;
}

.hiw-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.hiw-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin-bottom: .7rem;
}

.hiw-desc {
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
}

.hiw-line {
    position: absolute;
    top: 50%;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), transparent);
}

/* Provider section */
.hiw-divider {
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
}
.hiw-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 1px;
    background: rgba(255,255,255,.1);
}
.hiw-divider span {
    position: relative;
    background: var(--navy);
    padding: 0 1.5rem;
    color: rgba(255,255,255,.5);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .5px;
}

.hiw-provider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.provider-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: .8rem;
}
.provider-text p {
    color: rgba(255,255,255,.6);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.provider-perks {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 2rem;
}
.provider-perks li {
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    font-weight: 500;
}

.btn-provider {
    display: inline-block;
    background: linear-gradient(135deg, var(--orange), var(--orange-dk));
    color: var(--navy);
    font-weight: 700;
    font-size: .95rem;
    padding: .9rem 2rem;
    border-radius: 100px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(245,158,11,.35);
}
.btn-provider:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(245,158,11,.5); }

/* Provider card preview */
.provider-visual { display: flex; justify-content: center; }

.provider-card-preview {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 380px;
    backdrop-filter: blur(10px);
}

.pcp-header {
    font-weight: 700;
    color: rgba(255,255,255,.8);
    margin-bottom: 1.5rem;
    font-size: .9rem;
}

.pcp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.pcp-stat { text-align: center; }
.pcp-num { font-size: 1.2rem; font-weight: 800; color: white; margin-bottom: .2rem; }
.pcp-lbl { font-size: .7rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .5px; }

.pcp-bar {
    background: rgba(255,255,255,.08);
    height: 8px;
    border-radius: 4px;
    margin-bottom: .5rem;
    overflow: hidden;
}
.pcp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--orange-lt));
    border-radius: 4px;
    animation: barGrow 1.5s ease .5s both;
}
@keyframes barGrow { from { width: 0; } }

.pcp-label { font-size: .75rem; color: rgba(255,255,255,.45); }

/* ══════════════════════════════════════
   FEATURES
══════════════════════════════════════ */
.section-features { padding: 6rem 0; background: var(--cream); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: white;
    border-radius: var(--r);
    padding: 2.5rem 2rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    bottom: -60px; right: -60px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(245,158,11,.05);
    transition: var(--transition);
}
.feature-card:hover::before { transform: scale(2.5); }
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245,158,11,.3);
}

.feature-icon-wrap {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    display: block;
    transition: var(--transition);
}
.feature-card:hover .feature-icon-wrap { transform: scale(1.15) rotate(-5deg); }

.feature-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: .6rem;
}

.feature-desc {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.section-testimonials {
    padding: 6rem 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.section-testimonials::before {
    content: '"';
    position: absolute;
    top: -2rem;
    left: 5%;
    font-family: 'Playfair Display', serif;
    font-size: 20rem;
    color: rgba(245,158,11,.04);
    line-height: 1;
    pointer-events: none;
}

.testimonial-track-wrap {
    overflow: hidden;
    margin-bottom: 2rem;
}

.testimonial-track {
    display: flex;
    gap: 1.5rem;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.testimonial-card {
    min-width: calc(33.333% - 1rem);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--r);
    padding: 2rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.testimonial-card:hover {
    background: rgba(255,255,255,.08);
    transform: translateY(-3px);
}

.t-stars { font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }

.t-quote {
    font-size: .92rem;
    color: rgba(255,255,255,.75);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.t-author { display: flex; align-items: center; gap: .9rem; }

.t-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-dk));
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .9rem;
    flex-shrink: 0;
}

.t-name { font-weight: 700; color: white; font-size: .9rem; }
.t-role { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: .1rem; }

/* Testimonial controls */
.t-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

.t-prev, .t-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.2);
    background: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.t-prev:hover, .t-next:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(245,158,11,.1);
}

.t-dots { display: flex; gap: .5rem; align-items: center; }
.t-dot {
    width: 7px;
    height: 7px;
    border-radius: 100px;
    background: rgba(255,255,255,.25);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.t-dot.active { width: 24px; background: var(--orange); }

/* ══════════════════════════════════════
   CTA BANNER
══════════════════════════════════════ */
.section-cta-banner {
    position: relative;
    padding: 6rem 5%;
    text-align: center;
    overflow: hidden;
    background: var(--bg);
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d1f35 0%, #1e3a5f 50%, #0d4a3f 100%);
}

.cta-banner-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(245,158,11,.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(45,106,159,.2) 0%, transparent 50%);
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.cta-banner-sub {
    color: rgba(255,255,255,.7);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-banner-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-white {
    background: white;
    color: var(--navy);
    font-weight: 700;
    font-size: .95rem;
    padding: .95rem 2.2rem;
    border-radius: 100px;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.35); background: var(--orange); }

.btn-cta-outline {
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: .95rem;
    padding: .95rem 2.2rem;
    border-radius: 100px;
    border: 2px solid rgba(255,255,255,.3);
    transition: var(--transition);
}
.btn-cta-outline:hover { border-color: white; background: rgba(255,255,255,.08); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
    background: #060f1a;
    padding: 4rem 5% 2rem;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: rgba(255,255,255,.45);
    font-size: .88rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer-socials { display: flex; gap: .7rem; }
.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}
.social-btn:hover { background: var(--orange); border-color: var(--orange); }

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    color: white;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,.45);
    font-size: .88rem;
    margin-bottom: .65rem;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--orange); transform: translateX(3px); }

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom span { color: rgba(255,255,255,.3); font-size: .8rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.35); font-size: .8rem; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--orange); }

/* @keyframes fadeInUp (for scroll indicator) */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hiw-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .hiw-line { display: none; }
    .hiw-provider { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .hero-title { font-size: clamp(2.5rem, 8vw, 4rem); }
    .hero-search { flex-wrap: wrap; border-radius: var(--r); }
    .search-select { border-left: none; border-top: 1px solid var(--border); width: 100%; }
    .search-btn { width: 100%; justify-content: center; border-radius: 12px; }
    .testimonial-card { min-width: calc(100% - .75rem); }
    .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .spots-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 1rem; }
    .hstat-divider { display: none; }
    .footer-links { grid-template-columns: 1fr; }
}