/* ===== CSS RESET & CUSTOM PROPERTIES ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a2e;
  --bg-card: #16162a;
  --bg-card-hover: #1e1e3a;
  --accent: #00d4ff;
  --accent-dim: rgb(0 212 255 / 15%);
  --accent-glow: rgb(0 212 255 / 30%);
  --accent-secondary: #7b5ea7;
  --text-primary: #e8e8f0;
  --text-secondary: #a0a0b8;
  --text-muted: #6a6a82;
  --border: rgb(255 255 255 / 6%);
  --border-accent: rgb(0 212 255 / 20%);
  --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #12121a 40%, #1a1a2e 100%);
  --gradient-accent: linear-gradient(135deg, #00d4ff, #7b5ea7);
  --gradient-card: linear-gradient(145deg, #16162a, #1a1a35);
  --shadow-sm: 0 2px 8px rgb(0 0 0 / 30%);
  --shadow-md: 0 4px 20px rgb(0 0 0 / 40%);
  --shadow-lg: 0 8px 40px rgb(0 0 0 / 50%);
  --shadow-glow: 0 0 30px rgb(0 212 255 / 10%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Segoe UI', -apple-system, blinkmacsystemfont, roboto, 'Helvetica Neue', arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', consolas, monospace;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== UTILITIES ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title .accent-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  margin: 0 auto;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===== ANIMATED BACKGROUND GRID ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgb(10 10 15 / 80%);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  padding: 10px 0;
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}

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

.logo {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
  background: var(--accent-dim);
}

.nav-cta {
  background: var(--gradient-accent) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm) !important;
  -webkit-text-fill-color: #fff !important;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgb(0 212 255 / 30%);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 6px 0;
  transition: var(--transition);
  border-radius: 2px;
}

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

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgb(0 212 255 / 5%) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgb(123 94 167 / 5%) 0%, transparent 50%);
  animation: hero-glow 15s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-5%, 5%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, #a0a0b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 48px;
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero-service-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
  text-decoration: none;
  cursor: default;
}

.hero-service-chip:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.hero-service-chip .chip-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  pointer-events: none;
}

.about-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-content > p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.about-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.about-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ===== AI SECURITY ===== */
.ai-security {
  background: var(--bg-primary);
}

.ai-security .about-grid {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

.ai-security .about-content h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.ai-security .about-list {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.ai-security .about-list li {
  font-size: 1rem;
  line-height: 1.6;
}

.ai-security .about-content > p a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.ai-security .about-content > p a:hover {
  opacity: 0.8;
}

/* ===== FEATURES ===== */
.features {
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  counter-reset: feature-counter;
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  counter-increment: feature-counter;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition);
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

.feature-number {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.6;
}

/* ===== SERVICES ===== */
.services {
  background: var(--bg-secondary);
}

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

.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-card:hover::after {
  transform: scaleX(1);
}

.service-number {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.6;
}

.service-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgb(0 212 255 / 8%) 0%, transparent 70%);
}

.cta-banner .container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgb(0 212 255 / 35%);
}

/* ===== STATS ===== */
.stats {
  background: var(--bg-primary);
}

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

.stat-card {
  text-align: center;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  transition: var(--transition);
}

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

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--bg-secondary);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 20px;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonials-inner {
  display: flex;
  gap: 24px;
  animation: testimonial-scroll 60s linear infinite;
  width: max-content;
}

.testimonials-inner:hover {
  animation-play-state: paused;
}

@keyframes testimonial-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  flex: 0 0 400px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 4rem;
  line-height: 1;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.testimonial-author .name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.testimonial-author .role {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

.scroll-hint {
  text-align: center;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== TEAM ===== */
.team {
  background: var(--bg-primary);
}

.team-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}

.team-grid > .qualifications {
  margin-top: 0;
}

.team-profile-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  position: sticky;
  top: 100px;
  text-decoration: none;
  display: block;
  transition: var(--transition);
}

.team-profile-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.team-profile-card .name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.team-profile-card .bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.team-profile-card .company {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.linkedin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #0a66c2;
  color: #0a66c2;
  border-radius: 24px;
  padding: 8px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.linkedin-badge:hover {
  background: #0a66c2;
  color: #fff;
}

.credential-frame {
  margin-top: 20px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  display: inline-block;
}

.credential-frame img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.team-bio-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.team-bio-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.qualifications {
  margin-top: 24px;
  padding: 24px;
  background: rgb(0 212 255 / 3%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.qualifications h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--accent);
}

.qualifications ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.qualifications li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.qualifications li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

/* ===== QUOTES ===== */
.quotes {
  background: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
}

.quotes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgb(123 94 167 / 6%) 0%, transparent 70%);
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.quote-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: opacity 0.8s ease, border-color 0.8s ease, transform 0.8s ease, box-shadow 0.8s ease;
}

.quotes .quote-card.visible {
  opacity: 0.08;
}

.quotes .quote-card.quote-active {
  opacity: 1;
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.quotes .quote-card:hover {
  opacity: 1;
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.quote-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 16px;
  font-style: italic;
}

.quote-author {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-secondary);
}

.contact-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 18px 36px;
  text-decoration: none;
  transition: var(--transition);
}

.contact-email:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.contact-email .label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.contact-email .address {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

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

.footer h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer p,
.footer address {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.8;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  opacity: 0.8;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  margin-top: 12px;
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-linkedin:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.footer-newsletter h5 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer-newsletter p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

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

.footer-bottom a {
  color: var(--text-muted);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--accent);
  font-size: 1.2rem;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (width <= 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

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

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

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

  .team-profile-card {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .testimonial-card {
    flex: 0 0 340px;
  }
}

@media (width <= 768px) {
  .section {
    padding: 70px 0;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 40px 32px;
    gap: 4px;
    transition: right 0.35s ease;
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 40px rgb(0 0 0 / 50%);
  }

  .nav.open {
    right: 0;
  }

  .nav a {
    font-size: 1.05rem;
    padding: 14px 16px;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 50%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

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

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

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

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

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

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

  .testimonial-card {
    flex: 0 0 calc(100vw - 72px);
  }

  .hero-services {
    gap: 10px;
  }

  .hero-service-chip {
    padding: 10px 16px;
    font-size: 0.82rem;
  }
}

@media (width <= 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 50px 0;
  }

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

  .hero-services {
    flex-direction: column;
    align-items: center;
  }

  .hero-service-chip {
    width: 100%;
    justify-content: center;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}

/* ===== PRIVACY PAGE ===== */
.privacy-section {
  padding: 140px 0 100px;
  position: relative;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.privacy-content .accent-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin-bottom: 40px;
}

.privacy-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.privacy-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.privacy-content ul {
  list-style: none;
  margin-bottom: 16px;
  padding-left: 0;
}

.privacy-content ul li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.privacy-content ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  position: relative;
  top: -2px;
}

.privacy-content a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.privacy-content a:hover {
  opacity: 0.8;
}

.privacy-content .last-updated {
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (width <= 768px) {
  .privacy-section {
    padding: 120px 0 70px;
  }
}

@media (width <= 480px) {
  .privacy-section {
    padding: 100px 0 50px;
  }
}

/* ===== OPTIONS PAGE ===== */
.options-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.options-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgb(0 212 255 / 5%) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgb(123 94 167 / 5%) 0%, transparent 50%);
}

.options-hero .container {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.options-hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.options-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, #a0a0b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.options-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.options-table-section {
  background: var(--bg-secondary);
}

.options-table-wrap {
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.options-table-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--text-muted) transparent;
}

.options-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  table-layout: fixed;
}

.options-table thead th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  text-align: left;
}

.options-table thead th:first-child {
  width: 18%;
}

.options-table thead th:nth-child(2),
.options-table thead th:nth-child(3) {
  width: 41%;
  border-left: 1px solid var(--border);
}

.options-table tbody td {
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.options-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.options-table tbody td:nth-child(2),
.options-table tbody td:nth-child(3) {
  border-left: 1px solid var(--border);
}

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

.options-table .shade td {
  background: rgb(255 255 255 / 2%);
}

.options-table .group-row td {
  background: var(--bg-primary) !important;
  color: var(--accent) !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.options-table .list-cell {
  padding: 0 !important;
}

.options-table .list-cell ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.options-table .list-cell li {
  font-size: 0.86rem;
  line-height: 1.5;
  padding: 0.45rem 0.9rem 0.45rem 1.9rem;
  position: relative;
}

.options-table .list-cell li::before {
  position: absolute;
  left: 0.7rem;
  top: 0.45rem;
  font-weight: 700;
  font-size: 0.78rem;
}

.options-table .list-cell li + li {
  border-top: 1px solid var(--border);
}

.options-table .pro-item {
  background: rgb(42 122 79 / 10%);
  color: var(--text-secondary);
}

.options-table .pro-item::before {
  content: '\2713';
  color: #4ade80;
}

.options-table .con-item {
  background: rgb(163 88 45 / 10%);
  color: var(--text-secondary);
}

.options-table .con-item::before {
  content: '\2717';
  color: #fb923c;
}

.options-table .guide-item {
  background: transparent;
  color: var(--text-secondary);
}

.options-table .guide-item::before {
  content: '\2192';
  color: var(--text-muted);
}

.options-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2em 0.55em;
  border-radius: 3px;
  background: var(--gradient-accent);
  color: #fff;
  margin-left: 0.4em;
  vertical-align: middle;
}

@media (width <= 768px) {
  .options-hero {
    padding: 120px 0 60px;
  }
}

@media (width <= 480px) {
  .options-hero {
    padding: 100px 0 40px;
  }
}

/* ===== 404 ERROR PAGE ===== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.error-page::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgb(0 212 255 / 5%) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgb(123 94 167 / 5%) 0%, transparent 50%);
  animation: hero-glow 15s ease-in-out infinite alternate;
}

.error-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 0 24px;
}

.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-content h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #a0a0b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.error-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.error-link:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgb(0 212 255 / 30%);
}
