/*
 * ============================================================
 * 📄 File: styles.css — AI Solutions Global Stylesheet
 * 👤 Author: Muoziiy with AI
 * 📝 Description:
 *    Premium dark-theme design system for the AI Solutions
 *    landing page. Features glassmorphism, animated glow orbs,
 *    colorful gradient effects, and full mobile responsiveness.
 * 📅 Created: 2026-03-06 03:19 (Tashkent Time)
 * ============================================================
 * 📝 CHANGELOG:
 * [2026-03-06 07:39 Tashkent] —
 *   ✅ Added cursor:default to prevent I-beam text cursor on hover
 *   ✅ Added ::selection with themed purple highlight color
 *   ✅ Added user-select:none to stop blinking text caret at end of text
 * [2026-03-06 07:24 Tashkent] —
 *   ✅ Added .ai-custom-badge with glow-pulse + shimmer-sweep animation
 *   ✅ Added .price-api-note for API usage pricing notice
 *   ✅ Added .footer-motto + .motto-text with gradient animation
 *   ✅ Added wiggle/bounce/float micro-animations for tags + icons
 *   ✅ Improved mobile responsiveness (touch targets, stacking, sizing)
 *   ✅ Updated footer to flex-direction column layout
 * ============================================================
 */

/* ─────────────── 🎨 DESIGN TOKENS ─────────────── */
:root {
    --bg: #050508;
    --bg-deep: #020204;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --surface-glass: rgba(12, 12, 20, 0.55);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-glow: rgba(124, 109, 250, 0.35);
    --text: #f0f0f5;
    --text-dim: #9a9ab2;
    --accent: #8b7dff;
    --accent-glow: rgba(139, 125, 255, 0.6);
    --accent-green: #4ade80;
    --accent-green-glow: rgba(74, 222, 128, 0.5);
    --accent-yellow: #fbbf24;
    --accent-cyan: #22d3ee;
    --accent-pink: #f472b6;
    --tg-blue: #229ED9;
    --glass-blur: 28px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-pill: 50px;
}

/* ─────────────── 🔄 RESET ─────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* 🖱️ No I-beam cursor on hover over text */
    cursor: default;
    /* 🚫 Prevent blinking text caret appearing at the end of text */
    user-select: none;
    -webkit-user-select: none;
}

/* 🎨 Themed text selection highlight */
::selection {
    background: rgba(139, 125, 255, 0.35);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(139, 125, 255, 0.35);
    color: #ffffff;
}

/* 🔗 Keep pointer on interactive elements */
a,
button,
[role="button"],
.card-cta,
.btn-primary,
.btn-ghost,
.tg-btn,
.lang-btn,
.nav-links a {
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ─────────────── 🌌 PARTICLE CANVAS ─────────────── */
#canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* ─────────────── 🌟 AI GLOW ORBS ─────────────── */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    will-change: transform;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 125, 255, 0.55), transparent 70%);
    top: 8%;
    left: -8%;
    animation: drift1 14s ease-in-out infinite alternate;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.4), transparent 70%);
    top: 15%;
    right: -10%;
    animation: drift2 16s ease-in-out infinite alternate;
}

.glow-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent 70%);
    bottom: 20%;
    left: 25%;
    animation: drift3 12s ease-in-out infinite alternate;
}

.glow-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.25), transparent 70%);
    top: 55%;
    right: 5%;
    animation: drift1 18s ease-in-out infinite alternate-reverse;
}

@keyframes drift1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, -40px) scale(1.15);
    }

    100% {
        transform: translate(-30px, 25px) scale(0.95);
    }
}

@keyframes drift2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-60px, 50px) scale(1.1);
    }

    100% {
        transform: translate(35px, -25px) scale(1.05);
    }
}

@keyframes drift3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(35px, 35px) scale(1.2);
    }

    100% {
        transform: translate(-45px, -15px) scale(0.9);
    }
}

/* ─────────────── 🧭 NAV ─────────────── */
nav {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: calc(100% - 32px);
    max-width: 780px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    background: var(--surface-glass);
    border: 1px solid var(--border);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: all 0.4s ease;
}

nav:hover {
    border-color: var(--border-hover);
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.nav-logo {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-logo i {
    color: var(--accent);
    font-size: 14px;
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a i {
    font-size: 11px;
}

.nav-links a:hover {
    color: var(--text);
    background: var(--surface-hover);
}

/* 🌐 Language Button */
.lang-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.lang-btn i {
    font-size: 11px;
}

.lang-btn:hover {
    background: var(--surface-hover);
    border-color: var(--border-hover);
    color: #fff;
}

/* ─────────────── 🏔️ HERO ─────────────── */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 130px 24px 100px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(74, 222, 128, 0.2);
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1), rgba(74, 222, 128, 0.02));
    box-shadow: 0 4px 24px rgba(74, 222, 128, 0.12);
    backdrop-filter: blur(20px);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUp 0.7s 0.1s forwards, floatBadge 6s ease-in-out infinite alternate;
}

.hero-badge i {
    font-size: 10px;
    animation: pulse 2s infinite;
    text-shadow: 0 0 10px var(--accent-green-glow);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

@keyframes floatBadge {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: clamp(34px, 5.5vw, 60px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
    opacity: 0;
    animation: fadeUp 0.8s 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #8b7dff, #c4b5fd, #8b7dff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s ease-in-out infinite;
}

.hero-title .gradient-green {
    background: linear-gradient(135deg, #4ade80, #86efac, #4ade80);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-sub {
    font-size: 15px;
    color: var(--text-dim);
    max-width: 420px;
    margin: 0 auto 36px;
    font-weight: 400;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 0.7s 0.4s forwards;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 0.7s 0.55s forwards;
}

/* ─────────────── 🔘 BUTTONS ─────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--accent), #a78bfa);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(139, 125, 255, 0.35);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.btn-ghost:hover {
    background: var(--surface-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* 📜 Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    color: var(--text-dim);
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeUp 0.7s 1.2s forwards;
    z-index: 5;
}

.scroll-line {
    width: 1px;
    height: 36px;
    background: var(--border-hover);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.01% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ─────────────── 📦 SECTIONS ─────────────── */
section {
    position: relative;
    z-index: 1;
}

.section-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 90px 24px;
}

.section-top {
    text-align: center;
    margin-bottom: 52px;
}

.section-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover));
}

.section-eyebrow::after {
    background: linear-gradient(90deg, var(--border-hover), transparent);
}

.section-h {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 14px;
    color: var(--text-dim);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─────────────── 💳 SERVICE CARDS ─────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    background: linear-gradient(145deg, var(--surface-glass), rgba(12, 12, 20, 0.15));
    border: 1px solid var(--border);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ✨ Top shimmer line */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* 🌈 Hover glow gradient behind card */
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% -20%, var(--border-glow), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.card:hover {
    border-color: rgba(139, 125, 255, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(139, 125, 255, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--surface-hover);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 17px;
    transition: all 0.3s;
}

.card-icon i {
    color: var(--accent);
}

.card:hover .card-icon {
    border-color: var(--border-hover);
    box-shadow: 0 0 16px rgba(139, 125, 255, 0.15);
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.card-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* 🏷️ Feature tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 22px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-dim);
    transition: all 0.25s;
}

.tag i {
    font-size: 9px;
    color: var(--accent);
}

.card:hover .tag {
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text);
}

/* 💰 Pricing row inside card */
.card-pricing {
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.price-group .price-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 3px;
    font-weight: 600;
}

.price-group .price-value {
    font-size: 16px;
    font-weight: 700;
}

.price-value.accent {
    color: var(--accent);
}

.price-value.green {
    color: var(--accent-green);
}

.price-note {
    font-size: 10px;
    font-weight: 400;
    color: var(--text-dim);
}

/* CTA inside card */
.card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    width: 100%;
}

.card-cta i {
    font-size: 12px;
}

.card-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(139, 125, 255, 0.3);
}

/* ─────────────── 📩 CONTACT ─────────────── */
.contact-card {
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--surface-glass), rgba(12, 12, 20, 0.15));
    border: 1px solid var(--border);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-lg);
    padding: 52px 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.contact-card:hover {
    border-color: rgba(34, 158, 217, 0.3);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(34, 158, 217, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 158, 217, 0.45), transparent);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(34, 158, 217, 0.1);
    border: 1px solid rgba(34, 158, 217, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 22px;
    color: var(--tg-blue);
}

.contact-h {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}

.contact-p {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 28px;
    line-height: 1.7;
}

.tg-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #229ED9, #1e8bc3);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.tg-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.tg-btn:hover::before {
    transform: translateX(100%);
}

.tg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(34, 158, 217, 0.35);
}

.tg-btn i {
    font-size: 16px;
}

.contact-handle {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.contact-handle i {
    font-size: 10px;
}

/* ─────────────── ✨ AI CUSTOM BADGE (Education Bot) ─────────────── */
.ai-custom-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, rgba(139, 125, 255, 0.15), rgba(74, 222, 128, 0.1));
    border: 1px solid rgba(139, 125, 255, 0.3);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
    animation: glowPulse 3s ease-in-out infinite;
}

.ai-custom-badge i {
    font-size: 13px;
    color: var(--accent-yellow);
    animation: wiggle 2s ease-in-out infinite;
}

.ai-custom-badge span {
    background: linear-gradient(90deg, var(--accent), var(--accent-green), var(--accent-cyan));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

/* 🌟 Shimmer sweep effect on badge */
.ai-custom-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    animation: shimmerSweep 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(139, 125, 255, 0.15), 0 0 2px rgba(74, 222, 128, 0.1);
        border-color: rgba(139, 125, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(139, 125, 255, 0.35), 0 0 8px rgba(74, 222, 128, 0.2);
        border-color: rgba(139, 125, 255, 0.5);
    }
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(14deg);
    }

    30% {
        transform: rotate(-12deg);
    }

    45% {
        transform: rotate(8deg);
    }

    60% {
        transform: rotate(-6deg);
    }

    75% {
        transform: rotate(3deg);
    }
}

@keyframes shimmerSweep {

    0%,
    60% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* ─────────────── 💡 API PRICING NOTE ─────────────── */
.price-api-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--accent-yellow);
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.15);
    margin-bottom: 14px;
    line-height: 1.5;
    animation: fadeInNote 0.6s ease forwards;
}

.price-api-note i {
    font-size: 12px;
    flex-shrink: 0;
    animation: pulse 2.5s infinite;
}

@keyframes fadeInNote {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─────────────── 🎯 MICRO-ANIMATIONS (Tags, Icons) ─────────────── */

/* ✨ Tags wiggle slightly on card hover */
.card:hover .tag {
    animation: tagBounce 0.4s ease;
}

.card:hover .tag:nth-child(1) {
    animation-delay: 0s;
}

.card:hover .tag:nth-child(2) {
    animation-delay: 0.05s;
}

.card:hover .tag:nth-child(3) {
    animation-delay: 0.1s;
}

.card:hover .tag:nth-child(4) {
    animation-delay: 0.15s;
}

.card:hover .tag:nth-child(5) {
    animation-delay: 0.2s;
}

@keyframes tagBounce {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

/* 🚀 Card icon float on hover */
.card:hover .card-icon {
    animation: floatIcon 1.5s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* 🎯 CTA button pulse glow on hover */
.card-cta:hover {
    animation: ctaPulse 0.6s ease;
}

@keyframes ctaPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

/* ─────────────── 🦶 FOOTER ─────────────── */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 24px 20px;
    text-align: center;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

footer i {
    font-size: 10px;
    color: var(--accent);
}

/* ✨ Motto section */
.footer-motto {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-motto:hover {
    opacity: 1;
}

.motto-text {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--accent), var(--accent-green), var(--accent-cyan), var(--accent));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s ease-in-out infinite;
}

/* ─────────────── ✨ ANIMATIONS ─────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 🔍 Scroll-reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.d1 {
    transition-delay: 0.06s;
}

.d2 {
    transition-delay: 0.14s;
}

.d3 {
    transition-delay: 0.22s;
}

/* ─────────────── 📱 TABLET (≤768px) ─────────────── */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(28px, 6vw, 40px);
    }

    .hero-sub {
        font-size: 14px;
        max-width: 340px;
    }

    .section-inner {
        padding: 60px 20px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-card {
        padding: 40px 28px;
    }

    .glow-orb {
        opacity: 0.2;
    }

    .glow-1 {
        width: 280px;
        height: 280px;
    }

    .glow-2 {
        width: 220px;
        height: 220px;
    }

    .glow-3 {
        width: 200px;
        height: 200px;
    }

    .glow-4 {
        width: 170px;
        height: 170px;
    }
}

/* ─────────────── 📱 MOBILE (≤480px) ─────────────── */
@media (max-width: 480px) {
    nav {
        width: calc(100% - 16px);
        padding: 10px 16px;
        top: 10px;
    }

    .nav-links .nav-item {
        display: none;
    }

    .nav-logo {
        font-size: 13px;
    }

    .lang-btn {
        font-size: 11px;
        padding: 5px 11px;
    }

    #hero {
        padding: 100px 18px 80px;
        min-height: 92vh;
    }

    .hero-title {
        font-size: clamp(24px, 7.5vw, 34px);
        letter-spacing: -0.8px;
    }

    .hero-badge {
        font-size: 9.5px;
        padding: 6px 16px;
        letter-spacing: 1.8px;
    }

    .hero-sub {
        font-size: 13px;
        max-width: 300px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    /* 📱 Bigger touch targets for mobile */
    .btn-primary,
    .btn-ghost {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        min-height: 48px;
        font-size: 14px;
    }

    .section-h {
        font-size: clamp(19px, 5vw, 26px);
    }

    .section-eyebrow {
        font-size: 9px;
        letter-spacing: 2.5px;
    }

    .section-sub {
        font-size: 13px;
    }

    .card {
        padding: 24px 20px;
    }

    .card-title {
        font-size: 15px;
    }

    .card-desc {
        font-size: 12.5px;
    }

    .tag {
        font-size: 10px;
        padding: 4px 10px;
        min-height: 28px;
    }

    .card-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* 📱 AI Custom Badge mobile */
    .ai-custom-badge {
        font-size: 11px;
        padding: 7px 12px;
        gap: 6px;
    }

    /* 📱 API pricing note mobile */
    .price-api-note {
        font-size: 10px;
        padding: 7px 10px;
    }

    /* 📱 CTA touch-friendly */
    .card-cta {
        min-height: 44px;
        font-size: 13px;
    }

    .contact-card {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .contact-h {
        font-size: 19px;
    }

    .contact-p {
        font-size: 13px;
    }

    .tg-btn {
        padding: 13px 26px;
        font-size: 14px;
        min-height: 48px;
    }

    footer {
        font-size: 10px;
        padding: 16px;
        gap: 6px;
    }

    .motto-text {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .scroll-hint {
        bottom: 18px;
        font-size: 9px;
    }

    .scroll-line {
        height: 26px;
    }
}