/* ============================================================
   MARTIN AYON — AI EXPERT PORTFOLIO
   styles.css — All custom styles, animations, and variables
   ============================================================ */

/* ── Google Fonts ── */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap");

/* ── Design Tokens ── */
:root {
    --bg-0: #04040e;
    --bg-1: #07071a;
    --bg-card: rgba(255, 255, 255, 0.04);
    --indigo: #c1c510;
    --violet: #1f921a;
    --cyan: #22d3ee;
    --indigo-dim: rgba(99, 102, 241, 0.35);
    --text-100: #f1f5f9;
    --text-200: #94a3b8;
    --text-400: #475569;
    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(99, 102, 241, 0.4);
    --font-body: "Inter", system-ui, sans-serif;
    --font-display: "Space Grotesk", system-ui, sans-serif;
    --ease-out-quart: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --dur-fast: 150ms;
    --dur-base: 300ms;
    --dur-slow: 600ms;
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.25);
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body {
    font-family: var(--font-body);
    background: var(--bg-0);
    color: var(--text-100);
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    text-decoration: none;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: var(--bg-0);
}
::-webkit-scrollbar-thumb {
    background: var(--indigo);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--violet);
}

/* ── Focus ── */
:focus-visible {
    outline: 2px solid var(--indigo);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 640px) {
    .container {
        padding: 0 2rem;
    }
}
@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.font-display {
    font-family: var(--font-display);
}

.text-grad {
    background: linear-gradient(135deg, #f1f5f9 0%, #818cf8 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-wrap: nowrap;

    @media (max-width: 500px) {
        text-wrap: wrap;
    }
}
.text-grad-cyan {
    background: linear-gradient(135deg, #22d3ee 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.03em;
}
.hero-sub {
    font-size: clamp(1rem, 2.2vw, 1.22rem);
    color: var(--text-200);
    line-height: 1.72;
    max-width: 560px;
}

/* Typewriter line — reserves a fixed block height so content below
   never jumps when phrases change length or wrap differently */
.typewriter-line {
    display: block;
    /* Reserve 2 lines on mobile (longest phrase may wrap) */
    min-height: calc(1.06em * 2);
    /* Cursor rendered via pseudo-element — no extra DOM node needed */
}
.typewriter-line::after {
    content: "|";
    display: inline-block;
    margin-left: 2px;
    color: var(--indigo);
    animation: tw-blink 1s step-start infinite;
    font-weight: 300;
}
@keyframes tw-blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@media (min-width: 768px) {
    /* Desktop: phrases stay on one line, reserve only 1 line */
    .typewriter-line {
        min-height: 1.06em;
        min-width: 100vw;
    }
}

/* When the typewriter is disabled on mobile, hide the cursor */
.typewriter-line.tw-static::after {
    display: none;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: 1rem;
}
.section-label::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 1px;
    background: var(--indigo);
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}
.section-body {
    font-size: 1.05rem;
    color: var(--text-200);
    line-height: 1.75;
    max-width: 620px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition:
        transform var(--dur-fast) var(--ease-standard),
        box-shadow var(--dur-fast) var(--ease-standard);
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.55s ease;
}
.btn:hover::before {
    transform: translateX(100%);
}
.btn:active {
    transform: translateY(1px) !important;
}

.btn-primary {
    padding: 0.75rem 1.875rem;
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    color: #fff;
    box-shadow: 0 4px 22px rgba(99, 102, 241, 0.42);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.6);
}

.btn-primary-lg {
    padding: 1.1rem 2.625rem;
    font-size: 1rem;
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.5);
}
.btn-primary-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 48px rgba(99, 102, 241, 0.65);
}

.btn-outline {
    padding: 0.75rem 1.875rem;
    background: transparent;
    color: var(--text-100);
    border: 1px solid var(--border);
    transition: all var(--dur-fast) var(--ease-standard);
}
.btn-outline:hover {
    border-color: var(--indigo);
    color: var(--indigo);
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    transition:
        background var(--dur-base) var(--ease-standard),
        box-shadow var(--dur-base) var(--ease-standard);
}
#navbar.scrolled {
    background: rgba(4, 4, 14, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-200);
    letter-spacing: 0.02em;
    transition: color var(--dur-fast);
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--indigo), var(--cyan));
    transition: width var(--dur-base);
}
.nav-link:hover {
    color: var(--text-100);
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link.active {
    color: var(--text-100);
}
.nav-link.active::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text-100);
    border-radius: 2px;
    transition: all var(--dur-base) var(--ease-standard);
    transform-origin: center;
}
.hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
#mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(4, 4, 14, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}
#mobile-menu.open {
    display: flex;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-100);
    letter-spacing: -0.025em;
    transition: color var(--dur-fast);
}
.mobile-link:hover {
    color: var(--indigo);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-0);
}

/* Ambient orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.orb-1 {
    width: 640px;
    height: 640px;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.55) 0%,
        transparent 70%
    );
    top: -220px;
    right: -120px;
    animation: orb-drift 14s ease-in-out infinite;
}
.orb-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(
        circle,
        rgba(168, 85, 247, 0.55) 0%,
        transparent 70%
    );
    bottom: -80px;
    left: -60px;
    animation: orb-drift 14s ease-in-out infinite reverse;
    animation-delay: -5s;
}
.orb-3 {
    width: 320px;
    height: 320px;
    background: radial-gradient(
        circle,
        rgba(34, 211, 238, 0.35) 0%,
        transparent 70%
    );
    top: 42%;
    left: 42%;
    animation: orb-drift 10s ease-in-out infinite;
    animation-delay: -9s;
}
@keyframes orb-drift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(28px, -38px) scale(1.05);
    }
    66% {
        transform: translate(-18px, 20px) scale(0.96);
    }
}

/* Grid */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.2) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(
        ellipse 80% 80% at 50% 50%,
        black 40%,
        transparent 100%
    );
}

/* Floating shapes */
.shape {
    position: absolute;
    pointer-events: none;
}
.ring {
    border-radius: 4px;
    border: 1px solid rgba(99, 102, 241, 0.22);
    /*background: linear-gradient(135deg, #c1c510, #1f921a);*/
    animation: spin-ring 152s linear infinite;
}
.ring-a {
    width: 300px;
    height: 300px;
    top: 14%;
    right: 7%;
}
.ring-b {
    width: 170px;
    height: 170px;
    top: 21%;
    right: 13%;
    border-color: rgba(168, 85, 247, 1);
    animation-direction: reverse;
    animation-duration: 200s;
}

.dot-grid {
    width: 180px;
    height: 180px;
    background-image: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.7) 1.2px,
        transparent 1.2px
    );
    background-size: 18px 18px;
    bottom: 22%;
    left: 5%;
    animation: float-y 7s ease-in-out infinite;
    opacity: 0.55;
}
.sq {
    border: 1px solid rgba(34, 211, 238, 0.4);
    animation: float-sq 11s ease-in-out infinite;
}
.sq-a {
    width: 52px;
    height: 52px;
    top: 26%;
    left: 9%;
    transform: rotate(45deg);
}
.sq-b {
    width: 28px;
    height: 28px;
    bottom: 28%;
    right: 19%;
    transform: rotate(20deg);
    animation-delay: -5s;
}
.vline {
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(99, 102, 241, 0.5),
        transparent
    );
    animation: pulse-opacity 3.2s ease-in-out infinite;
}
.vline-a {
    height: 200px;
    top: 9%;
    left: 20%;
}
.vline-b {
    height: 140px;
    top: 32%;
    right: 28%;
    animation-delay: -1.6s;
}

@keyframes spin-ring {
    to {
        transform: rotate(360deg);
    }
}
@keyframes float-y {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}
@keyframes float-sq {
    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }
    50% {
        transform: rotate(65deg) translateY(-13px);
    }
}
@keyframes pulse-opacity {
    0%,
    100% {
        opacity: 0.18;
    }
    50% {
        opacity: 0.75;
    }
}

/* Diagonal bottom */
.diagonal-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    overflow: hidden;
    pointer-events: none;
}
.diagonal-bottom::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: -5%;
    width: 110%;
    height: 100%;
    background: var(--bg-1);
    transform: skewY(-2.8deg);
    transform-origin: bottom right;
}

/* Badge pill */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #a5b4fc;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.45;
        transform: scale(0.65);
    }
}

/* Stats strip */
.stat-strip {
    display: inline-flex;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1.2rem 0;
}
.stat-item {
    position: relative;
    padding: 0 2rem;
    text-align: center;
}
.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--border);
}
.stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-100);
}
.stat-lbl {
    font-size: 0.72rem;
    color: var(--text-400);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}
@media (max-width: 500px) {
    .stat-item {
        padding: 0 1.1rem;
    }
    .stat-num {
        font-size: 1.5rem;
    }
}

/* ============================================================
   SECTION WRAPPERS
   ============================================================ */
.section-dark {
    background: var(--bg-1);
    padding: 120px 0;
    position: relative;
}
.section-light {
    background: var(--bg-0);
    padding: 120px 0;
    position: relative;
}
@media (max-width: 768px) {
    .section-dark,
    .section-light {
        padding: 80px 0;
    }
}

.divider-glow {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--indigo),
        var(--violet),
        transparent
    );
    opacity: 0.35;
}

/* Noise overlay texture */
.noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* ============================================================
   GLASS CARDS
   ============================================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 13px;
    position: relative;
    overflow: hidden;
    transition:
        transform var(--dur-base) var(--ease-out-quart),
        border-color var(--dur-base),
        box-shadow var(--dur-base);
}
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.04) 0%,
        transparent 60%
    );
    border-radius: inherit;
    pointer-events: none;
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    box-shadow:
        var(--shadow-card),
        0 0 0 1px rgba(99, 102, 241, 0.15);
}

/* Pain card variant */
.card-pain {
    padding: 2rem;
    border-left: 3px solid transparent;
    transition: all var(--dur-base);
}
.card-pain:hover {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.04);
    transform: translateY(-3px);
}

.pain-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(99, 102, 241, 0.13);
    letter-spacing: -0.04em;
    transition: color var(--dur-base);
}
.card-pain:hover .pain-num {
    color: rgba(239, 68, 68, 0.18);
}

/* Icon box */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    flex-shrink: 0;
}
.icon-box-red {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}
.icon-box-violet {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.2);
}
.icon-box-cyan {
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.2);
}

/* ============================================================
   PAIN SECTION
   ============================================================ */
.diagonal-quote {
    position: relative;
    padding: 2.5rem 3rem 2.5rem 3.5rem;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.08),
        rgba(168, 85, 247, 0.05)
    );
    border-left: 4px solid var(--indigo);
    border-radius: 0 12px 12px 0;
    overflow: hidden;
}
.diagonal-quote::after {
    content: "\201C";
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    font-size: 9rem;
    font-family: Georgia, serif;
    color: rgba(99, 102, 241, 0.07);
    line-height: 1;
    pointer-events: none;
}

/* ============================================================
   SOLUTION SECTION
   ============================================================ */
.benefit-row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.375rem;
    border-radius: 10px;
    transition: background var(--dur-base);
}
.benefit-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.check-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.value-card {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.11),
        rgba(168, 85, 247, 0.07)
    );
    border: 1px solid rgba(99, 102, 241, 0.24);
    border-radius: 16px;
    padding: 2.5rem;
    overflow: hidden;
}
.value-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.14) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.mini-metric {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem 1.375rem;
    transition: all var(--dur-base);
}
.mini-metric:hover {
    background: rgba(99, 102, 241, 0.07);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-3px);
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.step-num-label {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: 0.4rem;
}
.step-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all var(--dur-base);
}
.step-circle-on {
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    color: #fff;
    box-shadow: 0 0 28px rgba(99, 102, 241, 0.5);
}
.step-circle-off {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-400);
}
.process-step:hover .step-circle-off {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--indigo);
    box-shadow: 0 0 18px rgba(99, 102, 241, 0.2);
}
.process-connector {
    position: absolute;
    top: 26px;
    left: 52px;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--indigo), transparent);
    opacity: 0.25;
}
@media (max-width: 768px) {
    .process-connector {
        display: none;
    }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tcard {
    padding: 2rem 2.375rem;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid var(--border);
    border-radius: 14px;
    position: relative;
    transition: all var(--dur-base);
    overflow: hidden;
}
.tcard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--indigo), var(--violet));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-slow);
}
.tcard:hover::before {
    transform: scaleX(1);
}
.tcard:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.4);
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: #fff;
    flex-shrink: 0;
}

.star {
    color: #fbbf24;
    font-size: 0.8rem;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-frame {
    position: relative;
    display: inline-block;
    width: 100%;
}
.about-frame::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 14px;
    right: -14px;
    bottom: -14px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    z-index: -1;
}
.about-img-inner {
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.12),
        rgba(168, 85, 247, 0.08)
    );
    border: 1px solid rgba(99, 102, 241, 0.2);
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.stat-block {
    padding: 1.25rem 1.5rem;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.14);
    border-radius: 10px;
    text-align: center;
    transition: all var(--dur-base);
}
.stat-block:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.28);
    transform: translateY(-3px);
}
.stat-block-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, #f1f5f9, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-block-lbl {
    display: block;
    font-size: 0.7rem;
    color: var(--text-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.3rem;
}

.tech-tag {
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-400);
    letter-spacing: 0.05em;
    transition: all var(--dur-fast);
}
.tech-tag:hover {
    color: var(--indigo);
    border-color: rgba(99, 102, 241, 0.35);
    background: rgba(99, 102, 241, 0.07);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
#cta {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
    background: var(--bg-0);
}

.cta-orb-1 {
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.18) 0%,
        transparent 65%
    );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    animation: cta-pulse 7s ease-in-out infinite;
    pointer-events: none;
}
.cta-orb-2 {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(168, 85, 247, 0.14) 0%,
        transparent 65%
    );
    top: 15%;
    right: 8%;
    filter: blur(60px);
    animation: cta-pulse 9s ease-in-out infinite reverse;
    pointer-events: none;
}
@keyframes cta-pulse {
    0%,
    100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.cta-stripes {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 38px,
        rgba(99, 102, 241, 0.014) 38px,
        rgba(99, 102, 241, 0.014) 76px
    );
    pointer-events: none;
}

.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.25rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: var(--text-400);
}
.trust-icon {
    color: var(--cyan);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
    background: var(--bg-0);
    border-top: 1px solid var(--border);
    padding: 64px 0 40px;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-100);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-link {
    font-size: 0.875rem;
    color: var(--text-400);
    transition: color var(--dur-fast);
}
.footer-link:hover {
    color: var(--text-100);
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-400);
    transition: all var(--dur-fast);
}
.social-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--indigo);
    transform: translateY(-2px);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-anim] {
    opacity: 0;
    transition:
        opacity 0.72s var(--ease-out-quart),
        transform 0.72s var(--ease-out-quart);
}
[data-anim="fade-up"] {
    transform: translateY(38px);
}
[data-anim="fade-down"] {
    transform: translateY(-38px);
}
[data-anim="fade-left"] {
    transform: translateX(38px);
}
[data-anim="fade-right"] {
    transform: translateX(-38px);
}
[data-anim="fade-in"] {
    transform: none;
}
[data-anim="scale-up"] {
    transform: scale(0.88);
}

[data-anim].visible {
    opacity: 1;
    transform: none !important;
}

[data-delay="100"] {
    transition-delay: 100ms;
}
[data-delay="200"] {
    transition-delay: 200ms;
}
[data-delay="300"] {
    transition-delay: 300ms;
}
[data-delay="400"] {
    transition-delay: 400ms;
}
[data-delay="500"] {
    transition-delay: 500ms;
}
[data-delay="600"] {
    transition-delay: 600ms;
}
[data-delay="700"] {
    transition-delay: 700ms;
}
[data-delay="800"] {
    transition-delay: 800ms;
}

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 767px) {
    .section-dark,
    .section-light {
        padding: 80px 0;
    }
    #cta {
        padding: 90px 0;
    }
    .diagonal-bottom {
        height: 60px;
    }
    .diagonal-bottom::after {
        height: 60px;
    }
}
