/* ===================== OVERLINK24 — IMPROVMX STYLE ===================== */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F9FAFB;
  --bg-card: #FFFFFF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --text: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --accent: #5850EC;
  --accent-light: #EEF2FF;
  --accent-hover: #4F46E5;
  --success: #059669;
  --success-bg: #ECFDF5;
  --warning: #D97706;
  --danger: #DC2626;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --transition: all 0.2s ease;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ===================== TYPOGRAPHY ===================== */

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }

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

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

/* ===================== BUTTONS ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: #D1D5DB;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
  padding: 0.5rem 1rem;
}
.btn-ghost:hover { color: var(--text); background: var(--bg-alt); }

.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; border-radius: var(--radius-md); }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }
.btn-block { width: 100%; }

/* ===================== NAV ===================== */

.nav-logo-svg {
  height: 60px;
  width: auto;
}

@media (max-width: 768px) {
  .nav-logo-svg {
    height: 36px;
  }
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.875rem 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.nav-logo:hover { color: var(--text); }

.nav-logo-icon {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ===================== HERO ===================== */

.hero {
  padding: 8rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.875rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-visual {
  margin-top: 3.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.diagram-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  min-width: 90px;
}

.diagram-node-icon { font-size: 1.3rem; }

.diagram-node-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.diagram-arrow {
  color: var(--text-muted);
  font-size: 1rem;
}

.diagram-highlight {
  background: var(--accent-light);
  border-color: var(--accent);
}

/* ===================== SECTIONS ===================== */

section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title { margin-bottom: 0.75rem; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* ===================== FEATURES ===================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-card p { font-size: 0.875rem; }

/* ===================== HOW IT WORKS ===================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: var(--border);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  color: #fff;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.step h3 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.step p { font-size: 0.875rem; max-width: 260px; margin: 0 auto; }

/* ===================== TARIFFS ===================== */

.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.tariff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

.tariff-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.tariff-popular {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: scale(1.03);
}

.tariff-popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tariff-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.tariff-price {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.tariff-price-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

.tariff-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  margin-top: 0.75rem;
}

.tariff-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.tariff-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.tariff-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 0.9rem;
}

.tariff-card .btn { width: 100%; }

/* ===================== DASHBOARD PREVIEW ===================== */

.dashboard-preview {
  margin: 0 auto;
  max-width: 850px;
}

.dashboard-preview .glass {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.dashboard-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.dashboard-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dashboard-info-item {
  padding: 0.875rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.dashboard-info-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.dashboard-info-value {
  font-size: 1rem;
  font-weight: 600;
}

.dashboard-devices-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.dashboard-devices-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.dashboard-device {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.875rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.dashboard-device-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dashboard-device-icon { font-size: 1.1rem; }
.dashboard-device-name { font-size: 0.85rem; font-weight: 500; }
.dashboard-device-status { font-size: 0.75rem; color: var(--success); }
.dashboard-device-status.offline { color: var(--text-muted); }

.dashboard-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ===================== TRUST ===================== */

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.trust-stat {
  text-align: center;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.trust-stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
}

.trust-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

.trust-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.trust-region {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.875rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.trust-region-flag { font-size: 1rem; }

/* ===================== FAQ ===================== */

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.1rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}
.faq-question:hover { color: var(--accent); }

.faq-arrow {
  width: 18px;
  height: 18px;
  transition: var(--transition);
  flex-shrink: 0;
  color: var(--text-muted);
}
.faq-arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faq-item.active .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.1rem;
}
.faq-answer p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================== FOOTER ===================== */

footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.875rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.25rem 0;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================== MODAL ===================== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.active { display: flex; }

.modal {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  animation: modalIn 0.25s ease;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}
.modal-close:hover { background: var(--bg-alt); color: var(--text); }

.modal h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.modal p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.875rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(88, 80, 236, 0.1);
}
.form-input::placeholder { color: var(--text-muted); }

.form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}
.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.825rem;
  color: var(--text-secondary);
}
.form-footer a { font-weight: 600; }

.form-error {
  font-size: 0.78rem;
  color: var(--danger);
  margin-top: 0.25rem;
  display: none;
}

/* ===================== PAGE HEADER ===================== */

.page-header {
  padding: 7rem 1.5rem 2.5rem;
  text-align: center;
  background: #fff;
}

.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { max-width: 450px; margin: 0 auto; font-size: 1rem; }

/* ===================== AUTH PAGES ===================== */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 2rem;
  background: linear-gradient(135deg, var(--accent-light) 0%, #fff 50%);
}

.auth-card {
  width: 100%;
  max-width: 400px;
  padding: 2.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.auth-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.auth-card > p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.auth-card .form-footer { margin-top: 0; padding-top: 1.25rem; }

/* ===================== STATUS PAGE ===================== */

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.status-server {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition);
}

.status-server:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.status-server-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 0.35rem;
  flex-shrink: 0;
}
.status-server-indicator.online { background: var(--success); }
.status-server-indicator.offline { background: var(--danger); }

.status-server-info { flex: 1; }
.status-server-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.1rem; }
.status-server-location { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.status-server-bar {
  height: 4px;
  background: var(--bg-alt);
  border-radius: 2px;
  overflow: hidden;
}
.status-server-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #7C3AED);
  transition: width 1s ease;
}

.status-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.status-meta-item { text-align: center; }
.status-meta-value { font-size: 1.75rem; font-weight: 700; color: var(--accent); }
.status-meta-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ===================== ANIMATIONS ===================== */

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

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

.fade-in { opacity: 0; }
.fade-in-shown { animation: fadeInUp 0.5s ease forwards; }
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }

/* ===================== GLASS UTILITY ===================== */

.glass { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); }
.glass-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.75rem; transition: var(--transition); }
.glass-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }

/* ===================== RESPONSIVE ===================== */

@media (max-width: 968px) {
  .tariffs-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .tariffs-grid .tariff-card { min-width: 0; }
  .tariff-popular { transform: none; }
  .steps-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0.5rem 0; }
  .nav-logo-svg { height: 36px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.mobile-open a { font-size: 1rem; }
  
  .hero { padding-top: 6rem; min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  
  .hero-diagram { flex-direction: column; gap: 0.75rem; }
  .diagram-arrow { transform: rotate(90deg); }
  
  .features-grid { grid-template-columns: 1fr; }
  
  .dashboard-header { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .dashboard-info { grid-template-columns: 1fr 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  
  .status-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .tariffs-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .dashboard-info { grid-template-columns: 1fr; }
  .dashboard-actions { flex-direction: column; }
  .dashboard-actions .btn { width: 100%; }
  .modal { padding: 1.5rem; }
}
