:root{
  --brand:#411361;
  --paper:#f3f3e0;
  --bg:#ffffff;
  --text:#1a1a1a;
  --muted:#666;
  --card:#ffffff;
  --border:rgba(0,0,0,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius:18px;
  --max:1100px;
}

[data-theme="dark"]{
  --bg:#0f0f0f;
  --text:#e8e8e8;
  --muted:#a0a0a0;
  --card:#1a1a1a;
  --border:rgba(255,255,255,.1);
  --shadow: 0 10px 30px rgba(0,0,0,.3);
  --paper:#1f1f1f;
}
[data-theme="dark"] header{
  background:rgba(15,15,15,.85);
}
[data-theme="dark"] .hero-card{
  background:linear-gradient(180deg, rgba(31,31,31,.85), rgba(26,26,26,.9));
}
[data-theme="dark"] .step{
  background:rgba(31,31,31,.45);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(900px 300px at 20% 0%, rgba(65,19,97,.08), transparent 60%),
    radial-gradient(800px 400px at 80% 10%, rgba(65,19,97,.06), transparent 60%),
    var(--bg);
  line-height:1.6;
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

/* Header */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.75);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  height:68px;
}
.brand{
  display:flex; gap:12px; align-items:center;
  font-weight:800;
  letter-spacing:.2px;
}
.logo{
  width:38px; height:38px; border-radius:12px;
  background:linear-gradient(135deg, var(--brand), #2b0c40);
  display:grid; place-items:center;
  color:white; font-weight:900;
  box-shadow:0 8px 20px rgba(65,19,97,.25);
}
.navlinks{
  display:flex; gap:18px; align-items:center;
  font-size:14px; color:var(--muted);
}
.navlinks a{padding:10px 10px; border-radius:12px}
.navlinks a:hover{background:rgba(65,19,97,.06); color:var(--brand)}
.cta{
  display:flex; gap:10px; align-items:center;
}
.btn{
  border:1px solid var(--border);
  background:#fff;
  padding:10px 14px;
  border-radius:14px;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
}
.btn.primary{
  background:var(--brand);
  color:#fff;
  border-color:transparent;
  box-shadow:0 10px 20px rgba(65,19,97,.25);
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.icon-btn{
  width:40px;
  height:40px;
  border:1px solid var(--border);
  background:var(--card);
  border-radius:12px;
  display:grid;
  place-items:center;
  cursor:pointer;
  font-size:18px;
}
.icon-btn:hover{background:rgba(65,19,97,.06)}

/* Hero */
.hero{
  padding:56px 0 30px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:28px;
  align-items:stretch;
}
.pill{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(65,19,97,.06);
  color:var(--brand);
  font-weight:800;
  font-size:13px;
}
h1{
  margin:14px 0 10px;
  font-size:46px;
  line-height:1.1;
  letter-spacing:-.6px;
}
.sub{
  color:var(--muted);
  font-size:16px;
  margin:0 0 18px;
  max-width:52ch;
}
.hero-actions{
  display:flex; gap:12px; flex-wrap:wrap;
  margin-top:18px;
}
.stats{
  margin-top:18px;
  display:flex; gap:18px; flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
}
.stat{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px 12px;
}

.hero-card{
  background:linear-gradient(180deg, rgba(243,243,224,.85), rgba(255,255,255,.9));
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:14px;
}
.hero-card h3{margin:0; font-size:16px}
.checklist{margin:0; padding:0; list-style:none; display:grid; gap:10px}
.checklist li{
  display:flex; gap:10px; align-items:flex-start;
  font-size:14px; color:#333;
}
.check{
  width:18px; height:18px; border-radius:6px;
  background:rgba(65,19,97,.12);
  display:grid; place-items:center;
  color:var(--brand);
  font-weight:900;
  flex:0 0 auto;
  margin-top:2px;
}

/* Sections */
section{padding:46px 0}
.section-title{
  display:flex; align-items:flex-end; justify-content:space-between; gap:18px;
  margin-bottom:18px;
}
.section-title h2{
  margin:0;
  font-size:26px;
  letter-spacing:-.2px;
}
.section-title p{
  margin:0;
  color:var(--muted);
  max-width:65ch;
  font-size:14px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
}
.card h3{margin:0 0 6px; font-size:16px}
.card p{margin:0; color:var(--muted); font-size:14px}

.tag{
  display:inline-block;
  margin-top:10px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(65,19,97,.06);
  color:var(--brand);
  font-weight:800;
  font-size:12px;
}

/* Process */
.steps{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}
.step{
  padding:16px;
  border-radius:var(--radius);
  border:1px dashed rgba(65,19,97,.25);
  background:rgba(243,243,224,.45);
}
.step .num{
  width:34px; height:34px; border-radius:12px;
  background:var(--brand);
  color:#fff; display:grid; place-items:center;
  font-weight:900;
  margin-bottom:10px;
}
.step h4{margin:0 0 6px; font-size:15px}
.step p{margin:0; color:var(--muted); font-size:13px}

/* Work / Portfolio */
.work{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.work .card{padding:0; overflow:hidden}
.thumb{
  height:150px;
  background:
    linear-gradient(135deg, rgba(65,19,97,.8), rgba(65,19,97,.15)),
    radial-gradient(400px 140px at 20% 30%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(180deg, rgba(243,243,224,.8), rgba(255,255,255,1));
}
.work .body{padding:14px}
.meta{font-size:12px; color:var(--muted); margin-top:6px}

/* Arclight Card */
.arclight-card{
  display:block;
  text-decoration:none;
  color:inherit;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.arclight-card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(65,19,97,.15);
}
.arclight-card .body{
  padding:14px;
}

/* Featured Projects */
.featured-project{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  margin-bottom:18px;
}
.featured-project-header{
  margin-bottom:14px;
}
.featured-project-header h3{
  margin:0 0 8px;
  font-size:20px;
}
.featured-project-header p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}
.featured-project-header .tag{
  margin-top:8px;
}
.featured-project-images{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
  margin-top:14px;
}
.featured-project-images img{
  width:100%;
  height:auto;
  border-radius:12px;
  border:1px solid var(--border);
  object-fit:cover;
  aspect-ratio:16/9;
}

/* Pricing */
.pricing{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.price{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  background:#fff;
  box-shadow:var(--shadow);
}
.price .name{font-weight:900; font-size:16px}
.price .range{margin-top:6px; font-size:22px; font-weight:900; color:var(--brand)}
.price ul{margin:12px 0 0; padding-left:18px; color:var(--muted); font-size:13px}
.price .note{margin-top:12px; font-size:12px; color:var(--muted)}
.price .btn{margin-top:12px; width:100%}

/* Contact */
.contact{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:14px;
  align-items:stretch;
}
form{
  display:grid; gap:10px;
}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  font-size:14px;
  outline:none;
  background:#fff;
}
textarea{min-height:120px; resize:vertical}
input:focus, textarea:focus{border-color:rgba(65,19,97,.4); box-shadow:0 0 0 4px rgba(65,19,97,.08)}
.hint{color:var(--muted); font-size:12px; margin:8px 0 0}

footer{
  padding:26px 0 36px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:13px;
}

/* Responsive */
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
  .work{grid-template-columns:1fr}
  .pricing{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .featured-project-images{grid-template-columns:1fr}
  h1{font-size:38px}
  .navlinks{display:none}
}
