/* =========================================================================
   SqaleAi Landing — Custom Styles
   Renk paleti panel/admin ekranlarından çıkarıldı
   ========================================================================= */

:root {
  /* Brand Colors */
  --primary: #F97316;          /* Ana turuncu — CTA, vurgu */
  --primary-hover: #EA580C;    /* Hover turuncu */
  --primary-light: #FFEDD5;    /* Açık turuncu — pastel arka planlar */
  --primary-dark: #C2410C;     /* Koyu turuncu — vurgu metin */

  --secondary: #1E3A8A;        /* Koyu mavi — premium */
  --secondary-light: #3B82F6;  /* Açık mavi — link */
  --accent: #2563EB;           /* Vibrant blue */

  /* Dark theme (admin login bg gibi) */
  --dark: #0F172A;             /* Çok koyu lacivert */
  --dark-2: #1E293B;           /* Koyu lacivert */
  --dark-3: #334155;           /* Orta gri-mavi */

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Status */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & Radius */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
  --shadow-glow: 0 0 60px rgba(249, 115, 22, 0.25);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #C2410C 100%);
  --gradient-orange: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  --gradient-blue: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
  --gradient-mesh: radial-gradient(at 20% 30%, rgba(249, 115, 22, 0.15) 0px, transparent 50%),
                   radial-gradient(at 80% 70%, rgba(37, 99, 235, 0.12) 0px, transparent 50%);
}

/* =========================================================================
   Base
   ========================================================================= */
* { box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--gray-900);
}

a { color: inherit; text-decoration: none; }

/* Container */
.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container-custom { padding: 0 2rem; }
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.45);
}

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

.btn-secondary {
  background: var(--white);
  color: var(--gray-900);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--gray-900);
  background: var(--gray-50);
}

.btn-dark {
  background: var(--gray-900);
  color: var(--white);
}

.btn-dark:hover { background: var(--dark-2); }

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
}

.btn-ghost:hover { background: var(--gray-100); color: var(--gray-900); }

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  background: var(--gray-50);
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  margin: 0 0 1.5rem;
  font-weight: 800;
}

.hero-rotating-wrapper {
  /* JS dynamically sets min-width based on longest word; this is a fallback */
  display: inline-block;
  position: relative;
  min-width: 360px;
  text-align: left;
  vertical-align: baseline;
}

.hero-rotating-text {
  display: inline-block;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  white-space: nowrap;
}

.hero-rotating-text::after {
  content: '|';
  display: inline-block;
  margin-left: 4px;
  -webkit-text-fill-color: var(--primary);
  animation: blink 1s infinite;
  font-weight: 300;
}

@media (max-width: 640px) {
  .hero-rotating-wrapper { min-width: 240px; }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 0 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-trust {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.hero-preview {
  position: relative;
  margin-top: 3rem;
}

.hero-preview-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--gray-200);
  background: var(--white);
}

.hero-preview-frame img {
  width: 100%;
  display: block;
}

/* Browser frame mockup */
.browser-frame {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.browser-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.browser-dot:nth-child(1) { background: #EF4444; }
.browser-dot:nth-child(2) { background: #F59E0B; }
.browser-dot:nth-child(3) { background: #10B981; }

.browser-url {
  flex: 1;
  background: var(--white);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-left: 0.5rem;
}

/* =========================================================================
   Sections
   ========================================================================= */
section { padding: 5rem 0; }

@media (min-width: 768px) {
  section { padding: 7rem 0; }
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin: 0;
}

/* =========================================================================
   Stats
   ========================================================================= */
.stats {
  background: var(--gray-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.5;
  pointer-events: none;
}

.stats .section-title { color: var(--white); }
.stats .section-subtitle { color: var(--gray-400); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--gray-400);
  font-size: 0.95rem;
  font-weight: 500;
}

/* =========================================================================
   How It Works
   ========================================================================= */
.steps-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

.step-card {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--gradient-orange);
  color: var(--white);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.step-icon {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  opacity: 0.2;
}

.step-title {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.step-description {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================================
   Features
   ========================================================================= */
.features { background: var(--gray-50); }

.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.feature-icon svg { width: 1.5rem; height: 1.5rem; }

.feature-title {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.feature-description {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================================
   Comparison Table
   ========================================================================= */
.comparison { }

.comparison-table-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  max-width: 960px;
  margin: 0 auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.comparison-table th {
  background: var(--gray-50);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.comparison-table th.col-sqale {
  background: var(--gradient-orange);
  color: var(--white);
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table .col-criterion {
  font-weight: 600;
  color: var(--gray-900);
  width: 30%;
}

.comparison-table .col-manual {
  color: var(--gray-500);
  text-decoration: line-through;
  text-decoration-color: var(--gray-300);
}

.comparison-table .col-sqale {
  font-weight: 600;
  color: var(--gray-900);
}

.comparison-table tr:hover td { background: var(--gray-50); }

@media (max-width: 640px) {
  .comparison-table th,
  .comparison-table td {
    padding: 0.875rem 0.625rem;
    font-size: 0.875rem;
  }
}

/* =========================================================================
   Video Demo
   ========================================================================= */
.video-section { background: var(--gray-50); }

.video-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gradient-hero);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease;
}

.video-wrapper:hover { transform: scale(1.01); }

.video-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
}

.video-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

.video-play-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 1;
}

.video-play-btn::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.video-play-btn:hover { transform: scale(1.1); }

.video-play-icon {
  width: 0;
  height: 0;
  border-left: 22px solid var(--primary);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

.video-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1;
  color: var(--white);
}

.video-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.video-duration {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1;
  padding: 0.375rem 0.75rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

/* =========================================================================
   Pricing
   ========================================================================= */
.pricing-tabs {
  display: inline-flex;
  padding: 0.375rem;
  background: var(--gray-100);
  border-radius: 999px;
  margin: 0 auto 3rem;
}

.pricing-tab {
  padding: 0.625rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  color: var(--gray-600);
}

.pricing-tab.active {
  background: var(--white);
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .pricing-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.price-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.price-card:hover { border-color: var(--gray-300); }

.price-card.popular {
  border-color: var(--primary);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.price-card.popular::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background: var(--gradient-orange);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: var(--gradient-orange);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-name {
  font-size: 1.125rem;
  margin: 0 0 1rem;
  color: var(--gray-700);
  font-weight: 700;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.price-amount-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.price-period {
  color: var(--gray-500);
  font-size: 0.9375rem;
}

.price-credits {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  margin: 0.5rem 0;
}

.price-bonus {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: var(--success);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.price-features li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 1px;
  background: var(--success);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.price-cta {
  width: 100%;
  margin-top: auto;
}

.price-card.popular .price-cta { background: var(--gradient-orange); color: var(--white); border: none; }

/* =========================================================================
   Referral
   ========================================================================= */
.referral {
  background: var(--gray-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.referral::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 10% 50%, rgba(249, 115, 22, 0.25) 0px, transparent 50%),
    radial-gradient(at 90% 50%, rgba(37, 99, 235, 0.18) 0px, transparent 50%);
  pointer-events: none;
}

.referral .container-custom { position: relative; }

.referral .section-eyebrow {
  background: rgba(249, 115, 22, 0.2);
  color: #FED7AA;
}

.referral .section-title { color: var(--white); }
.referral .section-subtitle { color: var(--gray-300); font-size: 1.25rem; }

.referral-steps {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .referral-steps { grid-template-columns: repeat(3, 1fr); }
}

.referral-step {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

.referral-step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.referral-step-title {
  color: var(--white);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.referral-step-description {
  color: var(--gray-300);
  font-size: 0.9375rem;
  margin: 0;
}

.referral-example {
  text-align: center;
  padding: 1.5rem 2rem;
  background: var(--gradient-orange);
  border-radius: var(--radius-lg);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 2rem auto;
  max-width: 700px;
}

.referral-example strong { font-size: 1.25rem; }

.referral-cta { text-align: center; margin-top: 2rem; }

/* =========================================================================
   Testimonials
   ========================================================================= */
.testimonials { background: var(--gray-50); }

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

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

.testimonial-rating {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 1rem;
  color: var(--warning);
}

.testimonial-text {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  font-family: var(--font-display);
}

.testimonial-info { flex: 1; }
.testimonial-name { font-weight: 700; color: var(--gray-900); margin: 0; font-size: 0.9375rem; }
.testimonial-role { color: var(--gray-500); font-size: 0.8125rem; margin: 0; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--gray-700);
}

.faq-item.open .faq-icon {
  background: var(--gradient-orange);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}

/* =========================================================================
   CTA Final
   ========================================================================= */
.cta-final {
  background: var(--gradient-hero);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 30% 50%, rgba(249, 115, 22, 0.3) 0px, transparent 60%),
    radial-gradient(at 70% 50%, rgba(37, 99, 235, 0.2) 0px, transparent 60%);
}

.cta-final .container-custom { position: relative; }

.cta-final-title {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.cta-final-subtitle {
  color: var(--gray-300);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final-trust {
  margin-top: 1.5rem;
  color: var(--gray-400);
  font-size: 0.9375rem;
}

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo-sqale { color: var(--gray-900); }
.logo-ai {
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-menu { display: flex; }
}

.nav-menu a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.nav-menu a:hover { color: var(--primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Lang switcher */
.lang-switcher {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-toggle:hover { border-color: var(--gray-400); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 140px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.375rem;
  display: none;
  z-index: 50;
}

.lang-dropdown.open { display: block; }

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.lang-dropdown a:hover { background: var(--gray-50); color: var(--gray-900); }
.lang-dropdown a.active { background: var(--primary-light); color: var(--primary-dark); }

/* Mobile menu */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-200);
}

.mobile-nav.open { display: flex; }
@media (min-width: 1024px) { .mobile-nav.open { display: none; } }

.mobile-nav a {
  padding: 0.875rem 0;
  color: var(--gray-700);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav .btn {
  margin-top: 1rem;
  border-bottom: none;
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand .logo-sqale { color: var(--white); }

.footer-description {
  color: var(--gray-400);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  color: var(--gray-300);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.625rem; }
.footer-col a {
  color: var(--gray-400);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* =========================================================================
   Animations & Effects
   ========================================================================= */
/* Default: visible (no-JS fallback) */
.fade-in-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* JS active: initially hidden */
.js-enabled .fade-in-up {
  opacity: 0;
  transform: translateY(20px);
}

.js-enabled .fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in-up { opacity: 1 !important; transform: none !important; }
}

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

.floating { animation: float 6s ease-in-out infinite; }

/* =========================================================================
   Hero Grid Layout
   ========================================================================= */
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }
  .hero { padding: 8rem 0 6rem; }
  .hero-preview { margin-top: 0; }
}

/* Stylized panel mockup for hero preview */
.mock-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.mock-panel-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.mock-panel-body {
  padding: 1.5rem;
  background: var(--gray-50);
  min-height: 320px;
}

.mock-panel-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid var(--gray-200);
  margin-bottom: 0.75rem;
}

.mock-credit-card {
  background: var(--gradient-blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.mock-credit-label { font-size: 0.75rem; opacity: 0.8; letter-spacing: 0.1em; }
.mock-credit-value { font-size: 2rem; font-weight: 800; font-family: var(--font-display); }

.mock-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.mock-stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.875rem;
  border: 1px solid var(--gray-200);
}

.mock-stat-label {
  font-size: 0.6875rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.mock-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  font-family: var(--font-display);
}

.mock-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  margin-bottom: 0.5rem;
}

.mock-order-domain {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-900);
}

.mock-order-status {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-published {
  background: #DCFCE7;
  color: #166534;
}

.status-processing {
  background: #DBEAFE;
  color: #1E40AF;
}

.status-pending {
  background: #FEF3C7;
  color: #92400E;
}

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