/* ============================================================
   TechChatLab — Main Stylesheet
   Version: 2.0.0  |  Theme: Cyber Dark Mode
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Backgrounds */
  --bg-deepest:    #020209;
  --bg-primary:    #06060f;
  --bg-secondary:  #0a0a1c;
  --bg-tertiary:   #0e0e24;
  --bg-card:       rgba(10, 10, 28, 0.85);
  --bg-card-hover: rgba(14, 14, 38, 0.95);
  --bg-glass:      rgba(255, 255, 255, 0.03);
  --bg-glass-hover:rgba(255, 255, 255, 0.06);

  /* Brand Colors */
  --cyan:          #00d9ff;
  --cyan-light:    #7ef0ff;
  --cyan-dark:     #0099bb;
  --cyan-dim:      rgba(0, 217, 255, 0.12);
  --cyan-glow:     rgba(0, 217, 255, 0.35);
  --purple:        #8b5cf6;
  --purple-light:  #a78bfa;
  --purple-dark:   #6d28d9;
  --purple-dim:    rgba(139, 92, 246, 0.12);
  --purple-glow:   rgba(139, 92, 246, 0.35);
  --pink:          #ec4899;
  --pink-dim:      rgba(236, 72, 153, 0.15);
  --green:         #34d399;
  --green-dim:     rgba(52, 211, 153, 0.15);
  --amber:         #fbbf24;

  /* Text */
  --text-1:        #f8fafc;
  --text-2:        #cbd5e1;
  --text-3:        #94a3b8;
  --text-muted:    #475569;
  --text-disabled: #334155;

  /* Borders */
  --border:        rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-hover:  rgba(255, 255, 255, 0.14);
  --border-glow:   rgba(0, 217, 255, 0.3);
  --border-purple: rgba(139, 92, 246, 0.3);

  /* Gradients */
  --grad-brand:    linear-gradient(135deg, #00d9ff 0%, #8b5cf6 100%);
  --grad-brand-r:  linear-gradient(135deg, #8b5cf6 0%, #00d9ff 100%);
  --grad-dark:     linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  --grad-hero:     linear-gradient(180deg, transparent 0%, var(--bg-primary) 100%);
  --grad-card:     linear-gradient(135deg, rgba(0,217,255,0.05) 0%, rgba(139,92,246,0.05) 100%);

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md:     0 4px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg:     0 8px 48px rgba(0, 0, 0, 0.7);
  --shadow-xl:     0 16px 80px rgba(0, 0, 0, 0.8);
  --glow-cyan:     0 0 20px rgba(0, 217, 255, 0.25), 0 0 60px rgba(0, 217, 255, 0.1);
  --glow-purple:   0 0 20px rgba(139, 92, 246, 0.25), 0 0 60px rgba(139, 92, 246, 0.1);
  --glow-brand:    0 0 30px rgba(0, 217, 255, 0.2), 0 0 80px rgba(139, 92, 246, 0.15);

  /* Spacing */
  --section-py:    130px;
  --section-py-sm: 80px;
  --container-max: 1280px;
  --container-px:  clamp(20px, 5vw, 48px);

  /* Border Radius */
  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;
  --r-2xl: 48px;
  --r-full: 9999px;

  /* Transitions */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:    0.15s var(--ease);
  --t-base:    0.3s var(--ease);
  --t-slow:    0.6s var(--ease);

  /* Typography */
  --font-display: 'Orbitron', 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Consolas', 'Courier New', monospace;

  /* Z-index layers */
  --z-base:     0;
  --z-above:    10;
  --z-overlay:  100;
  --z-modal:    200;
  --z-nav:      900;
  --z-toast:    1000;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-2);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Global ambient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(0, 217, 255, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 70% 50% at 85% 90%, rgba(139, 92, 246, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(0, 217, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: var(--z-base);
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: rgba(0, 217, 255, 0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 217, 255, 0.5); }

/* ============================================================
   SELECTION
   ============================================================ */
::selection { background: rgba(0, 217, 255, 0.2); color: var(--cyan-light); }
::-moz-selection { background: rgba(0, 217, 255, 0.2); color: var(--cyan-light); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-1);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: var(--t-base);
}
a:hover { color: var(--cyan-light); }

strong { font-weight: 600; color: var(--text-1); }
em { font-style: italic; }
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--cyan-dim);
  color: var(--cyan-light);
  padding: 0.15em 0.4em;
  border-radius: var(--r-xs);
  border: 1px solid rgba(0, 217, 255, 0.15);
}

ul, ol { padding-left: 1.5em; }
li { margin-bottom: 0.4em; }

img, svg { display: block; max-width: 100%; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  position: relative;
  z-index: var(--z-above);
}

.section--sm {
  padding-top: var(--section-py-sm);
  padding-bottom: var(--section-py-sm);
}

.section--dark { background-color: var(--bg-secondary); }
.section--darker { background-color: var(--bg-deepest); }

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 217, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: tagPulse 2s infinite;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-title .highlight {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-3);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--t-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: var(--t-base);
}
.btn:hover::before { background: rgba(255, 255, 255, 0.05); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 217, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0, 217, 255, 0.45);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(0, 217, 255, 0.4);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
  color: var(--cyan-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text-1);
  border-color: var(--border-hover);
  background: var(--bg-glass-hover);
}

.btn-sm { padding: 9px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--r-md);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-3);
}
.btn-icon:hover {
  color: var(--cyan);
  border-color: rgba(0, 217, 255, 0.3);
  background: var(--cyan-dim);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: var(--t-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: var(--t-base);
  pointer-events: none;
}

.card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 217, 255, 0.08);
}
.card:hover::before { opacity: 1; }

.card--glow {
  box-shadow: 0 0 0 1px rgba(0, 217, 255, 0.1), inset 0 0 40px rgba(0, 217, 255, 0.02);
}

.card--purple:hover {
  border-color: var(--border-purple);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(139, 92, 246, 0.08);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 217, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--t-base);
}
.card:hover .card-icon {
  background: rgba(0, 217, 255, 0.2);
  box-shadow: var(--glow-cyan);
}

.card-icon--purple {
  background: var(--purple-dim);
  border-color: rgba(139, 92, 246, 0.2);
}
.card:hover .card-icon--purple {
  background: rgba(139, 92, 246, 0.2);
  box-shadow: var(--glow-purple);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-3);
  line-height: 1.7;
}

/* ============================================================
   BADGE / TAG
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--r-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-cyan {
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid rgba(0, 217, 255, 0.2);
}

.badge-purple {
  background: var(--purple-dim);
  color: var(--purple-light);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.badge-pink {
  background: var(--pink-dim);
  color: var(--pink);
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.badge-green {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  margin: 48px 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 20px var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--t-base);
}

.nav.scrolled {
  background: rgba(6, 6, 15, 0.92);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-3);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  transition: var(--t-base);
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: var(--t-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

.nav-cta { margin-left: 16px; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: var(--t-base);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 6, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: calc(var(--z-nav) - 1);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 100px 40px 40px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  padding: 16px 32px;
  text-align: center;
  border-radius: var(--r-md);
  width: 100%;
  transition: var(--t-base);
  border: 1px solid transparent;
}
.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--cyan);
  background: var(--cyan-dim);
  border-color: rgba(0, 217, 255, 0.2);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px var(--container-px) 80px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/hero-pattern.svg') center center / cover no-repeat;
  opacity: 0.6;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 217, 255, 0.25);
  padding: 8px 20px;
  border-radius: var(--r-full);
  margin-bottom: 32px;
  animation: badgeFadeIn 0.8s var(--ease-out) forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-1);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-3);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 48px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 80px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: center;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

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

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  z-index: 2;
  animation: scrollBounce 2s infinite;
}
.scroll-indicator span {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.scroll-indicator svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

/* ============================================================
   FEATURE / VALUE ITEMS
   ============================================================ */
.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 217, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.feature-text h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.feature-text p {
  font-size: 0.9rem;
  color: var(--text-3);
  margin: 0;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   APP SHOWCASE
   ============================================================ */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: var(--t-base);
  position: relative;
  overflow: hidden;
}

.app-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transition: var(--t-base);
}

.app-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--glow-cyan);
}
.app-card:hover::after { transform: scaleX(1); }

.app-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--grad-brand);
  box-shadow: 0 8px 24px rgba(0, 217, 255, 0.2);
}

.app-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}

.app-desc {
  font-size: 0.88rem;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 16px;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ============================================================
   TESTIMONIAL / QUOTE
   ============================================================ */
.quote-block {
  border-left: 3px solid var(--cyan);
  padding: 24px 32px;
  background: var(--bg-card);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  position: relative;
}

.quote-block::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 80px;
  color: var(--cyan);
  opacity: 0.15;
  position: absolute;
  top: -10px;
  left: 16px;
  line-height: 1;
}

/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--purple));
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.5);
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
select,
textarea {
  width: 100%;
  background: rgba(10, 10, 28, 0.8);
  border: 1px solid var(--border-hover);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-1);
  transition: var(--t-base);
  outline: none;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(0, 217, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.12);
  background: rgba(10, 10, 28, 0.95);
}

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

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

select option { background: var(--bg-secondary); }

/* ============================================================
   CONTACT INFO
   ============================================================ */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: var(--t-base);
}
.contact-info-item:hover {
  border-color: var(--border-glow);
  transform: translateX(4px);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 217, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.contact-info-text h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.contact-info-text p, .contact-info-text a {
  font-size: 0.95rem;
  color: var(--text-2);
  margin: 0;
}
.contact-info-text a:hover { color: var(--cyan); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-deepest);
  border-top: 1px solid var(--border);
  padding: 80px var(--container-px) 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-glow), var(--purple-glow), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {}
.footer-brand-logo {
  margin-bottom: 20px;
}
.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--t-base);
  text-decoration: none;
}
.social-btn:hover {
  background: var(--cyan-dim);
  border-color: rgba(0, 217, 255, 0.3);
  color: var(--cyan);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--t-base);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '›';
  color: var(--cyan);
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--t-base);
}
.footer-links a:hover {
  color: var(--text-2);
}
.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

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

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

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--t-base);
}
.footer-legal a:hover { color: var(--cyan); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 160px var(--container-px) 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0, 217, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 217, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 24px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--text-1);
  margin-bottom: 20px;
  line-height: 1.15;
}

.page-hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-3);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  justify-content: center;
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: var(--t-base); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--text-3); }
.breadcrumb .sep { opacity: 0.5; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0, 217, 255, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--section-py) var(--container-px);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-3);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ============================================================
   ANIMATED GRADIENT BORDER
   ============================================================ */
.border-glow {
  position: relative;
}
.border-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-brand);
  -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;
  pointer-events: none;
}

/* ============================================================
   GLASSMORPHISM
   ============================================================ */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

/* ============================================================
   GLOW TEXT
   ============================================================ */
.text-grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-cyan { color: var(--cyan); }
.text-purple { color: var(--purple-light); }
.text-muted { color: var(--text-muted); }

/* ============================================================
   ALERT / NOTICE BOX
   ============================================================ */
.notice {
  display: flex;
  gap: 14px;
  padding: 18px 24px;
  border-radius: var(--r-md);
  border-left: 3px solid;
  font-size: 0.9rem;
  line-height: 1.65;
}
.notice-cyan {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: var(--text-2);
}
.notice-purple {
  background: var(--purple-dim);
  border-color: var(--purple);
  color: var(--text-2);
}
.notice-icon { flex-shrink: 0; color: var(--cyan); margin-top: 1px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root {
    --section-py: 90px;
  }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  :root {
    --section-py: 72px;
    --container-px: 18px;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 28px; }
  .hero-actions { flex-direction: column; align-items: center; }
}
