/* ═══════════════════════════════════════════
   Cliper — Immersive Landing Page
   Full-screen ocean hero + content sections
   ═══════════════════════════════════════════ */

/* ─── Body reset for landing ─── */
.landing-body {
    background: var(--color-ocean-deep);
}

/* ═══ HERO SECTION ═══ */
.landing-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg,
        #041220 0%,
        #0a2540 25%,
        #0d3460 45%,
        #124a80 65%,
        #1a6aaa 85%,
        #2890d0 100%
    );
}

/* ─── Ocean wave layers ─── */
.hero-ocean {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 300%;
    height: 40%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M0,224L48,213.3C96,203,192,181,288,186.7C384,192,480,224,576,218.7C672,213,768,171,864,165.3C960,160,1056,192,1152,197.3C1248,203,1344,181,1392,170.7L1440,160L1440,320L0,320Z'/%3E%3C/svg%3E") repeat-x;
    background-size: 1440px 320px;
    animation: waveFlow 12s linear infinite;
    opacity: 0.6;
}

.hero-waves-2 {
    height: 35%;
    animation: waveFlow 18s linear infinite reverse;
    opacity: 0.4;
    bottom: -5%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.06' d='M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,133.3C672,117,768,139,864,165.3C960,192,1056,224,1152,218.7C1248,213,1344,171,1392,149.3L1440,128L1440,320L0,320Z'/%3E%3C/svg%3E") repeat-x;
    background-size: 1440px 320px;
}

.hero-waves-3 {
    height: 30%;
    animation: waveFlow 25s linear infinite;
    opacity: 0.3;
    bottom: -10%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.04' d='M0,96L48,112C96,128,192,160,288,176C384,192,480,192,576,186.7C672,181,768,171,864,149.3C960,128,1056,96,1152,101.3C1248,107,1344,149,1392,170.7L1440,192L1440,320L0,320Z'/%3E%3C/svg%3E") repeat-x;
    background-size: 1440px 320px;
}

@keyframes waveFlow {
    from { transform: translateX(0); }
    to { transform: translateX(1440px); }
}

/* ─── Light rays from above ─── */
.landing-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at 50% 0%,
        rgba(100, 200, 255, 0.12) 0%,
        rgba(100, 200, 255, 0.04) 40%,
        transparent 70%
    );
    pointer-events: none;
}

/* ─── Bubbles ─── */
.hero-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.15);
    animation: bubbleRise linear infinite;
}

.bubble:nth-child(1) { left: 10%; width: 8px; height: 8px; animation-duration: 8s; animation-delay: 0s; }
.bubble:nth-child(2) { left: 25%; width: 14px; height: 14px; animation-duration: 10s; animation-delay: 2s; }
.bubble:nth-child(3) { left: 40%; width: 6px; height: 6px; animation-duration: 7s; animation-delay: 4s; }
.bubble:nth-child(4) { left: 55%; width: 10px; height: 10px; animation-duration: 12s; animation-delay: 1s; }
.bubble:nth-child(5) { left: 70%; width: 16px; height: 16px; animation-duration: 9s; animation-delay: 3s; }
.bubble:nth-child(6) { left: 85%; width: 7px; height: 7px; animation-duration: 11s; animation-delay: 5s; }
.bubble:nth-child(7) { left: 35%; width: 9px; height: 9px; animation-duration: 14s; animation-delay: 6s; }
.bubble:nth-child(8) { left: 65%; width: 11px; height: 11px; animation-duration: 8s; animation-delay: 7s; }

@keyframes bubbleRise {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% { opacity: 0.6; }
    90% { opacity: 0.3; }
    100% {
        transform: translateY(-100vh) translateX(30px) scale(0.5);
        opacity: 0;
    }
}

/* ─── Fish silhouettes ─── */
.hero-fish {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.fish-silhouette {
    position: absolute;
    font-size: 2rem;
    opacity: 0.12;
    filter: blur(1px);
    animation: fishSwim linear infinite;
}

.fish-1 { top: 65%; font-size: 2.5rem; animation-duration: 20s; animation-delay: 0s; }
.fish-2 { top: 45%; font-size: 1.8rem; animation-duration: 28s; animation-delay: 5s; }
.fish-3 { top: 75%; font-size: 1.5rem; animation-duration: 24s; animation-delay: 10s; }

@keyframes fishSwim {
    0% { left: -5%; transform: scaleX(1); }
    49% { transform: scaleX(1); }
    50% { left: 105%; transform: scaleX(1); }
    51% { transform: scaleX(-1); }
    100% { left: -5%; transform: scaleX(-1); }
}

/* ─── Hero center content ─── */
.hero-center {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 0 1.5rem;
    animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    box-shadow:
        0 0 40px rgba(100, 200, 255, 0.3),
        0 0 80px rgba(100, 200, 255, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.2rem;
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 8px;
    margin: 0 0 0.5rem;
    text-shadow:
        0 0 20px rgba(100, 200, 255, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.5);
    background: linear-gradient(180deg, #fff 30%, #7fdbda 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 2.5rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ─── Hero buttons ─── */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    border-radius: 14px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #FF6B35, #E55A2A);
    color: #fff;
    box-shadow:
        0 4px 20px rgba(255, 107, 53, 0.4),
        0 0 40px rgba(255, 107, 53, 0.15);
}

.hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 8px 30px rgba(255, 107, 53, 0.5),
        0 0 60px rgba(255, 107, 53, 0.25);
    color: #fff;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: #fff;
}

.hero-btn-icon {
    font-size: 1.3rem;
}

/* ─── Scroll indicator ─── */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollPulse 2s ease-in-out infinite;
    cursor: pointer;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    margin: 8px auto 0;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

/* ═══ CONTENT SECTIONS ═══ */
.landing-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── Features row ─── */
.landing-features {
    background: linear-gradient(180deg, #0d3460, #0a2540);
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: #fff;
    text-align: center;
    margin: 0 0 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-block {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s, background 0.3s;
}

.feature-block:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon-wrap {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.feature-block h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #fff;
    margin: 0 0 0.6rem;
}

.feature-block p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ─── Detail sections ─── */
.landing-details {
    background: var(--color-ocean-deep);
    padding: 4rem 0;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row-reverse {
    flex-direction: row-reverse;
}

.detail-text {
    flex: 1;
}

.detail-text h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: #fff;
    margin: 0 0 0.8rem;
}

.detail-text p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}

.detail-visual {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.detail-card strong {
    color: #fff;
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.detail-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* Equipment preview grid */
.equipment-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.equipment-preview span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s;
}

.equipment-preview span:hover {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.1);
}

/* World dots progression */
.worlds-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 2rem;
}

.world-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    animation: dotPulse 3s ease-in-out infinite;
}

.world-dot-1 { background: #4eb377; animation-delay: 0s; }
.world-dot-2 { background: #4fa3cc; animation-delay: 0.3s; }
.world-dot-3 { background: #3075b0; animation-delay: 0.6s; }
.world-dot-4 { background: #1e5f8a; animation-delay: 0.9s; }
.world-dot-5 { background: #0f1f35; border-color: rgba(130, 90, 255, 0.4); animation-delay: 1.2s; }

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* ─── Stats bar ─── */
.landing-stats {
    background: linear-gradient(135deg, #133a5e, #1a4f7a);
    padding: 3rem 0;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-block {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.3);
}

.stat-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ─── Final CTA ─── */
.landing-cta {
    background: linear-gradient(180deg, var(--color-ocean-deep), #041220);
    padding: 5rem 0;
    text-align: center;
}

.landing-cta h2 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: #fff;
    margin: 0 0 0.8rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.landing-cta p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin: 0 0 2rem;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.6rem;
        letter-spacing: 4px;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .hero-btn {
        padding: 0.85rem 1.6rem;
        font-size: 1rem;
    }

    .features-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .detail-row,
    .detail-row-reverse {
        flex-direction: column;
        gap: 1.5rem;
    }

    .detail-visual {
        flex: none;
        width: 100%;
    }

    .equipment-preview {
        justify-items: center;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .landing-cta h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .worlds-preview {
        gap: 0.5rem;
    }

    .world-dot {
        width: 30px;
        height: 30px;
    }
}
