/* ============================================================
   AIR FRYER CALCULATOR — STYLE.CSS
   Design System: Purple/Dark Navy Theme
   ============================================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
  --primary: #7C3AED;
  --primary-light: #A78BFA;
  --primary-dark: #5B21B6;
  --primary-glow: rgba(124, 58, 237, 0.25);

  --dark-bg: #1E1A3C;
  --dark-bg-2: #2D2854;
  --dark-surface: #312E81;

  --bg-page: #F5F3FF;
  --bg-card: #FFFFFF;
  --bg-subtle: #EDE9FE;

  --text-dark: #1E1A3C;
  --text-body: #374151;
  --text-muted: #6B7280;
  --text-light: rgba(255, 255, 255, 0.85);

  --border: #E5E7EB;
  --border-purple: rgba(124, 58, 237, 0.2);

  --success: #10B981;
  --success-bg: #D1FAE5;
  --warning: #F59E0B;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-purple: 0 8px 32px rgba(124, 58, 237, 0.30);

  --transition: 0.22s ease;
  --transition-fast: 0.14s ease;
  --transition-slow: 0.42s ease;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- RESET & BASE --- */
*,
*::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-page);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

input,
textarea {
  font-family: inherit;
}

ul {
  list-style: none;
}

/* --- CONTAINER --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

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

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- GRADIENT TEXT --- */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #EC4899 50%, var(--primary-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.40);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary);
  border: 1.5px solid var(--border-purple);
}

.btn-ghost:hover {
  background: rgba(124, 58, 237, 0.14);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  border-radius: var(--radius-md);
}

.btn-calculate {
  padding: 16px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin-top: 8px;
}

.btn-icon {
  font-size: 1.1rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  color: var(--text-dark);
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.4rem;
}

.logo-text strong {
  color: var(--primary);
}

.logo-light .logo-text {
  color: rgba(255, 255, 255, 0.9);
}

.logo-light .logo-text strong {
  color: var(--primary-light);
}

.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.main-nav a:hover {
  color: var(--primary);
  background: var(--bg-subtle);
}

.nav-cta {
  margin-left: auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 24px 16px;
  border-top: 1px solid var(--border);
  background: #fff;
  gap: 2px;
}

.mobile-link {
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.mobile-link:hover {
  background: var(--bg-subtle);
  color: var(--primary);
}

.mobile-menu.open {
  display: flex;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-2) 50%, var(--dark-surface) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.3);
  color: var(--primary-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 3px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
}

.floating-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: absolute;
}

.card-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.card-value.savings {
  color: #86EFAC;
}

.card-1 {
  top: 20px;
  left: 10px;
  animation: float 4s ease-in-out infinite;
}

.card-2 {
  top: 20px;
  right: 10px;
  animation: float 4s ease-in-out infinite 1s;
}

.card-3 {
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: float 4s ease-in-out infinite 2s;
}

.hero-arrow {
  font-size: 2rem;
  color: var(--primary-light);
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.air-fryer-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fryer-body {
  width: 120px;
  height: 140px;
  background: linear-gradient(160deg, #3D3A5C, #1E1A3C);
  border-radius: 20px 20px 28px 28px;
  border: 2px solid rgba(124, 58, 237, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  animation: float 5s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(124, 58, 237, 0.2);
}

.fryer-screen {
  width: 60px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  box-shadow: 0 0 20px var(--primary-glow);
}

.fryer-knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A78BFA, #7C3AED);
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.hero-wave {
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
}

.section-badge {
  display: inline-block;
  background: var(--bg-subtle);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ============================================================
   CALCULATOR SECTION
   ============================================================ */
.calculator-section {
  background: var(--bg-page);
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.calc-panel {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* Input Panel */
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.panel-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Unit Toggle */
.unit-toggle {
  display: flex;
  background: var(--bg-subtle);
  padding: 3px;
  border-radius: var(--radius-full);
  gap: 2px;
}

.unit-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.unit-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-purple);
}

.unit-btn:hover:not(.active) {
  color: var(--primary);
}

/* Input groups */
.input-group {
  margin-bottom: 24px;
}

.input-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

/* Temp display */
.temp-display-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.temp-value-display {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: all var(--transition);
}

.temp-range-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Slider */
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--primary) 0%, var(--primary) var(--slider-pct, 50%), var(--border) var(--slider-pct, 50%), var(--border) 100%);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15), var(--shadow-md);
  transition: all var(--transition-fast);
  cursor: grab;
}

.slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(124, 58, 237, 0.15);
}

.slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15), var(--shadow-md);
  cursor: grab;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Time inputs */
.time-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 14px;
  flex: 1;
  transition: border-color var(--transition-fast);
}

.time-field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.time-field input {
  width: 100%;
  padding: 12px 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  background: transparent;
  border: none;
  outline: none;
  -moz-appearance: textfield;
  text-align: center;
}

.time-field input::-webkit-inner-spin-button,
.time-field input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.time-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.time-separator {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Result Panel */
.calc-result-panel {
  background: linear-gradient(145deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
  border: 1px solid rgba(124, 58, 237, 0.2);
  position: relative;
  overflow: hidden;
}

.calc-result-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.result-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.result-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #6EE7B7;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
  opacity: 0;
  transition: opacity var(--transition);
}

.result-badge.visible {
  opacity: 1;
}

/* Placeholder */
.result-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 240px;
  gap: 12px;
  text-align: center;
}

.placeholder-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.result-placeholder p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  line-height: 1.6;
}

.result-body {
  display: none;
}

.result-body.visible {
  display: block;
  animation: resultReveal 0.4s ease;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.result-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.temp-icon {
  background: rgba(124, 58, 237, 0.2);
}

.time-icon {
  background: rgba(16, 185, 129, 0.15);
}

.result-info {
  flex: 1;
}

.result-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.result-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.result-savings {
  font-size: 0.78rem;
  font-weight: 700;
  color: #6EE7B7;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.result-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

.result-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 20px;
}

.tip-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

#tip-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  background: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.step-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-purple);
  position: relative;
  transition: all var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3rem;
  font-weight: 900;
  color: var(--border-purple);
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(124, 58, 237, 0.1);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Formula Box */
.formula-box {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: #fff;
}

.formula-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.8rem;
}

.formula-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.formula-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

.formula-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.formula-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.formula-equation {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.formula-oven {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.formula-op {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-light);
}

.formula-val {
  font-size: 0.88rem;
  color: var(--primary-light);
  font-weight: 600;
}

.formula-val em {
  font-style: normal;
  opacity: 0.7;
}

.formula-result {
  font-size: 0.88rem;
  font-weight: 700;
  color: #6EE7B7;
}

/* ============================================================
   FOOD GUIDE
   ============================================================ */
.food-guide {
  background: var(--bg-page);
}

.unit-toggle-inline {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 3px;
  border-radius: var(--radius-full);
  gap: 2px;
  margin-top: 16px;
}

.unit-btn-sm {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.unit-btn-sm.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

/* Tabs */
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tab {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  transition: all var(--transition-fast);
}

.tab:hover {
  color: var(--primary);
  border-color: var(--primary-light);
}

.tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-purple);
}

/* Table */
.tab-content-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.food-table {
  width: 100%;
  border-collapse: collapse;
}

.food-table thead {
  background: linear-gradient(135deg, var(--dark-bg), var(--dark-bg-2));
}

.food-table thead th {
  padding: 16px 24px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.food-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-fast);
}

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

.food-table tbody tr:hover {
  background: var(--bg-subtle);
}

.food-table td {
  padding: 14px 24px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.food-table td:first-child {
  font-weight: 600;
  color: var(--text-dark);
}

.food-table td:nth-child(2) {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.food-table td:nth-child(3) {
  color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: #fff;
}

.faq-container {
  max-width: 720px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.accordion-item.open {
  border-color: var(--primary-light);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color var(--transition-fast);
  gap: 16px;
}

.accordion-trigger:hover {
  color: var(--primary);
}

.accordion-item.open .accordion-trigger {
  color: var(--primary);
}

.accordion-icon {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
  width: 20px;
  text-align: center;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.accordion-content {
  padding: 0 24px 20px;
}

.accordion-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark-bg);
  padding-top: 56px;
}

.footer-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  flex: 1;
  max-width: 320px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 12px;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  gap: 48px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.footer-nav-col a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}

.footer-nav-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
  }

  .calc-wrapper {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }

  /* Header */
  .main-nav,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 56px 0 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
    text-align: center;
  }

  .hero-sub {
    margin: 0 auto 32px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    height: 200px;
  }

  .card-1 {
    left: 0;
  }

  .card-2 {
    right: 0;
  }

  .air-fryer-graphic {
    display: none;
  }

  /* Calculator */
  .calc-wrapper {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* Formula */
  .formula-grid {
    grid-template-columns: 1fr;
  }

  .formula-divider {
    display: none;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-brand {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .calc-panel {
    padding: 20px;
  }

  .food-table td,
  .food-table th {
    padding: 12px 16px;
  }

  .tabs {
    gap: 4px;
  }

  .tab {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .formula-box {
    padding: 24px;
  }
}