/* ============================================================================
   CariPRO Demo — Landing Page Styles
   Premium amber/slate tasarım, glassmorphism, smooth animasyonlar
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --emerald-500: #10b981;
  --emerald-600: #059669;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate-900);
  background:
    radial-gradient(1400px 700px at 15% 0%, rgba(251,191,36,0.14), transparent 55%),
    radial-gradient(1000px 600px at 85% 5%, rgba(245,158,11,0.08), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #fff7ed 40%, #f8fafc 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

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

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

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(15,23,42,0.12); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(15,23,42,0.22); }

/* ---------- Selection ---------- */
::selection {
  background: rgba(251, 191, 36, 0.28);
}

/* ============================================================================
   NAVIGATION
   ============================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--slate-900);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.nav-logo-text span {
  color: var(--amber-500);
}

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

.nav-links a {
  padding: 10px 18px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  border-radius: 14px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--slate-900);
  background: rgba(15, 23, 42, 0.04);
}

.nav-cta {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%) !important;
  color: white !important;
  padding: 12px 28px !important;
  border-radius: 16px !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
  transition: all 0.25s ease !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.35) !important;
}

/* Mobile menu toggle */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--slate-600);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(251,191,36,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-700);
  margin-bottom: 32px;
  animation: fadeInDown 0.6s ease;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-500);
  animation: pulse 2s ease infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--slate-500);
  max-width: 640px;
  margin: 0 auto 48px;
  font-weight: 500;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%);
  color: white;
  border: none;
  border-radius: 20px;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.4);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: white;
  color: var(--slate-700);
  border: 2px solid var(--slate-200);
  border-radius: 20px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--amber-400);
  color: var(--amber-700);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.12);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 72px;
  animation: fadeInUp 1s ease;
}

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

.hero-stat-value {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--slate-400);
  margin-top: 4px;
}

/* ============================================================================
   FEATURES SECTION
   ============================================================================ */
.features {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber-600);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--amber-50);
  border-radius: 999px;
  border: 1px solid var(--amber-100);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-500);
  font-weight: 500;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 2rem;
  padding: 40px 32px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-400), var(--amber-500));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  border-color: rgba(251, 191, 36, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 26px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon.amber { background: var(--amber-50); color: var(--amber-600); }
.feature-icon.emerald { background: #ecfdf5; color: var(--emerald-600); }
.feature-icon.slate { background: var(--slate-100); color: var(--slate-700); }
.feature-icon.rose { background: #fff1f2; color: var(--rose-600); }

.feature-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--slate-800);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.65;
  font-weight: 500;
}

/* ============================================================================
   HOW IT WORKS
   ============================================================================ */
.how-it-works {
  padding: 100px 0;
  background:
    linear-gradient(180deg, transparent, rgba(15,23,42,0.02) 30%, rgba(15,23,42,0.02) 70%, transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-200), var(--amber-300), var(--amber-200), transparent);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--amber-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--amber-600);
  box-shadow: 0 8px 30px rgba(251, 191, 36, 0.12);
  transition: all 0.3s ease;
}

.step-card:hover .step-number {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.25);
}

.step-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--slate-800);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.6;
  font-weight: 500;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================================================
   PRICING
   ============================================================================ */
.pricing {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 2.5rem;
  padding: 48px 36px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.pricing-card.featured {
  background: var(--slate-900);
  color: white;
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  transform: scale(1.04);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 24px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.pricing-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.pricing-card:not(.featured) .pricing-name {
  color: var(--slate-400);
}

.pricing-card.featured .pricing-name {
  color: var(--amber-400);
}

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.pricing-card.featured .pricing-price {
  color: white;
}

.pricing-period {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 32px;
}

.pricing-card:not(.featured) .pricing-period {
  color: var(--slate-400);
}

.pricing-card.featured .pricing-period {
  color: var(--slate-400);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.08);
}

.pricing-card:not(.featured) .pricing-features li {
  color: var(--slate-600);
}

.pricing-card.featured .pricing-features li {
  color: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.pricing-features li .check {
  width: 20px;
  height: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.pricing-card:not(.featured) .check {
  background: var(--amber-50);
  color: var(--amber-600);
}

.pricing-card.featured .check {
  background: rgba(251, 191, 36, 0.2);
  color: var(--amber-400);
}

.pricing-btn {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pricing-card:not(.featured) .pricing-btn {
  background: var(--slate-100);
  color: var(--slate-700);
}

.pricing-card:not(.featured) .pricing-btn:hover {
  background: var(--slate-900);
  color: white;
}

.pricing-card.featured .pricing-btn {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.pricing-card.featured .pricing-btn:hover {
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
}

/* ============================================================================
   CTA / DEMO BANNER
   ============================================================================ */
.cta-section {
  padding: 100px 0;
}

.cta-card {
  background:
    radial-gradient(600px 400px at 20% 50%, rgba(251,191,36,0.2), transparent),
    radial-gradient(400px 300px at 80% 30%, rgba(245,158,11,0.12), transparent),
    var(--slate-900);
  border-radius: 3rem;
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.06);
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  position: relative;
}

.cta-card p {
  color: var(--slate-400);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-card .btn-primary {
  position: relative;
  font-size: 15px;
  padding: 20px 48px;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--slate-900);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 14px;
}

.footer-brand-text {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.footer-brand-text span {
  color: var(--amber-500);
}

.footer-copy {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-400);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-500);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--amber-600);
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* Scroll-triggered fade */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1024px) {
  .features-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

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

  .steps-grid::before {
    display: none;
  }
}

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

  .nav-mobile-toggle {
    display: block;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-value {
    font-size: 1.8rem;
  }

  .features-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  .cta-card {
    padding: 60px 24px;
    border-radius: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .pricing-price {
    font-size: 2.5rem;
  }

  .feature-card {
    padding: 28px 24px;
  }
}
