@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --purple:       #7C3AED;
  --purple-dark:  #5B21B6;
  --purple-light: #A78BFA;
  --green:        #10B981;
  --green-dark:   #059669;
  --green-light:  #6EE7B7;
  --dark:         #0B0B18;
  --dark-2:       #13131F;
  --card-bg:      #1A1A2E;
  --border:       rgba(124,58,237,0.25);
  --text-light:   #E2E8F0;
  --text-muted:   #94A3B8;
  --white:        #FFFFFF;
  --section-alt:  #F7F5FF;
  --text-dark:    #1E1B4B;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── NAVBAR ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,11,24,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
}

.logo i { color: var(--green); font-size: 1.4rem; }

.logo span { color: var(--purple-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links .nav-cta {
  background: var(--purple);
  color: var(--white);
  padding: .45rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background .2s;
}

.nav-links .nav-cta:hover { background: var(--purple-dark); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 1.5rem 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(124,58,237,.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.3);
  color: var(--green-light);
  padding: .35rem .9rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: .5px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -1.5px;
}

.hero h1 .accent-green { color: var(--green); }
.hero h1 .accent-purple { color: var(--purple-light); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  transition: all .2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
}

.btn-primary:hover { background: var(--purple-dark); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.2);
  color: var(--white);
}

.btn-secondary:hover { border-color: var(--green); color: var(--green); }

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
}

.hero-stat span {
  font-size: .85rem;
  color: var(--text-muted);
}

/* ── SECTIONS ────────────────────────────────────────── */
.section {
  padding: 80px 1.5rem;
}

.section-alt { background: var(--section-alt); }
.section-dark { background: var(--dark); }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--purple);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -.5px;
  margin-bottom: .75rem;
}

.section-dark .section-title,
.section-dark .section-sub { color: var(--white); }

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 3rem;
}

/* ── GRID ────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

/* ── CARDS ───────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 2rem;
  transition: transform .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(124,58,237,.1);
}

.card-dark {
  background: var(--card-bg);
  border-color: var(--border);
  color: var(--text-light);
}

.card-dark:hover {
  box-shadow: 0 20px 40px rgba(16,185,129,.1);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.icon-purple { background: rgba(124,58,237,.12); color: var(--purple); }
.icon-green  { background: rgba(16,185,129,.12);  color: var(--green); }

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.card-dark h3 { color: var(--white); }

.card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── FEATURE LIST ────────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(16,185,129,.12);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .9rem;
}

.feature-item h4 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .2rem;
}

.feature-item p {
  font-size: .85rem;
  color: var(--text-muted);
}

/* ── STATS BAR ───────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 3rem;
}

.stat-item {
  background: var(--dark-2);
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item span {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .25rem;
  display: block;
}

/* ── CTA SECTION ─────────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  border-radius: 20px;
  padding: 4rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(16,185,129,.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .75rem;
}

.cta-box p { color: rgba(255,255,255,.7); margin-bottom: 2rem; }

.btn-white {
  background: var(--white);
  color: var(--purple-dark);
}

.btn-white:hover { background: var(--green-light); }

/* ── PROJECT CARDS ───────────────────────────────────── */
.project-card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(124,58,237,.12);
}

.project-card-header {
  background: linear-gradient(135deg, var(--dark), var(--card-bg));
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.project-logo {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--dark);
  font-weight: 900;
  flex-shrink: 0;
}

.project-card-header h3 { color: var(--white); font-size: 1.2rem; font-weight: 700; }
.project-card-header span { color: var(--text-muted); font-size: .85rem; }

.project-card-body { padding: 1.5rem 2rem; }

.project-card-body p {
  font-size: .9rem;
  color: #4B5563;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.tag {
  background: rgba(124,58,237,.08);
  color: var(--purple);
  padding: .25rem .65rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
}

.tag-green {
  background: rgba(16,185,129,.08);
  color: var(--green-dark);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--purple);
  font-size: .875rem;
  font-weight: 600;
  transition: gap .2s;
}

.link-arrow:hover { gap: .7rem; }

/* ── PAGE HERO ───────────────────────────────────────── */
.page-hero {
  background: var(--dark);
  padding: 130px 1.5rem 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,.3) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .75rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
}

/* ── TEAM / ABOUT ────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -.5px;
}

.about-text p {
  color: #4B5563;
  margin-bottom: 1.5rem;
  font-size: .95rem;
  line-height: 1.75;
}

.about-visual {
  background: linear-gradient(135deg, var(--purple-dark), var(--dark));
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.expertise-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-light);
}

.expertise-item i {
  color: var(--green);
  font-size: 1.1rem;
  width: 20px;
  flex-shrink: 0;
}

.expertise-item span { font-size: .95rem; font-weight: 500; }

/* ── LEGAL PAGES ─────────────────────────────────────── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2rem 0 .5rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.legal-content h2 i { color: var(--purple); font-size: 1rem; }

.legal-content p,
.legal-content li {
  color: #4B5563;
  font-size: .95rem;
  line-height: 1.75;
}

.legal-content ul { padding-left: 1.25rem; margin: .5rem 0; }
.legal-content li { list-style: disc; }

.legal-content a { color: var(--purple); }
.legal-content a:hover { text-decoration: underline; }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 1.5rem 30px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo { margin-bottom: 1rem; }

.footer-brand p {
  color: var(--text-muted);
  font-size: .875rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: .875rem;
  transition: color .2s;
}

.footer-col a:hover { color: var(--green); }

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-bottom p { color: var(--text-muted); font-size: .8rem; }

.footer-bottom a { color: var(--purple-light); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--dark-2); padding: 1.5rem; gap: 1rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-stats { gap: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-box { padding: 2.5rem 1.5rem; }
}
