/* =====================================================
   Cybirus Security — Design System
   Dark cybersecurity theme with glass morphism
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --bg-900: #060B14;
  --bg-800: #0B1220;
  --bg-700: #0F1A2E;
  --bg-glass: rgba(15, 26, 46, 0.7);

  --teal-500: #0D9488;
  --teal-400: #2DD4BF;
  --teal-300: #99F6E4;

  --blue-600: #1D4ED8;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --blue-300: #93C5FD;

  --orange-600: #C2410C;
  --orange-400: #FB923C;
  --orange-200: #FED7AA;

  --purple-700: #3C3489;
  --purple-500: #8B5CF6;
  --purple-400: #A78BFA;
  --purple-300: #C4B5FD;

  --green-700: #065F46;
  --green-500: #10B981;
  --green-400: #34D399;
  --green-300: #6EE7B7;

  --amber-500: #F59E0B;
  --amber-400: #FBBF24;
  --amber-300: #FCD34D;

  --text-100: #F1F5F9;
  --text-300: #94A3B8;
  --text-500: #475569;

  --border: rgba(148, 163, 184, 0.1);
  --border-glow: rgba(45, 212, 191, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-900);
  color: var(--text-100);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ── Typography ── */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  color: var(--text-300);
  line-height: 1.75;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

/* ── Grid ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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

/* ── Flex ── */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.gap-4 {
  gap: 16px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  color: #fff;
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(13, 148, 136, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text-100);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--teal-400);
  color: var(--teal-400);
  background: rgba(13, 148, 136, 0.06);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.825rem;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-teal {
  background: rgba(13, 148, 136, 0.15);
  color: var(--teal-300);
  border: 1px solid rgba(13, 148, 136, 0.3);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue-300);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-orange {
  background: rgba(251, 146, 60, 0.15);
  color: var(--orange-200);
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple-300);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-300);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-300);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ── Cards ── */
.card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

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

/* ── Section Header ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .badge {
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ── Glow divider ── */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-500), transparent);
  opacity: 0.4;
  margin: 0;
}

/* =====================================================
   NAVBAR
   ===================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background: rgba(6, 11, 20, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--teal-500), var(--blue-600));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-logo span {
  color: var(--teal-400);
}

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

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-300);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-100);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-100);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =====================================================
   HERO
   ===================================================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(13, 148, 136, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(29, 78, 216, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 10% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 60%, var(--teal-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-300);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-500);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.hero-note::before {
  content: '🔒';
  font-size: 12px;
}

/* Stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 640px;
}

.stat-item {
  background: var(--bg-glass);
  padding: 24px 20px;
  text-align: center;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--teal-400);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-300);
}

/* =====================================================
   CLIENTS STRIP
   ===================================================== */
#clients {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
}

.clients-label {
  font-size: 0.75rem;
  color: var(--text-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 24px;
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.client-logo {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-500);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.client-logo:hover {
  color: var(--text-300);
}

/* =====================================================
   PRODUCTS
   ===================================================== */
#products {
  background: var(--bg-800);
}

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

.product-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: opacity 0.3s;
}

.product-card.blue::before {
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
}

.product-card.orange::before {
  background: linear-gradient(90deg, var(--orange-600), var(--orange-400));
}

.product-card.purple::before {
  background: linear-gradient(90deg, var(--purple-700), var(--purple-500));
}

.product-card.green::before {
  background: linear-gradient(90deg, var(--green-700), var(--green-500));
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card.blue:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 8px 40px rgba(59, 130, 246, 0.12);
}

.product-card.orange:hover {
  border-color: rgba(251, 146, 60, 0.35);
  box-shadow: 0 8px 40px rgba(251, 146, 60, 0.12);
}

.product-card.purple:hover {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 8px 40px rgba(139, 92, 246, 0.12);
}

.product-card.green:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 8px 40px rgba(16, 185, 129, 0.12);
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.product-icon.blue {
  background: rgba(59, 130, 246, 0.15);
}

.product-icon.orange {
  background: rgba(251, 146, 60, 0.15);
}

.product-icon.purple {
  background: rgba(139, 92, 246, 0.15);
}

.product-icon.green {
  background: rgba(16, 185, 129, 0.15);
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.product-tagline {
  font-size: 0.875rem;
  color: var(--text-300);
  margin-bottom: 20px;
  font-style: italic;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-300);
  margin-bottom: 24px;
  line-height: 1.7;
}

.product-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.product-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-300);
}

.product-benefits li::before {
  content: '✓';
  font-size: 0.75rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.product-card.blue .product-benefits li::before {
  background: rgba(59, 130, 246, 0.2);
  color: var(--blue-300);
}

.product-card.orange .product-benefits li::before {
  background: rgba(251, 146, 60, 0.2);
  color: var(--orange-200);
}

.product-card.purple .product-benefits li::before {
  background: rgba(139, 92, 246, 0.2);
  color: var(--purple-300);
}

.product-card.green .product-benefits li::before {
  background: rgba(16, 185, 129, 0.2);
  color: var(--green-300);
}

.product-cta {
  margin-top: auto;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
#how-it-works {
  background: var(--bg-900);
}

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

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-500), transparent);
  opacity: 0.3;
}

.step-item {
  text-align: center;
  padding: 20px 16px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-800);
  border: 2px solid var(--teal-500);
  color: var(--teal-400);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.2);
}

.step-item h4 {
  margin-bottom: 8px;
  color: var(--text-100);
}

.step-item p {
  font-size: 0.875rem;
}

/* =====================================================
   TRUST / WHY CHOOSE
   ===================================================== */
#why-us {
  background: var(--bg-800);
}

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

.trust-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color 0.3s;
}

.trust-card:hover {
  border-color: var(--border-glow);
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.trust-card h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

/* Testimonial */
#testimonials {
  background: var(--bg-900);
}

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

.testimonial-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-100);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 20px;
}

.testimonial-card blockquote::before {
  content: '"';
  font-size: 3rem;
  color: var(--teal-500);
  line-height: 0;
  vertical-align: -0.6em;
  margin-right: 4px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-name {
  font-size: 0.875rem;
  font-weight: 600;
}

.author-title {
  font-size: 0.78rem;
  color: var(--text-500);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
#cta-section {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(29, 78, 216, 0.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
  text-align: center;
}

#cta-section h2 {
  margin-bottom: 16px;
}

#cta-section p {
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
#contact-hero {
  padding: 160px 0 80px;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(13, 148, 136, 0.1) 0%, transparent 60%);
  text-align: center;
}

#contact-hero h1 {
  margin-bottom: 16px;
}

#contact-hero p {
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  padding-bottom: 96px;
}

.contact-info h3 {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.75rem;
  color: var(--text-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.contact-item-value {
  font-size: 0.9rem;
  color: var(--text-100);
  font-weight: 500;
}

.contact-item-sub {
  font-size: 0.78rem;
  color: var(--text-500);
}

/* Form */
.contact-form-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
}

.contact-form-card h3 {
  margin-bottom: 28px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-300);
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-100);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-500);
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: var(--bg-800);
}

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

.form-note {
  font-size: 0.78rem;
  color: var(--text-500);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.form-note::before {
  content: '🔒';
  font-size: 11px;
}

.form-submit-wrap {
  margin-top: 8px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h3 {
  margin-bottom: 8px;
  color: var(--green-300);
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
#about-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(13, 148, 136, 0.1) 0%, transparent 60%);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.mission-text h2 {
  margin-bottom: 20px;
}

.mission-text p {
  margin-bottom: 16px;
}

.mission-visual {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.mission-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(13, 148, 136, 0.15), transparent 60%);
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--bg-800);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-500);
  margin-top: 12px;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-500);
  margin-bottom: 16px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-300);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal-400);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-500);
}

.footer-badges {
  display: flex;
  gap: 12px;
}

.footer-badge {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-500);
}

/* =====================================================
   ANIMATED ELEMENTS
   ===================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(13, 148, 136, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.animate-fade-up {
  animation: fadeUp 0.7s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.pulse {
  animation: pulse-ring 2s infinite;
}

.float {
  animation: float 4s ease-in-out infinite;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* =====================================================
   PAGE VISIBILITY (SPA routing)
   ===================================================== */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {

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

  .steps-grid::before {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta .btn-outline {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .products-grid,
  .grid-2,
  .grid-3,
  .mission-grid,
  .contact-layout,
  .testimonial-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .clients-logos {
    gap: 24px;
  }

  h1 {
    font-size: 2rem;
  }

  .mobile-menu {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(6, 11, 20, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
    z-index: 99;
  }

  .mobile-menu a,
  #mobile-menu a {
    font-size: 1rem;
    color: var(--text-100);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
  }
}

/* =====================================================
   MOBILE MENU (ID-based)
   ===================================================== */
#mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(6, 11, 20, 0.97);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  gap: 16px;
  z-index: 99;
  backdrop-filter: blur(16px);
}

#mobile-menu a {
  font-size: 1rem;
  color: var(--text-100);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

#mobile-menu a:hover {
  color: var(--teal-400);
}

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 160px 24px 100px;
}

.legal-page h1 {
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 0.825rem;
  color: var(--text-500);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-section {
  margin-bottom: 40px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.3s;
}

.legal-section:hover {
  border-color: rgba(148, 163, 184, 0.15);
}

.legal-section h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.legal-section p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.legal-section ul {
  margin-top: 12px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section ul li {
  font-size: 0.875rem;
  color: var(--text-300);
  padding-left: 20px;
  position: relative;
}

.legal-section ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal-500);
  font-size: 0.75rem;
}

.legal-tldr {
  background: rgba(13, 148, 136, 0.06);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.legal-tldr h4 {
  color: var(--teal-300);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.legal-tldr ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-tldr ul li {
  font-size: 0.875rem;
  color: var(--text-100);
  padding-left: 20px;
  position: relative;
}

.legal-tldr ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-400);
  font-weight: 700;
}

.legal-contact-box {
  margin-top: 48px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.legal-contact-box p {
  font-size: 0.875rem;
}

.legal-contact-box a {
  color: var(--teal-400);
  font-weight: 600;
}

.legal-contact-box a:hover {
  text-decoration: underline;
}

/* Disclosure-specific */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.scope-box {
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.scope-box.in {
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.04);
}

.scope-box.out {
  border-color: rgba(251, 146, 60, 0.25);
  background: rgba(251, 146, 60, 0.04);
}

.scope-box h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.scope-box.in h5 {
  color: var(--green-400);
}

.scope-box.out h5 {
  color: var(--orange-400);
}

.scope-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scope-box ul li {
  font-size: 0.825rem;
  color: var(--text-300);
  padding-left: 16px;
  position: relative;
}

.scope-box.in ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-400);
  font-weight: 700;
}

.scope-box.out ul li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--orange-400);
  font-weight: 700;
}

/* PDPA rights table */
.rights-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.85rem;
}

.rights-table th {
  text-align: left;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-300);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}

.rights-table td {
  padding: 12px 14px;
  color: var(--text-300);
  border-bottom: 1px solid rgba(148, 163, 184, 0.07);
  vertical-align: top;
}

.rights-table td:first-child {
  color: var(--text-100);
  font-weight: 600;
}

.rights-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .rights-table {
    display: block;
    overflow-x: auto;
  }

  .legal-page {
    padding: 120px 16px 80px;
  }
}