/* ============================================
   JAMWEB.SPACE - Design Tokens & Variables
   Space/Futuristic Dark Mode Theme
   ============================================ */

:root {
  /* ─────────────────────────────────────────
     COLOR PALETTE - Neon Space Theme
     ───────────────────────────────────────── */
  
  /* Primary Neon Accent */
  --color-neon: #00e2b7;
  --color-neon-light: #33e9c5;
  --color-neon-dark: #00b896;
  --color-neon-glow: rgba(0, 226, 183, 0.4);
  --color-neon-glow-strong: rgba(0, 226, 183, 0.6);
  --color-neon-subtle: rgba(0, 226, 183, 0.1);
  
  /* Dark Backgrounds - Deep Space */
  --color-bg-primary: #0a0a0f;
  --color-bg-secondary: #111116;
  --color-bg-tertiary: #16161d;
  --color-bg-card: #1a1a22;
  --color-bg-card-hover: #1f1f28;
  --color-bg-elevated: #222230;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #111116 50%, #0d0d14 100%);
  --gradient-card: linear-gradient(145deg, #1a1a22 0%, #151520 100%);
  --gradient-neon: linear-gradient(135deg, #00e2b7 0%, #00b896 100%);
  --gradient-space: radial-gradient(ellipse at 50% 0%, rgba(0, 226, 183, 0.05) 0%, transparent 60%);
  
  /* Text Colors */
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0b0;
  --color-text-muted: #6a6a78;
  --color-text-inverse: #0a0a0f;
  
  /* Borders */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-light: rgba(255, 255, 255, 0.12);
  --color-border-neon: rgba(0, 226, 183, 0.3);
  
  /* States */
  --color-success: #00e2b7;
  --color-error: #ff4d6a;
  --color-warning: #ffb84d;
  --color-info: #4db8ff;
  
  /* ─────────────────────────────────────────
     TYPOGRAPHY
     ───────────────────────────────────────── */
  
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Font Sizes - Fluid Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 4.5rem);
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  
  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  
  /* ─────────────────────────────────────────
     SPACING
     ───────────────────────────────────────── */
  
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */
  
  /* Container */
  --container-xs: 480px;
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;
  
  /* ─────────────────────────────────────────
     BORDERS & RADIUS
     ───────────────────────────────────────── */
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* ─────────────────────────────────────────
     SHADOWS & EFFECTS
     ───────────────────────────────────────── */
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  
  /* Neon Glow Shadows */
  --shadow-neon-sm: 0 0 10px var(--color-neon-glow);
  --shadow-neon-md: 0 0 20px var(--color-neon-glow), 0 0 40px rgba(0, 226, 183, 0.2);
  --shadow-neon-lg: 0 0 30px var(--color-neon-glow-strong), 0 0 60px var(--color-neon-glow);
  
  /* Card Shadows */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--color-neon-glow);
  
  /* ─────────────────────────────────────────
     TRANSITIONS
     ───────────────────────────────────────── */
  
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* ─────────────────────────────────────────
     Z-INDEX SCALE
     ───────────────────────────────────────── */
  
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
  --z-toast: 700;
}
/* ============================================
   JAMWEB.SPACE - Base Styles & Reset
   ============================================ */

/* ─────────────────────────────────────────
   MODERN CSS RESET
   ───────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    line-height: var(--leading-normal);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Remove list styles */
ul,
ol {
    list-style: none;
}

/* Remove default link styles */
a {
    color: inherit;
    text-decoration: none;
}

/* Make images responsive */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Remove built-in form typography styles */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

/* Remove text area resize */
textarea {
    resize: vertical;
}

/* Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* Remove button styling */
button {
    background: none;
    border: none;
    cursor: pointer;
}

/* Remove fieldset styling */
fieldset {
    border: none;
}

/* ─────────────────────────────────────────
   TYPOGRAPHY
   ───────────────────────────────────────── */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--color-text-primary);
}

h1 {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-6);
}

h2 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-5);
}

h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
}

h4 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

p {
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

p:last-child {
    margin-bottom: 0;
}

strong,
b {
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
}

small {
    font-size: var(--text-sm);
}

/* Highlighted/Accent Text */
.text-neon {
    color: var(--color-neon);
}

.text-gradient {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─────────────────────────────────────────
   LINKS
   ───────────────────────────────────────── */

a {
    transition: color var(--transition-fast);
}

.link {
    color: var(--color-neon);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: var(--font-medium);
}

.link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-neon);
    transition: width var(--transition-base);
}

.link:hover::after {
    width: 100%;
}

.link:hover {
    text-shadow: 0 0 10px var(--color-neon-glow);
}

.link svg {
    width: 1em;
    height: 1em;
    transition: transform var(--transition-fast);
}

.link:hover svg {
    transform: translateX(4px);
}

/* ─────────────────────────────────────────
   LAYOUT CONTAINERS
   ───────────────────────────────────────── */

.container {
    width: 100%;
    max-width: var(--container-xl);
    margin-inline: auto;
    padding-inline: var(--space-6);
}

.container-sm {
    max-width: var(--container-md);
}

.container-lg {
    max-width: var(--container-2xl);
}

/* Section Spacing */
.section {
    padding-block: var(--space-20);
}

.section-lg {
    padding-block: var(--space-24);
}

/* ─────────────────────────────────────────
   FOCUS STYLES (Accessibility)
   ───────────────────────────────────────── */

:focus-visible {
    outline: 2px solid var(--color-neon);
    outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-neon);
    outline-offset: 3px;
}

/* ─────────────────────────────────────────
   SELECTION
   ───────────────────────────────────────── */

::selection {
    background-color: var(--color-neon);
    color: var(--color-bg-primary);
}

/* ─────────────────────────────────────────
   SCROLLBAR (Webkit)
   ───────────────────────────────────────── */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bg-elevated);
    border-radius: var(--radius-full);
    border: 2px solid var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-neon-dark);
}

/* ─────────────────────────────────────────
   SCREEN READER ONLY
   ───────────────────────────────────────── */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}/* ============================================
   JAMWEB.SPACE - Components
   ============================================ */

/* ─────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    line-height: 1;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
}

/* Primary Button - Filled Neon */
.btn-primary {
    background: var(--gradient-neon);
    color: var(--color-bg-primary);
    box-shadow: var(--shadow-neon-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon-md);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary Button - Outline */
.btn-secondary {
    background: transparent;
    color: var(--color-neon);
    border: 2px solid var(--color-neon);
}

.btn-secondary:hover {
    background: var(--color-neon-subtle);
    box-shadow: var(--shadow-neon-sm);
    transform: translateY(-2px);
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-light);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-neon);
    color: var(--color-neon);
}

/* WhatsApp Button */
.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.btn-whatsapp-floating:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    color: white;
}

.btn-whatsapp-floating svg {
    width: 32px;
    height: 32px;
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
}

/* ─────────────────────────────────────────
   HEADER / NAVIGATION
   ───────────────────────────────────────── */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: translateY(-3px);
}

/* Desktop Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-secondary);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-neon);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-neon);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-dropdown-toggle svg {
    width: 1em;
    height: 1em;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-xl);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-dropdown-item:hover {
    background: var(--color-neon-subtle);
    color: var(--color-neon);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    /* Hide the desktop nav on mobile — JS overlay handles it */
    .nav {
        display: none !important;
    }
}

/* ─────────────────────────────────────────
   MOBILE NAV OVERLAY  (#mobile-nav)
   Built by JS as a direct <body> child so
   it is never trapped inside the header's
   backdrop-filter stacking context.
   ───────────────────────────────────────── */

#mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

#mobile-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Slide-in panel */
.mn-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: #0a0a0f;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    padding: 24px 20px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

#mobile-nav.open .mn-panel {
    transform: translateX(0);
}

/* Close button */
.mn-close {
    align-self: flex-end;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #a0a0b0;
    cursor: pointer;
    margin-bottom: 24px;
    flex-shrink: 0;
    transition: color 0.2s, border-color 0.2s;
}

.mn-close:hover {
    color: #00e2b7;
    border-color: rgba(0, 226, 183, 0.4);
}

/* Nav list */
.mn-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.mn-list>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Nav links */
.mn-link {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 15px 4px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #a0a0b0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.mn-link:hover,
.mn-link.active {
    color: #00e2b7;
}

/* Servicios toggle arrow */
.mn-sub-toggle {
    justify-content: space-between;
}

.mn-sub-toggle svg {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.mn-has-sub.open .mn-sub-toggle svg {
    transform: rotate(180deg);
}

/* Sub-menu */
.mn-sub {
    list-style: none;
    margin: 0;
    padding: 0 0 8px 12px;
    display: none;
}

.mn-has-sub.open .mn-sub {
    display: block;
}

.mn-sub-link {
    display: block;
    padding: 10px 4px;
    font-size: 0.9rem;
    color: #7a7a90;
    transition: color 0.2s;
}

.mn-sub-link:hover,
.mn-sub-link.active {
    color: #00e2b7;
}

/* Chatbot IA link — neon accent */
.mn-link--ai {
    color: #00e2b7 !important;
}

/* Contacto CTA button */
.mn-cta {
    display: block;
    margin-top: 24px;
    padding: 14px;
    background: linear-gradient(135deg, #00e2b7, #00b896);
    color: #0a0a0f;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    text-align: center;
    transition: opacity 0.2s;
}

.mn-cta:hover {
    opacity: 0.9;
}



/* ─────────────────────────────────────────
   CARDS
   ───────────────────────────────────────── */

.card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--color-border-neon), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-border-neon);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-neon-subtle);
    border: 1px solid var(--color-border-neon);
    border-radius: var(--radius-lg);
    color: var(--color-neon);
    margin-bottom: var(--space-5);
    transition: all var(--transition-base);
}

.card:hover .card-icon {
    box-shadow: var(--shadow-neon-sm);
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
}

.card-text {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

/* Highlighted Card */
.card-featured {
    border-color: var(--color-neon);
    box-shadow: var(--shadow-neon-sm);
}

.card-featured::before {
    opacity: 0.5;
}

/* ─────────────────────────────────────────
   PRICING TABLE
   ───────────────────────────────────────── */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    max-width: 1400px;
    margin-inline: auto;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-5) var(--space-5) var(--space-6);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.pricing-card.featured {
    border-color: var(--color-neon);
    box-shadow: var(--shadow-neon-md);
    position: relative;
}

.pricing-card.featured::after {
    content: 'POPULAR';
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--gradient-neon);
    color: var(--color-bg-primary);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    letter-spacing: var(--tracking-wider);
}

.pricing-name {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-1);
}

.pricing-price {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-neon);
    margin-bottom: var(--space-2);
    white-space: nowrap;
}

.pricing-price span {
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    color: var(--color-text-muted);
}

.pricing-description {
    color: var(--color-text-secondary);
    font-size: var(--text-xs);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    line-height: var(--leading-relaxed);
}

.pricing-features {
    flex: 1;
    margin-bottom: var(--space-4);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2);
    line-height: 1.4;
}

.pricing-features li svg {
    width: 16px;
    height: 16px;
    color: var(--color-neon);
    flex-shrink: 0;
    margin-top: 1px;
}

/* ─────────────────────────────────────────
   FORMS
   ───────────────────────────────────────── */

.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-4);
    font-size: var(--text-base);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text-primary);
    transition: all var(--transition-fast);
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
    border-color: var(--color-border-light);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-neon);
    box-shadow: 0 0 0 3px var(--color-neon-subtle);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-muted);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    background-size: 16px;
    padding-right: var(--space-12);
}

.form-hint {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-1);
}

.form-error {
    font-size: var(--text-xs);
    color: var(--color-error);
    margin-top: var(--space-1);
}

/* ─────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────── */

.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-16);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: var(--space-4);
}

.footer-tagline {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
}

.footer-heading {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-neon);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-block: var(--space-6);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.footer-copyright {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-neon);
}

/* Tech Stack Strip */
.footer-tech {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    padding: var(--space-6) 0;
    border-top: 1px solid var(--color-border);
    opacity: 0.4;
    filter: grayscale(1);
    transition: all var(--transition-base);
}

.footer-tech:hover {
    opacity: 0.7;
    filter: grayscale(0);
}

.footer-tech img {
    height: 24px;
    width: auto;
}

/* ─────────────────────────────────────────
   BADGES & TAGS
   ───────────────────────────────────────── */

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    border-radius: var(--radius-full);
    background: var(--color-neon-subtle);
    color: var(--color-neon);
    border: 1px solid var(--color-border-neon);
}

.tag {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.tag:hover,
.tag.active {
    border-color: var(--color-neon);
    color: var(--color-neon);
    background: var(--color-neon-subtle);
}

/* ─────────────────────────────────────────
   DIVIDERS
   ───────────────────────────────────────── */

.divider {
    height: 1px;
    background: var(--color-border);
    margin: var(--space-8) 0;
}

.divider-neon {
    background: linear-gradient(90deg, transparent, var(--color-neon), transparent);
    opacity: 0.5;
}

/* ─────────────────────────────────────────
   FORM NOTIFICATIONS
   ───────────────────────────────────────── */

.form-notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    margin-top: var(--space-4);
    animation: slide-in 0.3s ease-out;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.form-notification.success {
    background: rgba(0, 226, 183, 0.1);
    border: 1px solid rgba(0, 226, 183, 0.3);
    color: #00e2b7;
}

.form-notification.error {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.3);
    color: #ff5252;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

.form-note {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-align: center;
    margin-top: var(--space-4);
}

/* ─────────────────────────────────────────
   MODALS / POPUPS
   ───────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #12121a;
    /* slightly lighter than base dark */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px 32px;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-overlay.open .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--color-text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.modal-header p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}/* ============================================
   JAMWEB.SPACE - Animations & Effects
   ============================================ */

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* Glow Effects */
.glow-hover {
    transition: box-shadow var(--transition-base);
}

.glow-hover:hover {
    box-shadow: var(--shadow-neon-md);
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 5px var(--color-neon-glow);
    }

    50% {
        box-shadow: 0 0 20px var(--color-neon-glow);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Icon Float */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.icon-float {
    animation: float 3s ease-in-out infinite;
}

/* Particles */
.particles-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00e2b7;
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 10px #00e2b7, 0 0 20px rgba(0, 226, 183, 0.5);
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.particle:nth-child(1) {
    left: 5%;
    width: 3px;
    height: 3px;
    animation: particle-float 6s linear infinite;
}

.particle:nth-child(2) {
    left: 15%;
    width: 5px;
    height: 5px;
    animation: particle-float 8s linear infinite 0.5s;
}

.particle:nth-child(3) {
    left: 25%;
    width: 3px;
    height: 3px;
    animation: particle-float 5s linear infinite 1s;
}

.particle:nth-child(4) {
    left: 35%;
    width: 6px;
    height: 6px;
    box-shadow: 0 0 15px #00e2b7, 0 0 30px rgba(0, 226, 183, 0.6);
    animation: particle-float 9s linear infinite 0.3s;
}

.particle:nth-child(5) {
    left: 45%;
    width: 4px;
    height: 4px;
    animation: particle-float 7s linear infinite 1.5s;
}

.particle:nth-child(6) {
    left: 55%;
    width: 5px;
    height: 5px;
    animation: particle-float 6s linear infinite 2s;
}

.particle:nth-child(7) {
    left: 65%;
    width: 3px;
    height: 3px;
    animation: particle-float 5s linear infinite 0.8s;
}

.particle:nth-child(8) {
    left: 75%;
    width: 6px;
    height: 6px;
    box-shadow: 0 0 15px #00e2b7, 0 0 30px rgba(0, 226, 183, 0.6);
    animation: particle-float 8s linear infinite 1.2s;
}

.particle:nth-child(9) {
    left: 85%;
    width: 4px;
    height: 4px;
    animation: particle-float 6s linear infinite 0.7s;
}

.particle:nth-child(10) {
    left: 92%;
    width: 3px;
    height: 3px;
    animation: particle-float 7s linear infinite 1.8s;
}

.particle:nth-child(11) {
    left: 50%;
    width: 5px;
    height: 5px;
    animation: particle-float 5s linear infinite 0.2s;
}

.particle:nth-child(12) {
    left: 8%;
    width: 4px;
    height: 4px;
    box-shadow: 0 0 15px #00e2b7, 0 0 30px rgba(0, 226, 183, 0.6);
    animation: particle-float 6s linear infinite 1.3s;
}

/* Circuit Pattern */
.circuit-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--color-border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--color-border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.15;
    pointer-events: none;
}

/* Spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-neon);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Underline Animation */
.underline-animate {
    position: relative;
}

.underline-animate::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-neon);
    transition: width var(--transition-base);
}

.underline-animate:hover::after {
    width: 100%;
}

/* Tilt Card */
.tilt-card {
    transition: transform var(--transition-base);
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-4px);
}

/* Ecosystem */
.ecosystem-node {
    transition: all var(--transition-base);
    cursor: pointer;
}

.ecosystem-node:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px var(--color-neon-glow));
}

@keyframes dash-flow {
    to {
        stroke-dashoffset: -10;
    }
}

.ecosystem-connection {
    stroke-dasharray: 5, 5;
    animation: dash-flow 1s linear infinite;
}

/* Tooltip */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: var(--space-2) var(--space-4);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: var(--z-tooltip);
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}/* ============================================
   JAMWEB.SPACE - Utility Classes
   ============================================ */

/* Display */
.hidden {
    display: none !important;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

/* Flex Utilities */
.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.justify-start {
    justify-content: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: var(--space-2);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

/* Text Alignment */
.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Text Colors */
.text-primary {
    color: var(--color-text-primary);
}

.text-secondary {
    color: var(--color-text-secondary);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-neon {
    color: var(--color-neon);
}

/* Font Weights */
.font-normal {
    font-weight: var(--font-normal);
}

.font-medium {
    font-weight: var(--font-medium);
}

.font-semibold {
    font-weight: var(--font-semibold);
}

.font-bold {
    font-weight: var(--font-bold);
}

/* Spacing - Margin */
.m-0 {
    margin: 0;
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-6 {
    margin-top: var(--space-6);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mx-auto {
    margin-inline: auto;
}

/* Spacing - Padding */
.p-0 {
    padding: 0;
}

.p-4 {
    padding: var(--space-4);
}

.p-6 {
    padding: var(--space-6);
}

.p-8 {
    padding: var(--space-8);
}

.py-4 {
    padding-block: var(--space-4);
}

.py-8 {
    padding-block: var(--space-8);
}

.px-4 {
    padding-inline: var(--space-4);
}

.px-6 {
    padding-inline: var(--space-6);
}

/* Width */
.w-full {
    width: 100%;
}

.max-w-lg {
    max-width: var(--container-lg);
}

.max-w-md {
    max-width: var(--container-md);
}

.max-w-sm {
    max-width: var(--container-sm);
}

/* Position */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

/* Z-Index */
.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

/* Border Radius */
.rounded {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-full {
    border-radius: var(--radius-full);
}

/* Responsive Grid */
.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .md\:grid-cols-1 {
        grid-template-columns: 1fr;
    }

    .md\:flex-col {
        flex-direction: column;
    }

    .md\:text-center {
        text-align: center;
    }
}

/* ============================================
   Chatbot IA Nav Link — Special Highlight
   ============================================ */

/* Desktop only: pill shape with glow animation */
@media (min-width: 1025px) {
    .nav-link--ai {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 5px 12px !important;
        border-radius: 20px;
        background: linear-gradient(135deg, rgba(0, 245, 212, 0.15), rgba(0, 200, 255, 0.1));
        border: 1px solid rgba(0, 245, 212, 0.4);
        color: var(--color-neon) !important;
        font-weight: var(--font-semibold);
        font-size: 0.85rem;
        transition: all 0.3s ease;
        animation: aiPulse 3s ease-in-out infinite;
        white-space: nowrap;
    }

    .nav-link--ai:hover,
    .nav-link--ai.active {
        background: linear-gradient(135deg, rgba(0, 245, 212, 0.3), rgba(0, 200, 255, 0.2));
        border-color: var(--color-neon);
        box-shadow: 0 0 14px rgba(0, 245, 212, 0.35);
        color: var(--color-neon) !important;
        transform: translateY(-1px);
    }
}

/* Mobile: flat link, same as others but with neon color */
@media (max-width: 1024px) {
    .nav-link--ai {
        display: flex !important;
        align-items: center;
        gap: 6px;
        font-size: 1.125rem !important;
        padding: 14px 8px !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        animation: none !important;
        box-shadow: none !important;
        color: #00e2b7 !important;
        white-space: normal !important;
    }
}

@keyframes aiPulse {

    0%,
    100% {
        box-shadow: 0 0 6px rgba(0, 245, 212, 0.15);
    }

    50% {
        box-shadow: 0 0 14px rgba(0, 245, 212, 0.4);
    }
}/* ============================================
   JAMWEB.SPACE - Page-Specific Styles
   ============================================ */

/* ─────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #0a0a0f 0%, #0d1117 50%, #0a0a0f 100%);
    overflow: hidden;
}

.hero>.container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 226, 183, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 150, 200, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(100, 0, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
    animation: hero-bg-pulse 8s ease-in-out infinite alternate;
}

@keyframes hero-bg-pulse {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.08);
    }
}

/* Glowing Orb */
.hero::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 226, 183, 0.15) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: orb-pulse 6s ease-in-out infinite;
}

@keyframes orb-pulse {

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

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 0 var(--space-6);
    margin: 0 auto;
}

/* Hero Entrance Animations */
.hero h1 {
    margin-bottom: var(--space-6);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: hero-fade-up 0.8s ease-out 0.2s forwards;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: hero-fade-up 0.8s ease-out 0.5s forwards;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: hero-fade-up 0.8s ease-out 0.8s forwards;
}

@keyframes hero-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated text glow for neon spans */
.hero h1 .text-neon {
    animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
    from {
        text-shadow: 0 0 10px rgba(0, 226, 183, 0.3);
    }

    to {
        text-shadow: 0 0 20px rgba(0, 226, 183, 0.6), 0 0 40px rgba(0, 226, 183, 0.3);
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 40px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* ─────────────────────────────────────────
   PAGE HEADER (Inner Pages)
   ───────────────────────────────────────── */
.page-header {
    padding: calc(80px + var(--space-16)) 0 var(--space-16);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-space);
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.page-header h1 {
    margin-bottom: var(--space-4);
}

.page-header-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
}

/* ─────────────────────────────────────────
   FEATURE SECTIONS
   ───────────────────────────────────────── */
.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.feature-section.reverse {
    direction: rtl;
}

.feature-section.reverse>* {
    direction: ltr;
}

@media (max-width: 1024px) {

    .feature-section,
    .feature-section.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

.feature-content h2 {
    margin-bottom: var(--space-4);
}

.feature-list {
    margin-top: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.feature-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.feature-item-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-neon-subtle);
    border: 1px solid var(--color-border-neon);
    border-radius: var(--radius-lg);
    color: var(--color-neon);
    flex-shrink: 0;
}

.feature-item-icon svg {
    width: 22px;
    height: 22px;
}

.feature-item-content h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.feature-item-content p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin: 0;
}

/* ─────────────────────────────────────────
   TRUST SIGNALS
   ───────────────────────────────────────── */
.trust-section {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

.trust-card {
    text-align: center;
    padding: var(--space-6);
}

.trust-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-neon);
}

.trust-icon svg {
    width: 32px;
    height: 32px;
}

.trust-title {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
}

/* ─────────────────────────────────────────
   ECOSYSTEM DIAGRAM
   ───────────────────────────────────────── */
.ecosystem-section {
    text-align: center;
}

.ecosystem-diagram {
    max-width: 600px;
    margin: var(--space-12) auto 0;
    position: relative;
}

.ecosystem-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
}

.ecosystem-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ─────────────────────────────────────────
   CTA SECTION
   ───────────────────────────────────────── */
.cta-section {
    text-align: center;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
}

.cta-section h2 {
    margin-bottom: var(--space-4);
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto var(--space-8);
    color: var(--color-text-secondary);
}

/* ─────────────────────────────────────────
   SERVICES PAGE - Pricing
   ───────────────────────────────────────── */
.service-block {
    padding-bottom: var(--space-16);
    margin-bottom: var(--space-16);
    border-bottom: 1px solid var(--color-border);
}

.service-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* ─────────────────────────────────────────
   BLOG PAGE
   ───────────────────────────────────────── */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-12);
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-6);
}

.blog-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-border-neon);
}

.blog-card-image {
    aspect-ratio: 16/9;
    background: var(--color-bg-elevated);
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: var(--space-6);
}

.blog-card-meta {
    display: flex;
    gap: var(--space-4);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-bottom: var(--space-3);
}

.blog-card-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
    color: var(--color-neon);
}

.blog-card-excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin: 0;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.sidebar-widget {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

.sidebar-widget h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-4);
}

.category-list li {
    margin-bottom: var(--space-2);
}

.category-list a {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.category-list a:hover {
    background: var(--color-neon-subtle);
    color: var(--color-neon);
}

/* ─────────────────────────────────────────
   CONTACT PAGE
   ───────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-12);
}

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-neon-subtle);
    border: 1px solid var(--color-border-neon);
    border-radius: var(--radius-lg);
    color: var(--color-neon);
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.contact-item p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin: 0;
}

.contact-form-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
}

.contact-form-card h3 {
    margin-bottom: var(--space-6);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-note {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-align: center;
    margin-top: var(--space-4);
}

/* Calendar Section */
.calendar-section {
    text-align: center;
}

.calendar-embed {
    max-width: 700px;
    margin: var(--space-8) auto 0;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-12);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

/* ─────────────────────────────────────────
   ABOUT PAGE
   ───────────────────────────────────────── */
.philosophy-section {
    max-width: 800px;
    margin: 0 auto;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}

.location-section {
    text-align: center;
}

/* ─────────────────────────────────────────
   DOMAIN SEARCH PAGE
   ───────────────────────────────────────── */
.domain-hero {
    min-height: 70vh;
}

.domain-search-box {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

.domain-form {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.domain-input-wrapper {
    flex: 1;
    display: flex;
    min-width: 300px;
}

.domain-input {
    flex: 1;
    background: #18181d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 16px 20px;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    transition: border-color 0.2s ease;
}

.domain-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: normal;
}

.domain-input:focus {
    outline: none;
    border-color: #00e2b7;
    background: #1a1a20;
}

.domain-select {
    background: #18181d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    color: #00e2b7;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300e2b7' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.domain-select:focus {
    outline: none;
    border-color: #00e2b7;
}

.domain-select option {
    background: #0a0a0f;
    color: #ffffff;
    padding: 10px;
}

.domain-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

@media (max-width: 768px) {
    .domain-form {
        flex-direction: column;
    }

    .domain-input-wrapper {
        min-width: 100%;
    }

    .domain-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Domain Result */
.domain-result {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
}

.domain-available,
.domain-unavailable {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.domain-status {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
}

.domain-status.available {
    background: rgba(0, 226, 183, 0.15);
    color: var(--color-neon);
}

.domain-status.unavailable {
    background: rgba(255, 82, 82, 0.15);
    color: #ff5252;
}

.domain-name {
    font-size: var(--text-2xl);
    color: var(--color-text-primary);
}

/* Domain Loading State */
.domain-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.domain-loading .spinner {
    width: 32px;
    height: 32px;
}

/* Domain Error State */
.domain-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

/* Domain Alternatives */
.domain-alternatives {
    width: 100%;
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-4);
}

.domain-alt-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
    margin-top: var(--space-2);
}

.domain-alt-grid .btn {
    font-size: var(--text-sm);
}

/* Domain Pricing Grid */
.domain-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-4);
}

.domain-pricing-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    transition: all var(--transition-base);
}

.domain-pricing-card:hover {
    border-color: var(--color-border-neon);
    transform: translateY(-2px);
}

.domain-pricing-card.featured {
    border-color: var(--color-neon);
    background: linear-gradient(135deg, var(--color-bg-card), var(--color-neon-subtle));
}

.domain-ext {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-neon);
}

.domain-price {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
}

.domain-price small {
    font-size: var(--text-sm);
    font-weight: var(--font-normal);
    color: var(--color-text-muted);
}

.domain-desc {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* ─────────────────────────────────────────
   CHATBOT LANDING PAGE
   ───────────────────────────────────────── */

/* Hero Section */
.chatbot-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a0a0f 0%, #0d1117 40%, #0f0a1a 70%, #0a0a0f 100%);
    overflow: hidden;
}

.chatbot-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.chatbot-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.chatbot-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 226, 183, 0.25) 0%, transparent 70%);
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    animation: chatbot-orb-float 8s ease-in-out infinite alternate;
}

.chatbot-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    bottom: 10%;
    left: -5%;
    animation: chatbot-orb-float 10s ease-in-out infinite alternate-reverse;
}

.chatbot-orb--3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    top: 30%;
    right: -5%;
    animation: chatbot-orb-float 12s ease-in-out infinite alternate;
}

@keyframes chatbot-orb-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -20px) scale(1.15);
    }
}

.chatbot-hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.chatbot-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--color-neon);
    background: var(--color-neon-subtle);
    border: 1px solid var(--color-border-neon);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    letter-spacing: var(--tracking-wide);
}

.chatbot-hero-badge svg {
    width: 14px;
    height: 14px;
}

.chatbot-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: var(--space-8);
    opacity: 0;
    transform: translateY(20px);
    animation: hero-fade-up 0.8s ease-out 0.2s forwards;
}

/* Chat Window */
.chat-window {
    background: rgba(22, 22, 29, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 226, 183, 0.08);
    opacity: 0;
    transform: translateY(20px);
    animation: hero-fade-up 0.8s ease-out 0.5s forwards;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--color-border);
}

.chat-header-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-neon-subtle);
    border: 1px solid var(--color-border-neon);
    border-radius: var(--radius-md);
    color: var(--color-neon);
    flex-shrink: 0;
}

.chat-header-avatar svg {
    width: 18px;
    height: 18px;
}

.chat-header-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.chat-header-name {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
}

.chat-header-status {
    font-size: var(--text-xs);
    color: var(--color-neon);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.chat-status-dot {
    width: 6px;
    height: 6px;
    background: var(--color-neon);
    border-radius: 50%;
    display: inline-block;
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Chat Messages */
.chat-messages {
    padding: var(--space-5);
    min-height: 200px;
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
}

.chat-message {
    display: flex;
    gap: var(--space-3);
    max-width: 85%;
    align-items: flex-end;
}

.chat-message--bot {
    align-self: flex-start;
}

.chat-message--user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message-avatar {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-neon-subtle);
    border: 1px solid var(--color-border-neon);
    border-radius: var(--radius-md);
    color: var(--color-neon);
    flex-shrink: 0;
}

.chat-message-avatar svg {
    width: 14px;
    height: 14px;
}

.chat-message-bubble {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-primary);
    text-align: left;
}

.chat-message--bot .chat-message-bubble {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-bottom-left-radius: var(--radius-sm);
}

.chat-message--user .chat-message-bubble {
    background: linear-gradient(135deg, rgba(0, 226, 183, 0.2) 0%, rgba(99, 102, 241, 0.15) 100%);
    border: 1px solid var(--color-border-neon);
    border-bottom-right-radius: var(--radius-sm);
}

/* Typing Indicator */
.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 4px 0;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--color-neon);
    border-radius: 50%;
    opacity: 0.4;
    animation: typing-bounce 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* Chat Input */
.chat-input-area {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    border-top: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.02);
}

.chat-input {
    flex: 1;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-text-primary);
    transition: border-color var(--transition-fast);
}

.chat-input::placeholder {
    color: var(--color-text-muted);
}

.chat-input:focus {
    outline: none;
    border-color: var(--color-neon);
    box-shadow: 0 0 0 3px var(--color-neon-subtle);
}

.chat-send-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-neon);
    color: var(--color-bg-primary);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-neon-sm);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

.chat-send-btn svg {
    width: 18px;
    height: 18px;
}

.chatbot-hero-note {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-5);
    opacity: 0;
    animation: hero-fade-up 0.8s ease-out 0.8s forwards;
}

.chatbot-hero-note svg {
    width: 14px;
    height: 14px;
    color: var(--color-neon);
    flex-shrink: 0;
}

/* Benefits Section */
.chatbot-benefits-section {
    background: var(--color-bg-primary);
}

.chatbot-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.chatbot-benefit-card {
    text-align: center;
}

.chatbot-benefit-card .card-icon {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .chatbot-benefits-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* FAQ Section */
.chatbot-faq-section {
    background: var(--color-bg-primary);
}

.chatbot-faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.faq-item.active {
    border-color: var(--color-border-neon);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    text-align: left;
    cursor: pointer;
    background: none;
    border: none;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-neon);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: transform var(--transition-base), color var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-neon);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding: 0 var(--space-6) var(--space-5);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

/* Chat Suggestion Chips */
.chat-suggestions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--color-border);
    transition: opacity 0.4s ease, max-height 0.4s ease;
    max-height: 120px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.chat-suggestions::-webkit-scrollbar {
    display: none;
}

.chat-suggestions.hidden {
    opacity: 0;
    max-height: 0;
    padding: 0 16px;
    border-top: none;
}

.chat-chip {
    background: transparent;
    border: 1px solid var(--color-border-neon);
    color: var(--color-neon);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.chat-chip:hover {
    background: rgba(0, 226, 183, 0.12);
    box-shadow: 0 0 12px rgba(0, 226, 183, 0.2);
    transform: translateY(-1px);
}

.chat-chip:active {
    transform: scale(0.96);
}

/* ─────────────────────────────────────────
   CHATBOT MOBILE — Always-visible fullscreen
   ───────────────────────────────────────── */

/* Tablet responsive */
@media (max-width: 768px) {
    .chatbot-hero {
        padding: 80px 0 40px;
    }

    .chatbot-hero h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .chat-message {
        max-width: 92%;
    }
}

/* Mobile: chat always visible, full-screen, no button needed */
@media (max-width: 640px) {

    /* Collapse decorative elements but keep hero accessible */
    .chatbot-hero-bg,
    .chatbot-hero-badge,
    .chatbot-hero-note,
    .chat-open-btn {
        display: none !important;
    }

    /* Chat window as a tall in-page card, NOT fullscreen */
    .chatbot-hero .chat-window,
    #chat-window {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: 70vh !important;
        min-height: 420px !important;
        border-radius: var(--radius-xl) !important;
        z-index: auto !important;
        display: flex !important;
        flex-direction: column !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        overflow: hidden !important;
        box-shadow: none !important;
    }

    .chatbot-hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .chatbot-hero h1 {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: var(--space-6);
    }

    /* Header: mobile padding */
    .chat-header {
        flex-shrink: 0;
        padding: 12px 16px;
        background: #1a1a24;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Messages: fills remaining space, scrollable */
    .chat-messages {
        flex: 1 1 0;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 12px;
    }

    /* Chips: horizontal scroll */
    .chat-suggestions {
        flex-shrink: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        padding: 8px 12px;
    }

    .chat-suggestions::-webkit-scrollbar {
        display: none;
    }

    /* Input bar */
    .chat-input-area {
        flex-shrink: 0;
        padding: 10px 12px;
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
        background: #1a1a24;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Prevent iOS auto-zoom on input focus */
    .chat-input {
        font-size: 16px !important;
    }

    /* Hide WhatsApp button on chatbots page — it overlaps the chat send button */
    .chatbot-hero~* .btn-whatsapp-floating,
    body.page-chatbots .btn-whatsapp-floating {
        display: none !important;
    }
}

/* Button hidden everywhere (no longer needed) */
.chat-open-btn {
    display: none;

    /* Reserve selector for legacy, override if needed */
}

/* ─────────────────────────────────────────
   CHAT BACK BUTTON (mobile fullscreen toggle)
   ───────────────────────────────────────── */
.chat-close-btn {
    display: none;
    /* hidden on desktop */
}

@media (max-width: 640px) {

    /* Close button — hidden by default, shown only in fullscreen */
    .chat-close-btn {
        display: none;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: transparent;
        border: none;
        color: var(--color-text-secondary);
        cursor: pointer;
        border-radius: var(--radius-md);
        flex-shrink: 0;
        transition: color 0.2s ease, background 0.2s ease;
        margin-left: auto;
    }

    .chat-close-btn:hover {
        color: var(--color-neon);
        background: var(--color-neon-subtle);
    }

    /* When chat is fullscreen, show the close button */
    #chat-window.chat-fullscreen .chat-close-btn {
        display: flex;
    }

    /* Fullscreen state — triggered by JS adding .chat-fullscreen class */
    #chat-window.chat-fullscreen {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        border-radius: 0 !important;
        z-index: 700 !important;
        background: #0e0e14 !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Hide WhatsApp button when chat is fullscreen */
    body.chat-is-fullscreen .btn-whatsapp-floating {
        display: none !important;
    }
}