/* ============================================
   JCL Brand Website — Design System
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --bg-warm: #F9F9F9;
  --bg-white: #FFFFFF;
  --bg-dark: #0A1628;
  --bg-dark-2: #0F1E38;
  --bg-card-dark: #15264B;
  --brand-blue: #2B7FFF;
  --brand-blue-light: #4A93FF;
  --brand-blue-dark: #1A5FD9;
  --text-dark: #0A1628;
  --text-body: #5A6B80;
  --text-muted: #8E9AAB;
  --text-light: #FFFFFF;
  --text-light-muted: #B0BEC5;
  --border-light: #E4E8EC;
  --border-dark: rgba(255,255,255,0.12);
  --accent-green: #00C896;
  --accent-orange: #FF8C42;
  --shadow-sm: 0 1px 3px rgba(10,22,40,0.06);
  --shadow-md: 0 4px 20px rgba(10,22,40,0.08);
  --shadow-lg: 0 12px 40px rgba(10,22,40,0.12);
  --shadow-blue: 0 8px 24px rgba(43,127,255,0.25);

  /* Typography */
  --font-display: 'Archivo Black', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', 'Fira Code', monospace;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-warm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-blue); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--bg-dark);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.logo-icon::before {
  content: '';
  width: 14px;
  height: 18px;
  border-radius: 3px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
}

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

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light-muted);
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover { color: var(--text-light); }

.nav-links a.active {
  color: var(--text-light);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 1px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light-muted);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.lang-switch:hover { background: rgba(255,255,255,0.08); }

.lang-switch svg { width: 16px; height: 16px; }

.language-menu {
  position: relative;
  padding: 0;
  cursor: default;
}

.language-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 58px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--text-light);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.language-current:hover,
.language-menu.open .language-current {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
}

.language-caret {
  font-size: 0.72rem;
  color: var(--text-light-muted);
  line-height: 1;
}

.language-options {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1001;
  min-width: 168px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  background: var(--bg-dark);
  box-shadow: 0 18px 48px rgba(0,0,0,0.32);
}

.language-menu.open .language-options { display: grid; }

.language-option {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-light-muted);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.language-option:hover,
.language-option.active {
  background: rgba(0,114,255,0.16);
  color: var(--text-light);
}

.btn-header {
  padding: 8px 20px;
  background: var(--brand-blue);
  color: var(--text-light);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-header:hover {
  background: var(--brand-blue-dark);
  color: var(--text-light);
  box-shadow: var(--shadow-blue);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-light);
  border-radius: 1px;
  transition: 0.3s;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--brand-blue-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: var(--text-light);
}

.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
}

.btn-outline:hover {
  background: var(--brand-blue);
  color: var(--text-light);
}

.btn-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.btn-dark:hover {
  background: var(--bg-dark-2);
  color: var(--text-light);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ============================================
   SECTION LAYOUT
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
}

.page-hero {
  padding: calc(var(--header-height) + 70px) 0 70px;
  background: var(--bg-dark);
  color: var(--text-light-muted);
  text-align: center;
}

.page-hero h1 {
  max-width: 860px;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.08;
  color: var(--text-light);
}

.page-hero p {
  max-width: 660px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.compact-hero {
  padding-bottom: 70px;
}

.home-hero {
  min-height: 680px;
  display: flex;
  align-items: center;
}

.home-hero .container {
  width: 100%;
}

.section-light { background: var(--bg-warm); }
.section-white { background: var(--bg-white); }
.section-dark { background: var(--bg-dark); color: var(--text-light-muted); }
.section-dark-2 { background: var(--bg-dark-2); color: var(--text-light-muted); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(43,127,255,0.08);
  border-radius: 100px;
}

.section-dark .kicker {
  background: rgba(43,127,255,0.15);
  color: var(--brand-blue-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-dark .section-title,
.section-dark-2 .section-title { color: var(--text-light); }

.section-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-dark {
  background: var(--bg-dark);
  color: var(--text-light-muted);
}

.hero-content {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1.1;
  color: var(--text-light);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title .highlight { color: var(--brand-blue); }

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-dark);
}

.hero-stat .stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--text-light);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-top: 6px;
}

/* Hero with background image */
.hero-bg {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  mask-image: linear-gradient(to right, transparent, black 50%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 50%);
}

.home-hero .hero-bg {
  top: 132px;
  right: 64px;
  width: 38%;
  height: 420px;
  border-radius: var(--radius-lg);
  opacity: 0.95;
  mask-image: none;
  -webkit-mask-image: none;
  box-shadow: 0 22px 60px rgba(0,0,0,0.28);
}

/* ============================================
   BENTO GRID (Cards)
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
}

.bento-card.dark {
  background: var(--bg-card-dark);
  border-color: var(--border-dark);
  color: var(--text-light-muted);
}

.bento-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(43,127,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.bento-card.dark .card-icon {
  background: rgba(43,127,255,0.15);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.bento-card.dark h3 { color: var(--text-light); }

.bento-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.scenario-card {
  padding: 20px 20px 28px;
}

.scenario-card img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

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

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card.dark {
  background: var(--bg-card-dark);
  border-color: var(--border-dark);
}

.product-card.dark .product-name {
  color: var(--text-light);
}

.product-card.dark .product-desc {
  color: var(--text-light-muted);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, #F0F4F8, #E4E8EC);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.product-image .product-placeholder {
  font-size: 3rem;
  color: var(--text-muted);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--bg-card-dark);
  color: var(--brand-blue-light);
}

.product-info {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-model {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex: 1;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.spec-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: rgba(43,127,255,0.06);
  color: var(--brand-blue);
}

.product-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ============================================
   SOLUTIONS (Alternating Layout)
   ============================================ */
.solution-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}

.solution-row:last-child { margin-bottom: 0; }

.solution-row.reverse .solution-image { order: 2; }

.solution-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 420px;
  background: linear-gradient(135deg, #15264B, #0A1628);
  position: relative;
}

.solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-image .solution-placeholder {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: rgba(255,255,255,0.2);
}

.solution-content .kicker { margin-bottom: 20px; }

.solution-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.solution-content > p {
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.solution-list {
  list-style: none;
  margin-bottom: 32px;
}

.solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.solution-list li .check-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: rgba(43,127,255,0.1);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 2px;
}

/* ============================================
   PLATFORM DASHBOARD MOCKUP
   ============================================ */
.dashboard-mockup {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
}

.dashboard-mockup img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.platform-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.platform-split .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.split-band {
  background: linear-gradient(to bottom, var(--bg-white), #f3f6fb);
}

.dark-row {
  background: var(--bg-dark);
  color: var(--text-light-muted);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px calc(50vw - 50%);
}

.dark-row h2 {
  color: var(--text-light);
}

.dashboard-placeholder {
  padding: 40px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  min-height: 400px;
}

.dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-sidebar-item {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.dash-sidebar-item.active {
  background: rgba(43,127,255,0.15);
  color: var(--brand-blue-light);
}

.dash-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dash-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 20px;
}

.dash-stat-card .label {
  font-size: 0.75rem;
  color: var(--text-light-muted);
  margin-bottom: 8px;
}

.dash-stat-card .value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--text-light);
}

.dash-chart {
  grid-column: span 3;
  height: 180px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.dash-bar {
  flex: 1;
  background: linear-gradient(to top, var(--brand-blue), rgba(43,127,255,0.3));
  border-radius: 4px 4px 0 0;
  min-height: 20px;
}

/* ============================================
   PROCESS / TIMELINE
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(to right, var(--brand-blue), rgba(43,127,255,0.2));
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 3px solid var(--brand-blue);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(43,127,255,0.3);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.95rem;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: var(--brand-blue);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43,127,255,0.15), transparent 70%);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-note {
  margin-top: 18px;
  margin-bottom: 0 !important;
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.75);
}

.btn.light,
.btn-secondary.light {
  background: var(--bg-white);
  color: var(--brand-blue);
  border-color: var(--bg-white);
}

.btn.light:hover,
.btn-secondary.light:hover {
  color: var(--brand-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

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

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.contact-form h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-label .required { color: #E53E3E; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-warm);
  transition: all 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(43,127,255,0.1);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--brand-blue);
  color: var(--text-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s;
}

.form-submit:hover {
  background: var(--brand-blue-dark);
  box-shadow: var(--shadow-blue);
}

.contact-info-panel {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: var(--text-light-muted);
}

.contact-info-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: rgba(43,127,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue-light);
}

.contact-item .label {
  font-size: 0.8rem;
  color: var(--text-light-muted);
  margin-bottom: 4px;
}

.contact-item .value {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

.map-placeholder {
  margin-top: 32px;
  height: 200px;
  border-radius: var(--radius-md);
  background: var(--bg-card-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-muted);
  font-size: 0.9rem;
  border: 1px solid var(--border-dark);
}

.map-card {
  position: relative;
  margin-top: 30px;
  height: 210px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 38%, var(--brand-blue) 0 10px, transparent 11px),
    linear-gradient(135deg, #c7ecff 0%, #8fd1ff 42%, #f7e6af 43%, #f7e6af 52%, #8fd1ff 53%),
    #9bd8ff;
  border: 1px solid rgba(255,255,255,0.14);
}

.map-card span {
  position: absolute;
  left: 60%;
  top: 30%;
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  background: var(--brand-blue);
  transform: rotate(-45deg);
  box-shadow: 0 8px 24px rgba(43,127,255,0.45);
}

.map-card span::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: white;
  left: 9px;
  top: 9px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light-muted);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-dark);
}

.compact-footer {
  padding-top: 44px;
}

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

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.footer-col ul a:hover { color: var(--brand-blue-light); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-muted);
  transition: all 0.2s;
}

.social-icon:hover {
  background: var(--brand-blue);
  color: var(--text-light);
}

.social-icon svg { width: 20px; height: 20px; }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a { color: var(--text-light-muted); }
.footer-bottom a:hover { color: var(--brand-blue-light); }

/* ============================================
   TABS (Products page)
   ============================================ */
.tab-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  transition: all 0.2s;
}

.tab-btn:hover { border-color: var(--brand-blue); }

.tab-btn.active {
  background: var(--brand-blue);
  color: var(--text-light);
  border-color: var(--brand-blue);
}

.hero-tabs {
  margin-top: 28px;
  margin-bottom: 0;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================
   ARCHITECTURE DIAGRAM
   ============================================ */
.arch-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.arch-layer {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.2s;
}

.arch-layer:hover {
  border-color: var(--brand-blue);
  transform: translateX(8px);
}

.arch-layer .layer-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  background: rgba(43,127,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.arch-layer .layer-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.arch-layer .layer-desc {
  font-size: 0.85rem;
}

.arch-arrow {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* ============================================
   MOQ SECTION
   ============================================ */
.moq-card {
  background: var(--bg-card-dark);
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.moq-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(43,127,255,0.1), transparent 70%);
  border-radius: 50%;
}

.moq-card .moq-number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.moq-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.moq-card p {
  position: relative;
  z-index: 2;
  font-size: 1rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-dark);
  padding: 0;
  width: 100%;
  text-align: left;
}

.faq-question .faq-toggle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(43,127,255,0.08);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 16px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s, transform 0.7s;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .bento-grid,
  .product-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .solution-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .solution-row.reverse .solution-image { order: 0; }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .platform-split,
  .four-col {
    grid-template-columns: 1fr 1fr;
  }

  .home-hero .hero-bg {
    right: 24px;
    width: 42%;
  }
  
  .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta {
    gap: 10px;
    margin-left: auto;
  }

  .nav-cta .lang-switch { display: flex; }

  .language-current {
    min-width: 52px;
    height: 32px;
    padding: 0 8px;
  }

  .language-options {
    right: -44px;
    min-width: 160px;
  }

  .btn-header { display: none; }
  .menu-toggle { display: flex; }
  
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--bg-dark);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-dark);
  }
  
  .section { padding: 64px 0; }
  .section-title { font-size: 2rem; }
  .page-hero h1 { font-size: 2.1rem; }
  .page-hero { padding-top: calc(var(--header-height) + 48px); }
  
  .bento-grid,
  .product-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .platform-split,
  .four-col {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-hero {
    min-height: auto;
    display: block;
  }

  .home-hero .hero-bg {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 260px;
    margin: 0 0 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .hero-title { font-size: 2.25rem; }
  .hero-stats { flex-direction: column; gap: 24px; }
  
  .form-row { grid-template-columns: 1fr; }
  
  .cta-content h2 { font-size: 1.75rem; }
  
  .contact-form,
  .contact-info-panel {
    padding: 32px 24px;
  }
  
  .container { padding: 0 20px; }
}
