/* ============================================================
   AI AGENT IA - Global Stylesheet
   Palette:
     Primary #6366F1 | Secondary #4F46E5 | Accent #22D3EE
     BG #FFFFFF | BG-alt #F8FAFC | Text #1E293B | Text-2 #64748B
     Success #10B981 | Warning #F59E0B | Error #EF4444
   ============================================================ */

:root {
  --primary: #6366F1;
  --primary-dark: #4F46E5;
  --accent: #22D3EE;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --text: #1E293B;
  --text-2: #64748B;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --radius: 12px;
  --radius-lg: 24px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px -15px rgba(79, 70, 229, 0.25);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1 { font-size: 48px; line-height: 1.15; font-weight: 700; }
h2 { font-size: 36px; line-height: 1.2; font-weight: 700; }
h3 { font-size: 24px; line-height: 1.3; font-weight: 600; }
h4 { font-size: 18px; line-height: 1.4; font-weight: 600; }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

.section-tag {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title { margin-bottom: 16px; }
.section-subtitle { color: var(--text-2); font-size: 18px; max-width: 640px; }

.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 18px; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-accent { background: var(--accent); color: var(--text); }
.btn-accent:hover { background: #0ea5e9; color: var(--text); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(100, 116, 139, 0.12);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); }
.nav-logo:hover { color: var(--primary); }
.nav-brand { letter-spacing: -0.5px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-menu a { color: var(--text-2); font-weight: 500; padding: 8px 14px; border-radius: 8px; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary-dark); background: rgba(99, 102, 241, 0.08); }

.nav-lang-switch { margin-left: 8px; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  border: 1.5px solid var(--primary);
  border-radius: 10px;
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 13px;
  background: transparent;
  transition: var(--transition);
}
.lang-btn:hover { background: var(--primary); color: #fff !important; }

.nav-cta-li { margin-left: 8px; }

.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); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 88px;
  background: linear-gradient(135deg, #EEF2FF 0%, #FFFFFF 50%, #ECFEFF 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title { font-size: 52px; line-height: 1.1; margin-bottom: 20px; }
.hero-subtitle { font-size: 20px; color: var(--text-2); margin-bottom: 32px; max-width: 560px; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 32px;
}
.hero-stat .value { font-size: 32px; font-weight: 700; color: var(--primary-dark); }
.hero-stat .label { font-size: 14px; color: var(--text-2); }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
}

/* Hero visual / demo mock */
.hero-visual {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  padding: 32px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-visual .mock-head { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.hero-visual .mock-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.hero-visual .mock-body { display: flex; flex-direction: column; gap: 12px; }
.hero-visual .mock-msg {
  background: rgba(255,255,255,0.12);
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 80%;
  font-size: 14px;
  animation: float 4s ease-in-out infinite;
}
.hero-visual .mock-msg.user { align-self: flex-end; background: var(--accent); color: var(--text); animation-delay: 1s; }
.hero-visual .mock-msg.agent { animation-delay: 2s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Problem/Solution ---------- */
.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.problem-list, .solution-list { display: flex; flex-direction: column; gap: 20px; }

.ps-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid rgba(100, 116, 139, 0.15);
  transition: var(--transition);
}
.ps-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.ps-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 22px;
}
.ps-item.problem .ps-icon { background: rgba(239, 68, 68, 0.1); }
.ps-item.solution .ps-icon { background: rgba(16, 185, 129, 0.1); }
.ps-item.problem h4 { color: var(--error); }
.ps-item.solution h4 { color: var(--success); }
.ps-item p { color: var(--text-2); font-size: 15px; margin-top: 4px; }

.problem-header, .solution-header { margin-bottom: 24px; }

/* ---------- Live Demo / Chat ---------- */
.demo-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.chat-widget {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid rgba(100, 116, 139, 0.15);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 560px;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(100, 116, 139, 0.12);
  background: var(--bg-alt);
}
.chat-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 18px;
}
.chat-head-info .chat-name { font-weight: 600; font-size: 15px; }
.chat-head-info .chat-status { font-size: 13px; color: var(--success); display: flex; align-items: center; gap: 6px; }
.chat-head-info .chat-status .dot { width: 7px; height: 7px; background: var(--success); border-radius: 50%; }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #FAFBFC;
}
.chat-msg { display: flex; gap: 10px; max-width: 85%; animation: fadeInUp 0.3s ease; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg .bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.5;
}
.chat-msg.agent .bubble { background: var(--bg); border: 1px solid rgba(100,116,139,0.15); border-top-left-radius: 4px; }
.chat-msg.user .bubble { background: var(--primary); color: #fff; border-top-right-radius: 4px; }
.chat-msg .msg-time { font-size: 11px; color: var(--text-2); margin-top: 4px; }

.chat-typing { display: none; align-self: flex-start; padding: 12px 16px; background: var(--bg); border-radius: 16px; border-top-left-radius: 4px; border: 1px solid rgba(100,116,139,0.15); }
.chat-typing .typing-dots { display: flex; gap: 4px; }
.chat-typing .typing-dots span { width: 7px; height: 7px; background: var(--text-2); border-radius: 50%; animation: typing 1.4s infinite; }
.chat-typing .typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing .typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-6px); opacity: 1; } }

.chat-examples {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 20px;
  border-top: 1px solid rgba(100,116,139,0.1);
}
.chat-example-btn {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.chat-example-btn:hover { background: var(--primary); color: #fff; }

.chat-input {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid rgba(100,116,139,0.1);
  background: var(--bg);
}
.chat-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(100,116,139,0.25);
  border-radius: var(--radius-lg);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}
.chat-input input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.chat-send-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.chat-send-btn:hover { background: var(--primary-dark); }
.chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.chat-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat-info-card {
  background: var(--bg-alt);
  border: 1px solid rgba(100,116,139,0.12);
  border-radius: var(--radius);
  padding: 20px;
}
.chat-info-card h4 { margin-bottom: 8px; }
.chat-info-card p { font-size: 14px; color: var(--text-2); }
.chat-info-card .reasoning-panel { margin-top: 16px; display: none; }
.chat-info-card .reasoning-panel.active { display: block; }
.reasoning-box {
  background: #1E293B;
  color: #CBD5E1;
  border-radius: 10px;
  padding: 12px;
  font-family: monospace;
  font-size: 12px;
  max-height: 140px;
  overflow-y: auto;
  white-space: pre-wrap;
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Use Cases ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-card {
  background: var(--bg);
  border: 1px solid rgba(100,116,139,0.15);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.case-card .case-icon { font-size: 32px; margin-bottom: 16px; }
.case-card h3 { font-size: 18px; margin-bottom: 8px; }
.case-card .case-problem { color: var(--text-2); font-size: 14px; margin-bottom: 12px; }
.case-card .case-metric {
  display: inline-block;
  background: rgba(34, 211, 238, 0.12);
  color: #0E7490;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 8px;
}

.case-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.case-modal.active { display: flex; }
.case-modal-content {
  background: var(--bg);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.case-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-2);
  width: 36px; height: 36px;
  border-radius: 8px;
}
.case-modal-close:hover { background: var(--bg-alt); color: var(--text); }
.case-convo { margin: 16px 0; display: flex; flex-direction: column; gap: 12px; }
.case-convo .bubble { padding: 12px 16px; border-radius: 14px; font-size: 14px; max-width: 85%; }
.case-convo .bubble.user { align-self: flex-end; background: var(--primary); color: #fff; }
.case-convo .bubble.agent { align-self: flex-start; background: var(--bg-alt); border: 1px solid rgba(100,116,139,0.12); }
.case-modal .btn { width: 100%; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg);
  border: 1px solid rgba(100,116,139,0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  text-align: left;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(34,211,238,0.12));
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--text-2); font-size: 14px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--bg);
  border: 1px solid rgba(100,116,139,0.15);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF2FF 100%);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.price-badge.roi { background: var(--accent); color: var(--text); }
.price-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.price-tag { font-size: 13px; color: var(--text-2); margin-bottom: 20px; }
.price-amount { margin-bottom: 20px; }
.price-amount .currency { font-size: 20px; font-weight: 600; color: var(--text-2); vertical-align: top; }
.price-amount .number { font-size: 48px; font-weight: 700; }
.price-amount .period { font-size: 14px; color: var(--text-2); }
.price-setup { font-size: 14px; color: var(--text-2); margin-bottom: 24px; }
.price-setup strong { color: var(--text); }
.price-features { list-style: none; flex: 1; margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; }
.price-features li { display: flex; gap: 10px; font-size: 14px; color: var(--text-2); }
.price-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }
.price-features li.no::before { content: '✗'; color: var(--text-2); }
.price-features li.no { color: #94A3B8; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--bg);
  border: 1px solid rgba(100,116,139,0.12);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi-quote { font-size: 15px; color: var(--text-2); font-style: italic; margin-bottom: 20px; }
.testi-quote .problem { color: var(--error); font-style: normal; font-size: 13px; display: block; margin-bottom: 8px; }
.testi-result { color: var(--success); font-weight: 600; font-style: normal; font-size: 14px; display: block; margin-top: 8px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.testi-name { font-weight: 600; font-size: 15px; }
.testi-role { font-size: 13px; color: var(--text-2); }

/* ---------- Technical ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.tech-item {
  background: var(--bg);
  border: 1px solid rgba(100,116,139,0.12);
  border-radius: var(--radius);
  padding: 24px;
}
.tech-item h4 { margin-bottom: 8px; }
.tech-item p { font-size: 14px; color: var(--text-2); }
.tech-stack {
  background: #1E293B;
  color: #E2E8F0;
  border-radius: var(--radius);
  padding: 24px;
  font-family: monospace;
  font-size: 14px;
  line-height: 1.8;
  overflow-x: auto;
}
.tech-stack .stack-label { color: var(--accent); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg);
  border: 1px solid rgba(100,116,139,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active { border-color: var(--primary); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.faq-question .faq-icon { font-size: 20px; color: var(--primary); transition: var(--transition); flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { color: var(--text-2); font-size: 15px; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form { background: var(--bg); border: 1px solid rgba(100,116,139,0.12); border-radius: var(--radius); padding: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(100,116,139,0.25);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
  background: var(--bg);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { display: none; background: rgba(16,185,129,0.1); color: #047857; padding: 16px; border-radius: 10px; margin-bottom: 20px; }
.form-success.active { display: block; }
.form-error { display: none; background: rgba(239,68,68,0.1); color: var(--error); padding: 16px; border-radius: 10px; margin-bottom: 20px; }
.form-error.active { display: block; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(99,102,241,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: var(--text-2); font-size: 15px; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #EEF2FF, #FFFFFF, #ECFEFF);
  padding: 72px 0 56px;
  text-align: center;
}
.page-hero .page-title { font-size: 44px; margin-bottom: 16px; }
.page-hero .page-sub { color: var(--text-2); font-size: 18px; max-width: 640px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: #0F172A; color: #CBD5E1; padding: 64px 0 32px; }
.footer-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { margin-bottom: 16px; }
.footer-desc { font-size: 14px; max-width: 300px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { color: #94A3B8; font-size: 14px; }
.site-footer ul a:hover { color: #fff; }
.footer-contact p { margin-bottom: 8px; }
.footer-contact a { color: #94A3B8; font-size: 14px; }
.footer-contact a:hover { color: #fff; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #CBD5E1;
  font-size: 16px;
  transition: var(--transition);
}
.social-icons a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: #94A3B8; font-size: 13px; }
.footer-legal a:hover { color: #fff; }
.footer-copyright { font-size: 13px; color: #64748B; }
.footer-lang .lang-btn { border-color: #94A3B8; color: #CBD5E1 !important; }
.footer-lang .lang-btn:hover { border-color: var(--primary); background: var(--primary); color: #fff !important; }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  background: #0F172A;
  color: #E2E8F0;
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 720px;
  width: calc(100% - 40px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-banner p { font-size: 14px; }
.cookie-buttons { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cookie-more { color: var(--accent); font-size: 14px; }
.cookie-more:hover { color: #7DD3FC; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 48px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-primary { color: var(--primary); }
.hidden { display: none !important; }
