/* ============================================
   SIRDAŞ — Modern Landing Page Styles
   ============================================ */

/* ─── CSS Variables / Design Tokens ─── */
:root {
  /* Colors */
  --bg: #0F1419;
  --surface: #1C2631;
  --surface-light: #2A3744;
  --surface-elevated: #354350;
  --primary: #14B8A6;
  --primary-light: #5EEAD4;
  --primary-dark: #0D9488;
  --secondary: #F59E0B;
  --secondary-light: #FCD34D;
  --text-primary: #F0F4F8;
  --text-secondary: #A8B8CC;
  --text-muted: #8B9DB5;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --online: #22C55E;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #14B8A6, #0EA5E9);
  --gradient-premium: linear-gradient(135deg, #F59E0B, #F97316);
  --gradient-card: linear-gradient(180deg, #1C2631, #2A3744);

  /* Typography */
  --font-heading: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-xxl: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-button: 0 4px 16px rgba(20, 184, 166, 0.35);
  --shadow-glow: 0 8px 32px rgba(20, 184, 166, 0.25);
  --shadow-glow-premium: 0 8px 32px rgba(245, 158, 11, 0.25);

  /* Spacing */
  --section-padding: 100px;
  --container-max: 1200px;
  --container-padding: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--primary-light);
}

ul {
  list-style: none;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 16px;
}

/* ─── Layout ─── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

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

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition-base), backdrop-filter var(--transition-base);
}

.nav.scrolled {
  background: rgba(15, 20, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(42, 55, 68, 0.5);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: color var(--transition-fast);
}

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

.nav-cta {
  background: var(--gradient-hero);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-button);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: #0EA5E9;
  bottom: -10%;
  right: -10%;
  animation-delay: -4s;
}

.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  top: 40%;
  left: 60%;
  opacity: 0.15;
  animation-delay: -2s;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 var(--container-padding);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--surface-light);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease-out;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--online);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--online);
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary), #0EA5E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-tagline {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
  background: var(--gradient-hero);
  color: #fff;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--surface-light);
}

.btn-secondary:hover {
  background: var(--surface-light);
  transform: translateY(-3px);
  color: var(--text-primary);
}

.hero-qr {
  margin-top: 48px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-qr p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  background: var(--surface);
  border: 2px solid var(--surface-light);
  border-radius: var(--radius-lg);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--text-muted);
  font-size: 1.5rem;
  z-index: 1;
}

/* ─── Features ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--surface-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ─── Characters ─── */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.character-card {
  background: var(--surface);
  border: 1px solid var(--surface-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.character-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(20, 184, 166, 0.3);
}

.character-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface-light), var(--surface-elevated));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 16px;
  border: 2px solid var(--surface-light);
}

.character-card h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.character-card .tagline {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.character-card .category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: rgba(20, 184, 166, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.character-card .premium-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gradient-premium);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

/* ─── How It Works ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #0EA5E9, var(--secondary));
  opacity: 0.3;
  z-index: 0;
}

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

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-card);
  border: 2px solid var(--surface-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 24px;
  box-shadow: var(--shadow-card);
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9375rem;
}

/* ─── App Showcase ─── */
.showcase-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-text h2 {
  margin-bottom: 20px;
}

.showcase-text p {
  margin-bottom: 16px;
  font-size: 1.0625rem;
}

.showcase-text ul {
  margin: 24px 0;
}

.showcase-text li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 1rem;
}

.showcase-text li .check {
  color: var(--primary);
  font-weight: 700;
}

.phone-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  height: 570px;
  background: var(--surface);
  border: 8px solid var(--surface-elevated);
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--surface-light);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--surface-elevated);
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

.phone-shadow {
  position: absolute;
  width: 260px;
  height: 40px;
  background: rgba(20, 184, 166, 0.2);
  filter: blur(40px);
  border-radius: 50%;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}

/* ─── CTA Section ─── */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.08), transparent 70%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 1.125rem;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--surface-light);
  padding: 48px 0 32px;
}

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

.footer-brand .logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--surface-light);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ─── Content Pages (Privacy, Terms, Support) ─── */
.content-page {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.content-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.content-wrapper h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 8px;
}

.content-wrapper .date {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  display: block;
}

.content-wrapper p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.content-wrapper h2 {
  font-size: 1.375rem;
  color: var(--primary);
  margin: 32px 0 12px;
}

.content-wrapper h3 {
  font-size: 1.125rem;
  color: var(--primary-light);
  margin: 24px 0 8px;
}

.content-wrapper ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.content-wrapper li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.7;
}

.content-wrapper strong {
  color: var(--text-primary);
  font-weight: 700;
}

.content-wrapper a {
  color: var(--primary);
}

.content-wrapper a:hover {
  text-decoration: underline;
}

/* ─── Icons (Lucide) ─── */
svg, i[data-lucide] {
  display: inline-block;
  vertical-align: middle;
}

.btn svg {
  flex-shrink: 0;
}

.feature-icon svg {
  color: var(--primary);
}

.scroll-indicator svg {
  color: var(--text-muted);
}

.qr-placeholder svg {
  color: var(--text-muted);
}

/* ─── Animations ─── */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .steps::before {
    display: none;
  }

  .showcase-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .phone-mockup {
    order: -1;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 24px;
    transition: right var(--transition-base);
    border-left: 1px solid var(--surface-light);
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: block;
    z-index: 1002;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    z-index: 1000;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .characters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .character-card {
    padding: 20px;
  }

  .character-avatar {
    width: 56px;
    height: 56px;
    font-size: 2rem;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .characters-grid {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: 240px;
    height: 490px;
  }
}
