/* ============================================================
   SAFETECH LABS — Main Stylesheet
   ============================================================
   Structure:
   1. CSS Variables (Design Tokens)
   2. Reset & Base
   3. Custom Cursor
   4. Navigation
   5. Hero Section
   6. Buddy AI Section
   7. Products Section
   8. Why Us Section
   9. Contact Section
   10. Footer
   11. Utilities & Animations
   12. Responsive
   ============================================================ */


/* ─────────────────────────────────────────
   1. CSS VARIABLES — Edit brand colors here
   ───────────────────────────────────────── */
:root {
  /* Background tones */
  --bg-deep:    #0a0f1e;
  --bg-mid:     #0d1b3e;
  --bg-light:   #0f2a4a;

  /* Accent palette */
  --accent-cyan:    #00c8ff;
  --accent-violet:  #7b61ff;
  --accent-green:   #00ffc2;
  --accent-orange:  #ff6b35;
  --accent-gold:    #ffb347;

  /* Typography */
  --text-primary:   #e8edf5;
  --text-muted:     #8a98b8;

  /* Cards & Borders */
  --card-bg:    rgba(255, 255, 255, 0.04);
  --border:     rgba(255, 255, 255, 0.08);

  /* Spacing scale */
  --section-pad: 100px 60px;
  --card-radius: 16px;
  --btn-radius:  10px;
}


/* ─────────────────────────────────────────
   2. RESET & BASE
   ───────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
}

/* Noise texture overlay — subtle grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

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

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

ul { list-style: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--accent-violet); border-radius: 10px; }


/* ─────────────────────────────────────────
   3. CUSTOM CURSOR
   ───────────────────────────────────────── */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--accent-cyan);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, background 0.2s;
  mix-blend-mode: screen;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 200, 255, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.35s ease;
}


/* ─────────────────────────────────────────
   4. NAVIGATION
   ───────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease;
}

/* ── Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.2));
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
  letter-spacing: 0.3px;
}

.logo-text span { color: var(--accent-cyan); }

/* ── Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

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

/* ── CTA button in nav */
.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  color: #fff !important;
  border-radius: 8px;
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  transition: opacity 0.2s, transform 0.2s !important;
}

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


/* ─────────────────────────────────────────
   5. HERO SECTION
   ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 60px 80px;
  text-align: center;
}

/* ── Gradient Orbs — decorative background blobs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}

.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.18), transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.15), transparent 70%);
  top: 100px; right: -150px;
  animation-delay: -4s;
}

.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 194, 0.12), transparent 70%);
  bottom: 50px; left: 30%;
  animation-delay: -8s;
}

/* ── Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* ── Badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* ── Headline */
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  max-width: 900px;
  animation: fadeUp 0.8s 0.15s ease forwards;
  opacity: 0;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 50%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Subheadline */
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
  margin: 24px auto 0;
  font-weight: 300;
  animation: fadeUp 0.8s 0.3s ease forwards;
  opacity: 0;
}

/* ── CTA buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
  animation: fadeUp 0.8s 0.45s ease forwards;
  opacity: 0;
}

/* ── Stats bar */
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 80px;
  animation: fadeUp 0.8s 0.6s ease forwards;
  opacity: 0;
  position: relative;
  z-index: 1;
}

.stat { text-align: center; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 4px;
}


/* ─────────────────────────────────────────
   6. BUDDY AI SECTION
   ───────────────────────────────────────── */
.buddy-section {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(13, 27, 62, 0.6) 50%, var(--bg-deep) 100%);
  position: relative;
  z-index: 1;
}

.buddy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

/* ── Buddy visual container — replace content inside here */
.buddy-visual { position: relative; }

/*
  SCREENSHOT CONTAINER
  ─────────────────────
  To insert real Buddy app screenshots:
  1. Place your screenshot images in the /images/ folder
  2. Replace the .buddy-mockup div content with:
     <img src="images/buddy-screenshot-1.png" alt="Buddy App" class="buddy-screenshot">
  3. Add multiple screenshots by duplicating the img tag
  4. The .buddy-phone-frame wrapper creates the device frame
*/
.buddy-phone-frame {
  background: rgba(0, 200, 255, 0.04);
  border: 1px solid rgba(0, 200, 255, 0.15);
  border-radius: 20px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buddy-phone-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet), var(--accent-green));
}

/* Placeholder shown when no screenshot is inserted */
.buddy-screenshot-placeholder {
  text-align: center;
  padding: 40px;
}

.buddy-screenshot-placeholder p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

/* Actual screenshot — add this class to your img tags */
.buddy-screenshot {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* Multiple screenshots layout */
.buddy-screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.buddy-screenshots-grid .buddy-screenshot {
  border-radius: 10px;
}

/* ── Buddy info panel */
.buddy-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.buddy-info h2 .highlight {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.buddy-info p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  font-weight: 300;
}

.buddy-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.buddy-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-primary);
}

.feature-check {
  width: 20px; height: 20px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.buddy-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  color: #fff;
  border-radius: var(--btn-radius);
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.25);
}

.buddy-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0, 200, 255, 0.4);
}


/* ─────────────────────────────────────────
   7. PRODUCTS SECTION
   ───────────────────────────────────────── */
.products-section {
  padding: var(--section-pad);
  background: var(--bg-deep);
  position: relative;
  z-index: 1;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 24px;
}

/*
  PRODUCTS GRID
  ─────────────
  Add or remove .product-card divs to change the grid.
  Grid auto-fills based on available space (min 300px per card).
  Change minmax(300px, 1fr) to minmax(250px, 1fr) for more cards per row.
*/
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Top accent line on hover — change gradient per card below */
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover::before { opacity: 1; }
.card-a::before { background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet)); }
.card-b::before { background: linear-gradient(90deg, var(--accent-violet), var(--accent-green)); }
.card-c::before { background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan)); }
.card-d::before { background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold)); }

/* Status badge */
.product-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.status-flagship { background: rgba(0, 200, 255, 0.1); color: var(--accent-cyan); border: 1px solid rgba(0, 200, 255, 0.2); }
.status-patent   { background: rgba(255, 179, 71, 0.1); color: var(--accent-gold); border: 1px solid rgba(255, 179, 71, 0.2); }
.status-dev      { background: rgba(123, 97, 255, 0.1); color: var(--accent-violet); border: 1px solid rgba(123, 97, 255, 0.2); }
.status-concept  { background: rgba(0, 255, 194, 0.08); color: var(--accent-green); border: 1px solid rgba(0, 255, 194, 0.15); }

.product-icon {
  font-size: 32px;
  margin-bottom: 16px;
  /* Replace emoji with SVG icon: <img src="images/icon-name.svg" class="product-icon-img"> */
}

/* For SVG icons replacing emojis */
.product-icon-img {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1) opacity(0.7);
}

.product-name {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}


/* ─────────────────────────────────────────
   8. WHY US SECTION
   ───────────────────────────────────────── */
.why-section {
  padding: var(--section-pad);
  background: linear-gradient(135deg, rgba(13, 27, 62, 0.8), rgba(15, 42, 74, 0.5));
  position: relative;
  z-index: 1;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.why-card {
  padding: 32px;
  border-radius: var(--card-radius);
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: transform 0.3s;
}

.why-card:hover { transform: translateY(-4px); }

.why-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.wi-a { background: linear-gradient(135deg, rgba(0, 200, 255, 0.15), rgba(0, 200, 255, 0.05)); }
.wi-b { background: linear-gradient(135deg, rgba(123, 97, 255, 0.15), rgba(123, 97, 255, 0.05)); }
.wi-c { background: linear-gradient(135deg, rgba(0, 255, 194, 0.15), rgba(0, 255, 194, 0.05)); }
.wi-d { background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.05)); }

.why-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.why-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}


/* ─────────────────────────────────────────
   9. CONTACT SECTION
   ───────────────────────────────────────── */
.contact-section {
  padding: var(--section-pad);
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-card {
  max-width: 700px;
  margin: 60px auto 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet), var(--accent-green));
}

.contact-card h2 {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.contact-card p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.contact-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color 0.2s, background 0.2s;
}

.contact-item:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 200, 255, 0.06);
}

.contact-icon { font-size: 16px; }


/* ─────────────────────────────────────────
   10. FOOTER
   ───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-logo span { color: var(--accent-cyan); }

.footer-badge {
  padding: 3px 10px;
  background: rgba(0, 255, 194, 0.08);
  border: 1px solid rgba(0, 255, 194, 0.15);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--accent-green);
  letter-spacing: 1px;
}

.footer-right {
  font-size: 12px;
  color: var(--text-muted);
}


/* ─────────────────────────────────────────
   11. UTILITIES & ANIMATIONS
   ───────────────────────────────────────── */

/* Shared button styles */
.btn-primary {
  padding: 15px 36px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  color: #fff;
  border: none;
  border-radius: var(--btn-radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(0, 200, 255, 0.35);
}

.btn-secondary {
  padding: 15px 36px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

/* Section shared tags */
.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-cyan);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  font-weight: 300;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Gradient divider */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.2), rgba(123, 97, 255, 0.2), transparent);
  margin: 0 60px;
  position: relative;
  z-index: 1;
}

/* Keyframe animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

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

/* Scroll reveal — applied via JS */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ─────────────────────────────────────────
   12. RESPONSIVE
   ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .buddy-layout {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none; /* Add a hamburger menu in JS if needed */
  }

  section,
  .buddy-section,
  .products-section,
  .why-section,
  .contact-section {
    padding: 70px 24px;
  }

  .buddy-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-stats {
    gap: 28px;
  }

  footer {
    padding: 30px 24px;
    flex-direction: column;
    text-align: center;
  }

  .gradient-divider {
    margin: 0 24px;
  }

  .contact-card {
    padding: 40px 28px;
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero h1 { letter-spacing: -1px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .buddy-screenshots-grid { grid-template-columns: 1fr; }
  .contact-row { flex-direction: column; }
}
