/* ═══════════════════════════════════════════════════════════
   hoursof.life — Design System
   Handcrafted styles, complements Tailwind CDN utilities.
═══════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  --bg:          #0c0c0c;
  --surface:     #161616;
  --border:      #2a2a2a;
  --primary:     #f0ede6;
  --muted:       #6b6560;
  --accent:      #e8521a;
  --dream:       #4f8ef7;
  --green:       #22c55e;
  --yellow:      #eab308;
  --orange:      #f97316;
  --red:         #ef4444;

  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  --transition: 200ms ease;
}

/* ── Base Reset & Globals ── */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--primary);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Headings use Clash Display */
h1, h2, h3, h4, [class*="font-display"] {
  font-family: 'Clash Display', sans-serif;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ── Text selection ── */
::selection {
  background: rgba(232, 82, 26, 0.28);
  color: var(--primary);
}

/* ── Remove number input spinners ── */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }
input[type="number"] { -moz-appearance: textfield; }


/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
#navbar {
  /* blur + transparency handled by Tailwind + inline */
  transition: border-color var(--transition);
}

/* ── Mode toggle (desktop) ── */
.mode-toggle { display: flex; }

.mode-btn {
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 18px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.mode-btn.active {
  background: var(--accent);
  color: white;
}

.mode-btn.dream-active {
  background: var(--dream);
  color: white;
}

/* ── Mode toggle (mobile) ── */
.mode-btn-m {
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px;
  transition: color var(--transition), background var(--transition);
}

.mode-btn-m.active {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
}

.mode-btn-m.dream-active {
  color: white;
  background: var(--dream);
  border-color: var(--dream);
}

/* ── Language dropdown ── */
.lang-dropdown {
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}

.lang-option:hover {
  background: rgba(255,255,255,0.04);
  color: var(--primary);
}

.lang-option span { flex: 1; }


/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero-section { position: relative; }

/* Radial warm glow — subtle, not AI-generic */
.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 82, 26, 0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Grain overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.hero-headline {
  font-family: 'Clash Display', sans-serif;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.tagline {
  font-family: 'DM Sans', sans-serif;
}

.eyebrow {
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.22em;
}

/* Bouncing arrow */
@keyframes bounce-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}
.bounce-arrow { animation: bounce-y 2s ease-in-out infinite; }


/* ═══════════════════════════════════════════
   FORMS
═══════════════════════════════════════════ */
.form-block {
  margin-bottom: 2.5rem;
}

.form-label {
  display: block;
  font-family: 'Clash Display', sans-serif;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

/* Salary row: currency selector + number input */
.salary-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

/* Generic text/number input */
.field-input {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  color: var(--primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.field-input::placeholder { color: rgba(107,101,96,0.5); }

.field-input:focus {
  border-color: rgba(232,82,26,0.5);
  box-shadow: 0 0 0 3px rgba(232,82,26,0.07);
}

/* Dream mode inputs focus in blue */
.dream-input:focus {
  border-color: rgba(79,142,247,0.5) !important;
  box-shadow: 0 0 0 3px rgba(79,142,247,0.07) !important;
}

/* Price sub-row */
.price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

/* ── Currency selector ── */
.currency-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  color: var(--primary);
  cursor: pointer;
  white-space: nowrap;
  min-width: 96px;
  transition: border-color var(--transition);
  font-family: 'DM Sans', sans-serif;
}

.currency-trigger:hover { border-color: rgba(232,82,26,0.4); }
.currency-trigger:focus { outline: none; border-color: rgba(232,82,26,0.5); }

.currency-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  width: 280px;
  max-height: 300px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.currency-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.currency-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
}

.currency-search-input::placeholder { color: var(--muted); }

.currency-list {
  overflow-y: auto;
  flex: 1;
}

.currency-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background var(--transition);
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  color: var(--primary);
}

.currency-item:hover { background: rgba(255,255,255,0.04); }
.currency-item.selected { color: var(--accent); }

.currency-item-code {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--muted);
  width: 36px;
  flex-shrink: 0;
}

.currency-item-name {
  font-size: 0.875rem;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Savings slider ── */
.savings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 8px;
}

.savings-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  outline: none;
  cursor: pointer;
}

.savings-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--dream);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1.5px var(--dream), 0 4px 12px rgba(79,142,247,0.3);
  transition: box-shadow var(--transition);
}

.savings-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 1.5px var(--dream), 0 4px 20px rgba(79,142,247,0.5);
}

.savings-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--dream);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--bg);
}

/* ── CTA Buttons ── */
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 24px;
  border: none;
  border-radius: var(--radius-xl);
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}

.cta-btn:hover  { opacity: 0.9; transform: translateY(-1px); }
.cta-btn:active { opacity: 1;   transform: translateY(0); }

.cta-accent {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 32px rgba(232,82,26,0.25);
}

.cta-accent:hover { box-shadow: 0 12px 40px rgba(232,82,26,0.35); }

.cta-dream {
  background: var(--dream);
  color: white;
  box-shadow: 0 8px 32px rgba(79,142,247,0.25);
}

.cta-dream:hover { box-shadow: 0 12px 40px rgba(79,142,247,0.35); }


/* ═══════════════════════════════════════════
   RESULT CARD
═══════════════════════════════════════════ */
.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.4s ease;
}

/* Severity border states */
.result-card.sev-green  { border-color: rgba(34,197,94,0.35); }
.result-card.sev-yellow { border-color: rgba(234,179,8,0.35); }
.result-card.sev-orange { border-color: rgba(249,115,22,0.35); }
.result-card.sev-red    { border-color: rgba(239,68,68,0.4); }
.result-card.sev-extreme {
  border-color: rgba(239,68,68,0.5);
  animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

/* ── Product image header ── */
.product-img-header {
  position: relative;
  height: 300px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
  overflow: hidden;
}

.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease;
}

.product-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,22,22,0.95) 0%, rgba(22,22,22,0.3) 60%, transparent 100%);
}

.product-img-label {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
}

/* ── Time display ── */
.time-display-wrap {
  text-align: center;
  padding: 2rem 0 1.5rem;
}

.time-primary-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.time-big-number {
  font-family: 'DM Mono', monospace;
  font-size: clamp(3.5rem, 10vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  transition: color 0.4s ease;
}

.time-unit-label {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--muted);
}

.time-secondary-row {
  font-family: 'DM Mono', monospace;
  font-size: 0.8125rem;
  color: rgba(107,101,96,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

/* Severity number colors */
.time-big-number.sev-green  { color: var(--green); }
.time-big-number.sev-yellow { color: var(--yellow); }
.time-big-number.sev-orange { color: var(--orange); }
.time-big-number.sev-red,
.time-big-number.sev-extreme { color: var(--red); }

/* ── Life meter ── */
.life-meter-wrap { margin-bottom: 1.5rem; }

.life-meter-track {
  height: 3px;
  background: rgba(42,42,42,0.6);
  border-radius: 99px;
  overflow: hidden;
}

.life-meter-bar {
  height: 100%;
  border-radius: 99px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--muted);
}

.life-meter-bar.sev-green  { background: var(--green);  box-shadow: 0 0 8px rgba(34,197,94,0.5); }
.life-meter-bar.sev-yellow { background: var(--yellow); box-shadow: 0 0 8px rgba(234,179,8,0.5); }
.life-meter-bar.sev-orange { background: var(--orange); box-shadow: 0 0 8px rgba(249,115,22,0.5); }
.life-meter-bar.sev-red,
.life-meter-bar.sev-extreme { background: var(--red); box-shadow: 0 0 8px rgba(239,68,68,0.5); }

/* ── Emotional message ── */
.emotional-msg-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 1.5rem;
}

/* ── Section eyebrow ── */
.section-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* ── Comparisons ── */
#comparisons-wrap { margin-bottom: 1.5rem; }

.comparisons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.comparison-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: center;
  transition: border-color var(--transition);
}

.comparison-item:hover { border-color: rgba(232,82,26,0.25); }

.comp-count {
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1.1;
}

.comp-name {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.3;
}

/* ── Habit toggle ── */
.habit-section {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.habit-tabs {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0;
}

.habit-tab {
  flex: 1;
  padding: 9px;
  font-size: 0.8125rem;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.habit-tab:not(:last-child) { border-right: 1px solid var(--border); }

.habit-tab.active {
  background: var(--surface);
  color: var(--primary);
}

.yearly-cost-box {
  margin-top: 12px;
  padding: 14px;
  background: var(--bg);
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border);
}

/* ── Share button ── */
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--muted);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition), border-color var(--transition);
}

.share-btn:hover {
  color: var(--primary);
  border-color: rgba(232,82,26,0.35);
}


/* ═══════════════════════════════════════════
   DREAM RESULT
═══════════════════════════════════════════ */
.dream-result-card {
  background: var(--surface);
  border: 1px solid rgba(79,142,247,0.25);
}

.dream-result-header {
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.current-timeline-box {
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
}

.encouragement-box {
  padding: 16px 20px;
  background: rgba(79,142,247,0.06);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

/* ── Jobs table ── */
.jobs-table-section { margin-top: 0; }

.jobs-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.jobs-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
}

.jobs-table thead tr {
  background: rgba(12,12,12,0.6);
  border-bottom: 1px solid var(--border);
}

.jobs-table th {
  padding: 10px 14px;
  font-family: 'DM Mono', monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 400;
}

.jobs-table tbody tr:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.jobs-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.jobs-table td {
  padding: 12px 14px;
  font-size: 0.875rem;
  color: var(--primary);
  vertical-align: middle;
}

.learn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--dream);
  font-size: 0.75rem;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: opacity var(--transition);
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid rgba(79,142,247,0.3);
}

.learn-link:hover { opacity: 0.7; }

.placeholder-row td { color: var(--muted); }


/* ═══════════════════════════════════════════
   SKELETON LOADING
═══════════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: -400% 0; }
  100% { background-position: 400% 0; }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface) 25%,
    rgba(255,255,255,0.04) 50%,
    var(--surface) 75%
  );
  background-size: 400% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
  border-radius: var(--radius-md);
}


/* ═══════════════════════════════════════════
   SHARE CARD (off-screen for html2canvas)
═══════════════════════════════════════════ */
#share-card {
  position: fixed;
  left: -9999px;
  top: -9999px;
  width: 600px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}

.share-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.share-card-body {
  padding: 40px 24px 24px;
  text-align: center;
}

.share-time-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}

.share-big-num {
  font-family: 'DM Mono', monospace;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
}

.share-unit {
  font-family: 'Clash Display', sans-serif;
  font-size: 2rem;
  font-weight: 600;
}

.share-card-footer {
  padding: 12px 24px;
  border-top: 1px solid var(--border);
  text-align: right;
}


/* ═══════════════════════════════════════════
   DONATE BUTTON
═══════════════════════════════════════════ */
.donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(232,82,26,0.35);
  color: var(--accent);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.donate-btn:hover {
  background: rgba(232,82,26,0.08);
  border-color: rgba(232,82,26,0.6);
}


/* ═══════════════════════════════════════════
   RTL SUPPORT (Arabic)
═══════════════════════════════════════════ */
[dir="rtl"] .salary-row { flex-direction: row-reverse; }
[dir="rtl"] .price-row  { flex-direction: row-reverse; }

[dir="rtl"] .product-img-label  { left: auto; right: 20px; text-align: right; }
[dir="rtl"] .currency-dropdown  { left: auto; right: 0; }
[dir="rtl"] .lang-dropdown      { right: 0; left: auto; }

[dir="rtl"] .habit-tabs .habit-tab:not(:last-child) {
  border-right: none;
  border-left: 1px solid var(--border);
}

[dir="rtl"] .share-card-footer { text-align: left; }

[dir="rtl"] .hero-headline { letter-spacing: 0; }

/* Arabic font sizing adjustments */
:lang(ar) .font-display,
:lang(ar) h1, :lang(ar) h2 { font-family: 'DM Sans', sans-serif; font-weight: 700; }


/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes count-up {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

.animate-fade-up   { animation: fade-up 0.55s ease-out both; }
.animate-fade-in   { animation: fade-in 0.4s ease-out both; }
.animate-count-up  { animation: count-up 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

/* Stagger helpers */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }


/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */

/* 375px (iPhone SE) */
@media (max-width: 390px) {
  .hero-headline { font-size: 2.1rem; letter-spacing: -0.02em; }
  .tagline       { font-size: 1rem; }

  .form-label    { font-size: 1.5rem; }
  .salary-row    { flex-wrap: wrap; }
  .currency-trigger { min-width: 80px; }

  .time-big-number { font-size: 3.25rem; }
  .comparisons-grid { grid-template-columns: 1fr 1fr; }

  .cta-btn { padding: 16px 20px; font-size: 1rem; }
}

/* Very small (< 350px) */
@media (max-width: 349px) {
  .hero-headline { font-size: 1.875rem; }
  .time-big-number { font-size: 2.75rem; }
}

/* Tablet and up */
@media (min-width: 640px) {
  .mode-toggle-mobile { display: none; }
}
