:root {
  --ww-primary: #6f42c1;
  --ww-secondary: #0ea5e9;
  --ww-dark: #0f172a;
  --ww-muted: #64748b;
  --ww-light: #f8fafc;
  --ww-card: rgba(255, 255, 255, 0.72);
  --ww-border: rgba(148, 163, 184, 0.20);
  --ww-gradient: linear-gradient(135deg, #6f42c1 0%, #0ea5e9 55%, #22c55e 100%);
  --ww-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  --ww-radius: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--ww-dark);
  background:
    radial-gradient(circle at top left, rgba(111, 66, 193, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.navbar {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.75) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  transition: all 0.3s ease;
}

.navbar.scrolled { box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); }

.navbar-brand { font-weight: 800; letter-spacing: -0.04em; }

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ww-gradient);
  color: #fff;
  box-shadow: 0 12px 30px rgba(111, 66, 193, 0.25);
}

.btn-primary {
  background: var(--ww-gradient);
  border: none;
  box-shadow: 0 12px 30px rgba(111, 66, 193, 0.25);
}

.btn-primary:hover, .btn-primary:focus { opacity: 0.95; }

.hero {
  padding: 9rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-badge, .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  color: var(--ww-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 800;
}

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

.hero p.lead, .section-subtitle {
  color: var(--ww-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-card, .glass-card, .stat-card, .service-card, .portfolio-card, .testimonial-card, .contact-card {
  border: 1px solid var(--ww-border);
  background: var(--ww-card);
  backdrop-filter: blur(14px);
  border-radius: var(--ww-radius);
  box-shadow: var(--ww-shadow);
}

.hero-card { padding: 1.25rem; }

.metric-chip {
  padding: 0.8rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.mockup {
  background: linear-gradient(180deg, #ffffff, #eef6ff);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.mockup-topbar {
  height: 52px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.35rem;
}

.dot-red { background: #fb7185; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #4ade80; }

.gradient-panel {
  background: var(--ww-gradient);
  border-radius: 22px;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.gradient-panel::after {
  content: "";
  position: absolute;
  inset: auto -15% -30% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(10px);
}

.section-padding { padding: 6rem 0; }

.stat-card, .service-card, .portfolio-card, .testimonial-card, .contact-card {
  padding: 1.6rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover, .portfolio-card:hover, .testimonial-card:hover, .contact-card:hover, .stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.icon-box {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(111, 66, 193, 0.14), rgba(14, 165, 233, 0.14));
  color: var(--ww-primary);
  font-size: 1.35rem;
}

.portfolio-thumb {
  border-radius: 22px;
  min-height: 220px;
  background: linear-gradient(135deg, rgba(111, 66, 193, 0.18), rgba(14, 165, 233, 0.14));
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.portfolio-thumb-green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(14, 165, 233, 0.14));
}

.portfolio-thumb-gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.20), rgba(111, 66, 193, 0.18));
}

.portfolio-chip {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--ww-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.cta-box {
  background: var(--ww-gradient);
  color: #fff;
  border-radius: 32px;
  box-shadow: 0 25px 70px rgba(14, 165, 233, 0.25);
}

.cta-box .btn-light {
  color: var(--ww-dark);
  font-weight: 700;
}

.contact-info li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--ww-muted);
}

.about-highlight {
  background: linear-gradient(135deg, rgba(111, 66, 193, 0.08), rgba(14, 165, 233, 0.10));
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.form-control {
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 0.9rem 1rem;
}

.form-control:focus {
  border-color: rgba(111, 66, 193, 0.4);
  box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.12);
}

footer { color: var(--ww-muted); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .hero { padding-top: 7.5rem; }
}
