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

:root {
  --bg: #0a0a0b;
  --bg2: #111114;
  --bg3: #18181c;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text: #f0f0f2;
  --muted: #888892;
  --accent: #6c63ff;
  --accent2: #a78bfa;
  --accent-glow: rgba(108, 99, 255, 0.15);
  --green: #22d3a5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 64px;
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none; color: var(--text);
}
.logo img { width: 34px; height: 34px; display: block; }
.logo span { color: var(--accent2); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--muted);
  font-size: 0.875rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: var(--accent); color: #fff;
  border-radius: 8px; text-decoration: none;
  font-size: 0.875rem; font-weight: 600;
  transition: opacity .2s, transform .15s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 1.5rem; z-index: 99; flex-direction: column; gap: 1rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none; color: var(--muted);
  font-size: 1rem; font-weight: 500; padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-menu a.cta { color: var(--accent2); border-bottom: none; font-weight: 600; }

/* PAGE HERO (subpages) */
.page-hero {
  padding: 150px clamp(1.5rem, 5vw, 4rem) 60px;
  max-width: 1200px; margin: 0 auto;
}
.breadcrumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent2); }
.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 1.2rem;
}
.page-hero h1 em { color: var(--accent2); font-style: normal; }
.page-lead { color: var(--muted); font-size: 1.05rem; max-width: 640px; line-height: 1.75; }

/* GENERIC SECTIONS */
section { padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem); }
.max-w { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent2);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.15; margin-bottom: 1rem;
}
.section-sub { color: var(--muted); max-width: 560px; font-size: 1rem; line-height: 1.7; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  background: var(--accent); color: #fff;
  border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 0 20px rgba(108,99,255,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 30px rgba(108,99,255,0.45); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  background: transparent; color: var(--text);
  border: 1px solid var(--border2);
  border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem;
  transition: background .2s, border-color .2s;
}
.btn-secondary:hover { background: var(--bg3); border-color: rgba(255,255,255,0.2); }

/* PRICING */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.5rem; margin-top: 1rem;
}
.price-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.2rem; position: relative;
  transition: border-color .2s, transform .2s;
}
.price-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 30px rgba(108,99,255,0.15); }
.price-featured-badge {
  position:absolute; top:-12px; right: 24px;
  background: var(--accent); color:#fff; font-size:0.7rem; font-weight:700;
  padding: 0.3rem 0.7rem; border-radius: 100px; letter-spacing:0.05em;
}
.price-card h3 { font-family:'Space Grotesk',sans-serif; font-size:1.2rem; font-weight:600; margin-bottom:0.5rem;}
.price-tag { font-family:'Space Grotesk',sans-serif; font-size:2.2rem; font-weight:700; margin: 0.8rem 0 0.3rem; }
.price-tag span { font-size:0.95rem; color:var(--muted); font-weight:500; }
.price-desc { color:var(--muted); font-size:0.85rem; margin-bottom:1.4rem; }
.price-features { list-style:none; margin-bottom:1.8rem; }
.price-features li {
  font-size:0.875rem; color: var(--text); padding: 0.55rem 0;
  border-top:1px solid var(--border); display:flex; gap:0.6rem; align-items:flex-start;
}
.price-features li:first-child{border-top:none;}
.price-features li::before { content:'✓'; color:var(--green); font-weight:700; flex-shrink:0; }
.price-card .btn-secondary, .price-card .btn-primary { width:100%; justify-content:center; }

/* SERVICES DETAIL */
.service-detail {
  display:grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items:start;
  padding: 3rem 0; border-top:1px solid var(--border);
}
.service-detail:first-of-type{border-top:none;}
.service-detail h3 { font-family:'Space Grotesk',sans-serif; font-size:1.5rem; margin-bottom:0.8rem;}
.service-detail p { color:var(--muted); line-height:1.75; margin-bottom:1rem; }
.service-detail ul { list-style:none; }
.service-detail ul li { font-size:0.9rem; color:var(--text); padding:0.4rem 0; display:flex; gap:0.6rem;}
.service-detail ul li::before { content:'→'; color:var(--accent2); }
.service-price-tab {
  display:inline-block; background:var(--bg3); border:1px solid var(--border2);
  padding:0.4rem 0.9rem; border-radius:8px; font-size:0.85rem; color:var(--accent2); font-weight:600;
  margin-top:0.5rem;
}

/* FAQ */
.faq-item { border-top:1px solid var(--border); padding:1.4rem 0; }
.faq-item:last-child{border-bottom:1px solid var(--border);}
.faq-item h3 { font-size:1rem; font-weight:600; margin-bottom:0.5rem; font-family:'Space Grotesk',sans-serif;}
.faq-item p { color:var(--muted); font-size:0.9rem; line-height:1.7; }

/* BLOG */
.blog-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:1.5rem; }
.blog-card {
  background: var(--bg2); border:1px solid var(--border); border-radius:14px;
  overflow:hidden; text-decoration:none; color:inherit; display:block;
  transition:border-color .2s, transform .2s;
}
.blog-card:hover{border-color:var(--border2); transform:translateY(-3px);}
.blog-card-top { padding: 1.6rem 1.6rem 0; }
.blog-cat { font-size:0.7rem; text-transform:uppercase; letter-spacing:0.1em; color:var(--accent2); font-weight:600;}
.blog-card h3 { font-family:'Space Grotesk',sans-serif; font-size:1.15rem; margin: 0.6rem 0 0.6rem; line-height:1.35;}
.blog-card p { color:var(--muted); font-size:0.875rem; line-height:1.6; padding: 0 1.6rem; }
.blog-meta { padding: 1.2rem 1.6rem 1.6rem; font-size:0.75rem; color:var(--muted); display:flex; gap:1rem; margin-top:0.8rem;}

.article-body { max-width: 720px; margin: 0 auto; padding: 0 clamp(1.5rem,5vw,4rem) 5rem;}
.article-body h2 { font-family:'Space Grotesk',sans-serif; font-size:1.5rem; margin: 2.2rem 0 1rem; }
.article-body h3 { font-family:'Space Grotesk',sans-serif; font-size:1.15rem; margin: 1.6rem 0 0.8rem; }
.article-body p { color: #cfcfd6; line-height:1.85; margin-bottom:1.1rem; font-size:1rem;}
.article-body ul, .article-body ol { color:#cfcfd6; line-height:1.85; margin: 0 0 1.1rem 1.4rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-meta { display:flex; gap:1.2rem; color:var(--muted); font-size:0.85rem; margin-bottom:2rem; }
.article-cta {
  margin-top:3rem; padding:2rem; background:var(--bg2); border:1px solid var(--border2);
  border-radius:14px; text-align:center;
}
.article-cta h3{font-family:'Space Grotesk',sans-serif; margin-bottom:0.6rem;}
.article-cta p{color:var(--muted); margin-bottom:1.4rem; font-size:0.9rem;}

/* CONTACT reused */
.contact-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-inner .section-title { text-align: center; }
.contact-inner .section-sub { margin: 0 auto 3rem; text-align: center; }
.contact-box { background: var(--bg3); border: 1px solid var(--border2); border-radius: 16px; padding: 2.5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-grid .full { grid-column: 1 / -1; }
.field-label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--muted); margin-bottom: 0.4rem; }
input, textarea, select {
  width: 100%; padding: 0.75rem 1rem;
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 8px; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  transition: border-color .2s, box-shadow .2s; outline: none; -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108,99,255,0.12); }
textarea { resize: vertical; min-height: 120px; }
::placeholder { color: #444450; }
.submit-btn {
  width: 100%; padding: 0.85rem; background: var(--accent); color: #fff;
  border: none; border-radius: 10px; font-family: 'Inter', sans-serif;
  font-size: 1rem; font-weight: 600; cursor: pointer; margin-top: 1.5rem;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 20px rgba(108,99,255,0.25);
}
.submit-btn:hover { opacity: 0.88; transform: translateY(-1px); box-shadow: 0 4px 30px rgba(108,99,255,0.4); }
.contact-alts { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.contact-alt-link {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 1.2rem;
  background: var(--bg3); border: 1px solid var(--border2); border-radius: 8px;
  text-decoration: none; color: var(--text); font-size: 0.85rem; font-weight: 500;
  transition: background .2s, border-color .2s;
}
.contact-alt-link:hover { background: var(--bg); border-color: rgba(255,255,255,0.18); }

/* FOOTER */
footer {
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { display:inline-flex; align-items:center; gap:0.5rem; font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); text-decoration: none; }
.footer-logo img { width: 26px; height: 26px; display:block; }
.footer-logo span { color: var(--accent2); }
.footer-copy { font-size: 0.78rem; color: var(--muted); }
.footer-tagline { font-size: 0.78rem; color: var(--muted); font-style: italic; }
.footer-nav { display:flex; gap:1.4rem; flex-wrap:wrap; }
.footer-nav a { color:var(--muted); font-size:0.8rem; text-decoration:none; }
.footer-nav a:hover { color:var(--text); }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap:1rem; }
  footer { flex-direction: column; align-items: center; text-align: center; }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
