/* ============================================
   Ahava Smile - Professional Tech Solutions
   Main Stylesheet
   ============================================ */

/* ----- CSS Variables ----- */
:root {
  --color-primary: #0c1528;
  --color-primary-light: #162040;
  --color-primary-lighter: #1e2d52;
  --color-accent: #3b82f6;
  --color-accent-dark: #2563eb;
  --color-accent-light: #60a5fa;
  --color-accent-glow: rgba(59, 130, 246, 0.15);
  --color-emerald: #10b981;
  --color-emerald-dark: #059669;
  --color-amber: #f59e0b;
  --color-rose: #f43f5e;
  --color-cyan: #06b6d4;

  --color-bg: #ffffff;
  --color-bg-alt: #f1f5f9;
  --color-bg-card: #ffffff;
  --color-bg-dark: #0c1528;
  --color-bg-dark-alt: #111d35;

  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-text-muted: #94a3b8;
  --color-text-on-dark: #f1f5f9;
  --color-text-on-dark-muted: #94a3b8;
  --color-border: #e2e8f0;
  --color-border-dark: #1e3050;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 40px -5px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.15);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-text);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  position: relative;
  padding-left: 36px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  transform: translateY(-50%);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.7;
}

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

.section-header .section-subtitle {
  margin: 0 auto;
}

section {
  padding: 96px 0;
}

/* ----- Navigation ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
  background: transparent;
}

.nav.scrolled {
  background: rgba(12, 21, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.nav-logo .logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-emerald));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: white;
}

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

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
}

.nav-links a:hover {
  color: white;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.nav-cta {
  background: var(--color-accent);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 0% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 100% 30%, rgba(16, 185, 129, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(59, 130, 246, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent-light);
  margin-bottom: 24px;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--color-accent), var(--color-emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-on-dark-muted);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-inner {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-grid-svg {
  width: 80%;
  height: 80%;
}

.hero-grid-svg .grid-line {
  stroke: rgba(59, 130, 246, 0.15);
  stroke-width: 1;
}

.hero-grid-svg .grid-node {
  fill: var(--color-accent);
  opacity: 0.6;
}

.hero-grid-svg .grid-node-active {
  fill: var(--color-emerald);
  opacity: 1;
  animation: node-pulse 3s ease-in-out infinite;
}

@keyframes node-pulse {
  0%, 100% { r: 4; opacity: 0.6; }
  50% { r: 7; opacity: 1; }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.3; }
}

/* ----- About Section ----- */
.about {
  background: var(--color-bg);
}

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

.about-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-content p:last-of-type {
  margin-bottom: 28px;
}

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

.stat-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

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

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-accent), var(--color-emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 6px;
}

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

/* ----- Services Section ----- */
.services {
  background: var(--color-bg-alt);
}

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

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-emerald));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

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

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

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

/* ----- Why Choose Us ----- */
.why-us {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 100% 20%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.why-us .section-title { color: white; }

.why-us .section-header .section-subtitle {
  color: var(--color-text-on-dark-muted);
}

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

.feature-card {
  padding: 36px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.feature-card:nth-child(1) .feature-icon { background: rgba(59, 130, 246, 0.15); color: var(--color-accent); }
.feature-card:nth-child(2) .feature-icon { background: rgba(16, 185, 129, 0.15); color: var(--color-emerald); }
.feature-card:nth-child(3) .feature-icon { background: rgba(245, 158, 11, 0.15); color: var(--color-amber); }
.feature-card:nth-child(4) .feature-icon { background: rgba(6, 182, 212, 0.15); color: var(--color-cyan); }
.feature-card:nth-child(5) .feature-icon { background: rgba(244, 63, 94, 0.15); color: var(--color-rose); }
.feature-card:nth-child(6) .feature-icon { background: rgba(99, 102, 241, 0.15); color: #6366f1; }

.feature-card h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--color-text-on-dark-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ----- Contact Section ----- */
.contact {
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--color-text-light);
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

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

.contact-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

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

.contact-item-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
}

.contact-item-value a:hover {
  color: var(--color-accent);
}

.contact-form {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  background: white;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

/* ----- Footer ----- */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border-dark);
}

.footer-brand p {
  color: var(--color-text-on-dark-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.8;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
}

.footer-logo .logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-emerald));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
}

.footer h4 {
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-text-on-dark-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-accent-light);
  padding-left: 4px;
}

.footer-newsletter p {
  color: var(--color-text-on-dark-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
}

.footer-newsletter-form input::placeholder {
  color: var(--color-text-on-dark-muted);
}

.footer-newsletter-form input:focus {
  border-color: var(--color-accent);
}

.footer-newsletter-form button {
  padding: 10px 20px;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}

.footer-newsletter-form button:hover {
  background: var(--color-accent-dark);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--color-text-on-dark-muted);
  font-size: 0.8rem;
}

.footer-bottom-links a:hover {
  color: var(--color-accent-light);
}

/* ============================================
   Inner Pages (Privacy & Terms)
   ============================================ */

.page-header {
  background: var(--color-bg-dark);
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-header h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.page-header p {
  color: var(--color-text-on-dark-muted);
  font-size: 1.1rem;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.page-content {
  padding: 72px 0;
  background: var(--color-bg);
}

.page-content-inner {
  max-width: 820px;
  margin: 0 auto;
}

.page-content-inner h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: var(--color-text);
}

.page-content-inner h2:first-child {
  margin-top: 0;
}

.page-content-inner h3 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
  color: var(--color-text);
}

.page-content-inner p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}

.page-content-inner ul,
.page-content-inner ol {
  margin: 16px 0 24px;
  padding-left: 24px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.page-content-inner ul li,
.page-content-inner ol li {
  margin-bottom: 8px;
}

.page-content-inner ul li::marker {
  color: var(--color-accent);
}

.page-content-inner strong {
  color: var(--color-text);
  font-weight: 600;
}

.last-updated {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  border: 1px solid var(--color-border);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  section { padding: 64px 0; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(12, 21, 40, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a.nav-cta { width: 100%; text-align: center; }

  .nav-toggle { display: flex; }

  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .stat-number { font-size: 1.75rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero { min-height: auto; }
  .hero-grid { padding: 100px 0 60px; }
  .hero-scroll-indicator { display: none; }

  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .footer-newsletter-form { flex-direction: column; }
}
