/* Shafaqat — Portfolio
   Dark theme, gradient accent (indigo -> violet -> cyan).
   Mobile-first, no external images or fonts. */

:root {
  --bg: #0b0f1a;
  --bg-alt: #111827;
  --card: #151f32;
  --border: #26314d;
  --text: #eef2ff;
  --muted: #a5b4d4;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --cyan: #06b6d4;
  --green: #25d366;
  --radius: 16px;
  --max-width: 1020px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: inherit; }
img, svg { display: block; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 26, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--indigo), var(--violet) 55%, var(--cyan));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.main-nav {
  display: none;
  position: absolute;
  top: 60px;
  right: 0;
  left: 0;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.main-nav.open { display: flex; }

.main-nav a {
  padding: 10px 4px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.main-nav a:hover { color: var(--text); }

.nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  border-radius: 10px;
  text-align: center;
  padding: 10px 18px !important;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(600px 300px at 80% -10%, rgba(139, 92, 246, 0.28), transparent 70%),
    radial-gradient(500px 260px at 10% 0%, rgba(6, 182, 212, 0.16), transparent 70%);
}

.hero-eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: 2.5rem;
  line-height: 1.12;
  letter-spacing: -0.5px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--indigo), var(--violet) 50%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 0 26px;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-top: 1px solid var(--border);
}

.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; line-height: 1.2; }
.hero-stats span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover { transform: translateY(-1px); opacity: 0.95; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--violet) 60%, var(--cyan));
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--border);
}

.btn-whatsapp {
  color: #fff;
  background: var(--green);
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }

.section h2 {
  margin: 0 0 8px;
  font-size: 1.9rem;
  letter-spacing: -0.4px;
}

.section-intro {
  margin: 0 0 32px;
  color: var(--muted);
}

/* ---------- Cards & grids ---------- */
.grid {
  display: grid;
  gap: 18px;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.card p { margin: 0 0 12px; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
}

.price {
  color: var(--text) !important;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px !important;
}

.price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.check-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  color: var(--muted);
}

.check-list li { padding-left: 24px; position: relative; margin-bottom: 6px; }
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 800;
}

.pay-note {
  margin: 22px 0 0;
  padding: 14px 18px;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--muted);
}

.project-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--violet) 55%, var(--cyan));
}

.project-badge-gold {
  background: linear-gradient(135deg, #b8860b, #d4a017 55%, #8b5cf6);
}

.project-tag {
  color: var(--cyan) !important;
  font-weight: 700;
  font-size: 0.92rem;
}

.card-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--violet);
  padding-bottom: 2px;
}

.card-link:hover { color: var(--cyan); border-color: var(--cyan); }

/* ---------- Skills ---------- */
.skill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-list li {
  padding: 10px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-inner { text-align: center; }
.contact-inner .section-intro { margin-left: auto; margin-right: auto; max-width: 520px; }

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.contact-actions .btn { width: 100%; max-width: 340px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.footer-inner p { margin: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  .nav-toggle { display: none; }

  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    padding: 0;
    background: none;
    border-bottom: none;
  }

  .hero { padding: 96px 0 72px; }
  .hero h1 { font-size: 3.4rem; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .contact-actions { flex-direction: row; justify-content: center; }
  .contact-actions .btn { width: auto; max-width: none; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
