/* ═══════════════════════════════════════════
   HYPERINA — Landing Page Styles
   Monochrome Black & White Premium Theme
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --landing-bg: #000000;
    --landing-card: rgba(255,255,255,0.03);
    --landing-card-hover: rgba(255,255,255,0.06);
    --landing-card-border: rgba(255,255,255,0.08);
    --landing-text: #f1f1f1;
    --landing-text-muted: #888;
    --landing-accent: #ffffff;
    --landing-radius: 16px;
    --landing-max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--landing-bg);
    color: var(--landing-text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ── Navbar ──────────────────────────────── */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
    background: transparent;
}

.landing-nav.scrolled {
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 40px;
}

.landing-nav-logo img {
    height: 38px;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.landing-nav-links a {
    color: var(--landing-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.landing-nav-links a:hover {
    color: #fff;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.15);
}

/* ── Hero Section ────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 40px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 20%, #000 70%);
    z-index: 1;
}

/* Floating logos */
.floating-logo {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    opacity: 0;
    animation: floatLogo linear infinite;
    pointer-events: none;
    will-change: transform, opacity;
}

.floating-logo:hover {
    filter: brightness(1.1);
}

@keyframes floatLogo {
    0%   { transform: translateY(110vh) rotate(0deg) scale(0.7); opacity: 0; }
    5%   { opacity: 0.2; }
    50%  { opacity: 0.15; }
    95%  { opacity: 0.1; }
    100% { transform: translateY(-15vh) rotate(180deg) scale(1); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #aaa;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

.hero h1 {
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    color: #fff;
}

.hero h1 .gradient-text {
    background: linear-gradient(90deg, #fff 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--landing-text-muted);
    margin-bottom: 48px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-hero:hover::before {
    transform: translateX(100%);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255,255,255,0.2);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    background: transparent;
    color: var(--landing-text);
    text-decoration: none;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-outline:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.hero-stat-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--landing-text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ── Section Base ────────────────────────── */
.landing-section {
    padding: 140px 40px;
    max-width: var(--landing-max-width);
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    color: #fff;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--landing-text-muted);
    max-width: 600px;
    line-height: 1.8;
}

/* ── About Section ───────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 64px;
}

.about-text p {
    color: var(--landing-text-muted);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.about-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 14px;
    transition: background 0.3s;
}

.about-highlight:hover {
    background: rgba(255,255,255,0.03);
}

.about-highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    transition: all 0.3s;
}

.about-highlight:hover .about-highlight-icon {
    background: #fff;
    color: #000;
}

.about-highlight-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-highlight h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.about-highlight p {
    font-size: 0.85rem;
    color: var(--landing-text-muted);
    margin-bottom: 0;
}

.about-visual {
    position: relative;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-mini-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-mini-card:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
    transform: translateY(-6px);
}

.about-mini-card .mini-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: all 0.3s;
}

.about-mini-card:hover .mini-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(255,255,255,0.1);
}

.about-mini-card .mini-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-mini-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.about-mini-card p {
    font-size: 0.75rem;
    color: var(--landing-text-muted);
    margin-top: 4px;
}

/* ── Features Section ────────────────────── */
.features-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, transparent 100%);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.features-section .landing-section {
    padding-top: 140px;
    padding-bottom: 140px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 64px;
}

.feature-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
    background: rgba(255,255,255,0.04);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    background: #fff;
    border-color: #fff;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255,255,255,0.1);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--landing-text-muted);
    line-height: 1.7;
}

/* ── Platforms Section ───────────────────── */
.platforms-section {
    text-align: center;
}

.platforms-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 64px;
}

.platform-item {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.platform-item:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    background: rgba(255,255,255,0.06);
}

.platform-item img {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
    transition: all 0.4s;
}

.platform-item:hover img {
    transform: scale(1.05);
}

/* ── CTA Section ─────────────────────────── */
.cta-section {
    text-align: center;
    padding: 140px 40px;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 32px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.cta-box::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 140%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.02), transparent 60%);
    pointer-events: none;
}

.cta-box h2 {
    position: relative;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: #fff;
    letter-spacing: -0.02em;
}

.cta-box p {
    position: relative;
    font-size: 1.05rem;
    color: var(--landing-text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Footer ──────────────────────────────── */
.landing-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 40px 30px;
}

.landing-footer-inner {
    max-width: var(--landing-max-width);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.landing-footer-brand img {
    height: 32px;
    margin-bottom: 16px;
}

.landing-footer-brand p {
    font-size: 0.85rem;
    color: var(--landing-text-muted);
    max-width: 300px;
    line-height: 1.7;
}

.landing-footer-links h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: #aaa;
}

.landing-footer-links a {
    display: block;
    font-size: 0.85rem;
    color: var(--landing-text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.landing-footer-links a:hover {
    color: #fff;
}

.landing-footer-bottom {
    max-width: var(--landing-max-width);
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #555;
}

/* ── Legal Pages ─────────────────────────── */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 40px 80px;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: #fff;
    letter-spacing: -0.02em;
}

.legal-page .legal-updated {
    font-size: 0.9rem;
    color: var(--landing-text-muted);
    margin-bottom: 48px;
}

.legal-page h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #fff;
}

.legal-page h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #ddd;
}

.legal-page p {
    font-size: 0.95rem;
    color: var(--landing-text-muted);
    margin-bottom: 16px;
    line-height: 1.9;
}

.legal-page ul, .legal-page ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-page li {
    font-size: 0.95rem;
    color: var(--landing-text-muted);
    margin-bottom: 8px;
    line-height: 1.8;
}

.legal-page strong {
    color: var(--landing-text);
}

.legal-page a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s;
}

.legal-page a:hover {
    text-decoration-color: #fff;
}

/* ── Scroll Reveal Animation ─────────────── */
.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Mouse Glow Effect ───────────────────── */
.hero-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.03), transparent 60%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: left 0.3s ease-out, top 0.3s ease-out;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-stats {
        gap: 32px;
    }
    .landing-footer-inner {
        flex-wrap: wrap;
    }
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .landing-nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(255,255,255,0.05);
        z-index: 1000;
    }

    .landing-nav.menu-active .landing-nav-links {
        right: 0;
    }
    
    .landing-nav.menu-active .hamburger i::before {
        content: "\f00d"; /* fa-times */
    }
}

@media (max-width: 640px) {
    .landing-nav {
        padding: 16px 20px;
    }
    .hero {
        padding: 100px 20px 60px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .cta-box {
        padding: 48px 24px;
    }
    .landing-section {
        padding: 80px 20px;
    }
    .about-visual {
        grid-template-columns: 1fr;
    }
    .landing-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
