/* ═══════════════════════════════════════════════════════════════
   CALLEGO LANDING — Base: variables, reset, navbar, hero, buttons
   ═══════════════════════════════════════════════════════════════ */

:root {
    --bg: #060812;
    --bg2: #0c0e1a;
    --surface: #111428;
    --surface2: #181c34;
    --border: rgba(255, 255, 255, 0.06);
    --accent: #6c63ff;
    --accent2: #a78bfa;
    --accent3: #c4b5fd;
    --glow: rgba(108, 99, 255, 0.3);
    --glow2: rgba(167, 139, 250, 0.2);
    --green: #22c55e;
    --orange: #f59e0b;
    --text: #eaedf5;
    --text2: #8b92b0;
    --text3: #4f5575;
    --radius: 16px;
    --radius-sm: 10px;
}

[data-theme="light"] {
    --bg: #f5f7fb;
    --bg2: #eef1f7;
    --surface: #ffffff;
    --surface2: #f0f2f8;
    --border: rgba(0, 0, 0, 0.08);
    --accent: #6c63ff;
    --accent2: #7c6cf0;
    --accent3: #9b8df5;
    --glow: rgba(108, 99, 255, 0.15);
    --glow2: rgba(167, 139, 250, 0.1);
    --green: #16a34a;
    --orange: #d97706;
    --text: #1a1d2e;
    --text2: #5a6078;
    --text3: #8b92a8;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Manrope', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── 3D CANVAS BACKGROUND ─────────────────────────────────── */
#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* ─── NAVBAR ────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: all 0.4s ease;
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(6, 8, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 101;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-logo-text {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text2);
    transition: color 0.3s;
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text2);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Manrope', sans-serif;
}

.lang-switch:hover {
    border-color: var(--accent);
    color: var(--text);
}

.nav-cta {
    background: var(--accent);
    color: #fff;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: #7b73ff;
    transform: translateY(-1px);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 4px;
}

.burger span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    pointer-events: none;
    animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.4;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1.1);
    }
}

.hero-content {
    max-width: 620px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(108, 99, 255, 0.12);
    border: 1px solid rgba(108, 99, 255, 0.25);
    color: var(--accent2);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 17px;
    color: var(--text2);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-note {
    font-size: 13px;
    color: var(--text3);
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    background: #7b73ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow);
}

.btn-glow {
    box-shadow: 0 4px 20px var(--glow);
}

.btn-lg {
    padding: 18px 42px;
    font-size: 17px;
    border-radius: 14px;
}

.btn-ghost {
    color: var(--text2);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 8px;
    transition: color 0.3s;
}

.btn-ghost:hover {
    color: var(--text);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    width: 100%;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent2);
    background: rgba(108, 99, 255, 0.06);
}

/* ─── HERO 3D FLOATING CARDS ────────────────────────────────── */
.hero-3d-scene {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    perspective: 1200px;
    z-index: 1;
}

.float-card {
    position: absolute;
    background: rgba(17, 20, 40, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(108, 99, 255, 0.08);
    transition: transform 0.3s ease;
    animation-duration: 6s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.float-card:hover {
    border-color: rgba(108, 99, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(108, 99, 255, 0.15);
}

.card-1 {
    top: 10%;
    right: 30%;
    width: 200px;
    animation-name: float1;
    transform: rotateX(5deg) rotateY(-8deg);
}

.card-2 {
    top: 40%;
    right: 15%;
    width: 180px;
    animation-name: float2;
    animation-delay: 1s;
    transform: rotateX(-3deg) rotateY(6deg);
}

.card-3 {
    bottom: 8%;
    right: 35%;
    width: 220px;
    animation-name: float3;
    animation-delay: 2s;
    transform: rotateX(8deg) rotateY(-4deg);
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0) rotateX(5deg) rotateY(-8deg);
    }

    50% {
        transform: translateY(-15px) rotateX(8deg) rotateY(-12deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0) rotateX(-3deg) rotateY(6deg);
    }

    50% {
        transform: translateY(-20px) rotateX(-6deg) rotateY(10deg);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0) rotateX(8deg) rotateY(-4deg);
    }

    50% {
        transform: translateY(-12px) rotateX(4deg) rotateY(-8deg);
    }
}

.float-card-inner {
    text-align: center;
}

.fc-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.fc-label {
    font-size: 12px;
    color: var(--text2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.fc-bar {
    background: var(--surface2);
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
}

.fc-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--green));
    border-radius: 4px;
}

.fc-stat {
    font-family: 'Unbounded', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--green);
    margin-top: 6px;
}

.fc-score {
    margin-top: 4px;
}

.score-num {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent2);
}

.score-max {
    font-size: 16px;
    color: var(--text3);
}

.fc-check-list {
    text-align: left;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fc-check {
    color: var(--green);
    font-weight: 500;
}

.fc-check.warn {
    color: var(--orange);
}

/* ─── LIGHT THEME OVERRIDES ────────────────────────────────── */
[data-theme="light"] .float-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(108, 99, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 20px rgba(108, 99, 255, 0.05);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(245, 247, 251, 0.9);
}

[data-theme="light"] #bg-canvas {
    opacity: 0.15;
}

[data-theme="light"] .hero-glow {
    opacity: 0.2;
}