*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0b0f1a;
  --bg-card:   #111827;
  --accent:    #3b82f6;
  --accent-hover: #60a5fa;
  --text:      #d1d5db;
  --text-muted:#6b7280;
  --white:     #f9fafb;
  --border:    #1f2937;
  --max-w:     960px;
  --radius:    8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }

h1, h2, h3 { color: var(--white); font-weight: 600; line-height: 1.3; }
p { margin-bottom: 1rem; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* NAV */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,15,26,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: var(--max-w); margin: 0 auto; padding: .8rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 1.3rem; font-weight: 700; color: var(--white); letter-spacing: 1px; }
.logo span { color: var(--accent); }
nav a {
  color: var(--text-muted); padding: .4rem .8rem; border-radius: var(--radius);
  font-size: .9rem; transition: color .2s;
}
nav a:hover { color: var(--white); }

/* HERO */
.hero {
  padding: 7rem 1.5rem 5rem; text-align: center;
  background: linear-gradient(180deg, #0f172a 0%, var(--bg) 100%);
}
.hero h1 { font-size: 2.8rem; margin-bottom: .6rem; letter-spacing: -0.5px; }
.hero .tagline { font-size: 1.15rem; color: var(--accent); margin-bottom: 1.5rem; }
.hero .subtitle { color: var(--text-muted); max-width: 600px; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.btn {
  display: inline-block; padding: .75rem 2rem;
  background: var(--accent); color: #fff; font-weight: 600;
  border-radius: var(--radius); transition: background .2s, transform .1s;
  font-size: .95rem;
}
.btn:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }

/* SECTIONS */
section { padding: 4rem 0; }
section + section { border-top: 1px solid var(--border); }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { margin-bottom: .3rem; font-size: 1.8rem; }
.section-title p { color: var(--text-muted); }

/* CARDS */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
}
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--accent); }
.card p { color: var(--text); font-size: .95rem; margin-bottom: 0; }

/* ABOUT */
.about-text { max-width: 650px; margin: 0 auto; text-align: center; }

/* CONTACT */
.contact-bar {
  display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap;
  margin-top: 1.5rem;
}
.contact-bar a { font-size: 1rem; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border); padding: 2rem 0;
  text-align: center; font-size: .85rem; color: var(--text-muted);
}
footer p { margin-bottom: .3rem; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .card-grid { grid-template-columns: 1fr; }
}
