/* ==========================================
   EMOT Homepage - style.css
   ========================================== */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0A0A1A;
  --bg-alt: #0F0721;
  --grad-start: #7C3AED;
  --grad-end: #3B82F6;
  --accent: #FF6B9D;
  --text: #FFFFFF;
  --text-muted: rgba(255,255,255,0.7);
  --text-dim: rgba(255,255,255,0.5);
  --card-bg: rgba(255,255,255,0.05);
  --card-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.1);
  --max-w: 1200px;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Language toggle */
html[lang="en"] .ko { display: none !important; }
html[lang="ko"] .en { display: none !important; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: rgba(124,58,237,0.4); color: #fff; }
::-moz-selection { background: rgba(124,58,237,0.4); color: #fff; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* --- NAV --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,26,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav.scrolled { background: rgba(10,10,26,0.95); }

.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.25rem; }
.nav-logo-img { width: 32px; height: 32px; border-radius: 8px; }

.nav-links { display: flex; gap: 28px; }
.nav-link {
  font-size: 0.875rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s; position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--grad-start), var(--grad-end)); border-radius: 1px;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  background: var(--card-bg); border: 1px solid var(--border); color: var(--text);
  padding: 6px 14px; border-radius: 6px; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
.lang-toggle:hover { background: var(--card-hover); }

.nav-menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative;
}
.nav-menu-btn span {
  display: block; width: 100%; height: 2px; background: var(--text);
  position: absolute; left: 0; transition: 0.3s;
}
.nav-menu-btn span:nth-child(1) { top: 0; }
.nav-menu-btn span:nth-child(2) { top: 9px; }
.nav-menu-btn span:nth-child(3) { top: 18px; }
.nav-menu-btn.open span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.nav-menu-btn.open span:nth-child(2) { opacity: 0; }
.nav-menu-btn.open span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* --- HERO --- */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(160deg, #0A0A1A 0%, #1A0A2E 50%, #0F0721 100%);
  overflow: hidden; padding: 0 24px;
}

.hero-particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.particle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.4), transparent 70%);
  animation: float var(--dur) ease-in-out infinite alternate;
}
@keyframes float {
  0% { transform: translate(0, 0) scale(1); opacity: var(--o1, 0.3); }
  100% { transform: translate(var(--dx), var(--dy)) scale(var(--s, 1.1)); opacity: var(--o2, 0.6); }
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-title {
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900; line-height: 1.2; margin-bottom: 20px;
  min-height: 1.3em;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.typing-cursor {
  animation: blink 0.8s ease-in-out infinite;
  -webkit-text-fill-color: var(--accent); color: var(--accent); font-weight: 300;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted); margin-bottom: 36px;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.75rem; color: var(--text-dim);
}
.scroll-chevron {
  width: 24px; height: 24px; border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim); transform: rotate(45deg);
  animation: bounce-chevron 2s ease-in-out infinite;
}
@keyframes bounce-chevron {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(8px); }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 12px; font-weight: 600;
  font-size: 1rem; transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #fff; box-shadow: 0 4px 24px rgba(124,58,237,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,0.4); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--card-bg); border-color: var(--grad-start); }

/* --- SECTIONS --- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 800; text-align: center; margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: var(--text-muted);
  font-size: clamp(0.9rem, 1.5vw, 1.125rem);
  margin-bottom: 56px; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* --- CARDS --- */
.card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; transition: all 0.3s;
}
.card:hover { background: var(--card-hover); transform: translateY(-4px); border-color: rgba(124,58,237,0.3); }
.card-glow:hover { box-shadow: 0 0 30px rgba(124,58,237,0.15); }

.card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.card h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

.card-badge {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  margin-bottom: 16px;
}
.card-code {
  display: block; margin-top: 16px; padding: 12px 16px;
  background: rgba(0,0,0,0.4); border-radius: 8px; font-size: 0.8rem;
  color: var(--grad-end); font-family: 'Courier New', monospace; overflow-x: auto;
}
.card-note {
  display: block; margin-top: 12px; padding: 10px 14px;
  background: rgba(124,58,237,0.1); border-left: 3px solid var(--grad-start);
  border-radius: 0 6px 6px 0; font-size: 0.75rem; color: var(--text-muted);
  line-height: 1.5;
}

/* --- PROBLEM GRID --- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* --- PIPELINE --- */
.pipeline { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.pipeline-step {
  flex: 0 0 220px; text-align: center; padding: 24px;
}
.pipeline-num {
  width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.1rem;
}
.pipeline-icon { font-size: 2.5rem; margin-bottom: 12px; }
.pipeline-step h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.pipeline-step p { color: var(--text-muted); font-size: 0.9rem; }

.pipeline-line {
  flex: 0 0 60px; height: 2px; margin-top: 44px;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  opacity: 0.4; align-self: flex-start;
}

/* --- DEMO --- */
.demo-carousel {
  display: flex; align-items: center; justify-content: center; gap: 56px;
  max-width: 800px; margin: 0 auto;
}
.demo-btn { margin-top: 32px; display: block; text-align: center; }

.demo-info { flex: 1; min-width: 0; }

.demo-scenario {
  display: none; opacity: 0;
  animation: demoFadeIn 0.5s ease-out forwards;
}
.demo-scenario.active { display: block; opacity: 1; }
@keyframes demoFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-tag {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 1px;
  margin-bottom: 16px;
}
.demo-tag-ad { background: linear-gradient(135deg, #EF4444, #F97316); }
.demo-tag-msg { background: linear-gradient(135deg, var(--grad-start), var(--accent)); }
.demo-tag-alert { background: linear-gradient(135deg, #F59E0B, #EAB308); color: #000; }
.demo-tag-emo { background: linear-gradient(135deg, #EC4899, #F472B6); }

.demo-info h3 {
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; line-height: 1.3;
}
.demo-info p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }

.demo-dots { display: flex; gap: 10px; margin-top: 28px; }
.demo-dot {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--border); transition: all 0.3s;
}
.demo-dot.active {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  width: 28px; border-radius: 5px;
}

.phone-mockup {
  width: 280px; height: 500px; flex-shrink: 0;
  background: #111; border: 3px solid rgba(255,255,255,0.15);
  border-radius: 36px; position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(124,58,237,0.15);
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 24px; background: #111;
  border-radius: 0 0 16px 16px; z-index: 2;
}
.phone-mockup iframe {
  width: 100%; height: 100%; border: none; border-radius: 33px;
  background: #111;
}
.phone-loading {
  position: absolute; inset: 0; z-index: 3;
  background: #111; border-radius: 33px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.phone-loading.active { opacity: 1; pointer-events: auto; }
.phone-loading-spinner {
  width: 32px; height: 32px;
  border: 3px solid rgba(255,255,255,0.1); border-top-color: var(--grad-start);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- TIMELINE --- */
.timeline { position: relative; padding: 40px 0; margin-top: 20px; }

.timeline-line {
  position: absolute; top: 50%; left: 5%; right: 5%;
  height: 3px; background: var(--border); transform: translateY(-50%);
}
.timeline-progress {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  border-radius: 2px; transition: width 1.2s ease-out;
}

.timeline-nodes {
  display: flex; justify-content: space-between; position: relative;
  padding: 0 2%;
}
.timeline-node { text-align: center; flex: 1; position: relative; }
.timeline-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--border); margin: 0 auto 12px;
  transition: background 0.5s, box-shadow 0.5s;
}
.timeline-node-active .timeline-dot-glow {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  box-shadow: 0 0 20px var(--grad-start), 0 0 40px rgba(124,58,237,0.3);
  animation: glow-pulse 2s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px var(--grad-start), 0 0 40px rgba(124,58,237,0.3); }
  50% { box-shadow: 0 0 30px var(--grad-start), 0 0 60px rgba(124,58,237,0.5); }
}

.timeline-text { /* wrapper for label/year/desc - critical for mobile flex layout */ }
.timeline-label { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.95rem; }
.timeline-year { font-size: 0.8rem; color: var(--text-dim); margin: 4px 0; }
.timeline-desc { font-size: 0.8rem; color: var(--text-muted); }

/* --- WHY NOW --- */
.whynow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- ENTERPRISE --- */
.roi-bar {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  margin-bottom: 56px; flex-wrap: wrap;
}
.roi-item { text-align: center; }
.roi-num {
  display: block; font-family: 'Poppins', sans-serif; font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.roi-label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.roi-divider { width: 1px; height: 48px; background: var(--border); }

.enterprise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* --- DIFF TABLE --- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.diff-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.95rem; min-width: 600px;
}
.diff-table th, .diff-table td {
  padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--border);
}
.diff-table th {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  color: var(--text-muted); font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.diff-table td:first-child, .diff-table th:first-child { text-align: left; }
.cell-no { color: rgba(255,255,255,0.25); }
.cell-partial { color: rgba(255,200,100,0.6); }
.cell-emot {
  color: #34D399; font-weight: 700;
  background: rgba(124,58,237,0.1);
  border-left: 1px solid rgba(124,58,237,0.2);
  border-right: 1px solid rgba(124,58,237,0.2);
}
.th-emot {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end)) !important;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-size: 1rem !important;
  position: relative;
}
.th-emot::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(124,58,237,0.06);
  border-left: 1px solid rgba(124,58,237,0.2);
  border-right: 1px solid rgba(124,58,237,0.2);
  z-index: -1;
}
.diff-table tbody tr:last-child .cell-emot {
  border-bottom: 2px solid rgba(124,58,237,0.3);
}

.diff-table tr:hover td { background: rgba(255,255,255,0.02); }
.diff-table tr:hover .cell-emot { background: rgba(124,58,237,0.15); }

/* --- CTA --- */
.section-cta {
  background: linear-gradient(160deg, #1A0A2E 0%, #0A0A1A 100%);
  padding: 100px 0 60px;
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 800px; margin: 0 auto; }
.cta-grid-single { grid-template-columns: 1fr; max-width: 500px; }
.patent-grid { max-width: 700px; margin: 0 auto; }
.cta-box {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 40px 32px; text-align: center;
}
.cta-box h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.3rem; margin-bottom: 12px; }
.cta-box p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }
.cta-box-enterprise { border-color: rgba(124,58,237,0.3); }

.store-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 0.9rem; font-weight: 600; transition: all 0.3s;
}
.store-badge:hover { background: var(--card-hover); border-color: var(--grad-start); }

.cta-email { margin-top: 16px; font-size: 0.85rem; color: var(--text-dim); }

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0; background: var(--bg);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: 'Poppins', sans-serif; font-weight: 700; }
.footer-logo { width: 24px; height: 24px; border-radius: 6px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.8rem; color: var(--text-dim); }

/* --- FADE-UP ANIMATION --- */
.fade-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  transition-delay: var(--delay, 0s);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  .whynow-grid { grid-template-columns: repeat(2, 1fr); }
  .enterprise-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: block; }

  /* Mobile nav drawer */
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,26,0.98); backdrop-filter: blur(12px);
    padding: 24px; gap: 20px; border-bottom: 1px solid var(--border);
  }
  .nav-link { font-size: 1rem; }

  .section { padding: 64px 0; }
  .section-label { margin-bottom: 8px; }
  .section-sub { margin-bottom: 40px; font-size: 0.9rem; }

  .problem-grid { grid-template-columns: 1fr; gap: 16px; }
  .enterprise-grid { grid-template-columns: 1fr; gap: 16px; }
  .cta-grid { grid-template-columns: 1fr; gap: 20px; }
  .whynow-grid { grid-template-columns: 1fr; gap: 16px; }

  .card { padding: 24px; }
  .card h3 { font-size: 1.1rem; }
  .card p { font-size: 0.9rem; }

  .pipeline { flex-direction: column; align-items: center; }
  .pipeline-step { flex: 0 0 auto; padding: 16px; }
  .pipeline-line {
    width: 2px; height: 32px; flex: 0 0 32px;
    margin-top: 0;
  }

  /* Timeline: vertical on mobile */
  .timeline { padding: 20px 0; }
  .timeline-line { display: none; }
  .timeline-nodes {
    flex-direction: column; gap: 24px; padding: 0;
  }
  .timeline-node {
    display: flex; align-items: center; gap: 16px; text-align: left;
  }
  .timeline-dot { margin: 0; flex-shrink: 0; }
  .timeline-label { font-size: 0.95rem; }

  /* Demo: phone on top, info below */
  .demo-carousel { flex-direction: column-reverse; gap: 28px; }
  .demo-info { text-align: center; }
  .demo-dots { justify-content: center; }
  .demo-info h3 { font-size: 1.15rem; }
  .demo-info p { font-size: 0.9rem; line-height: 1.7; }
  .phone-mockup { width: 220px; height: 392px; margin: 0 auto; }
  .phone-notch { width: 90px; height: 18px; }

  .roi-bar { gap: 20px; }
  .roi-divider { width: 40px; height: 1px; }

  .hero-title { font-size: clamp(1.8rem, 7vw, 3rem); }
  .hero-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-cta { gap: 12px; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }

  /* CTA section */
  .cta-box { padding: 28px 20px; }
  .cta-box h3 { font-size: 1.15rem; }

  /* Table: scroll hint */
  .table-wrap { position: relative; }
  .table-wrap::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 32px;
    background: linear-gradient(90deg, transparent, var(--bg));
    pointer-events: none; opacity: 0.8;
  }
  .diff-table { font-size: 0.85rem; }
  .diff-table th, .diff-table td { padding: 12px 14px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero { padding: 0 14px; }
  .section { padding: 52px 0; }

  .hero-title { font-size: clamp(1.5rem, 8vw, 2.2rem); min-height: auto; }
  .hero-sub { font-size: 0.85rem; }
  .hero-scroll { font-size: 0.65rem; bottom: 20px; }

  .phone-mockup { width: 200px; height: 356px; }
  .phone-notch { width: 80px; height: 16px; }
  .phone-mockup iframe { border-radius: 30px; }

  .demo-tag { font-size: 0.6rem; padding: 3px 10px; }
  .demo-info h3 { font-size: 1.05rem; }

  .pipeline-step h3 { font-size: 1rem; }
  .pipeline-icon { font-size: 2rem; }

  .roi-bar { flex-direction: column; gap: 16px; }
  .roi-divider { display: none; }

  .store-badges { flex-direction: column; }
  .store-badge { justify-content: center; }

  .cta-box { padding: 24px 16px; }
  .btn { padding: 11px 20px; font-size: 0.85rem; border-radius: 10px; }
}

/* Extra small screens (iPhone SE, etc.) */
@media (max-width: 360px) {
  .hero-title { font-size: 1.4rem; }
  .section-label { font-size: 1.4rem; }
  .phone-mockup { width: 180px; height: 320px; }
  .card { padding: 20px; }
  .card-icon { font-size: 2rem; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
  .hero-particles { display: none; }
  .timeline-progress { transition: none; width: 100% !important; }
  html { scroll-behavior: auto; }
}
