/* ══════════════════════════════════════════════
   Histogo.dk — Promotional Landing Page
   Design System & Styles
   ══════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors */
  --brand: #E85D3A;
  --brand-hover: #d14e2d;
  --brand-light: #FED7AA;
  --brand-glow: rgba(232, 93, 58, 0.25);

  /* Neutrals */
  --cream: #F2EDE5;
  --cream-dark: #E8E0D4;
  --white: #FFFFFF;
  --card-bg: #FFFFFF;
  --navy: #1B2838;
  --navy-light: #2A3A4D;

  /* Text */
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #888;
  --text-on-dark: #F2EDE5;
  --text-on-brand: #FFFFFF;

  /* Spacing */
  --section-pad: 120px;
  --container-max: 1200px;
  --container-pad: 24px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);
  --shadow-brand: 0 8px 30px rgba(232, 93, 58, 0.3);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ── Typography ── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(232, 93, 58, 0.1);
  border: 1px solid rgba(232, 93, 58, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section-badge svg {
  width: 14px;
  height: 14px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.12s; }
.stagger > *:nth-child(3) { transition-delay: 0.19s; }
.stagger > *:nth-child(4) { transition-delay: 0.26s; }
.stagger > *:nth-child(5) { transition-delay: 0.33s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }
.stagger > *:nth-child(7) { transition-delay: 0.47s; }
.stagger > *:nth-child(8) { transition-delay: 0.54s; }


/* ══════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              padding var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(242, 237, 229, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--brand);
  color: var(--text-on-brand) !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
  box-shadow: var(--shadow-brand);
}

.nav-cta:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 35px rgba(232, 93, 58, 0.4);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--duration-fast), opacity var(--duration-fast);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ══════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(242, 237, 229, 0.3) 0%,
    rgba(242, 237, 229, 0.6) 50%,
    rgba(242, 237, 229, 1) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(232, 93, 58, 0.12);
  border: 1px solid rgba(232, 93, 58, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.hero-eyebrow .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--brand);
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--brand-light);
  border-radius: 3px;
  z-index: -1;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--brand);
  color: var(--text-on-brand);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--duration-fast);
  box-shadow: var(--shadow-brand);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232, 93, 58, 0.4);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--white);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--duration-fast);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-dark);
  text-decoration: none;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light);
}

.btn-secondary svg {
  width: 18px;
  height: 18px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.hero-stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero phone showcase — 3 phones */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-phones {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  position: relative;
  z-index: 2;
}

/* ── Ultra-Realistic iPhone 15 Pro Frame ── */
.phone-frame {
  position: relative;
  background: #000;
  border-radius: 46px;
  padding: 12px;
  flex-shrink: 0;
  transition: transform var(--duration-slow) var(--ease-out);
  /* Metallic bezel edge */
  box-shadow: 
    inset 0 0 0 2.5px #4f4f53,
    0 0 0 1px #222,
    0 25px 60px -10px rgba(0, 0, 0, 0.4);
}

/* Side phones */
.phone-frame.side {
  width: 175px;
  opacity: 0.85;
  transform: scale(0.9);
}

/* Center phone — larger & elevated */
.phone-frame.center {
  width: 250px;
  transform: translateY(-20px);
  z-index: 3;
}

.phone-frame:hover {
  transform: translateY(-8px);
}

.phone-frame.center:hover {
  transform: translateY(-28px);
}

/* Side button (power) */
.phone-frame::after {
  content: '';
  position: absolute;
  right: -2.5px;
  top: 28%;
  width: 2.5px;
  height: 38px;
  background: linear-gradient(180deg, #666, #333);
  border-radius: 0 2px 2px 0;
  box-shadow: -1px 0 2px rgba(0,0,0,0.5);
}

/* Volume buttons (left side) */
.phone-frame::before {
  content: '';
  position: absolute;
  left: -2.5px;
  top: 22%;
  width: 2.5px;
  height: 28px;
  background: linear-gradient(180deg, #666, #333);
  border-radius: 2px 0 0 2px;
  box-shadow: 
    1px 0 2px rgba(0,0,0,0.5),
    0 26px 0 0 #4f4f53, /* gap */
    0 54px 0 0 #4f4f53 /* lower button */
  ;
}

/* Exact iPhone Screen */
.phone-screen {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  aspect-ratio: 1179 / 2556;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Dynamic Island */
.phone-screen::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 31%;
  height: 25px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

/* Camera Lens reflection inside Dynamic Island */
.phone-screen::after {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(50% + 14%);
  width: 15px;
  height: 15px;
  background: #090909;
  border-radius: 50%;
  box-shadow: inset -1px -1px 2px rgba(255,255,255,0.25);
  z-index: 11;
  transform: translateX(-50%);
}

.hero-phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: var(--brand-glow);
  filter: blur(80px);
  z-index: 1;
}


/* ══════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════ */
.how-it-works {
  padding: var(--section-pad) 0;
  position: relative;
}

.how-it-works .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.how-it-works .section-subtitle {
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

/* Connection line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand), var(--brand-light));
  border-radius: 1px;
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

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

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--text-on-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 24px;
  box-shadow: 0 4px 15px rgba(232, 93, 58, 0.3);
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(232, 93, 58, 0.08), rgba(232, 93, 58, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.step-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ══════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════ */
.features {
  padding: var(--section-pad) 0;
  background: var(--white);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cream-dark), transparent);
}

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

.features .section-subtitle {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--white);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(232, 93, 58, 0.08), rgba(232, 93, 58, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ══════════════════════════════════════════════
   ROUTE THEMES
   ══════════════════════════════════════════════ */
.themes {
  padding: var(--section-pad) 0;
  position: relative;
}

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

.themes .section-subtitle {
  margin: 0 auto;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.theme-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: default;
}

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

.theme-card:hover .theme-icon {
  transform: scale(1.1);
}

.theme-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 93, 58, 0.08), rgba(232, 93, 58, 0.15)) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.3rem;
  transition: transform var(--duration-normal) var(--ease-out);
}

.theme-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.theme-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* ══════════════════════════════════════════════
   SHOWCASE / ABOUT SECTION
   ══════════════════════════════════════════════ */
.showcase {
  padding: var(--section-pad) 0;
  background: var(--navy);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.showcase::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(232, 93, 58, 0.08);
  filter: blur(100px);
}

.showcase .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.showcase-content {
  position: relative;
  z-index: 1;
}

.showcase .section-badge {
  background: rgba(232, 93, 58, 0.15);
  border-color: rgba(232, 93, 58, 0.25);
}

.showcase .section-title {
  color: var(--text-on-dark);
}

.showcase .section-subtitle {
  color: rgba(242, 237, 229, 0.7);
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.showcase-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.showcase-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(232, 93, 58, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.showcase-feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 4px;
}

.showcase-feature-text p {
  font-size: 0.88rem;
  color: rgba(242, 237, 229, 0.6);
  line-height: 1.6;
}

.showcase-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase-visual img {
  width: 360px;
  max-width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.showcase-visual-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 120px;
  background: rgba(232, 93, 58, 0.2);
  filter: blur(60px);
  border-radius: 50%;
}


/* ══════════════════════════════════════════════
   DOWNLOAD CTA
   ══════════════════════════════════════════════ */
.download {
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
}

.download-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand), var(--brand-light));
}

.download .section-subtitle {
  margin: 0 auto 48px;
}

.download-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  margin: 0 auto 32px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.download-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--text-primary);
  color: var(--white);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--duration-fast);
  box-shadow: var(--shadow-md);
}

.app-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #000;
}

.app-store-badge svg {
  width: 28px;
  height: 28px;
}

.app-store-badge-text {
  text-align: left;
}

.app-store-badge-text small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.8;
  font-weight: 400;
}

.app-store-badge-text span {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}

.download-free {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding: 8px 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #16a34a;
}


/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: var(--text-on-dark);
  padding: 60px 0 40px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(242, 237, 229, 0.5);
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(242, 237, 229, 0.4);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(242, 237, 229, 0.7);
  transition: color var(--duration-fast);
}

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

.footer-admin-teaser {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(232, 93, 58, 0.12);
  border: 1px solid rgba(232, 93, 58, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-light);
  margin-top: 8px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(242, 237, 229, 0.35);
}


/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-description {
    max-width: 100%;
  }

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

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

  .hero-visual {
    order: -1;
  }

  .hero-phone img {
    width: 280px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .showcase-visual {
    order: -1;
  }

  .showcase-features {
    align-items: center;
  }

  .showcase-feature {
    max-width: 400px;
    text-align: left;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
    --container-pad: 20px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(242, 237, 229, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .steps::before {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: 24px;
  }

  .download-card {
    padding: 48px 28px;
  }

  .footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .footer-tagline {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .themes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .theme-card {
    padding: 20px 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
