/* ==========================================================================
   Dataura — Data Analysis / Security / Engineering
   Main stylesheet
   Built on Bootstrap 5 + Material Design 3 design tokens
   Sections:
     1. Design tokens (MD3) + color presets
     2. Light / Dark themes
     3. Base & typography
     4. Layout helpers
     5. Buttons (MD3)
     6. Header / Mega menu
     7. Components (cards, services, process, pricing, testimonials, faq...)
     8. Hero / parallax / particles
     9. Footer
    10. Utilities, animation, responsive
   ========================================================================== */

/* 1. ---------- Design tokens (Material Design 3) ----------------------- */
:root {
  /* Color preset hue — overridden by [data-preset] below */
  --md-primary: #4f6bed;
  --md-primary-rgb: 79, 107, 237;
  --md-secondary: #00c2a8;
  --md-secondary-rgb: 0, 194, 168;
  --md-tertiary: #ff7a59;

  /* MD3 shape scale */
  --md-shape-xs: 6px;
  --md-shape-sm: 10px;
  --md-shape-md: 16px;
  --md-shape-lg: 24px;
  --md-shape-xl: 32px;
  --md-shape-full: 999px;

  /* MD3 elevation (light) */
  --md-elev-1: 0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.10);
  --md-elev-2: 0 2px 6px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --md-elev-3: 0 6px 18px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --md-elev-4: 0 12px 32px rgba(0,0,0,.14), 0 4px 10px rgba(0,0,0,.08);

  /* Motion */
  --md-ease: cubic-bezier(.2, 0, 0, 1);
  --md-ease-emphasized: cubic-bezier(.2, 0, 0, 1);
  --md-dur: .3s;

  /* Typography */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container-max: 1280px;
}

/* ---- Color presets (data-preset on <html>) ---- */
[data-preset="indigo"] { --md-primary:#4f6bed; --md-primary-rgb:79,107,237; --md-secondary:#00c2a8; --md-secondary-rgb:0,194,168; --md-tertiary:#ff7a59; }
[data-preset="violet"] { --md-primary:#7c4dff; --md-primary-rgb:124,77,255; --md-secondary:#ff5fa2; --md-secondary-rgb:255,95,162; --md-tertiary:#22d3ee; }
[data-preset="emerald"]{ --md-primary:#10b981; --md-primary-rgb:16,185,129; --md-secondary:#3b82f6; --md-secondary-rgb:59,130,246; --md-tertiary:#f59e0b; }
[data-preset="sunset"] { --md-primary:#f5576c; --md-primary-rgb:245,87,108; --md-secondary:#ffb347; --md-secondary-rgb:255,179,71; --md-tertiary:#7c4dff; }
[data-preset="ocean"]  { --md-primary:#0ea5e9; --md-primary-rgb:14,165,233; --md-secondary:#22d3ee; --md-secondary-rgb:34,211,238; --md-tertiary:#a855f7; }

/* 2. ---------- Light / Dark themes ----------------------------------- */
:root,
[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-variant: #eef1f8;
  --surface-2: #f1f3fa;
  --on-bg: #11131a;
  --on-surface: #1b1d26;
  --on-surface-muted: #5a6072;
  --outline: #d9deec;
  --outline-soft: #e7ebf5;
  --hero-grad: radial-gradient(1200px 600px at 80% -10%, rgba(var(--md-primary-rgb), .18), transparent 60%),
               radial-gradient(900px 500px at 0% 10%, rgba(var(--md-secondary-rgb), .14), transparent 55%);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0b0d14;
  --bg-elevated: #12151f;
  --surface: #141823;
  --surface-variant: #1b2030;
  --surface-2: #181c28;
  --on-bg: #eef1f8;
  --on-surface: #e8ebf3;
  --on-surface-muted: #9aa3b8;
  --outline: #2a3145;
  --outline-soft: #232a3b;
  --md-elev-1: 0 1px 2px rgba(0,0,0,.4);
  --md-elev-2: 0 2px 8px rgba(0,0,0,.45);
  --md-elev-3: 0 8px 24px rgba(0,0,0,.5);
  --md-elev-4: 0 16px 40px rgba(0,0,0,.55);
  --hero-grad: radial-gradient(1200px 600px at 80% -10%, rgba(var(--md-primary-rgb), .28), transparent 60%),
               radial-gradient(900px 500px at 0% 10%, rgba(var(--md-secondary-rgb), .2), transparent 55%);
  color-scheme: dark;
}

/* 3. ---------- Base & typography ------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--on-bg);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background var(--md-dur) var(--md-ease), color var(--md-dur) var(--md-ease);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--on-surface);
}

a { color: var(--md-primary); text-decoration: none; transition: color var(--md-dur) var(--md-ease); }
a:hover { color: var(--md-secondary); }

p { color: var(--on-surface-muted); }

::selection { background: rgba(var(--md-primary-rgb), .25); }

.text-gradient {
  background: linear-gradient(100deg, var(--md-primary), var(--md-secondary) 60%, var(--md-tertiary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--md-primary);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--md-primary), transparent);
}

.section { padding: clamp(4rem, 8vw, 7.5rem) 0; position: relative; }
.section-sm { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; }
.lead-muted { color: var(--on-surface-muted); font-size: 1.05rem; }

/* 4. ---------- Layout helpers ---------------------------------------- */
.container { max-width: var(--container-max); }

.surface-card {
  background: var(--surface);
  border: 1px solid var(--outline-soft);
  border-radius: var(--md-shape-lg);
  box-shadow: var(--md-elev-1);
}

.divider { height: 1px; background: var(--outline-soft); border: 0; }

/* 5. ---------- Buttons (MD3 flavored) -------------------------------- */
.btn { font-family: var(--font-display); font-weight: 600; border-radius: var(--md-shape-full); padding: .7rem 1.5rem; transition: all var(--md-dur) var(--md-ease); position: relative; overflow: hidden; }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }

.btn-filled {
  background: var(--md-primary);
  color: #fff;
  border: 1px solid var(--md-primary);
  box-shadow: var(--md-elev-1);
}
.btn-filled:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--md-elev-3); filter: brightness(1.05); }

.btn-gradient {
  background: linear-gradient(100deg, var(--md-primary), var(--md-secondary));
  color: #fff; border: 0; box-shadow: 0 8px 24px rgba(var(--md-primary-rgb), .35);
}
.btn-gradient:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(var(--md-primary-rgb), .45); }

.btn-tonal {
  background: rgba(var(--md-primary-rgb), .12);
  color: var(--md-primary);
  border: 1px solid transparent;
}
.btn-tonal:hover { background: rgba(var(--md-primary-rgb), .2); color: var(--md-primary); transform: translateY(-2px); }

.btn-outline-md {
  background: transparent;
  color: var(--on-surface);
  border: 1px solid var(--outline);
}
.btn-outline-md:hover { border-color: var(--md-primary); color: var(--md-primary); background: rgba(var(--md-primary-rgb), .06); }

.btn-icon-arrow { display: inline-flex; align-items: center; gap: .5rem; }
.btn-icon-arrow .material-symbols-rounded { font-size: 1.15rem; transition: transform var(--md-dur) var(--md-ease); }
.btn-icon-arrow:hover .material-symbols-rounded { transform: translateX(4px); }

/* link with arrow */
.link-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-family: var(--font-display); color: var(--md-primary); }
.link-more .material-symbols-rounded { font-size: 1.1rem; transition: transform var(--md-dur) var(--md-ease); }
.link-more:hover .material-symbols-rounded { transform: translateX(4px); }

/* 6. ---------- Header / Mega menu ------------------------------------ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  transition: background var(--md-dur) var(--md-ease), box-shadow var(--md-dur) var(--md-ease), padding var(--md-dur) var(--md-ease);
  padding: .65rem 0;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: var(--md-elev-2);
  border-bottom: 1px solid var(--outline-soft);
}

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--on-surface); letter-spacing: -.02em; }
.brand:hover { color: var(--on-surface); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--md-primary), var(--md-secondary));
  display: grid; place-items: center; color: #fff; box-shadow: var(--md-elev-2);
}
.brand-mark .material-symbols-rounded { font-size: 22px; }

.nav-main { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-main > li { position: relative; }
.nav-link-top {
  display: inline-flex; align-items: center; gap: .25rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--on-surface); padding: .6rem .9rem; border-radius: var(--md-shape-full);
  cursor: pointer; transition: all var(--md-dur) var(--md-ease); background: transparent; border: 0;
}
.nav-link-top:hover, .nav-link-top.active { color: var(--md-primary); background: rgba(var(--md-primary-rgb), .08); }
.nav-link-top .material-symbols-rounded { font-size: 1.1rem; transition: transform var(--md-dur) var(--md-ease); }
.nav-main > li:hover .nav-link-top .material-symbols-rounded { transform: rotate(180deg); }

/* Mega menu / dropdown panel */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px);
  background: var(--surface); border: 1px solid var(--outline-soft);
  border-radius: var(--md-shape-lg); box-shadow: var(--md-elev-4);
  padding: 1.25rem; min-width: 640px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--md-dur) var(--md-ease), transform var(--md-dur) var(--md-ease);
  z-index: 100;
}
.mega.mega-sm { min-width: 240px; }
.nav-main > li:hover > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega::before { content:""; position:absolute; top:-14px; left:0; right:0; height:14px; }

.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; }
.mega-promo {
  grid-column: span 2;
  margin-top: .6rem; padding: 1.1rem; border-radius: var(--md-shape-md);
  background: linear-gradient(120deg, rgba(var(--md-primary-rgb), .12), rgba(var(--md-secondary-rgb), .12));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.mega-item { display: flex; gap: .8rem; padding: .7rem; border-radius: var(--md-shape-md); transition: background var(--md-dur) var(--md-ease); }
.mega-item:hover { background: var(--surface-variant); }
.mega-item .mi-icon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--md-primary-rgb), .12); color: var(--md-primary); }
.mega-item .mi-title { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--on-surface); margin: 0; }
.mega-item .mi-sub { font-size: .82rem; color: var(--on-surface-muted); margin: 0; }

.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list a { display: block; padding: .55rem .8rem; border-radius: var(--md-shape-sm); color: var(--on-surface); font-weight: 500; }
.mega-list a:hover { background: var(--surface-variant); color: var(--md-primary); }

/* header tools */
.header-tools { display: flex; align-items: center; gap: .4rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: var(--md-shape-full);
  display: grid; place-items: center; border: 1px solid var(--outline-soft);
  background: var(--surface); color: var(--on-surface); cursor: pointer; transition: all var(--md-dur) var(--md-ease);
}
.icon-btn:hover { color: var(--md-primary); border-color: var(--md-primary); transform: translateY(-2px); }
.icon-btn .material-symbols-rounded { font-size: 1.3rem; }

.lang-select { position: relative; }
.lang-select select {
  appearance: none; -webkit-appearance: none;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  background: var(--surface); color: var(--on-surface);
  border: 1px solid var(--outline-soft); border-radius: var(--md-shape-full);
  padding: .55rem 2rem .55rem 1rem; cursor: pointer;
}
.lang-select::after { content: "expand_more"; font-family: "Material Symbols Rounded"; position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--on-surface-muted); }

/* Mobile nav offcanvas */
.mobile-toggle { display: none; }
@media (max-width: 1100px) {
  .nav-main, .header-tools .lang-select, .header-tools .btn-cta { display: none; }
  .mobile-toggle { display: grid; }
}
.offcanvas { background: var(--surface); color: var(--on-surface); }
.mobile-nav-link { display: flex; align-items: center; justify-content: space-between; padding: .9rem .25rem; font-family: var(--font-display); font-weight: 600; color: var(--on-surface); border-bottom: 1px solid var(--outline-soft); }
.mobile-sub { list-style: none; padding: 0 0 .5rem .75rem; margin: 0; }
.mobile-sub a { display: block; padding: .5rem .25rem; color: var(--on-surface-muted); font-weight: 500; }

/* 7. ---------- Components -------------------------------------------- */
/* Page hero (inner pages) */
.page-hero { position: relative; padding: clamp(8rem, 14vw, 11rem) 0 clamp(3rem, 6vw, 5rem); background: var(--hero-grad); overflow: hidden; }
.breadcrumbs { display: flex; gap: .5rem; align-items: center; font-weight: 600; font-family: var(--font-display); font-size: .9rem; }
.breadcrumbs a { color: var(--on-surface-muted); }
.breadcrumbs .sep { color: var(--outline); }
.breadcrumbs .current { color: var(--md-primary); }

/* Service / feature cards */
.feature-card {
  background: var(--surface); border: 1px solid var(--outline-soft);
  border-radius: var(--md-shape-lg); padding: 2rem; height: 100%;
  transition: transform var(--md-dur) var(--md-ease), box-shadow var(--md-dur) var(--md-ease), border-color var(--md-dur) var(--md-ease);
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(120deg, transparent, rgba(var(--md-primary-rgb), .4), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--md-dur) var(--md-ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--md-elev-4); }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 60px; height: 60px; border-radius: var(--md-shape-md); display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(var(--md-primary-rgb), .15), rgba(var(--md-secondary-rgb), .15));
  color: var(--md-primary); margin-bottom: 1.25rem; transition: transform var(--md-dur) var(--md-ease);
}
.feature-icon .material-symbols-rounded { font-size: 30px; }
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.feature-card h3, .feature-card h4 { font-size: 1.25rem; margin-bottom: .6rem; }
.feature-card .num-badge { position: absolute; top: 1.25rem; right: 1.5rem; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--outline-soft); line-height: 1; }

/* tag pill */
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: var(--md-shape-full); background: rgba(var(--md-primary-rgb), .1); color: var(--md-primary); font-size: .8rem; font-weight: 600; font-family: var(--font-display); }
.pill-popular { background: var(--md-tertiary); color: #fff; }

/* Stats */
.stat { text-align: center; }
.stat .stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.stat .stat-label { color: var(--on-surface-muted); font-size: .9rem; margin-top: .4rem; }

/* Process steps */
.process-step { position: relative; padding: 2rem; border-radius: var(--md-shape-lg); background: var(--surface); border: 1px solid var(--outline-soft); height: 100%; transition: all var(--md-dur) var(--md-ease); }
.process-step:hover { box-shadow: var(--md-elev-3); transform: translateY(-6px); }
.process-num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; width: 54px; height: 54px; border-radius: var(--md-shape-full); display: grid; place-items: center; background: linear-gradient(135deg, var(--md-primary), var(--md-secondary)); color: #fff; margin-bottom: 1.25rem; }

/* Pricing */
.price-card { background: var(--surface); border: 1px solid var(--outline-soft); border-radius: var(--md-shape-xl); padding: 2.25rem; height: 100%; transition: all var(--md-dur) var(--md-ease); position: relative; }
.price-card:hover { transform: translateY(-8px); box-shadow: var(--md-elev-4); }
.price-card.featured { border-color: var(--md-primary); box-shadow: 0 20px 50px rgba(var(--md-primary-rgb), .25); }
.price-card.featured::before { content: "Popular"; position: absolute; top: 1.75rem; right: 1.75rem; background: var(--md-primary); color: #fff; font-size: .75rem; font-weight: 700; font-family: var(--font-display); padding: .25rem .8rem; border-radius: var(--md-shape-full); }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; line-height: 1; }
.price-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.price-list li { display: flex; gap: .6rem; align-items: center; padding: .45rem 0; color: var(--on-surface-muted); }
.price-list li .material-symbols-rounded { color: var(--md-secondary); font-size: 1.2rem; }
.price-list li.off { color: var(--outline); text-decoration: line-through; }
.price-list li.off .material-symbols-rounded { color: var(--outline); }

/* Testimonials */
.testimonial-card { background: var(--surface); border: 1px solid var(--outline-soft); border-radius: var(--md-shape-lg); padding: 2rem; height: 100%; }
.testimonial-card .quote-mark { font-family: var(--font-display); font-size: 3rem; line-height: .5; color: var(--md-primary); opacity: .35; }
.stars { color: #ffb400; display: inline-flex; }
.stars .material-symbols-rounded { font-size: 1.1rem; font-variation-settings: 'FILL' 1; }
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.avatar-fallback { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--md-primary), var(--md-secondary)); }

/* FAQ accordion (MD3) */
.faq-item { background: var(--surface); border: 1px solid var(--outline-soft); border-radius: var(--md-shape-md); margin-bottom: 1rem; overflow: hidden; transition: box-shadow var(--md-dur) var(--md-ease); }
.faq-item.open { box-shadow: var(--md-elev-2); }
.faq-q { width: 100%; text-align: left; background: transparent; border: 0; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--on-surface); cursor: pointer; }
.faq-q .material-symbols-rounded { transition: transform var(--md-dur) var(--md-ease); color: var(--md-primary); }
.faq-item.open .faq-q .material-symbols-rounded { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--md-dur) var(--md-ease); }
.faq-a-inner { padding: 0 1.5rem 1.4rem; color: var(--on-surface-muted); }

/* Case / portfolio */
.case-card { position: relative; border-radius: var(--md-shape-lg); overflow: hidden; display: block; aspect-ratio: 4/3; }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--md-ease); }
.case-card:hover img { transform: scale(1.08); }
.case-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,10,18,.85), transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; opacity: 0; transition: opacity var(--md-dur) var(--md-ease); }
.case-card:hover .case-overlay { opacity: 1; }
.case-overlay h3 { color: #fff; font-size: 1.3rem; margin-bottom: .25rem; }
.case-overlay span { color: rgba(255,255,255,.75); font-size: .85rem; }

/* Team */
.team-card { text-align: center; }
.team-photo { position: relative; border-radius: var(--md-shape-lg); overflow: hidden; aspect-ratio: 1; margin-bottom: 1rem; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--md-ease); }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-social { position: absolute; left: 0; right: 0; bottom: -60px; display: flex; justify-content: center; gap: .5rem; padding: 1rem; transition: bottom var(--md-dur) var(--md-ease); }
.team-card:hover .team-social { bottom: 0; }
.team-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--md-primary); display: grid; place-items: center; box-shadow: var(--md-elev-2); }

/* Blog */
.blog-card { background: var(--surface); border: 1px solid var(--outline-soft); border-radius: var(--md-shape-lg); overflow: hidden; height: 100%; transition: all var(--md-dur) var(--md-ease); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--md-elev-4); }
.blog-thumb { aspect-ratio: 16/10; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--md-ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.07); }
.blog-body { padding: 1.5rem; }
.blog-meta { display: flex; gap: 1rem; font-size: .82rem; color: var(--on-surface-muted); margin-bottom: .6rem; }

/* Logo strip */
.logo-strip { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; justify-content: center; opacity: .6; }
.logo-strip span { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--on-surface-muted); }

/* Contact / forms */
.form-control, .form-select {
  background: var(--surface); border: 1px solid var(--outline); color: var(--on-surface);
  border-radius: var(--md-shape-md); padding: .85rem 1rem; transition: all var(--md-dur) var(--md-ease);
}
.form-control:focus, .form-select:focus { background: var(--surface); color: var(--on-surface); border-color: var(--md-primary); box-shadow: 0 0 0 4px rgba(var(--md-primary-rgb), .15); }
.form-control::placeholder { color: var(--on-surface-muted); opacity: .7; }
.form-label { font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--on-surface); margin-bottom: .4rem; }
.contact-tile { display: flex; gap: 1rem; align-items: flex-start; }
.contact-tile .ct-icon { width: 50px; height: 50px; flex: 0 0 auto; border-radius: var(--md-shape-md); background: rgba(var(--md-primary-rgb), .12); color: var(--md-primary); display: grid; place-items: center; }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--md-shape-lg); filter: grayscale(.2); }
[data-theme="dark"] .map-frame { filter: grayscale(.4) invert(.9) hue-rotate(180deg); }

/* CTA band */
.cta-band { border-radius: var(--md-shape-xl); padding: clamp(2.5rem, 5vw, 4rem); background: linear-gradient(120deg, var(--md-primary), var(--md-secondary)); color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.12); top: -120px; right: -80px; }

/* 8. ---------- Hero / parallax / particles --------------------------- */
.hero { position: relative; padding: clamp(9rem, 16vw, 13rem) 0 clamp(4rem, 8vw, 7rem); background: var(--hero-grad); overflow: hidden; }
#particles-hero { position: absolute; inset: 0; z-index: 0; }
.hero > .container { position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.04; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 1; }
.hero-blob.b1 { width: 380px; height: 380px; background: var(--md-primary); top: -80px; right: 4%; animation: float1 9s ease-in-out infinite; }
.hero-blob.b2 { width: 320px; height: 320px; background: var(--md-secondary); bottom: -60px; left: -40px; animation: float2 11s ease-in-out infinite; }

@keyframes float1 { 0%,100% { transform: translateY(0) } 50% { transform: translateY(30px) } }
@keyframes float2 { 0%,100% { transform: translate(0,0) } 50% { transform: translate(20px,-25px) } }

/* 3D parallax tilt card */
.tilt { transform-style: preserve-3d; transition: transform .2s var(--md-ease); will-change: transform; }
.tilt .tilt-layer { transform: translateZ(40px); }
.parallax-visual { position: relative; border-radius: var(--md-shape-xl); overflow: hidden; box-shadow: var(--md-elev-4); border: 1px solid var(--outline-soft); }
.parallax-visual img { width: 100%; display: block; }

/* floating glass chips on hero visual */
.glass-chip {
  position: absolute; background: color-mix(in srgb, var(--surface) 75%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--outline-soft); border-radius: var(--md-shape-md);
  padding: .8rem 1rem; box-shadow: var(--md-elev-3); display: flex; align-items: center; gap: .6rem;
}
.glass-chip .gc-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; }

/* mini bar chart graphic */
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.mini-chart span { width: 10px; border-radius: 4px 4px 0 0; background: linear-gradient(var(--md-primary), var(--md-secondary)); }

/* marquee (rotating tech words) */
.marquee { overflow: hidden; white-space: nowrap; padding: 1.25rem 0; border-top: 1px solid var(--outline-soft); border-bottom: 1px solid var(--outline-soft); }
.marquee-track { display: inline-flex; gap: 3rem; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--on-surface-muted); opacity: .35; display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: "✦"; color: var(--md-primary); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 9. ---------- Footer ------------------------------------------------- */
.site-footer { background: var(--bg-elevated); border-top: 1px solid var(--outline-soft); padding-top: 4.5rem; }
.footer-link { color: var(--on-surface-muted); display: block; padding: .35rem 0; transition: all var(--md-dur) var(--md-ease); }
.footer-link:hover { color: var(--md-primary); padding-left: .4rem; }
.footer-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 1rem; color: var(--on-surface); }
.social-btn { width: 42px; height: 42px; border-radius: var(--md-shape-full); border: 1px solid var(--outline-soft); display: grid; place-items: center; color: var(--on-surface); transition: all var(--md-dur) var(--md-ease); }
.social-btn:hover { background: var(--md-primary); color: #fff; border-color: var(--md-primary); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid var(--outline-soft); margin-top: 3rem; padding: 1.5rem 0; }
.newsletter-input { display: flex; gap: .5rem; }
.newsletter-input input { flex: 1; }

/* 10. ---------- Utilities / animation / responsive ------------------- */
/* Scroll reveal (driven by GSAP, with CSS fallback) */
[data-anim] { opacity: 0; transform: translateY(28px); }
.no-js [data-anim], .anim-ready [data-anim].is-in { opacity: 1; transform: none; }

/* Theme toggle FAB cluster (settings) */
.settings-fab { position: fixed; right: 18px; bottom: 18px; z-index: 1040; display: flex; flex-direction: column; gap: .6rem; align-items: flex-end; }
.settings-panel {
  background: var(--surface); border: 1px solid var(--outline-soft); border-radius: var(--md-shape-lg);
  box-shadow: var(--md-elev-4); padding: 1.1rem; width: 240px; transform-origin: bottom right;
  transform: scale(.85); opacity: 0; visibility: hidden; transition: all var(--md-dur) var(--md-ease);
}
.settings-panel.open { transform: scale(1); opacity: 1; visibility: visible; }
.settings-panel h6 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-surface-muted); margin: .8rem 0 .5rem; }
.preset-dots { display: flex; gap: .5rem; }
.preset-dot { width: 30px; height: 30px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: transform var(--md-dur) var(--md-ease); }
.preset-dot:hover { transform: scale(1.15); }
.preset-dot.active { border-color: var(--on-surface); }
.fab { width: 54px; height: 54px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--md-primary), var(--md-secondary)); color: #fff; box-shadow: var(--md-elev-4); cursor: pointer; display: grid; place-items: center; transition: transform var(--md-dur) var(--md-ease); }
.fab:hover { transform: rotate(45deg); }
.fab .material-symbols-rounded { font-size: 1.6rem; }

/* progress scroll bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--md-primary), var(--md-secondary)); z-index: 2000; transition: width .1s linear; }

/* back to top */
.to-top { position: fixed; left: 18px; bottom: 18px; z-index: 1040; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--outline-soft); background: var(--surface); color: var(--on-surface); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--md-dur) var(--md-ease); cursor: pointer; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--md-primary); border-color: var(--md-primary); }

/* Swiper tweaks */
.swiper { padding-bottom: 3rem !important; }
.swiper-pagination-bullet { background: var(--on-surface-muted); }
.swiper-pagination-bullet-active { background: var(--md-primary); width: 22px; border-radius: 6px; }
.swiper-button-next, .swiper-button-prev { color: var(--md-primary); }

/* preloader */
.preloader { position: fixed; inset: 0; z-index: 4000; background: var(--bg); display: grid; place-items: center; transition: opacity .5s ease, visibility .5s ease; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.loader-ring { width: 54px; height: 54px; border-radius: 50%; border: 4px solid var(--outline-soft); border-top-color: var(--md-primary); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* accessibility */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 5000; background: var(--md-primary); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--md-shape-md) 0; }
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid rgba(var(--md-primary-rgb), .5); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-anim] { opacity: 1 !important; transform: none !important; }
}

/* responsive niceties */
@media (max-width: 991px) {
  .mega { display: none; }
  .glass-chip { display: none; }
}
@media (max-width: 575px) {
  .price-card, .feature-card, .testimonial-card { padding: 1.5rem; }
}
