/* ===== BASE RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  background: #050510;
  color: #f9fafb;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== THEME ===== */
:root {
  --bg: #050510;
  --bg-elevated: #0b0b18;
  --bg-alt: #121225;
  --accent: #ff007f;
  --accent-soft: rgba(255, 0, 127, 0.22);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.85);
}

/* ===== LAYOUT ===== */
.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #191931, #050510);
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 16, 0.96),
    rgba(5, 5, 16, 0.65)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ===== NEW LOGO TEXT ===== */
.logo-text-brand {
  font-size: 1.35rem;
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.verified-icon {
  width: 20px;
  height: 20px;
  display: block;
  margin-top: 1px; /* micro-adjust for perfect vertical alignment */
}


/* ===== NAVIGATION ===== */
.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff007f, #ffd84a);
  transition: width 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.22);
  font-size: 0.9rem;
}

/* ===== MOBILE HAMBURGER ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* ===== HERO ===== */
.hero {
  padding: 5.5rem 0 4rem;
  background:
    radial-gradient(circle at top left, rgba(255, 0, 127, 0.23), transparent),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.28), #050510);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
  gap: 3rem;
  align-items: center;
}

.tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 3.2vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.highlight {
  background: linear-gradient(90deg, #ff007f, #ffd84a);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.hero-tags span {
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
}

/* Hero card */
.hero-showcase {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: radial-gradient(circle at top, #14142a, #050510);
  border-radius: 20px;
  padding: 1.8rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  max-width: 420px;
}

.hero-card-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 0.7rem;
}

.hero-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.hero-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-card ul {
  margin: 0.9rem 0 0.9rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-card-link {
  font-size: 0.88rem;
  color: #e5e7eb;
  text-decoration: underline;
  text-decoration-color: rgba(255, 0, 127, 0.7);
  text-decoration-thickness: 1px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.93rem;
  font-weight: 500;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #ff007f, #ffd84a);
  color: #050510;
  box-shadow: 0 12px 30px rgba(255, 0, 127, 0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(255, 0, 127, 0.65);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text-main);
}

.btn.ghost:hover {
  border-color: rgba(248, 250, 252, 0.9);
}

.btn.small {
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
}

.btn.full-width {
  width: 100%;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.section-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.9rem;
}

.project-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
}

.project-thumb img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}

.project-content {
  padding: 1.4rem 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.project-type {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #a5b4fc;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.project-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.3rem;
}

.project-tags li {
  font-size: 0.75rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.project-links {
  margin-top: 0.75rem;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.7rem;
}

.about-grid h2 {
  margin-bottom: 0.6rem;
}

.about-grid p {
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-list li::before {
  content: "• ";
  color: var(--accent);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-grid h2 {
  margin-bottom: 0.7rem;
}

.contact-grid p {
  color: var(--text-muted);
}

.contact-details {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.contact-details p + p {
  margin-top: 0.2rem;
}

/* Form */
.contact-form {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.83rem;
  margin-bottom: 0.25rem;
  color: #e5e7eb;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
  padding: 0.55rem 0.8rem;
  font-family: inherit;
  font-size: 0.9rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #ff007f;
  box-shadow: 0 0 0 1px rgba(255, 0, 127, 0.5);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.4rem 0 1.7rem;
  background: #02020a;
}

.footer-content {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-sub {
  margin-top: 0.15rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    justify-content: flex-start;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    inset: 72px 0 auto;
    background: rgba(5, 5, 16, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    flex-direction: column;
    padding: 0.9rem 1.25rem 1.3rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 5rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card {
    padding: 1.4rem;
  }
}
