:root {
  --safe-area-inset-top: env(safe-area-inset-top, 0px);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-inset-left: env(safe-area-inset-left, 0px);
  --safe-area-inset-right: env(safe-area-inset-right, 0px);
  --banner-height: 60px; /* Yaklaşık banner yüksekliği */
  --admob-banner-height: var(--banner-height);
  --safe-bottom-ui: calc(var(--safe-area-inset-bottom) + var(--admob-banner-height));
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --ink-strong: #0b2f2d;
  --ink-soft: #33504d;
  --teal-900: #0b3b3c;
  --teal-700: #0f766e;
  --teal-500: #14b8a6;
  --mint-300: #6ee7d5;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-border: rgba(13, 148, 136, 0.12);
  --shadow-soft: 0 18px 45px rgba(15, 118, 110, 0.15);
  --shadow-card: 0 10px 25px rgba(15, 118, 110, 0.12);
  color-scheme: light;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  background: radial-gradient(circle at 12% 18%, rgba(20, 184, 166, 0.16), transparent 45%),
    radial-gradient(circle at 85% 12%, rgba(46, 196, 182, 0.18), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(12, 74, 110, 0.08), transparent 45%),
    linear-gradient(135deg, #f8fffb 0%, #ecfdf3 50%, #e0f7f5 100%);
  color: var(--ink-strong);
  font-family: var(--font-body);
  overscroll-behavior-y: none;
  /* Alt tarafta banner için her zaman güvenli boşluk bırak */
  padding-bottom: calc(var(--safe-area-inset-bottom) + var(--banner-height));
  box-sizing: border-box;
}

#root {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}

.font-display {
  font-family: var(--font-display);
}

.result-shell {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  color: var(--ink-strong);
}

@media (min-width: 1024px) {
  .result-shell {
    background: #f8f9fa;
  }

  .result-topbar {
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  }

  .result-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 48px;
  }

  .result-hero-section {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 32px;
  }

  .result-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
  }

  .result-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 32px;
    transition: all 0.3s ease;
  }

  .result-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
}

.app-shell {
  background: var(--surface-strong);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
}

.welcome-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  .app-shell {
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
}

@media (min-width: 769px) {
  .app-shell {
    border-radius: 28px;
  }
}

@media (min-width: 768px) {
  .download-soon {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  body {
    background: #f8f9fa;
  }

  /* Premium Desktop Header */
  .desktop-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
  }

  .desktop-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .desktop-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
  }

  .desktop-logo-img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
  }

  .desktop-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f766e, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .desktop-nav-links {
    display: flex;
    gap: 32px;
  }

  .desktop-nav-link {
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .desktop-nav-link:hover {
    color: #10b981;
    background: rgba(16, 185, 129, 0.05);
  }

  .desktop-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
  }

  .desktop-lang-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    z-index: 110;
    min-width: 200px;
  }

  /* Store Badges - Premium Style */
  .store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
  }

  .store-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .store-badge:hover::before {
    opacity: 1;
  }

  .store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .store-badge:active {
    transform: translateY(0);
  }

  .store-badge-google {
    background: #000000;
    color: white;
  }

  .store-badge-apple {
    background: #000000;
    color: white;
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
  }

  .store-badge-apple::after {
    content: 'Coming Soon';
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  }

  .store-badge-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  /* Premium Hero Section */
  .desktop-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 48px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
  }

  .desktop-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #0f766e 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .desktop-hero-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 40px;
    max-width: 600px;
  }

  .desktop-hero-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
  }

  .desktop-hero-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
  }

  .desktop-hero-badge-large::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .desktop-hero-badge-large:hover::before {
    opacity: 1;
  }

  .desktop-hero-badge-large:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  }

  .desktop-hero-badge-large svg {
    width: 28px;
    height: 28px;
  }

  .desktop-hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .desktop-hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #059669;
    font-weight: 600;
    font-size: 0.95rem;
  }

  .desktop-hero-feature svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  /* Stats Bar */
  .desktop-stats-bar {
    background: white;
    border-top: 1px solid rgba(13, 148, 136, 0.08);
    border-bottom: 1px solid rgba(13, 148, 136, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  }

  .desktop-stats-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .desktop-stat-card {
    text-align: center;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(255, 255, 255, 0.5));
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
  }

  .desktop-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.15);
  }

  .desktop-stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }

  .desktop-stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: #0f766e;
    margin-bottom: 8px;
  }

  .desktop-stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
  }

  .welcome-grid {
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
  }

  .welcome-grid-split {
    display: none;
  }

  .app-shell {
    background: transparent;
    border: none;
    box-shadow: none;
    max-width: 100%;
  }

  .luxe-title {
    font-size: clamp(2.5rem, 3vw, 3.5rem);
    line-height: 1.1;
  }

  .luxe-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
  }

  .history-card {
    padding: 20px;
    transition: all 0.3s ease;
  }

  .history-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(12, 74, 110, 0.15);
  }

  .history-title {
    font-size: 1rem;
  }

  .how-card {
    gap: 20px;
    padding: 20px;
    transition: all 0.3s ease;
  }

  .how-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(12, 74, 110, 0.12);
  }

  .how-img {
    width: 140px;
    height: 140px;
  }

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

  /* Desktop How It Works Section */
  .desktop-how-section {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 48px;
  }

  .desktop-how-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f766e;
    margin-bottom: 48px;
  }

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

  .desktop-how-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
    text-align: center;
  }

  .desktop-how-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(16, 185, 129, 0.2);
  }

  .desktop-how-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 24px;
  }

  .desktop-how-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 24px;
  }

  .desktop-how-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f766e;
    margin-bottom: 12px;
  }

  .desktop-how-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
  }

  .how-copy {
    padding: 20px;
  }

  .floating-actions {
    display: none !important;
  }

  .floating-actions-spacer {
    padding-bottom: 0;
  }

  /* Premium Footer */
  .site-footer {
    background: linear-gradient(135deg, #0f766e 0%, #059669 100%);
    color: white;
    border-top: none;
    padding: 60px 48px 40px;
    margin-top: 80px;
  }

  .site-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
  }

  .site-footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
  }

  .site-footer-links {
    display: flex;
    gap: 32px;
  }

  .site-footer-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .site-footer-links a:hover {
    color: white;
    transform: translateY(-2px);
  }

  .welcome-hero {
    padding: 60px;
    border-radius: 32px;
    border: 1px solid rgba(13, 148, 136, 0.12);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: 0 25px 50px rgba(12, 74, 110, 0.08);
    display: flex;
    gap: 48px;
    align-items: center;
    margin-bottom: 40px;
  }

  .welcome-hero-copy {
    flex: 1;
    text-align: left;
  }

  .welcome-hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 13px;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 16px;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 24px;
  }

  .welcome-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 3.5vw, 4rem);
    font-weight: 800;
    color: var(--ink-strong);
    margin: 0 0 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .welcome-hero-subtitle {
    color: var(--ink-soft);
    font-size: 1.25rem;
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 600px;
  }

  .welcome-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .store-icon {
    width: 20px;
    height: 20px;
}

  .store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    background: linear-gradient(135deg, #0f766e, #10b981);
    text-decoration: none;
    box-shadow: 0 20px 35px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
  }

  .store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 45px rgba(16, 185, 129, 0.4);
  }

  .store-button-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #0f766e;
    border: 2px solid rgba(15, 118, 110, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    cursor: not-allowed;
  }

  .welcome-hero-card {
    width: 320px;
    border-radius: 28px;
    padding: 32px;
    background: white;
    border: 1px solid rgba(13, 148, 136, 0.15);
    box-shadow: 0 25px 50px rgba(12, 74, 110, 0.12);
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .welcome-hero-chip {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.15);
    color: #0f766e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .welcome-hero-metric {
    font-size: 3rem;
    font-weight: 900;
    color: #0b3b3c;
    margin: 0;
    line-height: 1;
  }

  .welcome-hero-caption {
    font-size: 1rem;
    color: #4b6b68;
    margin: 0;
    line-height: 1.5;
  }

  .welcome-hero-steps {
    display: grid;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f766e;
    margin-top: 8px;
  }

  .welcome-hero-steps div {
    padding: 12px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 12px;
    border-left: 3px solid #10b981;
  }

  /* Desktop Animations */
  @keyframes slideInFromLeft {
    0% {
      opacity: 0;
      transform: translateX(-30px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInFromRight {
    0% {
      opacity: 0;
      transform: translateX(30px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .slide-in-from-left-8 {
    animation: slideInFromLeft 0.6s ease-out;
  }

  .slide-in-from-right-8 {
    animation: slideInFromRight 0.6s ease-out;
  }

  /* Smooth scrollbar for desktop */
  ::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-track {
    background: #f1f5f9;
  }

  ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }

  /* Desktop Navigation Enhancement */
  .glass-pill:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.18);
  }

  /* Desktop Footer */
  .site-footer {
    background: white;
    border-top: 1px solid rgba(13, 148, 136, 0.08);
  }

  .site-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.glass-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--surface-border);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.12);
}

.download-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.12);
  color: #0f766e;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.download-pill:hover {
  box-shadow: 0 10px 18px rgba(15, 118, 110, 0.18);
}

.download-icon {
  width: 14px;
  height: 14px;
}

.download-soon {
  display: none;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(16, 185, 129, 0.25);
  background: rgba(255, 255, 255, 0.7);
  color: #4b6b68;
  font-size: 10px;
  font-weight: 600;
}

.soft-divider {
  border-color: rgba(13, 148, 136, 0.12);
}

.accent-text {
  color: var(--teal-700);
}

.muted-text {
  color: var(--ink-soft);
}

.cta-gradient {
  background: linear-gradient(135deg, #14b8a6 0%, #10b981 45%, #0f766e 100%);
}

.cta-shadow {
  box-shadow: 0 20px 35px rgba(16, 185, 129, 0.28);
}

.result-topbar {
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--surface-border);
  backdrop-filter: blur(16px);
}

.glass-panel {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(20, 184, 166, 0.22), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(16, 185, 129, 0.18), transparent 45%);
  opacity: 0.8;
}

.meta-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.24);
  color: var(--teal-900);
  font-size: 11px;
  font-weight: 600;
}

.confidence-track {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  overflow: hidden;
}

.confidence-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #14b8a6, #2dd4bf, #5eead4);
  box-shadow: 0 0 12px rgba(20, 184, 166, 0.45);
  transition: width 0.5s ease;
}

.details-card summary::-webkit-details-marker {
  display: none;
}

.details-card summary {
  list-style: none;
}

.details-chevron {
  transition: transform 0.3s ease;
}

.details-card[open] .details-chevron {
  transform: rotate(180deg);
}

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

.animate-fade-up {
  animation: fadeUp 0.6s ease both;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

.safe-bottom-10 {
  bottom: calc(var(--safe-bottom-ui) + clamp(10px, 2.5vh, 18px));
}

.floating-actions {
  pointer-events: none;
}

.floating-actions > * {
  pointer-events: auto;
}

.floating-actions-spacer {
  padding-bottom: calc(var(--safe-area-inset-bottom) + clamp(92px, 18vw, 120px));
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: radial-gradient(circle at 20% 15%, rgba(20, 184, 166, 0.25), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.18), transparent 40%),
    linear-gradient(135deg, #f8fffb 0%, #ecfdf3 50%, #e0f7f5 100%);
  opacity: 1;
  transition: opacity 0.4s ease;
}

.splash-exit {
  opacity: 0;
  pointer-events: none;
}

.luxe-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 255, 253, 0.88) 100%);
  border: 1px solid rgba(12, 74, 110, 0.08);
  box-shadow: 0 18px 45px rgba(12, 74, 110, 0.12);
}

.luxe-card-mini {
  background: rgba(255, 255, 255, 0.82);
}

.luxe-title {
  letter-spacing: 0.02em;
}

.luxe-subtitle {
  color: #3f5a56;
}

.luxe-icon-shell {
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.18);
}

.stepper-btn {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(20, 184, 166, 0.2);
  background: rgba(255, 255, 255, 0.85);
  color: #0f766e;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.stepper-btn:hover {
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.18);
}

.stepper-btn:active {
  transform: scale(0.96);
}

.stepper-card {
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.08);
}

.stepper-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.stepper-dot.is-active {
  background: #10b981;
  transform: scale(1.15);
}

.bonus-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(20, 184, 166, 0.2));
  color: #0f766e;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.bonus-cta:hover {
  box-shadow: 0 12px 20px rgba(15, 118, 110, 0.18);
}

.bonus-cta:active {
  transform: scale(0.97);
}

.bonus-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.history-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(246, 254, 252, 0.9));
  border: 1px solid rgba(12, 74, 110, 0.08);
  box-shadow: 0 12px 28px rgba(12, 74, 110, 0.12);
}

.history-icon {
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.18);
}

.history-title {
  letter-spacing: 0.01em;
}

.history-pill {
  padding: 2px 8px;
  border-radius: 999px;
}

.how-card {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.how-card-reverse {
  flex-direction: row-reverse;
}

.how-img {
  width: 96px;
  height: 100%;
  border-radius: 12px 0 0 12px;
  object-fit: cover;
  border-right: 1px solid rgba(12, 74, 110, 0.08);
}

.how-card-reverse .how-img {
  border-radius: 0 12px 12px 0;
  border-right: none;
  border-left: 1px solid rgba(12, 74, 110, 0.08);
}

.how-copy {
  flex: 1;
  min-width: 0;
  padding: 12px 12px 12px 0;
}

@media (min-width: 640px) {
  .how-img {
    width: 110px;
  }

  .how-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .how-grid {
    display: flex;
    flex-direction: column;
  }
}

.site-footer {
  padding: 24px 24px 20px;
  border-top: 1px solid rgba(13, 148, 136, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.site-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.site-footer-brand {
  font-weight: 700;
  color: #0b3b3c;
  font-family: var(--font-display);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #33504d;
}

.site-footer-links a,
.site-footer-links button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.site-footer-links a:hover,
.site-footer-links button:hover {
  color: #0f766e;
}

[dir="rtl"] .how-copy {
  padding: 12px 0 12px 12px;
}

.splash-icon-large {
  width: 140px;
  height: 140px;
  animation: splashFloat 1.8s ease-in-out infinite;
  filter: drop-shadow(0 18px 30px rgba(16, 185, 129, 0.18));
}

.splash-text {
  font-size: 13px;
  font-weight: 600;
  color: #2f4e4a;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  animation: splashFade 1.1s ease both;
  animation-delay: 0.2s;
}

.splash-loader {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.splash-loader span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981, #2dd4bf);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.25);
  animation: splashDot 1s ease-in-out infinite;
}

.splash-loader span:nth-child(2) {
  animation-delay: 0.15s;
}

.splash-loader span:nth-child(3) {
  animation-delay: 0.3s;
}

.splash-orb {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.5;
  animation: splashDrift 3s ease-in-out infinite;
}

.splash-orb-a {
  top: 12%;
  left: 12%;
  background: rgba(16, 185, 129, 0.25);
}

.splash-orb-b {
  bottom: 18%;
  right: 10%;
  background: rgba(20, 184, 166, 0.22);
  animation-delay: 0.6s;
}

.splash-orb-c {
  top: 55%;
  right: 55%;
  background: rgba(59, 130, 246, 0.18);
  animation-delay: 1s;
}

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

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

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

@keyframes splashDot {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* Smooth iOS scrolling */
.smooth-scroll {
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

@media (prefers-reduced-motion: reduce) {
  .splash-icon-large,
  .splash-text,
  .splash-orb,
  .splash-loader span {
    animation: none;
  }
  .splash-screen {
    transition: none;
  }
  .smooth-scroll {
    scroll-behavior: auto;
  }
}

/* -------------------------------------------------------------------------
   NEW RESPONSIVE NAVIGATION & ADSENSE STYLES
   ------------------------------------------------------------------------- */

/* Navigation Container - Adapting to user's provided HTML structure (.desktop-header, etc) */

/* Default Desktop Styles (matches the provided HTML classes) */
.desktop-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(13, 148, 136, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.desktop-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.desktop-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.desktop-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.desktop-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0f766e, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.desktop-nav-links {
  display: flex;
  gap: 32px;
}

.desktop-nav-link {
  color: #374151;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.desktop-nav-link:hover {
  color: #10b981;
  background: rgba(16, 185, 129, 0.05);
}

.desktop-nav-link.active {
  color: #0f766e;
  background: rgba(16, 185, 129, 0.1);
}

.desktop-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Fix for giant icons in static pages: force specific sizing on SVGs inside headers */
.desktop-header svg, 
.desktop-badges svg, 
.store-badge svg {
  width: 24px;
  height: 24px;
}

/* Special size for language selector arrows */
.desktop-badges .glass-pill svg {
  width: 16px;
  height: 16px;
}

/* MOBILE RESPONSIVE STYLES */
@media (max-width: 1023px) {
  .desktop-header-inner {
    padding: 12px 16px;
    height: 70px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .desktop-logo {
    justify-content: flex-start;
    flex: 0 0 auto;
  }

  .desktop-logo-img {
    width: 40px;
    height: 40px;
  }

  .desktop-logo-text {
    font-size: 1.25rem;
  }

  /* Hide desktop navigation on mobile - use mobile menu instead */
  .desktop-nav {
    display: none !important;
  }
}

/* AdSense Placeholder Styles */
.ad-container {
  width: 100%;
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  background-color: transparent;
}

.ad-placeholder {
  width: 100%;
  max-width: 728px;
  height: 90px;
  background-color: #f0fdf4;
  border: 2px dashed #86efac;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #166534;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Responsive Grid for Content Pages */
.page-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 900px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
}

.content-col {
  min-width: 0; /* Prevent overflow */
}

.sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Sidebar Sticky Ad */
.sidebar-ad {
  position: sticky;
  top: 100px;
}
