/* ==========================================================================
   WebRovo — Main Stylesheet
   Dark navy/black theme with cyan / blue / violet / magenta gradients
   ========================================================================== */

:root {
  --bg-primary: #05060c;
  --bg-secondary: #0a0e1a;
  --bg-card: #0e1324;
  --bg-card-hover: #121832;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text-primary: #f4f6fb;
  --text-secondary: #aab2c8;
  --text-muted: #747f9c;

  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --magenta: #d946ef;

  --gradient-main: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 35%, var(--violet) 70%, var(--magenta) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(34,211,238,0.14) 0%, rgba(59,130,246,0.14) 35%, rgba(139,92,246,0.14) 70%, rgba(217,70,239,0.14) 100%);
  --gradient-text: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet), var(--magenta));

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.18);
  --max-width: 1180px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 40% at 15% 0%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(217, 70, 239, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(139, 92, 246, 0.10), transparent 60%),
    var(--bg-primary);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; color: var(--text-secondary); }

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

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

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 38px); }
.section-head p { font-size: 17px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient-main);
  color: #05060c;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 40px rgba(139, 92, 246, 0.5); }
.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--cyan); background: rgba(34, 211, 238, 0.06); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 6, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img.logo-icon { height: 40px; width: 40px; display: block; flex-shrink: 0; border-radius: 9px; } .brand-name { font-size: 25px; font-weight: 800; letter-spacing: -0.01em; line-height: 1; color: var(--text-primary); white-space: nowrap; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0 20px;
  border-top: 1px solid var(--border-subtle);
}
.mobile-menu a {
  padding: 12px 4px;
  font-size: 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu.open { display: flex; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: inline-flex; width: 38px; height: 38px; font-size: 18px; } .nav-cta { gap: 10px; }
  .brand img.logo-icon { height: 32px; width: 32px; } .brand-name { font-size: 20px; }
}

@media (max-width: 420px) { .brand { gap: 8px; } .brand img.logo-icon { height: 28px; width: 28px; } .brand-name { font-size: 17px; } .nav-cta { gap: 8px; } .nav-cta .btn-primary { padding: 9px 14px; font-size: 12.5px; } .nav-toggle { width: 34px; height: 34px; font-size: 16px; } } /* ============ Hero ============ */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 60% at 8% 15%, rgba(34, 211, 238, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 55% at 95% 10%, rgba(217, 70, 239, 0.14), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(139, 92, 246, 0.12), transparent 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero .lead {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 24px; font-weight: 800; }
.hero-stats .stat span { font-size: 13px; color: var(--text-muted); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-glow);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-height: none; aspect-ratio: 1 / 1; }  .hero-visual img { object-fit: contain; }
}

/* ============ Cards / Services ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--bg-card-hover); }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-soft);
  font-size: 22px;
  margin-bottom: 18px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; margin-bottom: 0; }

/* Pricing cards */
.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: rgba(139, 92, 246, 0.5);
  background: linear-gradient(180deg, rgba(139,92,246,0.08), var(--bg-card) 40%);
  box-shadow: var(--shadow-glow);
}
.price-card .badge {
  position: absolute;
  top: -13px; left: 28px;
  background: var(--gradient-main);
  color: #05060c;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.price-card h3 { font-size: 19px; margin-bottom: 6px; }
.price-card .price { font-size: 34px; font-weight: 800; margin: 10px 0 2px; }
.price-card .price span { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.price-card .price-alt { font-size: 13.5px; color: var(--text-muted); margin-bottom: 20px; }
.price-card ul { margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; flex-grow: 1; }
.price-card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-secondary); }
.price-card li::before { content: "✓"; color: var(--cyan); font-weight: 700; flex-shrink: 0; }

/* Service category block (services page) */
.service-category {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 28px;
  background: var(--bg-card);
}
.service-category .cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.service-category .cat-head .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--gradient-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.service-category h3 { margin: 0; font-size: 21px; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
@media (max-width: 620px) { .service-list { grid-template-columns: 1fr; } }
.service-list li {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.service-list li .tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-quote { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.tag-fixed { background: var(--gradient-soft); color: var(--cyan); }

/* How it works / steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 10px; }
.step .num {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-main);
  color: #05060c; font-weight: 800; font-size: 16px;
  margin-bottom: 16px;
}
.step h4 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14px; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--cyan);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 14px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; font-size: 15px; }

/* CTA band */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  background: var(--gradient-soft);
  border: 1px solid var(--border-subtle);
}
.cta-band h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 14px; }
.cta-band p { max-width: 520px; margin: 0 auto 28px; }
.cta-band .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ Forms ============ */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
}
@media (max-width: 620px) { .form-card { padding: 26px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.field .hint { font-size: 12.5px; color: var(--text-muted); font-weight: 400; }
.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
.field.error input, .field.error select, .field.error textarea { border-color: #f87171; }
.field .error-msg { font-size: 12.5px; color: #f87171; display: none; }
.field.error .error-msg { display: block; }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--violet); flex-shrink: 0; }
.checkbox-row label { font-size: 13.5px; color: var(--text-secondary); font-weight: 400; }
.checkbox-row a { color: var(--cyan); text-decoration: underline; }

.service-checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 620px) { .service-checklist { grid-template-columns: 1fr; } }
.service-option {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.service-option:hover { border-color: var(--border-strong); }
.service-option input { accent-color: var(--cyan); width: 17px; height: 17px; }
.service-option.checked { border-color: var(--cyan); background: rgba(34, 211, 238, 0.06); }

.summary-box {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 22px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: none;
}
.summary-box.visible { display: block; }
.summary-box h4 { font-size: 14px; color: var(--text-primary); margin-bottom: 10px; }
.summary-box .summary-line { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--border-subtle); }
.summary-box .summary-line:last-child { border-bottom: none; }
.summary-box .summary-group { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin: 12px 0 4px; }

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}
.form-status.success { display: block; background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.3); color: #7fe8f9; }
.form-status.error-status { display: block; background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.3); color: #fca5a5; }

/* Honeypot */
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }

/* Contact sidebar */
.contact-side .item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-side .item .icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--gradient-soft); display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.contact-side .item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-side .item p { font-size: 14px; margin-bottom: 0; }

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 28px;
  background: var(--bg-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.footer-brand img { width: 30px; height: 30px; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col p { font-size: 14.5px; color: var(--text-secondary); }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--cyan); }

/* ============ Page header (inner pages) ============ */
.page-head {
  padding: 64px 0 20px;
  text-align: center;
}
.page-head .eyebrow { display: block; }
.page-head h1 { font-size: clamp(30px, 4.6vw, 44px); }
.page-head p { max-width: 600px; margin: 0 auto; font-size: 17px; }

/* Legal pages */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 22px; margin-top: 40px; }
.legal-content h3 { font-size: 17px; margin-top: 26px; }
.legal-content p, .legal-content li { color: var(--text-secondary); font-size: 15.5px; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal-content ul li { margin-bottom: 6px; }
.legal-content .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 36px; }
.notice-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 200;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner p { font-size: 13.5px; margin-bottom: 14px; }
.cookie-banner .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 18px; font-size: 13.5px; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
