/* ============================================================
   DeveloperAI.lat — Styles
   Design System: dark space + electric violet + cyber cyan
   ============================================================ */

/* ---- VARIABLES ---- */
:root {
    --bg-base: #07070d;
    --bg-surface: #0d0d18;
    --bg-card: #12121f;
    --bg-card-hover: #171728;
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(124, 58, 237, 0.4);

    --purple: #7c3aed;
    --purple-light: #a855f7;
    --purple-glow: rgba(124, 58, 237, 0.3);
    --cyan: #06b6d4;
    --cyan-light: #38bdf8;
    --cyan-glow: rgba(6, 182, 212, 0.25);

    --text-primary: #f1f0ff;
    --text-secondary: #a09cc0;
    --text-muted: #5c587a;

    --gradient: linear-gradient(135deg, #7c3aed, #06b6d4);
    --gradient-text: linear-gradient(90deg, #a855f7, #06b6d4);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --shadow-purple: 0 0 40px rgba(124, 58, 237, 0.2);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);

    --font-sans: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    --nav-h: 68px;
}

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--purple);
    border-radius: 10px;
}

/* ---- CANVAS ---- */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* ---- UTILS ---- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 100px 0;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 620px;
    line-height: 1.75;
    margin-bottom: 56px;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--purple-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-sales {
    background: #25d366;
    color: #fff;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.25s ease;
}

.btn-sales:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 12px 0;
    transition: color 0.2s;
    justify-content: center;
    width: 100%;
}

.btn-ghost-light:hover {
    color: var(--text-primary);
}

.hidden {
    display: none !important;
}

.spin {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ---- SCROLL REVEAL ---- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    flex-direction: column;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background: rgba(7, 7, 13, 0.9);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    padding: 0 24px;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient);
    box-shadow: 0 0 10px var(--purple);
}

.logo-accent {
    color: var(--purple-light);
}

.logo-tld {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--gradient);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 12px var(--purple-glow);
    transition: all 0.25s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--purple-glow);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    cursor: pointer;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px 24px;
    background: rgba(7, 7, 13, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.nav-mobile-menu.open {
    display: flex;
}

.nav-mobile-link {
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}

.nav-mobile-link:last-child {
    border-bottom: none;
}

.nav-mobile-link:hover {
    color: var(--text-primary);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-h) + 60px) 24px 80px;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
}

.hero-glow--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #7c3aed, transparent 70%);
    top: -200px;
    left: -200px;
    animation: floatGlow 8s ease-in-out infinite;
}

.hero-glow--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #06b6d4, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation: floatGlow 10s ease-in-out infinite reverse;
}

@keyframes floatGlow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 30px) scale(1.05);
    }
}

.hero-content {
    max-width: 820px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 8px 18px;
}

.hero-badge--counter {
    background: rgba(251, 146, 60, 0.08);
    border-color: rgba(251, 146, 60, 0.25);
    color: #fb923c;
}

.badge-fire {
    font-size: 1rem;
    line-height: 1;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 8px #22c55e;
    }

    50% {
        box-shadow: 0 0 16px #22c55e, 0 0 24px rgba(34, 197, 94, 0.4);
    }
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-title-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.75;
}

.hero-subtitle strong {
    color: var(--purple-light);
}

.hero-typewriter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--cyan);
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 20px;
    margin-bottom: 40px;
}

.typewriter-label {
    color: var(--text-muted);
}

.typewriter-text {
    min-width: 200px;
    text-align: left;
}

.typewriter-cursor {
    animation: blink 0.9s step-start infinite;
    color: var(--cyan);
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-plus,
.stat-pct {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--purple-light);
    line-height: 1;
    display: inline;
    -webkit-text-fill-color: var(--purple-light);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 2;
    animation: fadeInUp 1.5s 1.5s both;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 7px;
    background: var(--purple-light);
    border-radius: 2px;
    animation: scrollDot 1.5s ease-in-out infinite;
}

@keyframes scrollDot {
    0% {
        top: 5px;
        opacity: 1;
    }

    80% {
        top: 14px;
        opacity: 0;
    }

    100% {
        top: 5px;
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    position: relative;
    z-index: 2;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-purple);
}

.about-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--purple-light);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits {
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 50%, var(--bg-base) 100%);
    position: relative;
    z-index: 2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(500px circle at var(--mouse-x, -200px) var(--mouse-y, -200px), rgba(124, 58, 237, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: inherit;
    pointer-events: none;
}

.benefit-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-purple);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.benefit-icon--purple {
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: var(--purple-light);
}

.benefit-icon--cyan {
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: var(--cyan-light);
}

.benefit-icon--green {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
}

.benefit-icon--orange {
    background: rgba(251, 146, 60, 0.12);
    border: 1px solid rgba(251, 146, 60, 0.25);
    color: #fb923c;
}

.benefit-icon--pink {
    background: rgba(236, 72, 153, 0.12);
    border: 1px solid rgba(236, 72, 153, 0.25);
    color: #f472b6;
}

.benefit-icon--blue {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

.benefit-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.65;
}

/* ============================================================
   ROLES
   ============================================================ */
.roles {
    position: relative;
    z-index: 2;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.role-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-purple);
}

.role-card--wild {
    border-color: rgba(168, 85, 247, 0.3);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.06));
}

.role-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.role-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--purple-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-badge {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--cyan);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 100px;
    padding: 4px 10px;
}

.role-badge--hot {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.25);
}

.role-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.role-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.role-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.role-tags span {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3px 8px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 50%, var(--bg-base) 100%);
    position: relative;
    z-index: 2;
    text-align: center;
}

.steps {
    display: flex;
    gap: 0;
    margin-top: 64px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
    height: 1px;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    opacity: 0.3;
    pointer-events: none;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--purple-light);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.25);
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 260px;
}

/* ============================================================
   APPLY FORM
   ============================================================ */
.apply {
    position: relative;
    z-index: 2;
}

.apply-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: start;
}

.apply-left {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
}

.apply-left .section-tag {
    margin-bottom: 16px;
}

.apply-left .section-title {
    margin-bottom: 16px;
}

.apply-left>p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

.apply-promises {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.apply-promises li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.apply-promises li svg {
    color: #22c55e;
    flex-shrink: 0;
}

.apply-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.apply-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px var(--purple-glow);
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    padding-right: 40px;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.form-error {
    font-size: 0.78rem;
    color: #f87171;
    min-height: 18px;
    display: block;
}

.form-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
}

.form-success {
    text-align: center;
    padding: 60px 24px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.form-success h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================================
   SALES CTA
   ============================================================ */
.sales-cta {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
}

.sales-cta-card {
    background: var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-xl);
    padding: 64px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.12);
}

.sales-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 70%);
    pointer-events: none;
}

.section-tag-light {
    display: inline-flex;
    align-items: center;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple-light);
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 20px;
}

.sales-left h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.sales-left>p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.sales-left strong {
    color: var(--purple-light);
}

.sales-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sales-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sales-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.sales-cta-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    width: 100%;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
    position: relative;
    z-index: 2;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 28px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--purple-light);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .apply-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .apply-left {
        position: static;
    }

    .sales-cta-card {
        padding: 48px;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .about-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-direction: column;
        gap: 32px;
    }

    .steps::before {
        display: none;
    }

    .step-content p {
        max-width: 100%;
    }

    .sales-cta-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .roles-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .apply-form-wrapper {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* ============================================================
   ROCKET EASTER EGG
   ============================================================ */
.rocket-launcher {
    position: fixed;
    bottom: 40px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
    /* starts invisible off-screen below */
    transform: translateY(200px);
    opacity: 0;
}

/* Phase 1 — launch from below */
.rocket-launcher.launching {
    animation: rocketLaunch 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Phase 2 — attract loop */
.rocket-launcher.landed {
    transform: translateY(0);
    opacity: 1;
    animation: rocketAttract 5s ease-in-out infinite;
}

/* When bubble is open, freeze position */
.rocket-launcher.open {
    animation: none;
    transform: translateY(0);
    opacity: 1;
}

.rocket-icon {
    position: relative;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3), 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.2s ease;
}

.rocket-launcher:hover .rocket-icon {
    box-shadow: 0 0 36px rgba(124, 58, 237, 0.6), 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* ---- LAUNCH KEYFRAMES ---- */
@keyframes rocketLaunch {
    0% {
        transform: translateY(200px) translateX(0) scale(0.9);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    10% {
        transform: translateY(165px) translateX(3px) scale(1);
    }

    15% {
        transform: translateY(130px) translateX(-3px) scale(1);
    }

    20% {
        transform: translateY(100px) translateX(2px) scale(1);
    }

    28% {
        transform: translateY(65px) translateX(-2px) scale(1);
    }

    38% {
        transform: translateY(35px) translateX(1px) scale(1);
    }

    55% {
        transform: translateY(10px) translateX(0) scale(1);
    }

    68% {
        transform: translateY(-14px) translateX(0) scale(1.06);
    }

    78% {
        transform: translateY(6px) translateX(0) scale(0.97);
    }

    88% {
        transform: translateY(-5px) translateX(0) scale(1.02);
    }

    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 1;
    }
}

/* ---- ATTRACT LOOP KEYFRAMES (5s cycle) ---- */
@keyframes rocketAttract {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    5% {
        transform: translateY(-7px) rotate(2deg) scale(1);
    }

    10% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    15% {
        transform: translateY(-5px) rotate(-2deg) scale(1);
    }

    20% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    22% {
        transform: translateY(0) rotate(-14deg) scale(1.12);
    }

    26% {
        transform: translateY(-5px) rotate(14deg) scale(1.12);
    }

    30% {
        transform: translateY(0) rotate(-9deg) scale(1.06);
    }

    34% {
        transform: translateY(-3px) rotate(7deg) scale(1.04);
    }

    38% {
        transform: translateY(0) rotate(-4deg) scale(1.02);
    }

    44% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-6px) rotate(1.5deg) scale(1);
    }

    55% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    60% {
        transform: translateY(-4px) rotate(-1deg) scale(1);
    }

    65% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    66% {
        transform: translateY(0) rotate(-16deg) scale(1.15);
    }

    70% {
        transform: translateY(-6px) rotate(16deg) scale(1.15);
    }

    74% {
        transform: translateY(0) rotate(-10deg) scale(1.08);
    }

    78% {
        transform: translateY(-4px) rotate(8deg) scale(1.05);
    }

    82% {
        transform: translateY(0) rotate(-3deg) scale(1.02);
    }

    88% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

.rocket-trail {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 14px;
    background: linear-gradient(to bottom, rgba(251, 146, 60, 0.9), rgba(251, 191, 36, 0.5), transparent);
    border-radius: 2px;
    animation: trailFlicker 0.3s ease-in-out infinite alternate;
}

/* Bigger flames during launch */
.rocket-launcher.launching .rocket-trail {
    width: 8px;
    height: 40px;
    background: linear-gradient(to bottom, #fb923c, #fbbf24, rgba(251, 191, 36, 0.3), transparent);
    animation: trailFlicker 0.1s ease-in-out infinite alternate;
    box-shadow: 0 0 12px rgba(251, 146, 60, 0.6);
}

@keyframes trailFlicker {
    from {
        opacity: 0.7;
        transform: translateX(-50%) scaleX(1);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.4);
    }
}

.rocket-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--purple-light);
    opacity: 0.8;
}

/* Speech bubble */
.rocket-bubble {
    position: absolute;
    bottom: calc(100% + 16px);
    right: 0;
    width: 300px;
    background: var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.45);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.25), 0 12px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(12px) scale(0.95);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.rocket-bubble.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.bubble-arrow {
    position: absolute;
    bottom: -8px;
    right: 24px;
    width: 14px;
    height: 14px;
    background: var(--bg-card);
    border-right: 1px solid rgba(124, 58, 237, 0.45);
    border-bottom: 1px solid rgba(124, 58, 237, 0.45);
    transform: rotate(45deg);
}

.bubble-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 10px;
}

.bubble-headline {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.bubble-headline span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bubble-body {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}

.bubble-body strong {
    color: var(--purple-light);
    font-weight: 700;
}

.bubble-footer {
    display: flex;
    gap: 8px;
}

.bubble-tag {
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--purple-light);
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 4px;
    padding: 3px 7px;
}

/* ============================================================
   MODEL CALLOUT
   ============================================================ */
.model-callout {
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.model-callout-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.model-callout-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.model-callout-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.model-callout-content strong {
    color: var(--cyan);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 50%, var(--bg-base) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.service-card-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08), transparent 70%);
    pointer-events: none;
    transition: opacity 0.3s;
    opacity: 0;
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.2);
}

.service-card:hover .service-card-glow {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon--purple {
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: var(--purple-light);
}

.service-icon--cyan {
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: var(--cyan-light);
}

.service-icon--green {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
}

.service-icon--orange {
    background: rgba(251, 146, 60, 0.12);
    border: 1px solid rgba(251, 146, 60, 0.25);
    color: #fb923c;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.service-tags span {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3px 8px;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--purple-light);
    margin-top: 4px;
    transition: gap 0.2s, color 0.2s;
}

.service-cta:hover {
    color: var(--cyan-light);
    gap: 12px;
}

.services-bottom {
    margin-top: 48px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-lg);
    text-align: center;
}

.services-bottom-content>p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.services-bottom-content strong {
    color: var(--text-primary);
}

.services-bottom-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(34, 197, 94, 0.1);
    z-index: 9998;
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.45s ease;
    min-width: 320px;
    max-width: 90vw;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.toast-content strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.toast-content span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--text-primary);
}

/* ============================================================
   ADDITIONAL RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .rocket-bubble {
        width: 260px;
    }

    .rocket-launcher {
        right: 16px;
        bottom: 24px;
    }

    .hero-badges {
        flex-direction: column;
        gap: 8px;
    }

    .model-callout {
        flex-direction: column;
        gap: 12px;
    }

    .services-bottom {
        padding: 24px 20px;
    }

    .services-bottom-actions {
        flex-direction: column;
    }
}