/* ===================================
   VARIABLES & GLOBAL STYLES
   =================================== */

:root {
  --bg: #09090b;
  --surface: #131316;
  --surface-2: #1c1c21;
  --border: #27272a;
  --text: #d4d4d8;
  --text-dim: #71717a;
  --text-bright: #fafafa;
  --accent: #8b7cf8;
  --accent-dim: #6d5fd6;
  --accent-glow: rgba(139, 124, 248, 0.08);
  --green: #4ade80;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
}

.logo {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-bright);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.nav-menu a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(139, 124, 248, 0.05) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 200;
  letter-spacing: -0.04em;
  color: var(--text-bright);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.tagline {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 700px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

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

/* ===================================
   BUTTONS
   =================================== */

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 24px rgba(139, 124, 248, 0.2);
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(139, 124, 248, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-glow);
  border-color: var(--accent-dim);
}

.btn-tertiary {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.btn-tertiary:hover {
  color: var(--text-bright);
  border-color: var(--accent);
}

/* ===================================
   SECTIONS
   =================================== */

.section {
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  margin-bottom: 3rem;
  text-align: center;
}

/* ===================================
   HIGHLIGHTS
   =================================== */

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

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
}

.highlight-card:hover {
  border-color: var(--accent-dim);
  background: linear-gradient(135deg, var(--surface) 60%, var(--accent-glow) 100%);
  transform: translateY(-4px);
}

.highlight-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
}

.highlight-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===================================
   STATS
   =================================== */

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

.stat-box {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-bright);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.stat-detail {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-block {
  text-align: center;
  background: linear-gradient(135deg, var(--surface) 0%, var(--accent-glow) 100%);
}

.cta-block h2 {
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-bright);
  margin-bottom: 1rem;
}

.cta-block p {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================
   PROJECTS GRID
   =================================== */

.projects {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: var(--transition);
}

.project:hover {
  border-color: var(--accent-dim);
  background: linear-gradient(135deg, var(--surface) 60%, var(--accent-glow) 100%);
}

.project.featured {
  border-color: var(--accent-dim);
  background: linear-gradient(135deg, var(--surface) 60%, var(--accent-glow) 100%);
}

.project h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.project-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.project-impact {
  color: var(--green);
  font-weight: 500;
}

.project p {
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===================================
   SAMPLES GRID
   =================================== */

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

.sample-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.sample-card:hover {
  border-color: var(--accent-dim);
  background: linear-gradient(135deg, var(--surface) 60%, var(--accent-glow) 100%);
  transform: translateY(-4px);
}

.sample-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.sample-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 1rem;
}

.sample-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.sample-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.sample-link:hover {
  text-decoration: underline;
}

/* ===================================
   FORM STYLES
   =================================== */

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-bright);
  font-size: 0.95rem;
}

input, textarea {
  width: 100%;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* ===================================
   CONTENT SECTIONS
   =================================== */

.content-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.content-intro h2 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  margin-bottom: 1rem;
}

.content-intro p {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ===================================
   ABOUT PAGE
   =================================== */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text h2 {
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.skills-section {
  margin-top: 3rem;
}

.skills-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
}

.skill-category {
  margin-bottom: 1.5rem;
}

.skill-category strong {
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.skill-category p {
  color: var(--text-dim);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-hero {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
}

.footer p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav-menu {
    font-size: 0.85rem;
    gap: 1rem;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .nav-menu {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
