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

:root {
  --ink:       #0d1117;
  --ink-soft:  #3a3f4a;
  --surface:   #f8f7f4;
  --white:     #ffffff;
  --accent:    #1a56e8;
  --accent-dk: #1240c0;
  --gold:      #e8a020;
  --green:     #18a058;
  --border:    #e2e0dc;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(13,17,23,.08);
  --shadow-lg: 0 16px 48px rgba(13,17,23,.14);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; line-height: 1.15; color: var(--ink); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* HEADER */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 68px;
}
.logo { font-family: 'Syne', sans-serif; font-size: 1.45rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.logo span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 32px; }
nav a { font-size: .9rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
nav a:hover, nav a.active { color: var(--accent); text-decoration: none; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: .95rem;
  cursor: pointer; transition: all .2s; border: none; text-decoration: none !important;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 2px 12px rgba(26,86,232,.3); }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 2px 12px rgba(232,160,32,.35); }
.btn-gold:hover { background: #cf8e18; transform: translateY(-1px); }

/* LAYOUT */
section { padding: 80px 24px; }
.container { max-width: 1160px; margin: 0 auto; }
.section-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.section-sub { color: var(--ink-soft); max-width: 640px; font-size: 1.02rem; }
.section-head { margin-bottom: 52px; }
.surface-bg { background: var(--surface); }

/* PAGE HERO (inner pages) */
.page-hero {
  background: var(--ink); color: #fff;
  padding: 64px 24px 60px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(26,86,232,.2) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1160px; margin: 0 auto; }
.page-hero .breadcrumb { font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.45); }
.page-hero .breadcrumb a:hover { color: #fff; text-decoration: none; }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 14px; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.68); max-width: 580px; }

/* FORMS */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .85rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; color: var(--ink); font-family: 'DM Sans', sans-serif;
  font-size: .9rem; transition: border .2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,86,232,.1); }
.form-group-dark label { color: rgba(255,255,255,.55); }
.form-group-dark input, .form-group-dark select, .form-group-dark textarea {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: #fff;
}
.form-group-dark input::placeholder, .form-group-dark textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group-dark input:focus, .form-group-dark select:focus, .form-group-dark textarea:focus { border-color: rgba(26,86,232,.7); background: rgba(255,255,255,.1); }

/* CARDS */
.check {
  width: 22px; height: 22px; min-width: 22px; border-radius: 50%;
  background: #e8f5ee; color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: .75rem;
}
.check-blue { background: #eef2fd; color: var(--accent); }

/* FOOTER */
footer { background: #080b12; color: rgba(255,255,255,.45); padding: 40px 24px; font-size: .82rem; }
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,.45); }
.footer-links a:hover { color: #fff; text-decoration: none; }

/* FLOATING CTA */
.float-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  display: flex; align-items: center; gap: 10px;
  background: var(--green); color: #fff;
  padding: 13px 20px; border-radius: 999px;
  box-shadow: 0 4px 20px rgba(24,160,88,.45);
  font-weight: 600; font-size: .9rem;
  animation: floatIn .6s .5s both; transition: transform .2s, box-shadow .2s;
}
.float-cta:hover { transform: scale(1.04); box-shadow: 0 6px 28px rgba(24,160,88,.55); text-decoration: none; color: #fff; }
@keyframes floatIn { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
.float-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pricing-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 36px 28px; transition: all .25s; position: relative; }
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,86,232,.1), var(--shadow-lg); }
.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 4px 16px; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.pricing-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pricing-card .desc { color: var(--ink-soft); font-size: .85rem; margin-bottom: 24px; }
.price-amount { font-family: 'Syne', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--ink-soft); }
.price-note { font-size: .78rem; color: var(--ink-soft); margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: .88rem; color: var(--ink-soft); border-bottom: 1px dashed var(--border); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card { border: 1px solid var(--border); border-radius: 14px; padding: 32px 28px; transition: all .25s; position: relative; overflow: hidden; background: var(--white); }
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); opacity: 0; transition: opacity .25s; }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: #eef2fd; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.4rem; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: .9rem; margin-bottom: 16px; }
.service-price { font-family: 'Syne', sans-serif; font-size: .9rem; font-weight: 700; color: var(--accent); }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 28px; left: calc(12.5% + 28px); right: calc(12.5% + 28px); height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 12px, transparent 12px, transparent 24px); }
.step-card { text-align: center; padding: 28px 16px; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; position: relative; z-index: 1; box-shadow: 0 4px 16px rgba(26,86,232,.35); }
.step-card h4 { font-size: .95rem; margin-bottom: 8px; }
.step-card p { color: var(--ink-soft); font-size: .85rem; }

/* TESTIMONIALS */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px 24px; }
.testi-stars { color: var(--gold); font-size: 1rem; margin-bottom: 14px; }
.testi-text { font-size: .92rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-weight: 700; font-size: .9rem; }
.testi-name { font-weight: 600; font-size: .9rem; }
.testi-role { font-size: .78rem; color: var(--ink-soft); }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; cursor: pointer; user-select: none; font-weight: 600; font-size: .95rem; background: var(--white); transition: background .2s; }
.faq-q:hover { background: var(--surface); }
.faq-icon { font-size: 1.2rem; color: var(--accent); transition: transform .25s; }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; font-size: .9rem; color: var(--ink-soft); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 18px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* SKILL BARS */
.skill-row { margin-bottom: 22px; }
.skill-row:last-child { margin-bottom: 0; }
.skill-label { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 500; margin-bottom: 8px; }
.skill-bar { height: 8px; background: #e8e6e1; border-radius: 99px; overflow: hidden; }
.skill-fill { height: 100%; background: var(--accent); border-radius: 99px; }

/* TAG */
.tag { display: inline-block; background: #eef2fd; color: var(--accent); padding: 4px 12px; border-radius: 99px; font-size: .78rem; font-weight: 600; }

/* PROSE */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.prose p { color: var(--ink-soft); margin-bottom: 16px; }
.prose ul { padding-left: 20px; color: var(--ink-soft); margin-bottom: 16px; }
.prose ul li { margin-bottom: 6px; }
.prose a { color: var(--accent); }
.prose strong { color: var(--ink); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-grid, .pricing-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
}
@media (max-width: 600px) {
  .services-grid, .pricing-grid, .testi-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  nav { display: none; }
  section { padding: 56px 20px; }
}
