/* ============================================
   IRIS + LAYSAN — Dual Theme Landing Page
   Data source: MCP iris_laysan upstream
   Mobile-first responsive design v2
   ============================================ */

:root {
  /* IRIS theme (default) */
  --primary: #0B57D0;
  --secondary: #198754;
  --accent: #B8E986;
  --bg: #F4FAFF;
  --bg-dark: #0a1628;
  --text: #08162B;
  --text-muted: #5a6a7e;
  --card-bg: #ffffff;
  --card-border: #e0eaf5;
  --hero-gradient: linear-gradient(135deg, #0B57D0 0%, #14396e 50%, #198754 100%);
  --fire-gradient: linear-gradient(135deg, #ff6b35 0%, #f7c948 100%);

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* ─── Typography ladder (Track TEXT-LAYOUT) ─── */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --lh-tight: 1.25;
  --lh-base: 1.5;
  --lh-loose: 1.75;
}

/* Cyrillic / Tatar wrapping safety */
:lang(ru), :lang(tt) { hyphens: auto; -webkit-hyphens: auto; }
code, .iris-token, .iris-magic-link { word-break: break-all; overflow-wrap: anywhere; }

/* Laysan theme override */
body[data-store="laysan"] {
  --primary: #6F42C1;
  --secondary: #FD7E14;
  --accent: #FFE5B4;
  --bg: #FBF6FF;
  --bg-dark: #1a0f2e;
  --text: #23133A;
  --text-muted: #6e5a8a;
  --card-border: #e8ddf5;
  --hero-gradient: linear-gradient(135deg, #6F42C1 0%, #3d1a7a 50%, #FD7E14 100%);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }
h1,h2,h3 { line-height: 1.2; }

/* ============ STORE SELECTOR ============ */
.store-selector {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  transition: background var(--transition);
}
body[data-store="laysan"] .store-selector {
  background: rgba(251,246,255,0.92);
}
.store-btn {
  padding: 8px 18px; border: 2px solid var(--card-border); border-radius: 24px;
  background: transparent; cursor: pointer; font-family: var(--font);
  font-size: 0.9rem; font-weight: 600; color: var(--text-muted);
  transition: all var(--transition);
  min-height: 44px; /* Touch target */
  white-space: nowrap;
}
.store-btn.active {
  border-color: var(--primary); background: var(--primary); color: #fff;
}
.store-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }
.store-icon { font-size: 1.1rem; }
.lang-toggle {
  margin-left: auto; padding: 8px 14px; border: 1px solid var(--card-border);
  border-radius: 20px; background: transparent; cursor: pointer;
  font-family: var(--font); font-size: 0.85rem; color: var(--text-muted);
  min-height: 44px;
}

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 100px 20px 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--hero-gradient);
  opacity: 1;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
  display: inline-block; padding: 6px 18px; border-radius: 20px;
  background: rgba(255,255,255,0.2); color: #fff; font-size: 0.85rem;
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  margin-bottom: 20px;
  animation: fadeInDown 0.6s ease-out;
}
.hero-title { color: #fff; margin-bottom: 16px; animation: fadeInUp 0.6s ease-out 0.1s both; }
.store-name { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 900; display: block; letter-spacing: -2px; }
.hero-subtitle { font-size: clamp(1rem, 3vw, 1.4rem); font-weight: 500; opacity: 0.9; display: block; margin-top: 4px; }
.hero-desc { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 32px; animation: fadeInUp 0.6s ease-out 0.2s both; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; animation: fadeInUp 0.6s ease-out 0.3s both; }
.hero-stats {
  display: flex; gap: 40px; justify-content: center;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}
.stat { text-align: center; }
.stat-value { display: block; font-size: 2rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: var(--lh-tight); overflow-wrap: anywhere; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; overflow-wrap: anywhere; line-height: var(--lh-tight); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 28px; border-radius: 12px; font-family: var(--font);
  font-size: 1rem; font-weight: 600; cursor: pointer; border: none;
  transition: all var(--transition);
  min-height: 48px; /* Touch target */
  text-align: center; justify-content: center;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 16px rgba(11,87,208,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,87,208,0.4); }
.btn-secondary {
  background: rgba(255,255,255,0.2); color: #fff; border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.section .btn-secondary { background: var(--bg); color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: rgba(255,255,255,0.3); }
.section .btn-secondary:hover { background: var(--primary); color: #fff; }

/* ============ SECTIONS ============ */
.section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-dark { background: var(--bg-dark); max-width: none; }
.section-dark .section-title { color: #fff; }
.section-fire { background: linear-gradient(135deg, #1a0800 0%, #2d1000 100%); max-width: none; }
.section-fire .section-title, .section-fire .section-desc { color: #fff; }
.section-proxy { background: linear-gradient(135deg, #0a1628 0%, #0d2b59 100%); max-width: none; }
body[data-store="laysan"] .section-proxy { background: linear-gradient(135deg, #1a0f2e 0%, #3d1a7a 100%); }
.section-proxy .section-title { color: #fff; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; text-align: center; margin-bottom: 48px; }
.section-desc { text-align: center; font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 600px; margin: -24px auto 40px; }

/* ============ STEPS ============ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; max-width: 960px; margin: 0 auto; }
.step-card {
  position: relative; padding: 32px 24px; background: var(--card-bg); border-radius: var(--radius);
  border: 1px solid var(--card-border); text-align: center;
  transition: all var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-number {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--primary);
  color: #fff; font-size: 0.8rem; font-weight: 700; display: flex;
  align-items: center; justify-content: center;
}
.step-icon { font-size: 2.5rem; margin-bottom: 12px; }
.step-card h3 { font-size: 1rem; margin-bottom: 8px; overflow-wrap: anywhere; line-height: var(--lh-tight); }
.step-card p { font-size: 0.9rem; color: var(--text-muted); overflow-wrap: anywhere; }

/* ============ LEVELS ============ */
.levels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.level-card {
  padding: 28px 20px; border-radius: var(--radius); text-align: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.level-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.1); }
.level-header { margin-bottom: 12px; }
.level-emoji { font-size: 2.5rem; display: block; margin-bottom: 8px; }
.level-card h3 { color: #fff; font-size: 1rem; overflow-wrap: anywhere; line-height: var(--lh-tight); }
.level-rate { font-size: 2.5rem; font-weight: 900; color: var(--accent); margin: 8px 0 4px; }
.level-detail { color: rgba(255,255,255,0.6); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.level-info { margin-top: 16px; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.level-info div { margin-bottom: 4px; }
.level-info strong { color: #fff; }

/* ============ CALCULATOR ============ */
.calculator-card {
  max-width: 500px; margin: 0 auto; padding: 32px;
  background: var(--card-bg); border-radius: var(--radius);
  border: 1px solid var(--card-border); box-shadow: var(--shadow);
}
.calc-row { margin-bottom: 20px; }
.calc-row label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.95rem; }
.calc-row input, .calc-row select {
  width: 100%; padding: 14px 16px; border: 2px solid var(--card-border);
  border-radius: var(--radius-sm); font-family: var(--font); font-size: 1rem;
  background: var(--bg); color: var(--text); transition: border var(--transition);
  min-height: 48px;
}
.calc-row input:focus, .calc-row select:focus { outline: none; border-color: var(--primary); }
.calc-result {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 20px; border-radius: var(--radius-sm);
  background: var(--bg);
}
.calc-label { display: block; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.calc-value { font-size: 1.8rem; font-weight: 800; color: var(--primary); }

/* ============ HOT OFFERS ============ */
.hot-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 700px; margin: 0 auto; }
.hot-card {
  padding: 28px; border-radius: var(--radius);
  background: rgba(255,107,53,0.1); border: 1px solid rgba(255,107,53,0.2);
  text-align: center; transition: all var(--transition);
}
.hot-card:hover { transform: translateY(-4px); background: rgba(255,107,53,0.15); }
.hot-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: linear-gradient(135deg, #ff6b35, #f7c948); color: #fff;
  font-weight: 700; font-size: 0.9rem; margin-bottom: 12px;
}
.hot-card h3 { color: #fff; margin-bottom: 8px; font-size: 1.2rem; overflow-wrap: anywhere; line-height: var(--lh-tight); }
.hot-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; overflow-wrap: anywhere; }

/* ============ CATEGORIES ============ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 700px; margin: 0 auto; }
.cat-card {
  padding: 28px 20px; border-radius: var(--radius); text-align: center;
  background: var(--card-bg); border: 2px solid var(--card-border);
  transition: all var(--transition);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-highlight { border-color: var(--secondary); background: linear-gradient(135deg, var(--card-bg), rgba(25,135,84,0.04)); }
body[data-store="laysan"] .cat-highlight { background: linear-gradient(135deg, var(--card-bg), rgba(253,126,20,0.06)); }
.cat-emoji { font-size: 2.5rem; margin-bottom: 8px; }
.cat-card h3 { font-size: 1rem; margin-bottom: 4px; overflow-wrap: anywhere; line-height: var(--lh-tight); }
.cat-mult { font-size: 2rem; font-weight: 900; color: var(--secondary); margin: 8px 0; }
.cat-card p { font-size: 0.85rem; color: var(--text-muted); overflow-wrap: anywhere; }

/* ============ FEATURES ============ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.feature-card {
  padding: 24px 16px; border-radius: var(--radius-sm); text-align: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}
.feature-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.feature-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.feature-card h3 { color: #fff; font-size: 0.95rem; margin-bottom: 6px; }
.feature-card p { color: rgba(255,255,255,0.6); font-size: 0.8rem; }

/* ============ DOWNLOAD ============ */
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.download-card {
  padding: 32px 24px; border-radius: var(--radius); text-align: center;
  background: var(--card-bg); border: 1px solid var(--card-border);
  box-shadow: var(--shadow); transition: all var(--transition);
}
.download-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.download-icon { font-size: 3rem; margin-bottom: 12px; }
.download-card h3 { margin-bottom: 8px; }
.download-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.download-note { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }
.download-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.download-btns .btn { padding: 10px 16px; font-size: 0.9rem; }

/* ============ PROXY ============ */
.proxy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 800px; margin: 0 auto; }
.proxy-card {
  padding: 32px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.proxy-card h3 { color: #fff; margin-bottom: 12px; font-size: 1.3rem; }
.proxy-card p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 16px; }
.proxy-card code { background: rgba(255,255,255,0.1); padding: 2px 8px; border-radius: 4px; font-size: 0.9rem; color: var(--accent); }
.proxy-specs { list-style: none; margin-bottom: 20px; }
.proxy-specs li { padding: 6px 0; color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.proxy-specs strong { color: #fff; }

/* ============ FOOTER ============ */
.footer {
  padding: 40px 20px; background: var(--bg-dark); text-align: center;
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
}
body[data-store="laysan"] .footer { background: #1a0f2e; }
.footer-content { max-width: 800px; margin: 0 auto; }
.footer-links {
  display: flex; gap: 12px 20px; justify-content: center;
  margin-bottom: 20px; flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.6); font-size: 0.9rem;
  transition: color var(--transition); white-space: nowrap;
}
.footer-links a:hover { color: #fff; }
.footer-disclaimer { color: rgba(255,255,255,0.4); font-size: 0.75rem; line-height: 1.6; }
.footer-disclaimer a { color: rgba(255,255,255,0.5); }
.footer-copyright { color: rgba(255,255,255,0.5); font-size: 0.75rem; line-height: 1.6; margin-top: 0.6rem; font-weight: 600; }

/* ============ MOBILE BOTTOM NAV ============ */
.mobile-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--card-border);
  z-index: 200;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
}
.mobile-bottom-nav .nav-items {
  display: flex; justify-content: space-around; max-width: 500px; margin: 0 auto;
}
.mobile-bottom-nav a {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 6px 12px; text-decoration: none;
  color: var(--text-muted); font-size: 0.65rem; font-weight: 600;
  transition: color var(--transition);
  min-width: 56px;
}
.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.active { color: var(--primary); }
.mobile-bottom-nav .nav-icon { font-size: 1.4rem; }

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

/* ============ LEGAL PAGES ============ */
.page-legal { background: var(--bg); }
.legal-content {
  max-width: 800px; margin: 0 auto; padding: 100px 24px 60px;
}
.legal-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800;
  color: var(--primary); margin-bottom: 8px;
}
.legal-subtitle {
  font-size: 1rem; color: var(--text-muted); margin-bottom: 32px;
}
.legal-section {
  margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1px solid var(--card-border);
}
.legal-section:last-child { border-bottom: none; }
.legal-section h2 {
  font-size: 1.15rem; font-weight: 700; color: var(--text);
  margin-bottom: 12px;
}
.legal-section p {
  margin-bottom: 10px; font-size: 0.95rem; color: var(--text); line-height: 1.7;
}
.legal-section ul, .legal-section ol {
  margin: 8px 0 12px 20px; font-size: 0.95rem; color: var(--text);
}
.legal-section li { margin-bottom: 6px; line-height: 1.6; }
.legal-section code {
  background: rgba(11,87,208,0.08); padding: 2px 6px;
  border-radius: 4px; font-size: 0.9rem; color: var(--primary);
}
.legal-table {
  width: 100%; border-collapse: collapse; margin: 12px 0 16px;
  font-size: 0.9rem;
}
.legal-table th, .legal-table td {
  padding: 10px 14px; text-align: left;
  border: 1px solid var(--card-border);
}
.legal-table th {
  background: var(--primary); color: #fff; font-weight: 600;
}
.legal-table tr:nth-child(even) { background: rgba(11,87,208,0.03); }
.consent-note {
  margin-top: 24px; padding: 16px 20px;
  background: rgba(25,135,84,0.08); border-left: 4px solid var(--secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.consent-note p { margin: 0; font-weight: 500; }

/* ============ PROXY PAGE ============ */
.hero-mini { min-height: 40vh; padding: 100px 20px 50px; }
.proxy-steps {
  list-style: none; counter-reset: step; margin: 0; padding: 0;
}
.proxy-steps li {
  counter-increment: step; position: relative;
  padding: 12px 12px 12px 48px; margin-bottom: 8px;
  color: rgba(255,255,255,0.85); font-size: 0.95rem;
  background: rgba(255,255,255,0.03); border-radius: var(--radius-sm);
}
.proxy-steps li::before {
  content: counter(step);
  position: absolute; left: 12px; top: 12px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}
.page-proxy .section .proxy-card { background: var(--card-bg); border: 1px solid var(--card-border); }
.page-proxy .section .proxy-card h3 { color: var(--text); }
.page-proxy .section .proxy-card p { color: var(--text-muted); }
.page-proxy .section .proxy-steps li { color: var(--text); background: rgba(11,87,208,0.04); }
.page-proxy .section .legal-table th { background: var(--primary); }
.page-proxy .section .legal-table td { color: var(--text); }

/* ============ RESPONSIVE — TABLET (768px) ============ */
@media (max-width: 768px) {
  .store-selector { padding: 8px 12px; gap: 6px; }
  .store-btn { padding: 6px 12px; font-size: 0.8rem; }
  .hero { min-height: 85vh; padding: 80px 16px 40px; }
  .hero-mini { min-height: 30vh; }
  .hero-stats { gap: 20px; }
  .stat-value { font-size: 1.5rem; }
  .section { padding: 60px 16px; }
  .section-title { margin-bottom: 32px; }
  .cat-grid { grid-template-columns: 1fr; gap: 12px; }
  .proxy-grid { grid-template-columns: 1fr; }
  .legal-content { padding: 80px 16px 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; gap: 16px; }
  .download-card { padding: 24px 20px; }
  .levels-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Show mobile nav */
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .footer { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* ============ RESPONSIVE — PHONE (480px) ============ */
@media (max-width: 480px) {
  .hero {
    min-height: auto; padding: 76px 16px 32px;
  }
  .store-name { font-size: clamp(2.2rem, 12vw, 3.5rem); letter-spacing: -1px; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-desc { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-actions { gap: 10px; margin-bottom: 32px; }
  .hero-actions .btn { width: 100%; padding: 14px 20px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .stat-value { font-size: 1.3rem; }
  .stat-label { font-size: 0.7rem; }
  .hero-badge { font-size: 0.75rem; padding: 5px 14px; }

  .section { padding: 48px 14px; }
  .section-title { font-size: 1.5rem; margin-bottom: 24px; }
  .section-desc { font-size: 0.95rem; margin: -12px auto 28px; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .step-card { padding: 24px 14px; }
  .step-icon { font-size: 2rem; margin-bottom: 8px; }
  .step-card h3 { font-size: 0.9rem; }
  .step-card p { font-size: 0.8rem; }

  .level-card { padding: 20px 14px; }
  .level-emoji { font-size: 2rem; }
  .level-rate { font-size: 2rem; }
  .level-card h3 { font-size: 0.9rem; }
  .level-info { font-size: 0.8rem; }

  .calculator-card { padding: 20px 16px; }
  .calc-result { padding: 14px; gap: 10px; }
  .calc-value { font-size: 1.4rem; }

  .hot-cards { grid-template-columns: 1fr; gap: 14px; }
  .hot-card { padding: 20px; }

  .cat-grid { gap: 10px; }
  .cat-card { padding: 20px 14px; }
  .cat-emoji { font-size: 2rem; }
  .cat-mult { font-size: 1.6rem; }

  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .feature-card { padding: 16px 10px; }
  .feature-icon { font-size: 1.5rem; }
  .feature-card h3 { font-size: 0.82rem; }
  .feature-card p { font-size: 0.72rem; }

  .proxy-card { padding: 20px 16px; }
  .proxy-card h3 { font-size: 1.1rem; }
  .proxy-specs li { font-size: 0.82rem; }

  .btn { padding: 12px 20px; font-size: 0.9rem; }

  .footer-links { gap: 8px 16px; }
  .footer-links a { font-size: 0.8rem; }
  .footer-disclaimer { font-size: 0.7rem; }
}

/* ============ RESPONSIVE — SMALL PHONE (360px) ============ */
@media (max-width: 360px) {
  .store-selector { padding: 6px 8px; gap: 4px; }
  .store-btn { padding: 5px 10px; font-size: 0.75rem; min-height: 38px; }
  .lang-toggle { padding: 5px 10px; font-size: 0.75rem; min-height: 38px; }

  .hero { padding: 68px 12px 24px; }
  .store-name { font-size: 2rem; }

  .section { padding: 36px 12px; }
  .section-title { font-size: 1.3rem; margin-bottom: 20px; }

  .steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .levels-grid { grid-template-columns: 1fr; gap: 10px; }
  .features-grid { grid-template-columns: 1fr; gap: 8px; }

  .calculator-card { padding: 16px 12px; }
  .calc-result { grid-template-columns: 1fr; }
}
