@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* PP Pangram Sans (body).
   Download from https://www.glyph-page.com/pp-pangram-sans/ or your source,
   then place files in /public/fonts/ and uncomment the @font-face blocks below. */
/*
@font-face {
  font-family: 'PP Pangram Sans';
  src: url('/fonts/PP_PangramSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'PP Pangram Sans';
  src: url('/fonts/PP_PangramSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'PP Pangram Sans';
  src: url('/fonts/PP_PangramSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
*/

/* Verbenac (logo display font).
   Download from your source and place woff2 files in /public/fonts/.
   Uncomment when files are available. */
/*
@font-face {
  font-family: 'Verbenac';
  src: url('/fonts/Verbenac-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Verbenac';
  src: url('/fonts/Verbenac-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
*/

:root {
  --graphite: #2d2d2d;
  --graphite-light: #3a3a3a;
  --graphite-soft: #4a4a4a;
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --blue-light: #7ec8e3;
  --blue-accent: #2e86ab;
  --blue-soft: #a8d8ea;
  --blue-bg: #e8f4f8;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: rgba(0, 0, 0, 0.05);
  --text-main: #333333;
  --text-muted: #666666;
  --bg-light: #f4f7f9;
  --success: #4caf50;
  --warning: #ff9800;
  --danger: #f44336;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PP Pangram Sans', 'Inter', sans-serif;
  color: var(--text-main);
  background: #f4f7f9;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============ GLASS CARD ============ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px var(--glass-shadow);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.glass:hover {
  background: var(--white-90);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.glass-dark {
  background: rgba(45, 45, 45, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: var(--white);
}

.glass-white {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.glass-white:hover {
  background: var(--white-90);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ============ HEADER / NAV ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 8px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.nav-logo .logo-icon {
  display: none;
}

.nav-logo span {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Verbenac', sans-serif;
  letter-spacing: 2px;
  color: #000000;
}

.nav-logo .logo-icon {
  display: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--blue-accent);
}

.nav-auth {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  font-family: 'PP Pangram Sans', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: #000;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: var(--blue-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(126, 200, 227, 0.4);
}

.btn-outline {
  background: #000;
  color: var(--white);
  border: 1px solid #000;
}

.btn-outline:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: #fff;
}

.btn-small {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-dark {
  background: #000;
  color: var(--white);
}

.btn-dark:hover {
  background: var(--blue-light);
  color: #fff;
  transform: translateY(-2px);
}

.btn-danger {
  background: #000;
  color: var(--white);
  border: 1px solid #000;
}

.btn-danger:hover {
  background: var(--blue-light);
  color: #fff;
  border-color: var(--blue-light);
}

.btn-success {
  background: #4caf50;
  color: #fff;
  padding: 14px 36px;
  font-size: 15px;
}
.btn-success:hover {
  background: #43a047;
  transform: translateY(-2px);
}


/* ============ HERO SECTION ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f2f9 0%, #d0ebf5 30%, #dcf1f7 60%, #ffffff 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(46, 134, 171, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 30%, rgba(126, 200, 227, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(168, 216, 234, 0.06) 0%, transparent 40%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-2%, 1%) rotate(1deg); }
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50px;
  color: var(--blue-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 64px;
  font-weight: 900;
  color: #000000;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 .accent {
  color: #000000;
}

.hero p {
  font-size: 18px;
  color: #4a4a4a;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 60px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-size: 36px;
  font-weight: 800;
  color: var(--blue-accent);
  display: block;
}

.hero-stat .label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ SECTION GENERAL ============ */
.section {
  padding: 100px 40px;
}

.section-dark {
  background: var(--white);
  color: var(--text-main);
}

.section-light {
  background: linear-gradient(180deg, #f4f7f9 0%, #ffffff 100%);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-title p {
  color: var(--text-muted);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============ ADVANTAGES ============ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.advantage-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: var(--blue-bg);
  color: var(--blue-accent);
}

.advantage-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============ HOW IT WORKS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-light));
  opacity: 0.3;
}

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

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--graphite-soft);
}

/* ============ COMPETITORS ============ */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.comparison-table thead {
  background: #f8fbfc;
}

.comparison-table th {
  padding: 18px 20px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table th.highlight {
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-light));
  font-size: 15px;
}

.comparison-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 14px;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.comparison-table td.highlight {
  background: rgba(79, 163, 199, 0.08);
  font-weight: 600;
  color: var(--blue-accent);
}

.comparison-table tbody tr:hover {
  background: rgba(79, 163, 199, 0.04);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.check {
  color: var(--success);
  font-size: 20px;
}

.cross {
  color: var(--danger);
  font-size: 20px;
}

/* ============ ORDER FORM ============ */
.order-section {
  background: linear-gradient(135deg, #f0f7f9 0%, #ffffff 100%);
  padding: 100px 40px;
}

.order-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: var(--white);
  color: var(--text-main);
  font-family: 'PP Pangram Sans', 'Inter', sans-serif;
  font-size: 14px;
  transition: all 0.3s;
}

.form-input::placeholder {
  color: #999;
}

.form-input:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.1);
}

.city-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  backdrop-filter: blur(20px);
  border-radius: 0 0 12px 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.city-suggestions.active {
  display: block;
}

.city-suggestion {
  padding: 12px 18px;
  cursor: pointer;
  color: var(--text-main);
  font-size: 14px;
  transition: background 0.2s;
}

.city-suggestion:hover {
  background: #f8fbfc;
  color: var(--blue-accent);
}

.city-suggestion.muted {
  color: var(--text-muted);
  cursor: default;
}
.city-suggestion.muted:hover {
  background: transparent;
  color: var(--text-muted);
}

.distance-info {
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(46, 134, 171, 0.05);
  border: 1px solid rgba(46, 134, 171, 0.2);
  color: var(--blue-accent);
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}

.distance-info.active {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-display {
  padding: 24px;
  border-radius: 14px;
  background: var(--blue-bg);
  border: 1px solid rgba(46, 134, 171, 0.1);
  text-align: center;
  margin-bottom: 24px;
  display: none;
}

.price-display.active {
  display: block;
}

.price-display .price-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.price-display .price-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--blue-accent);
}

.price-display .price-currency {
  font-size: 18px;
  color: var(--text-muted);
  margin-left: 4px;
}

.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.consent-group input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--blue-accent);
}

.consent-group label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

.consent-group a {
  color: var(--blue-accent);
  text-decoration: underline;
}

/* ============ TRACKING ============ */
.tracking-section {
  padding: 60px 40px;
  background: var(--white);
}

.tracking-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}

.tracking-form input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid #eee;
  border-radius: 12px;
  font-size: 14px;
  font-family: 'PP Pangram Sans', 'Inter', sans-serif;
}

.tracking-form input:focus {
  outline: none;
  border-color: var(--blue-accent);
}

.tracking-result {
  max-width: 500px;
  margin: 24px auto 0;
  padding: 24px;
  border-radius: 14px;
  background: var(--blue-bg);
  display: none;
}

.tracking-result.active {
  display: block;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--white);
  color: var(--text-main);
  padding: 60px 40px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.footer-logo span {
  font-size: 28px;
  font-weight: 700;
  font-family: 'Verbenac', sans-serif;
  color: #000000;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.7;
}

.footer h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer ul a:hover {
  color: var(--blue-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-main);
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--danger);
}

.modal h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.modal .form-group label {
  color: var(--text-muted);
}

.tabs {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.05);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'PP Pangram Sans', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.tab.active {
  background: var(--white);
  color: var(--blue-accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ============ STATUS BADGES ============ */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-new { background: rgba(79, 163, 199, 0.2); color: var(--blue-accent); }
.status-confirmed { background: rgba(76, 175, 80, 0.2); color: var(--success); }
.status-pickup { background: rgba(255, 152, 0, 0.2); color: var(--warning); }
.status-transit { background: rgba(33, 150, 243, 0.2); color: #2196f3; }
.status-delivered { background: rgba(76, 175, 80, 0.2); color: var(--success); }
.status-cancelled { background: rgba(244, 67, 54, 0.2); color: var(--danger); }

/* ============ ALERTS ============ */
.alert {
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
}

.alert-success {
  background: rgba(76, 175, 80, 0.15);
  color: var(--success);
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.alert-error {
  background: rgba(244, 67, 54, 0.15);
  color: var(--danger);
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* ============ MOBILE BURGER ============ */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: all 0.3s;
  border-radius: 2px;
}

/* Mobile menu — slide-down glass panel */
.mobile-menu {
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 998;
  padding: 72px 20px 28px;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.active { transform: translateY(0); }
.mobile-menu a,
.mobile-menu button {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 14px;
  display: block;
  transition: background 0.15s;
}
.mobile-menu a:active,
.mobile-menu button:active {
  background: rgba(0,0,0,0.05);
}
.mobile-menu .btn-primary-mobile {
  background: var(--blue-accent, #4A90D9);
  color: #fff;
  text-align: center;
  border: none;
  margin-top: 8px;
}
.mobile-menu .btn-outline-mobile {
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.12);
  color: var(--text-main);
  text-align: center;
}
.mobile-menu .menu-divider {
  height: 1px;
  background: rgba(0,0,0,0.06);
  margin: 4px 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 16px;
  }

  .nav-links { display: none; }
  .nav-auth { display: none; }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: transform 0.2s, opacity 0.2s;
  }
  .burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.active span:nth-child(2) { opacity: 0; }
  .burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .section { padding: 40px 12px; }
  .section-title h2 { font-size: 24px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .comparison-table { font-size: 12px; }
  .comparison-table th,
  .comparison-table td { padding: 10px 8px; }
  .order-section { padding: 40px 12px; }

  .btn { padding: 10px 20px; font-size: 13px; }
  .btn-large { padding: 14px 28px; font-size: 14px; }
  .auth-page { padding: 80px 12px 40px; }
  .auth-container { padding: 28px 16px; max-width: 100%; border-radius: 20px; }

  .cabinet { padding: 70px 8px 30px; }
  .cabinet-header h1 { font-size: 22px; }
  .cabinet-tab { padding: 10px 12px; font-size: 12px; }
  .profile-card { padding: 20px 14px; }
  .order-details { grid-template-columns: 1fr; }

  .admin { padding: 70px 8px 30px; }
  .admin-header h1 { font-size: 22px; }
  .admin-tab { padding: 8px 10px; font-size: 11px; }

  .order-page { padding: 70px 8px 30px; }
  .order-page h1 { font-size: 22px; }
  .order-card { padding: 20px 14px; }

  .modal { width: calc(100% - 24px); margin: 0 12px; padding: 24px 16px; border-radius: 20px; }
  .code-input-group { gap: 8px; }
  .code-input-group input { width: 46px; height: 54px; font-size: 20px; border-radius: 14px; }

  /* Wider forms on mobile */
  .form-input { padding: 14px 16px; font-size: 16px; border-radius: 14px; }
  select.form-input { padding: 14px 16px; }

  .tbl { font-size: 12px; }
  .tbl th, .tbl td { padding: 8px 6px; }

  .admin-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cabinet-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .filters { flex-wrap: wrap; gap: 6px; }
  .filters input { min-width: 140px; }
}
  }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-accent);
}

/* ============ ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============ SMS CODE INPUTS ============ */
.sms-digit:focus {
  border-color: var(--blue-accent) !important;
  box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.1);
}

/* ============ LOADER ============ */
.loader {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--white-20);
  border-top-color: var(--blue-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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