/* =============================================================================
   GammaBank — CSS Custom Properties
   Single source of truth for the entire design system.
   ============================================================================= */

:root {

  /* ---------------------------------------------------------------------------
     COLOR — Background & Surfaces
     Deep navy base. Layers of elevation through lightness.
     --------------------------------------------------------------------------- */

  --color-bg:        #0B1120;   /* page background — deepest */
  --color-surface:   #111827;   /* nav, footer, elevated areas */
  --color-surface-2: #1A2438;   /* cards, FAQ items */
  --color-surface-3: #1E2D44;   /* hover states, selected */
  --color-security:  #0E1829;   /* security section — darkest for contrast */

  /* ---------------------------------------------------------------------------
     COLOR — Borders
     --------------------------------------------------------------------------- */

  --color-border:        rgba(255, 255, 255, 0.06);
  --color-border-medium: rgba(255, 255, 255, 0.12);
  --color-border-strong: rgba(255, 255, 255, 0.20);

  /* ---------------------------------------------------------------------------
     COLOR — Text
     --------------------------------------------------------------------------- */

  --color-text:           #F1F5F9;   /* primary — high contrast */
  --color-text-secondary: #94A3B8;   /* secondary — medium contrast */
  --color-text-muted:     #64748B;   /* muted — low emphasis */
  --color-text-inverse:   #0B1120;   /* on light backgrounds */

  /* ---------------------------------------------------------------------------
     COLOR — Brand / Primary Action
     Trust-oriented blue. Not Telegram's cyan, not neon.
     --------------------------------------------------------------------------- */

  --color-primary:        #4A90E2;
  --color-primary-hover:  #3A7DC8;
  --color-primary-active: #2E6BAD;
  --color-primary-subtle: rgba(74, 144, 226, 0.12);
  --color-primary-glow:   rgba(74, 144, 226, 0.20);

  /* ---------------------------------------------------------------------------
     COLOR — Status
     --------------------------------------------------------------------------- */

  --color-success:        #10B981;
  --color-success-subtle: rgba(16, 185, 129, 0.12);
  --color-warning:        #F59E0B;
  --color-warning-subtle: rgba(245, 158, 11, 0.12);
  --color-error:          #EF4444;
  --color-error-subtle:   rgba(239, 68, 68, 0.12);

  /* ---------------------------------------------------------------------------
     TYPOGRAPHY — Font Stack
     System fonts first → performance, no FOUT, native feel in Telegram WebView.
     --------------------------------------------------------------------------- */

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter',
               'Helvetica Neue', Arial, sans-serif;

  /* ---------------------------------------------------------------------------
     TYPOGRAPHY — Scale (rem, 16px base)
     --------------------------------------------------------------------------- */

  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */

  /* ---------------------------------------------------------------------------
     TYPOGRAPHY — Line Heights
     --------------------------------------------------------------------------- */

  --leading-tight:   1.25;
  --leading-snug:    1.375;
  --leading-normal:  1.5;
  --leading-relaxed: 1.625;
  --leading-loose:   1.75;

  /* ---------------------------------------------------------------------------
     TYPOGRAPHY — Font Weights
     --------------------------------------------------------------------------- */

  --weight-normal:   400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* ---------------------------------------------------------------------------
     SPACING — 4px base unit scale
     --------------------------------------------------------------------------- */

  --space-1:  0.25rem;   /*  4px */
  --space-2:  0.5rem;    /*  8px */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-5:  1.25rem;   /* 20px */
  --space-6:  1.5rem;    /* 24px */
  --space-8:  2rem;      /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-14: 3.5rem;    /* 56px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */
  --space-32: 8rem;      /* 128px */

  /* ---------------------------------------------------------------------------
     LAYOUT
     --------------------------------------------------------------------------- */

  --container-max:     1200px;
  --container-padding: var(--space-4);   /* 16px mobile */
  --content-max:       720px;            /* text-heavy sections */

  --section-y:         var(--space-16);  /* 64px mobile */
  --section-y-lg:      var(--space-20);  /* 80px desktop */

  --header-height:     64px;

  /* ---------------------------------------------------------------------------
     BORDERS & RADIUS
     --------------------------------------------------------------------------- */

  --radius-xs: 0.25rem;    /*  4px */
  --radius-sm: 0.375rem;   /*  6px */
  --radius-md: 0.5rem;     /*  8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* ---------------------------------------------------------------------------
     SHADOWS
     --------------------------------------------------------------------------- */

  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md:  0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg:  0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(74, 144, 226, 0.15);

  /* ---------------------------------------------------------------------------
     TRANSITIONS
     --------------------------------------------------------------------------- */

  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   400ms ease;

  /* ---------------------------------------------------------------------------
     Z-INDEX SCALE
     --------------------------------------------------------------------------- */

  --z-below:       -1;
  --z-base:         0;
  --z-raised:      10;
  --z-dropdown:    50;
  --z-header:     100;
  --z-overlay:    150;
  --z-mobile-menu: 200;
  --z-toast:      300;

  /* ---------------------------------------------------------------------------
     FOCUS — Accessibility
     --------------------------------------------------------------------------- */

  --focus-ring: 0 0 0 3px rgba(74, 144, 226, 0.50);
  --focus-ring-offset: 2px;
}
/* =============================================================================
   GammaBank — Base Reset & Defaults
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Box model
   --------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ---------------------------------------------------------------------------
   Document
   --------------------------------------------------------------------------- */

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  /* Prevent layout shift from scrollbar appearing */
  scrollbar-gutter: stable;
}

/* ---------------------------------------------------------------------------
   Body
   --------------------------------------------------------------------------- */

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  background-color: var(--color-bg);

  /* Telegram WebView tap highlight */
  -webkit-tap-highlight-color: transparent;

  /* Smooth text rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Minimum readable width */
  min-width: 320px;
}

/* ---------------------------------------------------------------------------
   Typography elements
   --------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-text);
}

p {
  max-width: 70ch;
}

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

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

/* ---------------------------------------------------------------------------
   Lists
   --------------------------------------------------------------------------- */

ul, ol {
  list-style: none;
}

/* ---------------------------------------------------------------------------
   Media
   --------------------------------------------------------------------------- */

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

/* ---------------------------------------------------------------------------
   Form elements baseline
   --------------------------------------------------------------------------- */

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------------------------------------------------------------------------
   Focus states — accessibility
   Keep visible for keyboard users. Remove default only to replace.
   --------------------------------------------------------------------------- */

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

/* Remove focus ring for mouse/touch — only show for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* ---------------------------------------------------------------------------
   Selection
   --------------------------------------------------------------------------- */

::selection {
  background-color: var(--color-primary-subtle);
  color: var(--color-text);
}

/* ---------------------------------------------------------------------------
   Scrollbar (Chromium / WebKit)
   Subtle, consistent with dark theme.
   --------------------------------------------------------------------------- */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border-strong);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

/* ---------------------------------------------------------------------------
   Reduced motion
   Respect system preference. All transitions should be disabled here.
   --------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------------------
   Print
   --------------------------------------------------------------------------- */

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .site-footer,
  .mobile-menu,
  .lang-dropdown,
  .btn {
    display: none;
  }
}
/* =============================================================================
   GammaBank — Typography System
   Mobile-first. Scale increases at md (768px) and lg (1024px).
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Heading scale — mobile first
   H1 biggest visual element on page. Never below 1.875rem (30px) on mobile.
   --------------------------------------------------------------------------- */

h1, .h1 {
  font-size: var(--text-3xl);       /* 30px mobile */
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h2, .h2 {
  font-size: var(--text-2xl);       /* 24px mobile */
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h3, .h3 {
  font-size: var(--text-xl);        /* 20px mobile */
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--color-text);
}

h4, .h4 {
  font-size: var(--text-lg);        /* 18px */
  font-weight: var(--weight-semibold);
  line-height: var(--leading-normal);
  color: var(--color-text);
}

h5, .h5 {
  font-size: var(--text-base);      /* 16px */
  font-weight: var(--weight-semibold);
  line-height: var(--leading-normal);
  color: var(--color-text);
}

h6, .h6 {
  font-size: var(--text-sm);        /* 14px */
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Desktop scale — grows at md breakpoint */
@media (min-width: 768px) {
  h1, .h1 { font-size: var(--text-4xl); }    /* 36px */
  h2, .h2 { font-size: var(--text-3xl); }    /* 30px */
  h3, .h3 { font-size: var(--text-2xl); }    /* 24px */
}

@media (min-width: 1024px) {
  h1, .h1 { font-size: var(--text-5xl); }    /* 48px */
  h2, .h2 { font-size: var(--text-4xl); }    /* 36px */
}

/* ---------------------------------------------------------------------------
   Body text
   --------------------------------------------------------------------------- */

.text-lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

@media (min-width: 768px) {
  .text-lead {
    font-size: var(--text-xl);
  }
}

.text-body {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
}

.text-small {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-text-secondary);
}

.text-xs {
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
  color: var(--color-text-muted);
}

/* ---------------------------------------------------------------------------
   Section typography — reusable heading patterns
   --------------------------------------------------------------------------- */

.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  max-width: none;
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: var(--text-4xl);
  }
}

.section-title--light {
  color: var(--color-text);
}

.section-subtitle {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: 56ch;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: var(--text-lg);
  }
}

.section-subtitle--light {
  color: rgba(241, 245, 249, 0.75);
}

/* ---------------------------------------------------------------------------
   Hero typography
   --------------------------------------------------------------------------- */

.hero__h1 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  max-width: 16ch;
}

@media (min-width: 480px) {
  .hero__h1 {
    font-size: var(--text-4xl);
  }
}

@media (min-width: 768px) {
  .hero__h1 {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 1024px) {
  .hero__h1 {
    font-size: var(--text-5xl);
    line-height: var(--leading-snug);
    max-width: 16ch;
  }
}

.hero__subtitle {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: 52ch;
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .hero__subtitle {
    margin-bottom: var(--space-8);
  }
}

/* ---------------------------------------------------------------------------
   Trust line / CTA note
   --------------------------------------------------------------------------- */

.trust-block {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-4);
  line-height: var(--leading-normal);
}

.trust-block__item {
  display: inline;
}

.trust-block__sep {
  margin: 0 var(--space-2);
  color: var(--color-text-muted);
}

.cta-note {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-3);
  line-height: var(--leading-normal);
}

/* ---------------------------------------------------------------------------
   SEO content block
   Editorial style — readable, subdued, premium feel.
   --------------------------------------------------------------------------- */

.seo-content__inner {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
}

.seo-content__h2 {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.seo-content__p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: none;
  margin-bottom: var(--space-2);
}

.seo-content__p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
   Disclaimer / legal text
   --------------------------------------------------------------------------- */

.site-footer__disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 80ch;
}
/* =============================================================================
   GammaBank — Layout System
   Container, sections, grids, homepage block spacing.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Container
   --------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: var(--space-8);
  }
}

/* ---------------------------------------------------------------------------
   Section — base wrapper
   All homepage sections use this pattern.
   --------------------------------------------------------------------------- */

section {
  padding-block: var(--section-y);
}

@media (min-width: 1024px) {
  section {
    padding-block: var(--section-y-lg);
  }
}

/* ---------------------------------------------------------------------------
   Hero section
   --------------------------------------------------------------------------- */

.hero {
  padding-top: calc(var(--header-height) + var(--space-12));
  padding-bottom: var(--space-16);
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 55% at 78% 38%,
    rgba(74, 144, 226, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: calc(var(--header-height) + var(--space-20));
    padding-bottom: var(--space-24);
  }
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-10);
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-16);
  }
}

.hero__content {
  flex: 1;
  max-width: 600px;
}

.hero__visual {
  flex: 0 0 auto;
  width: 100%;
  max-width: 380px;
}

@media (min-width: 1024px) {
  .hero__visual {
    width: 340px;
  }
}

.hero__visual-placeholder {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  background: var(--color-surface-2);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border-medium);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }
}

/* ---------------------------------------------------------------------------
   How It Works
   --------------------------------------------------------------------------- */

.how-it-works {
  background-color: var(--color-surface);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    gap: var(--space-6);
    margin-top: var(--space-10);
  }
}

.steps__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-4);
  flex: 1;
  position: relative;
}

@media (min-width: 768px) {
  .steps__item {
    flex-direction: column;
    gap: var(--space-3);
  }

  .steps__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 44px;
    right: 0;
    height: 1px;
    background: linear-gradient(
      to right,
      var(--color-border-medium),
      var(--color-border)
    );
  }
}

.steps__number {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
}

.steps__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.steps__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ---------------------------------------------------------------------------
   Features section
   --------------------------------------------------------------------------- */

.features {
  background-color: var(--color-bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

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

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-10);
  }
}

/* ---------------------------------------------------------------------------
   Security section
   --------------------------------------------------------------------------- */

.security {
  background-color: var(--color-security);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.security__header {
  text-align: center;
  max-width: var(--content-max);
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

@media (min-width: 1024px) {
  .security__header {
    margin-bottom: var(--space-14);
  }
}

.security-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .security-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

.security-trust-note {
  text-align: center;
  font-size: var(--text-sm);
  color: rgba(148, 163, 184, 0.8);
  max-width: 56ch;
  margin-inline: auto;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-8);
}

/* ---------------------------------------------------------------------------
   Pricing / Fee section
   --------------------------------------------------------------------------- */

.pricing {
  background-color: var(--color-bg);
}

/* ---------------------------------------------------------------------------
   FAQ section
   --------------------------------------------------------------------------- */

.faq {
  background-color: var(--color-bg);
}

.faq-list {
  margin-top: var(--space-8);
  max-width: 720px;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .faq-list {
    margin-top: var(--space-10);
  }
}

/* ---------------------------------------------------------------------------
   Bottom CTA section
   --------------------------------------------------------------------------- */

.cta-bottom {
  background-color: var(--color-bg);
}

.cta-bottom__block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-2xl);
  padding: var(--space-8) var(--space-6);
  box-shadow: 0 0 40px rgba(74, 144, 226, 0.06);
  align-items: center;
}

@media (min-width: 768px) {
  .cta-bottom__block {
    grid-template-columns: 1fr auto;
    gap: var(--space-12);
    padding: var(--space-10) var(--space-10);
  }
}

.cta-bottom__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cta-bottom__headline {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: var(--leading-snug);
}

@media (min-width: 768px) {
  .cta-bottom__headline {
    font-size: var(--text-3xl);
  }
}

.cta-bottom__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 52ch;
}

.cta-bottom__action {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .cta-bottom__action .btn {
    width: 100%;
  }
}

/* ---------------------------------------------------------------------------
   SEO content
   --------------------------------------------------------------------------- */

.seo-content {
  background-color: var(--color-bg);
  padding-top: var(--space-6);
  padding-bottom: var(--space-10);
}

/* ---------------------------------------------------------------------------
   Skip link
   --------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: var(--z-toast);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-md);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-2);
}
/* =============================================================================
   GammaBank — Utility Classes
   Accessibility, visibility helpers, text, spacing, state.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Skip link — keyboard / screen-reader navigation
   --------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: calc(var(--z-header) + 10);

  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  height: 40px;

  background-color: var(--color-primary);
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  border-radius: var(--radius-md);
  white-space: nowrap;

  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

/* ---------------------------------------------------------------------------
   Screen reader only — visually hidden but accessible
   --------------------------------------------------------------------------- */

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

/* Make sr-only elements focusable when needed */
.sr-only-focusable:not(:focus):not(:focus-within) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------------------
   Visibility helpers
   --------------------------------------------------------------------------- */

.hidden {
  display: none !important;
}

.invisible {
  visibility: hidden;
}

/* Show only on mobile / desktop */
.show-mobile {
  display: block;
}

.show-desktop {
  display: none;
}

@media (min-width: 768px) {
  .show-mobile {
    display: none;
  }

  .show-desktop {
    display: block;
  }
}

/* ---------------------------------------------------------------------------
   Text utilities
   --------------------------------------------------------------------------- */

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.text-primary   { color: var(--color-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted     { color: var(--color-text-muted); }
.text-success   { color: var(--color-success); }
.text-warning   { color: var(--color-warning); }
.text-error     { color: var(--color-error); }

.text-xs   { font-size: var(--text-xs); }
.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg   { font-size: var(--text-lg); }

.font-medium   { font-weight: var(--weight-medium); }
.font-semibold { font-weight: var(--weight-semibold); }
.font-bold     { font-weight: var(--weight-bold); }

.leading-tight   { line-height: var(--leading-tight); }
.leading-snug    { line-height: var(--leading-snug); }
.leading-normal  { line-height: var(--leading-normal); }
.leading-relaxed { line-height: var(--leading-relaxed); }

/* Truncate overflow text */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   Spacing helpers
   --------------------------------------------------------------------------- */

.mt-0  { margin-top: 0; }
.mt-2  { margin-top: var(--space-2); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.mb-0  { margin-bottom: 0; }
.mb-2  { margin-bottom: var(--space-2); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }

.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* ---------------------------------------------------------------------------
   Flex helpers
   --------------------------------------------------------------------------- */

.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.flex-1       { flex: 1; }
.flex-none    { flex: none; }

/* ---------------------------------------------------------------------------
   Divider
   --------------------------------------------------------------------------- */

.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: var(--space-6);
}

/* ---------------------------------------------------------------------------
   Badge / status indicator
   --------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  line-height: 1.4;
  white-space: nowrap;
}

.badge--success {
  background-color: rgba(16, 185, 129, 0.12);
  color: var(--color-success);
}

.badge--warning {
  background-color: rgba(245, 158, 11, 0.12);
  color: var(--color-warning);
}

.badge--primary {
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
}

/* Dot indicator */
.badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: currentColor;
  flex: 0 0 auto;
}

/* ---------------------------------------------------------------------------
   Focus ring — shared
   Applied to interactive elements that don't have a custom focus style
   --------------------------------------------------------------------------- */

.focus-ring:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ---------------------------------------------------------------------------
   Overlay backdrop — shared between modals and mobile menu
   --------------------------------------------------------------------------- */

.overlay-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background-color: rgba(0, 0, 0, 0.60);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ---------------------------------------------------------------------------
   Loading spinner — for async states
   --------------------------------------------------------------------------- */

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border-medium);
  border-top-color: var(--color-primary);
  border-radius: var(--radius-full);
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------------------------------------------------------------------------
   Monospace — for amounts, addresses, codes
   --------------------------------------------------------------------------- */

.mono {
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono',
               'Courier New', Courier, monospace;
  font-size: 0.9em;
  letter-spacing: 0.01em;
}

/* ---------------------------------------------------------------------------
   Max-width containers (content prose)
   --------------------------------------------------------------------------- */

.prose {
  max-width: 65ch;
}

.prose-wide {
  max-width: 80ch;
}
/* =============================================================================
   GammaBank — Button System
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Base button
   All buttons inherit these properties.
   --------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);

  padding: var(--space-3) var(--space-6);
  height: 48px;

  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;

  border: 1px solid transparent;
  border-radius: var(--radius-lg);

  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);

  /* Minimum touch target — 44px iOS guideline */
  min-height: 44px;

  /* Prevent text selection on rapid clicks */
  user-select: none;
}

/* Remove default focus outline — replaced with :focus-visible */
.btn:focus {
  outline: none;
}

.btn:focus-visible {
  box-shadow: var(--focus-ring);
}

/* Active press state — subtle scale */
.btn:active {
  transform: scale(0.98);
}

/* ---------------------------------------------------------------------------
   Primary button — main conversion action
   --------------------------------------------------------------------------- */

.btn--primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: var(--shadow-glow);
  color: #ffffff;
}

.btn--primary:active {
  background-color: var(--color-primary-active);
  border-color: var(--color-primary-active);
  box-shadow: none;
}

/* ---------------------------------------------------------------------------
   Secondary button — outlined, less prominent
   --------------------------------------------------------------------------- */

.btn--secondary {
  background-color: transparent;
  color: var(--color-text-secondary);
  border-color: var(--color-border-medium);
}

.btn--secondary:hover {
  background-color: var(--color-surface-2);
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

/* ---------------------------------------------------------------------------
   Ghost button — minimal, for low-priority actions
   --------------------------------------------------------------------------- */

.btn--ghost {
  background-color: transparent;
  color: var(--color-primary);
  border-color: transparent;
  padding-inline: var(--space-3);
}

.btn--ghost:hover {
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
}

/* ---------------------------------------------------------------------------
   Size variants
   --------------------------------------------------------------------------- */

/* Small — header, compact contexts */
.btn--sm {
  height: 36px;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

/* Large — hero, prominent CTAs */
.btn--lg {
  height: 56px;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

/* Full width — mobile, card CTAs */
.btn--full {
  width: 100%;
}

/* ---------------------------------------------------------------------------
   Telegram button variant
   Subtle Telegram-native feel.
   --------------------------------------------------------------------------- */

.btn--telegram {
  background-color: #2AABEE;
  color: #ffffff;
  border-color: #2AABEE;
}

.btn--telegram:hover {
  background-color: #1e9ed6;
  border-color: #1e9ed6;
  color: #ffffff;
}

/* ---------------------------------------------------------------------------
   Disabled state
   --------------------------------------------------------------------------- */

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* =============================================================================
   GammaBank — Card Components
   Feature cards, security pillars, pricing card, steps.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Feature card
   --------------------------------------------------------------------------- */

.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background-color: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition:
    border-color var(--transition-normal),
    background-color var(--transition-normal);
}

.feature-card:hover {
  border-color: var(--color-border-medium);
  background-color: var(--color-surface-3);
}

.feature-grid .feature-card:first-child {
  border-color: var(--color-border-medium);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-subtle);
  border-radius: var(--radius-lg);
  flex: 0 0 auto;
  color: var(--color-primary);
}

.feature-card [data-lucide] {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  stroke: currentColor;
  fill: none;
}

.feature-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.feature-card__title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  line-height: var(--leading-snug);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: none;
}

/* ---------------------------------------------------------------------------
   Security pillar card
   --------------------------------------------------------------------------- */

.security-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding: var(--space-6);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.security-pillar__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  flex: 0 0 auto;
}

.security-pillar [data-lucide] {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
  stroke: currentColor;
  fill: none;
}

.security-pillar__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.security-pillar__title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

.security-pillar__desc {
  font-size: var(--text-sm);
  color: rgba(148, 163, 184, 0.85);
  line-height: var(--leading-relaxed);
  max-width: none;
}

/* ---------------------------------------------------------------------------
   Pricing block — horizontal fintech layout
   --------------------------------------------------------------------------- */

.pricing-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-2xl);
  padding: var(--space-8) var(--space-6);
  box-shadow: 0 0 40px rgba(74, 144, 226, 0.06);
}

@media (min-width: 768px) {
  .pricing-block {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
  }
}

.pricing-block__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .pricing-block__left {
    padding: var(--space-12) var(--space-10);
    border-right: 1px solid var(--color-border);
  }
}

.pricing-block__fee {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.pricing-block__amount {
  font-size: var(--text-6xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-block__currency {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  opacity: 0.8;
  line-height: 1;
}

.pricing-block__per {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: calc(var(--space-1) * -1);
}

.pricing-block__title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin-top: var(--space-4);
  line-height: var(--leading-snug);
}

@media (min-width: 768px) {
  .pricing-block__title {
    font-size: var(--text-3xl);
  }
}

.pricing-block__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.pricing-block__right {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  justify-content: center;
}

@media (min-width: 768px) {
  .pricing-block__right {
    padding: var(--space-12) var(--space-10);
  }
}

.pricing-block__included {
  display: flex;
  flex-direction: column;
}

.pricing-block__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.pricing-block__item:first-child {
  border-top: 1px solid var(--color-border);
}

.pricing-block__check {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
  stroke: var(--color-success);
  fill: none;
  flex: 0 0 auto;
}

.pricing-block__note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ---------------------------------------------------------------------------
   Transfer card — hero visual
   Fintech-style payment confirmation card. CSS-only, no images.
   --------------------------------------------------------------------------- */

.transfer-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(74, 144, 226, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.transfer-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.transfer-card__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.transfer-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 3px var(--space-3);
  background: var(--color-success-subtle);
  color: var(--color-success);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
}

.transfer-card__badge [data-lucide] {
  width: 11px;
  height: 11px;
  stroke-width: 2.5;
  stroke: currentColor;
  fill: none;
}

.transfer-card__amount-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.transfer-card__amount {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.transfer-card__amount-value {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  letter-spacing: -0.025em;
  line-height: 1;
}

.transfer-card__amount-currency {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  line-height: 1;
}

.transfer-card__recipient {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.transfer-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  flex: 0 0 auto;
}

.transfer-card__to {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.transfer-card__to-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.2;
}

.transfer-card__to-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
}

.transfer-card__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.transfer-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.transfer-card__row-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.transfer-card__row-value {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
}

.transfer-card__row--total {
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-1);
}

.transfer-card__row--total .transfer-card__row-label,
.transfer-card__row--total .transfer-card__row-value {
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

/* ---------------------------------------------------------------------------
   Trust block (inline, under CTA)
   --------------------------------------------------------------------------- */

.trust-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: var(--leading-loose);
}

.trust-block__item {
  display: inline;
}

.trust-block__sep {
  display: inline-block;
  margin: 0 var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}
/* =============================================================================
   GammaBank — Site Header
   ============================================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  background-color: rgba(11, 17, 32, 0.90);
  border-bottom: 1px solid var(--color-border);

  /* Backdrop blur for glassmorphism depth — subtle, not decorative */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

/* ---------------------------------------------------------------------------
   Logo
   --------------------------------------------------------------------------- */

.site-header__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  color: var(--color-text);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.site-header__logo:hover {
  opacity: 0.85;
}

.site-header__logo img {
  height: 28px;
  width: auto;
}

/* ---------------------------------------------------------------------------
   Navigation — hidden on mobile, visible on desktop
   --------------------------------------------------------------------------- */

.site-header__nav {
  display: none;
  align-items: center;
  gap: var(--space-2);
}

@media (min-width: 768px) {
  .site-header__nav {
    display: flex;
  }
}

.site-header__nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
}

.site-header__nav-link:hover {
  color: var(--color-text);
  background-color: var(--color-surface-2);
}

.site-header__nav-link[aria-current="page"] {
  color: var(--color-text);
  background-color: var(--color-surface-2);
}

/* ---------------------------------------------------------------------------
   Actions area — right side
   --------------------------------------------------------------------------- */

.site-header__actions {
  display: none;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}

@media (min-width: 768px) {
  .site-header__actions {
    display: flex;
  }
}

/* ---------------------------------------------------------------------------
   Hamburger — visible on mobile only
   --------------------------------------------------------------------------- */

.site-header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text);
  flex: 0 0 auto;
  margin-left: auto;
  transition: background-color var(--transition-fast);
}

.site-header__burger:hover {
  background-color: var(--color-surface-2);
}

@media (min-width: 768px) {
  .site-header__burger {
    display: none;
  }
}

.site-header__burger-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Burger → close icon when menu is open */
.menu-open .site-header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-open .site-header__burger-line:nth-child(2) {
  opacity: 0;
}
.menu-open .site-header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* =============================================================================
   GammaBank — Site Footer
   ============================================================================= */

.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

/* ---------------------------------------------------------------------------
   Main row — brand / nav / CTA
   --------------------------------------------------------------------------- */

.site-footer__main {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-block: var(--space-8);
}

@media (min-width: 768px) {
  .site-footer__main {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-10);
    padding-block: var(--space-10);
  }
}

/* ---------------------------------------------------------------------------
   Brand
   --------------------------------------------------------------------------- */

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex-shrink: 0;
}

.site-footer__logo-link {
  display: inline-flex;
  transition: opacity var(--transition-fast);
}

.site-footer__logo-link:hover {
  opacity: 0.8;
}

.site-footer__logo-text {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.site-footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  max-width: none;
}

/* ---------------------------------------------------------------------------
   Navigation
   --------------------------------------------------------------------------- */

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

@media (min-width: 768px) {
  .site-footer__nav {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-6);
    flex-wrap: wrap;
  }
}

.site-footer__nav-link {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.site-footer__nav-link:hover {
  color: var(--color-text);
}

/* ---------------------------------------------------------------------------
   Bottom strip
   --------------------------------------------------------------------------- */

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
  }
}

.site-footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.site-footer__disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 60ch;
}
/* =============================================================================
   GammaBank — Language Dropdown
   Dropdown with flag icons. Header only (not footer).
   Mobile: flat list via CSS overrides in .mobile-menu__lang context.
   ============================================================================= */

.lang-dropdown {
  position: relative;
}

.lang-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-3);
  height: 36px;
  background: transparent;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.lang-dropdown__trigger:hover {
  border-color: var(--color-border-strong);
  background: var(--color-surface-2);
  color: var(--color-text);
}

.lang-dropdown__trigger[aria-expanded="true"] {
  border-color: var(--color-primary);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
}

.lang-dropdown__code {
  line-height: 1;
}

.lang-dropdown__chevron {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  flex: 0 0 auto;
  transition: transform var(--transition-fast);
}

.lang-dropdown__trigger[aria-expanded="true"] .lang-dropdown__chevron {
  transform: rotate(180deg);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  min-width: 190px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  z-index: var(--z-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity var(--transition-fast),
    visibility var(--transition-fast),
    transform var(--transition-fast);
}

.lang-dropdown__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.lang-dropdown__item:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.lang-dropdown__item--active {
  color: var(--color-primary);
  background: var(--color-primary-subtle);
}

.lang-dropdown__item--active:hover {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
}

.lang-dropdown__name {
  flex: 1;
  font-size: var(--text-sm);
}

.lang-dropdown__check {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
  stroke: var(--color-primary);
  fill: none;
  flex: 0 0 auto;
}

.lang-dropdown__divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-2) 0;
}

.lang-dropdown__more-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.lang-dropdown__more-btn:hover {
  background: var(--color-surface-2);
  color: var(--color-text-secondary);
}

.lang-dropdown__more-btn span {
  flex: 1;
}

.lang-dropdown__more-chevron {
  width: 13px;
  height: 13px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  flex: 0 0 auto;
  transition: transform var(--transition-fast);
}

.lang-dropdown__more-btn[aria-expanded="true"] .lang-dropdown__more-chevron {
  transform: rotate(90deg);
}

.lang-dropdown__submenu {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-normal);
}

.lang-dropdown__submenu.is-open {
  max-height: 200px;
}

.lang-dropdown .fi {
  width: 18px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 2px;
}

.lang-dropdown__trigger .fi {
  width: 16px;
  height: 12px;
}

/* ---------------------------------------------------------------------------
   Mobile menu variant — flat static list, no trigger
   --------------------------------------------------------------------------- */

.mobile-menu__lang .lang-dropdown__trigger {
  display: none;
}

.mobile-menu__lang .lang-dropdown__menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  min-width: 0;
}

.mobile-menu__lang .lang-dropdown__divider,
.mobile-menu__lang .lang-dropdown__more-btn {
  display: none;
}

.mobile-menu__lang .lang-dropdown__submenu {
  max-height: none;
  overflow: visible;
}

.mobile-menu__lang .lang-dropdown__item {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
}

.mobile-menu__lang .lang-dropdown .fi {
  width: 22px;
  height: 16px;
}
/* =============================================================================
   GammaBank — FAQ Accordion
   Uses native <details>/<summary> — no JavaScript required.
   ============================================================================= */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

/* ---------------------------------------------------------------------------
   FAQ item container (<details>)
   --------------------------------------------------------------------------- */

.faq-item {
  background-color: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-border-medium);
}

/* Open state */
.faq-item[open] {
  border-color: var(--color-border-medium);
}

/* ---------------------------------------------------------------------------
   Question row (<summary>)
   --------------------------------------------------------------------------- */

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color var(--transition-fast);

  /* Minimum touch target */
  min-height: 48px;
}

/* Remove default marker (WebKit) */
.faq-item__question::-webkit-details-marker {
  display: none;
}

/* Remove default marker (Firefox) */
.faq-item__question::marker {
  display: none;
}

.faq-item__question:hover {
  background-color: var(--color-surface-3);
}

.faq-item__question:focus-visible {
  outline: none;
  box-shadow: inset var(--focus-ring);
}

.faq-item__question-text {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  line-height: var(--leading-snug);
  flex: 1;
}

@media (min-width: 768px) {
  .faq-item__question-text {
    font-size: var(--text-lg);
  }
}

/* ---------------------------------------------------------------------------
   Expand indicator (chevron via CSS)
   --------------------------------------------------------------------------- */

.faq-item__indicator {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: transform var(--transition-fast);
}

/* Chevron icon via pseudo-element */
.faq-item__indicator::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}

/* Rotate when open */
.faq-item[open] .faq-item__indicator {
  transform: rotate(180deg);
}

.faq-item[open] .faq-item__indicator::after {
  margin-top: 4px;
}

/* ---------------------------------------------------------------------------
   Answer content
   --------------------------------------------------------------------------- */

.faq-item__answer {
  padding: 0 var(--space-5) var(--space-4);
  border-top: 1px solid var(--color-border);
}

.faq-item__answer p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: none;
  padding-top: var(--space-4);
}

@media (min-width: 768px) {
  .faq-item__answer p {
    font-size: var(--text-base);
  }
}
/* =============================================================================
   GammaBank — Mobile Menu & Mobile-Specific Overrides
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Burger button
   --------------------------------------------------------------------------- */

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;

  width: 40px;
  height: 40px;
  padding: var(--space-2);

  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;

  color: var(--color-text-secondary);
  transition: background-color var(--transition-fast), color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.burger:hover {
  background-color: var(--color-surface-2);
  color: var(--color-text);
}

.burger:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Burger lines */
.burger__line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast),
    width var(--transition-fast);
  transform-origin: center;
}

/* Open state — animate to ✕ */
.burger[aria-expanded="true"] .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__line:nth-child(2) {
  opacity: 0;
  width: 0;
}

.burger[aria-expanded="true"] .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------------------------
   Mobile menu overlay — full-screen drawer
   --------------------------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-mobile-menu);

  /* Slide in from right */
  transform: translateX(100%);
  transition: transform var(--transition-normal), visibility var(--transition-normal);
  visibility: hidden;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

/* Backdrop */
.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.60);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.mobile-menu.is-open .mobile-menu__backdrop {
  opacity: 1;
}

/* Panel */
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);

  background-color: var(--color-surface);
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* ---------------------------------------------------------------------------
   Mobile menu header row
   --------------------------------------------------------------------------- */

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  min-height: var(--header-height);
  flex: 0 0 auto;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--color-text-secondary);
  font-size: 1.25rem;
  line-height: 1;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu__close:hover {
  background-color: var(--color-surface-2);
  color: var(--color-text);
}

.mobile-menu__close:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ---------------------------------------------------------------------------
   Mobile menu navigation
   --------------------------------------------------------------------------- */

.mobile-menu__nav {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: var(--radius-lg);
  min-height: 48px;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu__link:hover,
.mobile-menu__link:active {
  background-color: var(--color-surface-2);
  color: var(--color-text);
}

.mobile-menu__link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ---------------------------------------------------------------------------
   Mobile menu CTA section
   --------------------------------------------------------------------------- */

.mobile-menu__cta {
  padding: var(--space-5);
  border-top: 1px solid var(--color-border);
  flex: 0 0 auto;
}

.mobile-menu__cta .btn {
  width: 100%;
  height: 52px;
  font-size: var(--text-base);
}

/* ---------------------------------------------------------------------------
   Mobile menu language section
   --------------------------------------------------------------------------- */

.mobile-menu__lang {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--color-border);
  flex: 0 0 auto;
}

/* ---------------------------------------------------------------------------
   Body lock — prevent scroll when menu is open
   Applied via JS: document.body.classList.add('menu-open')
   --------------------------------------------------------------------------- */

body.menu-open {
  overflow: hidden;
  /* Compensate scrollbar disappearance to prevent layout shift */
  padding-right: var(--scrollbar-width, 0px);
}

/* ---------------------------------------------------------------------------
   Hide burger on desktop
   --------------------------------------------------------------------------- */

@media (min-width: 768px) {
  .burger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}

/* ---------------------------------------------------------------------------
   Mobile-specific section overrides
   --------------------------------------------------------------------------- */

/* Tighten vertical spacing on small screens */
@media (max-width: 479px) {
  :root {
    --section-y: var(--space-12);
    --section-y-lg: var(--space-16);
  }

  .hero {
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-8);
  }

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


/* CTA group — stack on small screens */
@media (max-width: 479px) {
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-group .btn {
    width: 100%;
  }

  /* Hero CTA — center and allow text wrapping for long translations */
  .hero__actions {
    align-items: center;
  }

  .hero__actions .btn {
    max-width: 100%;
    white-space: normal;
    height: auto;
    min-height: 44px;
    text-align: center;
  }

  /* Bottom CTA — allow text wrapping (width: 100% already set at ≤767px) */
  .cta-bottom__action .btn {
    white-space: normal;
    height: auto;
    min-height: 44px;
  }
}

/* Trust block — center on mobile */
@media (max-width: 479px) {
  .trust-block {
    justify-content: center;
    text-align: center;
  }
}
