/* ===== WRG Group - Modern Agency ===== */
:root {
  --midnight: #0b0f19;
  --midnight-light: #111827;
  --midnight-card: #1a1f2e;
  --purple: #7c3aed;
  --purple-light: #8b5cf6;
  --purple-dark: #6d28d9;
  --sky: #38bdf8;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --gradient-hero: linear-gradient(135deg, #0b0f19 0%, #1a1040 50%, #0b0f19 100%);
  --gradient-btn: linear-gradient(135deg, #7c3aed, #6d28d9);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--midnight);
  color: var(--slate-300);
  line-height: 1.7;
}

/* ===== Header - two-tier ===== */
header {
  position: fixed; top: 0; width: 100%;
  background: rgba(11,15,25,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124,58,237,0.06);
  z-index: 100;
}
header .inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  text-align: center;
}
header .logo {
  display: inline-block;
  font-size: 1.4rem; font-weight: 700;
  color: var(--slate-100); text-decoration: none;
  padding: 14px 0 6px;
  letter-spacing: -0.3px;
}
header .logo span { color: var(--purple); }
header .nav-wrap {
  padding-bottom: 10px;
  display: flex; justify-content: center; gap: 32px;
}
header .nav-wrap a {
  color: var(--slate-500); text-decoration: none;
  font-size: 0.82rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 1.2px;
  transition: color 0.2s;
  padding: 4px 0;
}
header .nav-wrap a:hover, header .nav-wrap a.active { color: var(--purple-light); }

/* ===== Hero ===== */
.hero {
  padding: 160px 40px 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.06) 0%, transparent 60%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(56,189,248,0.04) 0%, transparent 60%);
  border-radius: 50%;
}
.hero .inner {
  max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 1;
}
.hero h1 {
  font-size: 3.2rem; font-weight: 800;
  color: var(--slate-100);
  line-height: 1.1;
  max-width: 650px;
  margin-bottom: 18px;
  letter-spacing: -0.8px;
}
.hero h1 span { 
  background: linear-gradient(90deg, var(--purple), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1rem; color: var(--slate-500);
  max-width: 520px; line-height: 1.8;
  margin-bottom: 32px;
}
.hero-features {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 20px 0;
}
.hero-feat {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(124,58,237,0.08);
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 0.82rem; color: var(--slate-400);
  display: flex; align-items: center; gap: 8px;
}
.hero-feat .hf-icon { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); flex-shrink: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 6px;
  font-weight: 600; text-decoration: none;
  transition: all 0.25s ease; font-size: 0.9rem;
  border: none; cursor: pointer;
}
.btn-primary { background: var(--gradient-btn); color: var(--white, #fff); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,0.3); }
.btn-outline { background: transparent; color: var(--slate-300); border: 1.5px solid rgba(148,163,184,0.2); }
.btn-outline:hover { border-color: var(--purple); color: var(--purple-light); }

/* ===== Section shared ===== */
section { padding: 90px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title { margin-bottom: 48px; }
.section-title .tag {
  display: inline-block;
  color: var(--purple); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 2px;
  font-weight: 600; margin-bottom: 8px;
}
.section-title h2 {
  font-size: 2.2rem; font-weight: 700;
  color: var(--slate-100); margin-bottom: 10px;
}
.section-title p { color: var(--slate-500); max-width: 520px; font-size: 0.95rem; }
.section-title.centered { text-align: center; }
.section-title.centered p { margin: 0 auto; }
.section-alt { background: var(--midnight-light); }

/* ===== Trust bar ===== */
.trust-bar {
  padding: 24px 40px;
  border-top: 1px solid rgba(124,58,237,0.04);
  border-bottom: 1px solid rgba(124,58,237,0.04);
  background: rgba(11,15,25,0.5);
}
.trust-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { color: var(--slate-600); font-size: 0.82rem; display: flex; align-items: center; gap: 6px; }
.trust-item .tdot { width: 5px; height: 5px; background: var(--purple); border-radius: 50%; opacity: 0.5; }

/* ===== Services - 3-col cards with top gradient ===== */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.svc-card {
  background: var(--midnight-card);
  border-radius: 12px;
  padding: 32px 28px;
  border-top: 3px solid var(--purple);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-btn);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.svc-card:hover::before { opacity: 1; }
.svc-card .icon { font-size: 1.8rem; margin-bottom: 14px; }
.svc-card h3 { color: var(--slate-100); font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.svc-card p { color: var(--slate-500); font-size: 0.88rem; line-height: 1.7; }
.svc-card .learn { color: var(--purple); font-size: 0.85rem; font-weight: 500; text-decoration: none; margin-top: 12px; display: inline-block; }

/* ===== Stats ===== */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-box {
  text-align: center; padding: 28px 20px;
  border: 1px solid rgba(124,58,237,0.06);
  border-radius: 12px;
  transition: background 0.3s;
}
.stat-box:hover { background: rgba(124,58,237,0.03); }
.stat-box .n { font-size: 2.4rem; font-weight: 800; color: var(--purple); display: block; line-height: 1.1; }
.stat-box .l { color: var(--slate-500); font-size: 0.85rem; display: block; margin-top: 4px; }

/* ===== Process - vertical with circles ===== */
.process-steps { max-width: 700px; margin: 0 auto; }
.ps-item {
  display: flex; gap: 24px;
  padding-bottom: 32px;
  position: relative;
}
.ps-item:not(:last-child)::after {
  content: '';
  position: absolute; left: 17px; top: 40px;
  width: 2px; height: calc(100% - 20px);
  background: rgba(124,58,237,0.1);
}
.ps-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white, #fff);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.ps-content h4 { color: var(--slate-100); font-size: 1rem; margin-bottom: 4px; }
.ps-content p { color: var(--slate-500); font-size: 0.88rem; line-height: 1.6; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.about-text p { color: var(--slate-400); font-size: 0.95rem; line-height: 1.8; margin-bottom: 14px; }
.about-text .quote {
  border-left: 3px solid var(--purple);
  padding: 12px 20px;
  background: rgba(124,58,237,0.03);
  border-radius: 0 8px 8px 0;
  color: var(--slate-400);
  font-style: italic;
  margin: 18px 0;
  font-size: 0.92rem;
}
.about-info {
  background: var(--midnight-card);
  border: 1px solid rgba(124,58,237,0.06);
  border-radius: 12px; padding: 28px;
}
.about-info h4 { color: var(--purple); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.ai-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(124,58,237,0.04); font-size: 0.85rem; }
.ai-row:last-child { border-bottom: none; }
.ai-row .k { color: var(--slate-500); }
.ai-row .v { color: var(--slate-300); text-align: right; }

/* ===== Values ===== */
.vals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.val-card {
  text-align: center; padding: 32px 20px;
  background: var(--midnight-card);
  border-radius: 12px;
  border: 1px solid rgba(124,58,237,0.04);
  transition: all 0.3s ease;
}
.val-card:hover { border-color: rgba(124,58,237,0.15); transform: translateY(-4px); }
.val-card .vicon { font-size: 2rem; margin-bottom: 12px; }
.val-card h4 { color: var(--slate-100); font-size: 0.95rem; margin-bottom: 6px; }
.val-card p { color: var(--slate-500); font-size: 0.82rem; line-height: 1.5; }

/* ===== Testimonials ===== */
.testi-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--midnight-card);
  border: 1px solid rgba(124,58,237,0.04);
  border-radius: 12px; padding: 28px;
}
.testi-card .tq { color: var(--slate-400); font-size: 0.88rem; line-height: 1.7; margin-bottom: 16px; }
.testi-card .tname { color: var(--slate-100); font-weight: 600; font-size: 0.85rem; }
.testi-card .trole { color: var(--slate-500); font-size: 0.78rem; }

/* ===== CTA ===== */
.cta-section {
  background: var(--gradient-hero);
  text-align: center;
  border-top: 1px solid rgba(124,58,237,0.06);
}
.cta-section h2 { color: var(--slate-100); font-size: 2rem; margin-bottom: 10px; }
.cta-section p { color: var(--slate-500); max-width: 500px; margin: 0 auto 24px; }

/* ===== Footer ===== */
footer { padding: 60px 40px 30px; border-top: 1px solid rgba(124,58,237,0.04); }
.ft-inner { max-width: 1100px; margin: 0 auto; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.ft-col h4 { color: var(--slate-200); font-size: 0.9rem; margin-bottom: 14px; }
.ft-col p { color: var(--slate-500); font-size: 0.85rem; line-height: 1.7; }
.ft-col ul { list-style: none; }
.ft-col ul li { margin-bottom: 8px; }
.ft-col ul li a { color: var(--slate-500); text-decoration: none; font-size: 0.85rem; }
.ft-col ul li a:hover { color: var(--purple-light); }
.ft-bot { padding-top: 20px; border-top: 1px solid rgba(124,58,237,0.04); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: var(--slate-500); }
.ft-bot a { color: var(--slate-500); text-decoration: none; }
.ft-bot a:hover { color: var(--purple-light); }

/* ===== Sub-pages ===== */
.pagehd {
  padding: 140px 40px 50px;
  background: var(--gradient-hero);
  text-align: center;
}
.pagehd h1 { font-size: 2.6rem; color: var(--slate-100); margin-bottom: 8px; }
.pagehd p { color: var(--slate-500); max-width: 500px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.cform input, .cform textarea {
  width: 100%; padding: 14px 18px;
  background: var(--midnight-card); border: 1px solid rgba(124,58,237,0.06);
  border-radius: 8px; color: var(--slate-200); font-size: 0.92rem;
  margin-bottom: 14px; font-family: inherit;
  transition: border-color 0.2s;
}
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--purple); }
.cform textarea { min-height: 130px; resize: vertical; }
.ci-card { background: var(--midnight-card); border: 1px solid rgba(124,58,237,0.06); border-radius: 12px; padding: 28px; }
.ci-card h4 { color: var(--purple); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.ci-row { display: flex; gap: 14px; margin-bottom: 16px; }
.ci-row .ci-ico { width: 38px; height: 38px; background: rgba(124,58,237,0.06); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-row .ci-l { color: var(--slate-500); font-size: 0.78rem; }
.ci-row .ci-v { color: var(--slate-300); font-size: 0.88rem; }

.privacy { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.privacy h3 { color: var(--slate-100); font-size: 1.2rem; margin: 30px 0 10px; }
.privacy p { color: var(--slate-400); line-height: 1.8; margin-bottom: 10px; font-size: 0.92rem; }

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-3col { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .vals-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  header .nav-wrap { gap: 20px; flex-wrap: wrap; }
  header .nav-wrap a { font-size: 0.75rem; letter-spacing: 0.8px; }
  .hero { padding: 150px 24px 60px; }
  .hero h1 { font-size: 2.2rem; }
  section { padding: 60px 24px; }
  .section-title h2 { font-size: 1.6rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .vals-grid { grid-template-columns: 1fr 1fr; }
  .testi-3col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pagehd { padding: 130px 24px 30px; }
  .pagehd h1 { font-size: 1.8rem; }
  .ft-grid { grid-template-columns: 1fr; }
  .ft-bot { flex-direction: column; text-align: center; }
  .trust-item { font-size: 0.75rem; }
}
