/* ProXait — Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --accent: #f59e0b;
  --purple: #8b5cf6;
  --purple-dark: #7c3aed;
  --pink: #ec4899;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-section: #f1f5f9;
  --border-light: #e2e8f0;
  --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 50%, #ec4899 100%);
  --gradient-brand: linear-gradient(135deg, #2563eb, #8b5cf6);
  --gradient-cta: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 { color: var(--text-dark); line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
p { margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* === Layout === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-alt { background: var(--bg-section); }
.text-center { text-align: center; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo { font-size: 1.5rem; font-weight: 800; }
.logo a { color: var(--text-dark); }
.logo .gradient-text { font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Mobile Nav */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle svg { width: 24px; height: 24px; color: var(--text-dark); }
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.25rem; font-weight: 600; color: var(--text-dark); }
.mobile-nav .close-btn {
  position: absolute;
  top: 20px; right: 24px;
  background: none; border: none; cursor: pointer; font-size: 2rem; color: var(--text-dark);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
}
.btn-primary {
  background: var(--gradient-cta);
  color: white;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  color: white;
}
.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}
.btn-white {
  background: white;
  color: var(--primary-dark);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  color: var(--primary-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 12px 16px;
}
.btn-ghost:hover { color: var(--primary-dark); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.nav-links a.btn-app,
.btn-app {
  background: var(--gradient-cta);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  transition: var(--transition);
}
.nav-links a.btn-app:hover,
.btn-app:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  color: #fff !important;
}

/* === Cards === */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
  color: white;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; }
.card-tags { font-size: 0.8rem; color: var(--primary); font-weight: 500; }

/* === Grid Layouts === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* === Hero === */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 720px; margin: 0 auto 32px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; font-size: 0.85rem; color: var(--text-muted); }

/* === Prompt Example Cards === */
.prompt-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}
.prompt-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.prompt-card .prompt-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.prompt-card .prompt-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.5;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
  margin-bottom: 8px;
}
.prompt-card .prompt-result {
  font-size: 0.85rem;
  color: var(--secondary-dark);
  font-weight: 500;
}

/* === Comparison Table === */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.comparison-table th {
  background: var(--text-dark);
  color: white;
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}
.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) { background: var(--bg-subtle); }
.comparison-table .check { color: var(--secondary); font-weight: 700; font-size: 1.1rem; }
.comparison-table .cross { color: #ef4444; font-weight: 700; font-size: 1.1rem; }

/* === CTA Section === */
.cta-section {
  background: var(--gradient-hero);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.cta-section h2 { color: white; margin-bottom: 16px; position: relative; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 600px; margin: 0 auto 32px; position: relative; }
.cta-section .cta-buttons { position: relative; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-section .cta-note { position: relative; margin-top: 20px; font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* === Footer === */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.9rem; margin-top: 12px; line-height: 1.6; }
.site-footer h4 { color: white; font-size: 0.95rem; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: white; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* === Feature Detail Sections === */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-detail.reverse { direction: rtl; }
.feature-detail.reverse > * { direction: ltr; }
.feature-detail-content h3 { font-size: 1.75rem; margin-bottom: 12px; }
.feature-detail-content p { color: var(--text-muted); }
.feature-detail-visual {
  background: var(--bg-section);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--border-light);
}
@media (max-width: 768px) {
  .feature-detail, .feature-detail.reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* === Stats Row === */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 32px 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* === Tabs === */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center; }
.tab-btn {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  background: white;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* === Misc === */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-green { background: #d1fae5; color: #059669; }
.badge-purple { background: #ede9fe; color: #7c3aed; }
.badge-amber { background: #fef3c7; color: #d97706; }
.badge-pink { background: #fce7f3; color: #db2777; }

.icon-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-brand);
  border-radius: 2px;
  margin: 16px auto;
}

/* === Workflow Cards === */
.workflow-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.workflow-card:hover { box-shadow: var(--shadow-md); }
.workflow-card h4 { font-size: 1.1rem; margin-bottom: 16px; }
.workflow-steps { display: grid; gap: 12px; }
.workflow-step {
  display: flex; gap: 12px; align-items: start;
  padding: 12px 14px;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  font-size: 0.9rem;
}
.workflow-step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.workflow-step .prompt-text { font-size: 0.85rem; margin: 4px 0 0; }
.workflow-result {
  margin-top: 12px; padding: 10px 14px;
  background: #d1fae5; border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 600; color: #059669;
}
.workflow-time {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; font-size: 0.8rem; font-weight: 600; color: var(--primary);
}

/* === Language Picker === */
.lang-picker {
  position: relative;
  margin-left: 8px;
}
.lang-picker-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: white;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
}
.lang-picker-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-picker-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  z-index: 200;
  min-width: 120px;
}
.lang-picker.open .lang-picker-dropdown { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.lang-option:hover { background: var(--bg-subtle); color: var(--primary); }
.lang-option.active { font-weight: 600; color: var(--primary); background: var(--primary-light); }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; }
