/* ════════════════════════════════
   VARIABLES & RESET
   jotno.ai — variables.css
════════════════════════════════ */

:root {
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #cffafe;
    --teal: #06b6d4;
    --cyan: #22d3ee;
    --accent: #6366f1;
    --accent2: #8b5cf6;
    --sky: #e0f7ff;
    --white: #ffffff;
    --text: #0f2036;
    --muted: #4a6882;
    --glass: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.9);
    --radius: 20px;
    --shadow: 0 8px 40px rgba(8, 145, 178, 0.13);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #e8f6fb;
    color: var(--text);
    overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #e8f6fb;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* ════════════════════════════════
   ANIMATED BACKGROUND
   jotno.ai — background.css
════════════════════════════════ */

/* ─── BG LAYER ─── */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(6, 182, 212, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 90% 10%, rgba(99, 102, 241, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 50% 90%, rgba(8, 145, 178, 0.13) 0%, transparent 60%),
        radial-gradient(ellipse 100% 100% at 50% 50%, #e8f6fb 0%, #dff2ff 50%, #eaf4fe 100%);
}

/* ─── ORBS ─── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    animation: orbDrift linear infinite;
}

.orb1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #06b6d4, #0891b2);
    top: -100px;
    left: -100px;
    animation-duration: 20s;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6, #6366f1);
    top: 40%;
    right: -150px;
    animation-duration: 25s;
    animation-delay: -8s;
}

.orb3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #22d3ee, #0891b2);
    bottom: -80px;
    left: 30%;
    animation-duration: 18s;
    animation-delay: -5s;
}

@keyframes orbDrift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -20px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 30px) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) scale(1.03);
    }
}

/* ─── DOT GRID ─── */
.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(8, 145, 178, 0.12) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
}

/* ─── WAVE SVG ─── */
.wave-svg {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.08;
}

/* ─── FLOATING CROSSES ─── */
.float-cross {
    position: fixed;
    font-size: 1.6rem;
    color: var(--primary);
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.fc1 {
    top: 8%;
    left: 3%;
    animation: fcFloat 7s ease-in-out infinite;
}

.fc2 {
    top: 25%;
    right: 5%;
    animation: fcFloat 6s 2s ease-in-out infinite;
}

.fc3 {
    bottom: 20%;
    left: 8%;
    animation: fcFloat 8s 4s ease-in-out infinite;
}

.fc4 {
    bottom: 35%;
    right: 3%;
    animation: fcFloat 5s 1s ease-in-out infinite;
}

@keyframes fcFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.2;
    }

    50% {
        transform: translateY(-18px) rotate(20deg);
        opacity: 0.35;
    }
}

/* ─── Z-INDEX BASE ─── */
nav,
section,
footer,
.modal-overlay {
    position: relative;
    z-index: 10;
}

/* ════════════════════════════════
   ANIMATIONS & UTILITIES
   jotno.ai — animations.css
════════════════════════════════ */

/* ─── FADE UP ─── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

/* ─── SCROLL FADE-IN ─── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s, transform 0.65s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}