/*
 * FINCOM 2026 - Neo-Fintech Design System
 * Inspired by: Klarna, MoneyLion, Dave, Revolut
 * Dark mode + Neon accents + Glassmorphism + Bento Grid
 */

/* ============================================
   FONTS - Satoshi (Modern Geometric Sans)
   ============================================ */
@font-face {
  font-family: 'Satoshi';
  src: url('https://cdn.fontshare.com/wf/UNKGC6O7JV7SDRM5L6RWSRB5MBFSZZR3/WZLXHQVCLMEGXWGWLQFBRLTQPZZ4HBXP/EKGV6KHAFP5LFHWNQAHKTJKQZPFMQMN5.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('https://cdn.fontshare.com/wf/UNKGC6O7JV7SDRM5L6RWSRB5MBFSZZR3/U2BXQNPQXYTQB6KWFWXXPVPWVWCXKLFB/Y73QT4KL4HJCMFTBZM56DUHVKZWHQKZE.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('https://cdn.fontshare.com/wf/UNKGC6O7JV7SDRM5L6RWSRB5MBFSZZR3/Y5U7CSLCAUXHCLYZFXUBNWXSYQHFLTFA/ZQLMX6QKRPEZZMCX6ZM4YKBQD7P4SQSN.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('https://cdn.fontshare.com/wf/UNKGC6O7JV7SDRM5L6RWSRB5MBFSZZR3/GXLBLDKBCRBLFK5RGXFNQR22UX4BPFUZ/6CZGNFTEBPX4LQQLK4BJSMWQFBMYV76T.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   CSS VARIABLES - 2026 Neo-Fintech Palette
   ============================================ */
:root {
  /* Core Dark Theme */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a24;
  --bg-card: rgba(26, 26, 36, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);
  --text-inverse: #0a0a0f;
  
  /* Neon Accents */
  --accent-cyan: #00f5d4;
  --accent-cyan-glow: rgba(0, 245, 212, 0.4);
  --accent-magenta: #f72585;
  --accent-magenta-glow: rgba(247, 37, 133, 0.4);
  --accent-purple: #7b2cbf;
  --accent-yellow: #fee440;
  --accent-lime: #9ef01a;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-magenta) 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(0, 245, 212, 0.1) 0%, rgba(247, 37, 133, 0.1) 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(0, 245, 212, 0.15) 0%, transparent 70%);
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 245, 212, 0.3);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  --border-radius-full: 9999px;
  
  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow-cyan: 0 0 40px var(--accent-cyan-glow);
  --shadow-glow-magenta: 0 0 40px var(--accent-magenta-glow);
  
  /* Spacing - tighter for professional look */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 20px;
  --space-xl: 28px;
  --space-2xl: 40px;
  --space-3xl: 56px;
  --space-4xl: 72px;
  
  /* Typography */
  --font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% -20%, rgba(0, 245, 212, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(247, 37, 133, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

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

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

/* ============================================
   LAYOUT - Container
   ============================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
}

/* ============================================
   HEADER - Floating Glass Navigation
   ============================================ */
.header-2026 {
  position: fixed;
  top: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - var(--space-xl) * 2);
  max-width: 1360px;
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-full);
  transition: all var(--transition-base);
}

.header-2026.scrolled {
  background: rgba(10, 10, 15, 0.9);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
}

.header-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Mobile menu toggle - always visible */
.menu-toggle {
  display: block;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all var(--transition-fast);
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }

.menu-toggle.active span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

/* Header nav - always hidden, opens via hamburger */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 1000;
}

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

.header-nav a {
  font-size: 1.75rem;
  font-weight: 600;
  padding: var(--space-md) var(--space-xl);
  color: var(--text-primary);
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--accent-cyan);
  background: transparent;
}

/* ============================================
   BUTTONS - Neo-Fintech Style
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

/* Primary Button - Gradient */
.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    var(--shadow-glow-cyan),
    var(--shadow-md);
}

/* Secondary Button - Glass */
.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--accent-cyan);
  padding: var(--space-sm) var(--space-md);
}

.btn-ghost:hover {
  background: var(--bg-glass);
}

/* Large Button */
.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.125rem;
}

/* Icon Button */
.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--border-radius-md);
}

/* ============================================
   HERO SECTION - 2026 Style
   ============================================ */
.hero-2026 {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 120px 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.hero-2026::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-cyan-glow) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}

.hero-2026::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-magenta-glow) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.4;
  animation: float 10s ease-in-out infinite reverse;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--gradient-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--border-radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

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

.stat-value {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

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

/* Hero Calculator Card */
.hero-calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(20px);
  position: relative;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-calc-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--gradient-primary);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.hero-calc-card:hover::before {
  opacity: 0.1;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
}

/* ============================================
   CALCULATOR WIDGET - 2026 Style
   ============================================ */
.calc-2026 {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.calc-header {
  text-align: center;
}

.calc-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

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

.calc-amount-display {
  text-align: center;
  padding: var(--space-md) 0;
}

.calc-amount-value {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.calc-amount-currency {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: var(--space-sm);
}

/* Custom Range Slider */
.calc-slider-wrap {
  padding: 0 var(--space-sm);
}

.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-full);
  outline: none;
  position: relative;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  background: var(--gradient-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-glow-cyan);
  transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  background: var(--gradient-primary);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-glow-cyan);
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Quick Amount Buttons */
.calc-quick-amounts {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.quick-amount-btn {
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-full);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-amount-btn:hover,
.quick-amount-btn.active {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
  color: var(--accent-cyan);
}

.calc-submit {
  margin-top: var(--space-md);
}

.calc-submit .btn {
  width: 100%;
  padding: var(--space-lg);
  font-size: 1.125rem;
}

.calc-terms {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
}

.calc-terms a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Ion Range Slider Overrides */
.irs--round {
  height: 50px;
}

.irs--round .irs-bar {
  background: var(--gradient-primary);
  height: 8px;
  top: 25px;
}

.irs--round .irs-line {
  background: var(--bg-tertiary);
  height: 8px;
  top: 25px;
  border-radius: var(--border-radius-full);
}

.irs--round .irs-handle {
  width: 32px;
  height: 32px;
  top: 17px;
  background: var(--gradient-primary);
  border: 4px solid var(--bg-primary);
  box-shadow: var(--shadow-glow-cyan);
  cursor: pointer;
  border-radius: 50%;
}

.irs--round .irs-handle:hover {
  transform: scale(1.1);
}

.irs--round .irs-min,
.irs--round .irs-max,
.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single {
  display: none;
}

/* ============================================
   BENTO GRID - Feature Cards
   ============================================ */
.bento-section {
  padding: var(--space-2xl) 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-sm);
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.bento-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

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

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

/* Card sizes */
.bento-card.span-2 {
  grid-column: span 2;
}

.bento-card.span-3 {
  grid-column: span 3;
}

.bento-card.span-full {
  grid-column: 1 / -1;
}

.bento-card-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-subtle);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.bento-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.bento-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Feature Card with illustration */
.bento-card.featured {
  background: var(--gradient-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card.featured .bento-card-icon {
  background: var(--gradient-primary);
  color: var(--text-inverse);
}

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-card.span-3 {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-card.span-2,
  .bento-card.span-3 {
    grid-column: span 1;
  }
}

/* ============================================
   STEPS SECTION - How it Works
   ============================================ */
.steps-section {
  padding: var(--space-2xl) 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--text-secondary);
}

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

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0.3;
}

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

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.step-card:hover .step-number {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .steps-grid::before {
    display: none;
  }
}

/* ============================================
   OFFERS SECTION - Credit Cards
   ============================================ */
.offers-section {
  padding: var(--space-xl) 0 var(--space-2xl);
}

/* Offers Grid - Clean 3-column layout */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 1200px) {
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .offers-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* Offer Card - Large Logo Design */
.offer-card-2026 {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: all var(--transition-base);
  position: relative;
}

.offer-card-2026:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.offer-card-2026.hot::before {
  content: 'ТОП';
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: 4px 10px;
  background: var(--gradient-primary);
  color: var(--text-inverse);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  z-index: 1;
}

/* Large Logo - Full Width */
.offer-logo-large {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  transition: all var(--transition-fast);
}

.offer-logo-large:hover {
  background: #ffffff;
}

.offer-logo-large img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 48px;
  object-fit: contain;
}

/* Rating Row */
.offer-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
}

.offer-rating-row .stars {
  display: flex;
  gap: 2px;
  color: var(--accent-yellow);
}

.offer-rating-row .rating-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Details Grid - Compact */
.offer-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.offer-detail-item {
  text-align: center;
}

.offer-detail-item .label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.offer-detail-item .value {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* CTA Button */
.offer-cta {
  width: 100%;
  text-align: center;
  padding: var(--space-md) !important;
  font-size: 0.95rem;
}

/* Legal Links */
.offer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.7rem;
}

.offer-legal a {
  color: var(--text-muted);
}

.offer-legal a:hover {
  color: var(--accent-cyan);
}

.offer-legal span {
  color: var(--text-muted);
  opacity: 0.5;
}

/* ============================================
   REVIEWS SECTION - Testimonials
   ============================================ */
.reviews-section {
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.reviews-slider {
  position: relative;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  margin: 0 var(--space-xs);
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-inverse);
  overflow: hidden;
  flex-shrink: 0;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.review-author .rating {
  display: flex;
  gap: 2px;
  color: var(--accent-yellow);
}

.review-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Slider arrows */
.slider-arrows {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.slider-arrow {
  width: 48px;
  height: 48px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-primary);
}

.slider-arrow:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ============================================
   FAQ SECTION - Accordion
   ============================================ */
.faq-section {
  padding: var(--space-2xl) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-2xl);
  align-items: start;
}

.faq-intro h2 {
  margin-bottom: var(--space-md);
}

.faq-intro p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.accordion-2026 {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.accordion-item-2026 {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: all var(--transition-base);
}

.accordion-item-2026:hover {
  border-color: var(--border-accent);
}

.accordion-item-2026.active {
  border-color: var(--accent-cyan);
}

.accordion-header-2026 {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.accordion-header-2026:hover {
  background: var(--bg-glass);
}

.accordion-header-2026 h3 {
  font-size: 1rem;
  font-weight: 500;
}

.accordion-icon {
  width: 32px;
  height: 32px;
  background: var(--bg-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.accordion-item-2026.active .accordion-icon {
  transform: rotate(45deg);
  background: var(--gradient-primary);
  color: var(--text-inverse);
}

.accordion-content-2026 {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.accordion-item-2026.active .accordion-content-2026 {
  max-height: 500px;
}

.accordion-body {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}


/* ============================================
   SEO LINKS - Keywords
   ============================================ */
.seo-links-section {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border-subtle);
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
}

.seo-links a {
  padding: 6px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.seo-links a:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
  color: var(--accent-cyan);
}

/* ============================================
   FOOTER - 2026 Style
   ============================================ */
.footer-2026 {
  padding: var(--space-2xl) 0 var(--space-lg);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

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

.footer-column h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-column a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}

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

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ============================================
   REGISTRATION PAGE - 2026 Style
   ============================================ */
.reg-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl) var(--space-lg);
  position: relative;
}

.reg-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-cyan-glow) 0%, transparent 60%);
  filter: blur(100px);
  opacity: 0.3;
}

.reg-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-xl);
  padding: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.reg-card h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  text-align: center;
}

.reg-card .subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-cyan-glow);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.input-with-icon {
  position: relative;
}

.input-with-icon .icon {
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-with-icon .form-input {
  padding-left: calc(var(--space-md) + 32px);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-cyan);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-checkbox a {
  color: var(--accent-cyan);
}

.reg-submit {
  margin-top: var(--space-xl);
}

.reg-submit .btn {
  width: 100%;
}

/* IVR Verification Card */
.ivr-card {
  text-align: center;
}

.ivr-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 var(--accent-cyan-glow); }
  70% { box-shadow: 0 0 0 20px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.ivr-timer {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: var(--space-lg) 0;
}

.ivr-progress {
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-full);
  overflow: hidden;
  margin-top: var(--space-lg);
}

.ivr-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  animation: progress 60s linear forwards;
}

@keyframes progress {
  from { width: 100%; }
  to { width: 0%; }
}

/* ============================================
   CREDITS PAGE - Listing
   ============================================ */
.credits-hero {
  padding: 100px 0 var(--space-lg);
}

.credits-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 700px;
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb .active a {
  color: var(--accent-cyan);
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: var(--space-sm);
  color: var(--text-muted);
}

/* Filters */
.filters-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.filter-item label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.filter-select {
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.875rem;
  cursor: pointer;
}

.filter-select:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

/* Offer placeholders (loading skeleton) */
.offer-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

.skel {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-glass-hover) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--border-radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skel-logo {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-lg);
}

.skel-text {
  height: 20px;
  margin-bottom: var(--space-md);
}

.skel-button {
  height: 48px;
  border-radius: var(--border-radius-full);
}

/* ============================================
   SEO TEXT SECTION
   ============================================ */
.seo-text-section {
  padding: var(--space-xl) 0;
}

.seo-text {
  max-width: 800px;
  margin: 0 auto;
}

.seo-text h1,
.seo-text h2,
.seo-text h3,
.seo-text h4 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.seo-text h1:first-child {
  margin-top: 0;
}

.seo-text p {
  margin-bottom: var(--space-md);
}

.seo-text ol,
.seo-text ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
  color: var(--text-secondary);
}

.seo-text li {
  margin-bottom: var(--space-sm);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.hidden { display: none; }

.no-scroll { overflow: hidden; }

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
  .hero-2026 {
    padding: 90px 0 var(--space-xl);
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-md);
  }
  
  .stat-item {
    flex: 1;
    min-width: 90px;
    text-align: center;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .steps-grid::before {
    display: none;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .faq-intro {
    text-align: center;
  }
}

/* ============================================
   ANIMATIONS - Page Load
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-delay-1 { animation-delay: 0.1s; animation-fill-mode: both; }
.animate-delay-2 { animation-delay: 0.2s; animation-fill-mode: both; }
.animate-delay-3 { animation-delay: 0.3s; animation-fill-mode: both; }
.animate-delay-4 { animation-delay: 0.4s; animation-fill-mode: both; }

/* ============================================
   SLICK SLIDER OVERRIDES
   ============================================ */
.slick-track {
  display: flex;
  gap: 0;
}

.slick-slide {
  height: auto;
}

.slick-slide > div {
  height: 100%;
}

.slick-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  list-style: none;
}

.slick-dots li button {
  width: 8px;
  height: 8px;
  background: var(--bg-tertiary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0;
  transition: all var(--transition-fast);
}

.slick-dots li.slick-active button {
  background: var(--accent-cyan);
  width: 24px;
  border-radius: var(--border-radius-full);
}

