/* ============ RESET & BASE ============ */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --bg: #0a0e1a;
  --bg-2: #111729;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.1);
  --text: #e6ebf5;
  --text-muted: #9aa5bd;
  --primary: #3b82f6;
  --primary-2: #8b5cf6;
  --accent: #22d3ee;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --glow: 0 0 40px rgba(59,130,246,0.5);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior:smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: #67e8f9; }

h1,h2,h3,h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
p { color: var(--text-muted); margin-bottom: 1rem; }

/* ============ FLOATING SHAPES ============ */
.floating-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.shape-1 { width: 500px; height: 500px; background: var(--primary); top: -200px; left: -200px; animation: float 20s ease-in-out infinite; }
.shape-2 { width: 400px; height: 400px; background: var(--primary-2); top: 40%; right: -150px; animation: float 25s ease-in-out infinite reverse; }
.shape-3 { width: 350px; height: 350px; background: var(--accent); bottom: -100px; left: 30%; animation: float 30s ease-in-out infinite; }

@keyframes float {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(80px, 80px); }
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10,14,26,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(10,14,26,0.85); border-bottom-color: var(--border); padding: 10px 0; }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.4rem; font-weight: 800; color: var(--text); }
.logo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  box-shadow: var(--glow);
  font-size: 1.2rem;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow); color: white; }
.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--surface); color: var(--text); }

.glow-btn { box-shadow: 0 0 20px rgba(59,130,246,0.3); }
.glow-btn:hover { box-shadow: 0 0 40px rgba(59,130,246,0.6); }

.nav-cta { padding: 10px 20px; font-size: 0.9rem; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  padding: 140px 0 80px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.parallax-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(59,130,246,0.25), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(139,92,246,0.2), transparent 50%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 2; text-align: center; }

.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  margin-bottom: 24px;
  color: var(--accent);
  backdrop-filter: blur(10px);
}
.hero h1 { margin-bottom: 24px; background: linear-gradient(135deg, #fff 0%, #9aa5bd 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-intro { max-width: 780px; margin: 0 auto 36px; font-size: 1.1rem; }

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

.hero-highlights {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px;
}
.highlight {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
}
.highlight .icon { font-size: 1.1rem; }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  padding: 28px 20px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.stat-card h3 {
  font-size: 2.4rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.stat-card p { margin: 0; font-size: 0.9rem; }

/* Floating cards */
.floating-cards { position: relative; height: 80px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.float-card {
  padding: 12px 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 8px;
  animation: bob 4s ease-in-out infinite;
}
.fc-1 { animation-delay: 0s; }
.fc-2 { animation-delay: 1s; }
.fc-3 { animation-delay: 2s; }
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ SECTIONS ============ */
section { padding: 100px 0; position: relative; z-index: 1; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(59,130,246,0.15);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head p { font-size: 1.05rem; }

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 20px 60px rgba(59,130,246,0.2); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: var(--glow);
}
.service-card h3 { color: var(--text); position: relative; }
.service-card p { position: relative; font-size: 0.95rem; margin-bottom: 16px; }
.service-card .features { list-style: none; margin-bottom: 20px; position: relative; }
.service-card .features li { padding: 4px 0; font-size: 0.9rem; color: var(--text-muted); }
.card-cta { color: var(--accent); font-weight: 600; position: relative; }

/* ============ TIMELINE ============ */
.process { background: var(--bg-2); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 30px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  opacity: 0.3;
}
.timeline-step {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  position: relative;
}
.step-number {
  flex-shrink: 0;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  color: white;
  box-shadow: var(--glow);
  position: relative;
  z-index: 2;
}
.step-content {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  padding: 24px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.step-content:hover { border-color: var(--primary); transform: translateX(8px); }
.step-content h3 { color: var(--text); }

/* ============ RESULTS ============ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.result-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: var(--transition);
}
.result-card:hover { transform: translateY(-8px); }
.placeholder-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg,
    hsl(var(--h), var(--s)%, var(--l)%) 0%,
    hsl(calc(var(--h) + 40), var(--s)%, calc(var(--l) + 10)%) 100%);
  position: relative;
}
.placeholder-img::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.2), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,0.3), transparent 50%);
}
.result-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,26,0.95), transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}
.result-card:hover .result-overlay { opacity: 1; }
.result-overlay h3 { color: white; }
.result-overlay p { color: #cbd5e1; margin: 0; font-size: 0.9rem; }

/* ============ ARTICLE ============ */
.article-section { background: var(--bg-2); }
.article-meta { font-size: 0.9rem; color: var(--text-muted); }

.article-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
}
.article-body .lead { font-size: 1.2rem; color: var(--text); font-weight: 500; }
.article-body h2 { margin-top: 48px; color: var(--text); }
.article-body h3 { margin-top: 32px; color: var(--text); }
.article-body p { color: #c5cfe0; }
.article-body a { color: var(--accent); border-bottom: 1px dashed var(--accent); }
.article-body a:hover { color: #67e8f9; }

.article-body ul, .article-body ol { margin: 16px 0 24px 24px; color: #c5cfe0; }
.article-body li { margin-bottom: 8px; }

.callout {
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 24px 0;
  border-left: 4px solid;
}
.callout-info { background: rgba(59,130,246,0.1); border-color: var(--primary); }
.callout-warning { background: rgba(245,158,11,0.1); border-color: var(--warning); }
.callout strong { color: var(--text); display: block; margin-bottom: 6px; }
.callout p { margin: 0; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius);
}
.benefit-card span { font-size: 1.5rem; }
.benefit-card h4 { color: var(--text); margin: 8px 0; }
.benefit-card p { margin: 0; font-size: 0.9rem; }

.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.cost-table th, .cost-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.cost-table th { background: var(--surface-2); color: var(--text); font-weight: 600; }
.cost-table td { color: #c5cfe0; }
.cost-table tr:last-child td { border-bottom: none; }
.cost-table tr:hover td { background: var(--surface); }

.article-quote {
  border-left: 4px solid var(--accent);
  padding: 20px 28px;
  margin: 32px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text);
  background: var(--surface);
  border-radius: var(--radius);
}
.article-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 0.9rem; color: var(--text-muted); }

.process-list, .tip-list { list-style: none; margin-left: 0 !important; }
.process-list li, .tip-list li { padding: 10px 0 10px 8px; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active { border-color: var(--primary); }
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-toggle {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--surface-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}
.faq-item.active .faq-toggle { background: var(--primary); transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p { padding: 0 24px 20px; margin: 0; }

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--bg-2); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-align: center;
}
.testimonial-card:hover { transform: translateY(-8px); border-color: var(--primary); }
.initials {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: var(--glow);
}
.rating { color: #fbbf24; font-size: 1.2rem; margin-bottom: 12px; }
.testimonial-card p { color: #c5cfe0; font-style: italic; }
.testimonial-card h4 { color: var(--text); margin: 16px 0 4px; }
.testimonial-card span { color: var(--text-muted); font-size: 0.9rem; }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info, .contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  padding: 36px;
  border-radius: var(--radius-lg);
}
.contact-info h3, .contact-form h3 { color: var(--text); margin-bottom: 24px; }

.info-item { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.info-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--surface-2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.info-item strong { display: block; color: var(--text); font-size: 0.9rem; }
.info-item a, .info-item span { color: var(--text-muted); font-size: 0.95rem; }
.info-item a:hover { color: var(--accent); }

.contact-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; color: var(--text); font-size: 0.9rem; margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}
.form-group textarea { resize: vertical; min-height: 90px; }

/* ============ FOOTER ============ */
.footer {
  background: #05080f;
  padding: 64px 0 24px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--text); }
.footer-col p { font-size: 0.9rem; }
.footer-col h4 { color: var(--text); margin-bottom: 16px; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--accent); }

.social-icons { display: flex; gap: 10px; margin-top: 16px; }
.social-icons a {
  width: 36px; height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.social-icons a:hover { background: var(--primary); color: white; border-color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.85rem; margin: 0; }

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(10,14,26,0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .timeline::before { left: 20px; }
  .step-number { width: 44px; height: 44px; font-size: 0.9rem; }
  .timeline-step { gap: 16px; }

  section { padding: 70px 0; }
  .hero { padding: 110px 0 60px; }
}

@media (max-width: 500px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .cost-table { font-size: 0.85rem; }
  .cost-table th, .cost-table td { padding: 10px 12px; }
}