/* =============================================
   KOSGO.SMY — REVAMPED MODERN LANDING PAGE
   ============================================= */

:root {
  color-scheme: light;
  --ink: #0a0f1c;
  --ink-secondary: #1a2035;
  --paper: #ffffff;
  --paper-alt: #f7f8fc;
  --paper-dark: #eef0f5;
  --muted: #5f6b7a;
  --muted-light: #8a93a3;
  --line: rgba(10, 15, 28, 0.08);
  --line-strong: rgba(10, 15, 28, 0.14);
  --navy: #0a0f1c;
  --navy-2: #111827;
  --navy-3: #1e293b;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-pale: #eff6ff;
  --cyan: #06b6d4;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --green: #10b981;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max: 1200px;
  --shadow-sm: 0 1px 3px rgba(10, 15, 28, 0.06);
  --shadow: 0 4px 24px rgba(10, 15, 28, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 15, 28, 0.12);
  --shadow-xl: 0 24px 72px rgba(10, 15, 28, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Self-hosted Inter font */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/Inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}
h1, h2, h3, h4, p { margin: 0; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  color: #fff;
  background: rgba(10, 15, 28, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition);
}
.site-header.is-scrolled {
  background: rgba(10, 15, 28, 0.95);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}
.site-nav a:hover { color: #fff; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  color: var(--ink);
  background: #fff;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  padding: 160px clamp(20px, 5vw, 64px) 80px;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(37, 99, 235, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(245, 158, 11, 0.15), transparent),
    radial-gradient(ellipse 40% 30% at 90% 70%, rgba(6, 182, 212, 0.12), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 32px;
  color: var(--gold-light);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(42px, 6.5vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 28px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-light), var(--cyan), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45);
}

.btn-outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.full-width { width: 100%; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 28px 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  width: fit-content;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 36px;
}
.stat strong {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
}

/* =============================================
   SECTION LABELS & COMMON
   ============================================= */
.section-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-label.light { color: var(--gold-light); }

.section-sub {
  max-width: 600px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

/* =============================================
    ABOUT
    ============================================= */
.about {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-left h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.about-right p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.about-right strong {
  color: var(--ink);
  font-weight: 700;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.highlight-card {
  padding: 24px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.highlight-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.highlight-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.highlight-card h4 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

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

/* =============================================
    CAPABILITIES
    ============================================= */
.capabilities {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper-alt);
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.capabilities-header {
  text-align: center;
  margin-bottom: 64px;
}
.capabilities-header h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.capabilities-header .section-sub {
  margin: 0 auto;
}

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

.cap-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.cap-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.cap-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}

.cap-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cap-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cap-tags span {
  display: inline-flex;
  padding: 4px 10px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

/* =============================================
    PORTFOLIO / PRODUCTS
    ============================================= */
.portfolio {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
  content-visibility: auto;
  contain-intrinsic-size: auto 1200px;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 64px;
}
.portfolio-header h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.portfolio-header .section-sub {
  margin: 0 auto;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card.featured {
  grid-column: 1 / -1;
  border: 2px solid var(--blue);
  background: linear-gradient(180deg, var(--blue-pale) 0%, var(--white) 30%);
}

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

.product-logos {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-logos img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.product-logos .small-logo {
  height: 40px;
}
.product-card.featured .product-logos img {
  height: 56px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
}

.product-card-body {
  flex: 1;
  padding: 28px;
}

.product-vertical {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  background: var(--paper-alt);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.product-card-body > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.product-features {
  display: grid;
  gap: 12px;
}

.feature {
  padding: 14px 16px;
  background: var(--paper-alt);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.feature strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.feature span {
  font-size: 13px;
  color: var(--muted);
}

.product-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 28px;
  border-top: 1px solid var(--line);
  background: var(--paper-alt);
}

.product-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  transition: all var(--transition);
}
.product-link:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.product-link.muted {
  color: var(--muted);
  border-color: var(--line);
}

/* =============================================
    CTA BANNER
    ============================================= */
.cta-banner {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--navy);
  color: #fff;
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-inner h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

/* =============================================
    FAQ
    ============================================= */
.faq-section {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--paper-alt);
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.faq-header {
  margin-bottom: 48px;
}
.faq-header h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.faq-list {
  max-width: 800px;
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: all var(--transition);
}
.faq-list details:hover {
  border-color: rgba(37, 99, 235, 0.15);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  transition: transform var(--transition);
}
.faq-list details[open] summary::after {
  content: '−';
}

.faq-list p {
  padding-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* =============================================
    CONTACT
    ============================================= */
.contact-section {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-left h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.contact-left > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

address {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  color: var(--muted);
  font-style: normal;
  font-size: 15px;
}
address a {
  display: block;
  color: var(--blue);
  font-weight: 700;
  transition: color var(--transition);
}
address a:hover { color: var(--blue-light); }

.contact-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper-alt);
  font: inherit;
  font-size: 15px;
  transition: all var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  margin: 0;
  color: var(--muted-light);
  font-size: 13px;
  text-align: center;
}

.form-status {
  display: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.form-status.success {
  display: block;
  color: #065f46;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.form-status.error {
  display: block;
  color: #991b1b;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  padding: 48px 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-desc {
  max-width: 500px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 600;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

.site-footer small {
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .about-grid,
  .contact-grid,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 0 24px;
  }
  .stat strong {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .site-header { height: 64px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    inset: 64px 16px auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    background: var(--navy-2);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
  }
  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .hero { min-height: auto; padding: 130px 0 60px; }
  .hero h1 { font-size: clamp(34px, 8vw, 48px); }

  .hero-stats {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .stat { padding: 16px 0; width: 100%; text-align: center; }
  .stat-divider { width: 60px; height: 1px; }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .product-card-header {
    padding: 16px 20px;
  }
  .product-card-body {
    padding: 20px;
  }
  .product-card-footer {
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .btn {
    min-height: 46px;
    padding: 12px 24px;
    font-size: 14px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* =============================================
   FADE-IN ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cap-card.fade-in:nth-child(1) { transition-delay: 0ms; }
.cap-card.fade-in:nth-child(2) { transition-delay: 80ms; }
.cap-card.fade-in:nth-child(3) { transition-delay: 160ms; }
.cap-card.fade-in:nth-child(4) { transition-delay: 240ms; }
.cap-card.fade-in:nth-child(5) { transition-delay: 320ms; }
.cap-card.fade-in:nth-child(6) { transition-delay: 400ms; }

.highlight-card.fade-in:nth-child(1) { transition-delay: 0ms; }
.highlight-card.fade-in:nth-child(2) { transition-delay: 80ms; }
.highlight-card.fade-in:nth-child(3) { transition-delay: 160ms; }
.highlight-card.fade-in:nth-child(4) { transition-delay: 240ms; }

.product-card.fade-in:nth-child(1) { transition-delay: 0ms; }
.product-card.fade-in:nth-child(2) { transition-delay: 100ms; }
.product-card.fade-in:nth-child(3) { transition-delay: 200ms; }
.product-card.fade-in:nth-child(4) { transition-delay: 300ms; }
.product-card.fade-in:nth-child(5) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}
