/* ==========================================================================
   DEVELOPER X INSPIRED PORTFOLIO - MOCHAMAD RICKY SUSANTO
   Theme: Premium Dark Minimalist with Electric Blue Accents
   ========================================================================== */

:root {
  --bg-primary: #0b0d12;
  --bg-secondary: #12151c;
  --bg-card: #171b24;
  --bg-card-hover: #1e2330;
  --border-subtle: #232836;
  --border-highlight: #3b82f6;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --accent-blue: #2563eb;
  --accent-blue-light: #3b82f6;
  --accent-blue-glow: rgba(59, 130, 246, 0.25);
  --accent-cyan: #06b6d4;
  
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.accent-bar {
  width: 54px;
  height: 4px;
  background: linear-gradient(90deg, #ffffff, var(--accent-blue-light));
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  display: inline-block;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-blue-glow);
}

.btn-primary:hover {
  background: var(--accent-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(11, 13, 18, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-logo .code-bracket {
  color: var(--accent-blue-light);
  font-family: monospace;
  font-weight: 700;
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: #ffffff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 1.4rem;
  padding: 6px 12px;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (Developer X Inspired Layout)
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 80px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Ambient glow in background */
.hero-ambient-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -20%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(11, 13, 18, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

/* Hero Left Column */
.hero-left {
  padding-right: 12px;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 8px 24px var(--accent-blue-glow);
  transition: var(--transition);
  text-decoration: none;
}

.scroll-indicator:hover {
  transform: translateY(4px);
  background: var(--accent-blue-light);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.45);
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  stroke-width: 2.5;
  fill: none;
}

/* Hero Center Column - Image */
.hero-center {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #11141c;
}

.hero-photo-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, var(--bg-primary) 100%);
  pointer-events: none;
}

.hero-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.hero-photo-wrapper:hover img {
  transform: scale(1.03);
}

/* Hero Right Column */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 12px;
}

.hero-info-block {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}

.hero-info-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-info-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.hero-info-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
}

.text-link:hover {
  color: var(--accent-blue-light);
  transform: translateX(4px);
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover {
  color: #ffffff;
  border-color: var(--accent-blue-light);
  background: var(--accent-blue);
  transform: translateY(-3px);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 120px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 64px;
}

.about-content h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--accent-blue-light);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-circle-frame {
  position: relative;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  padding: 10px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(255, 255, 255, 0.05));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.about-circle-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #11141c;
}

.about-circle-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* ==========================================================================
   WHAT I DO / SERVICES SECTION (Screenshot Match)
   ========================================================================== */
.services-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #131418;
  border: 1px solid #20242f;
  border-radius: 16px;
  padding: 32px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-blue-light);
}

.service-icon-box.icon-pink {
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.25);
  color: #f472b6;
}

.service-icon-box.icon-emerald {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: #34d399;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 14px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  flex: 1;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ==========================================================================
   WHAT I BUILD SECTION (Technical Systems Grid)
   ========================================================================== */
.what-i-build-section {
  padding: 100px 0;
  background-color: #0e1015;
  border-top: 1px solid var(--border-subtle);
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.build-card {
  background: #131418;
  border: 1px solid #20242e;
  border-radius: 18px;
  padding: 36px 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.build-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.build-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(143, 205, 255, 0.08);
  border: 1px solid rgba(143, 205, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #8fcdff;
}

.build-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.build-desc {
  color: #9ca3af;
  font-size: 0.94rem;
  line-height: 1.65;
  flex: 1;
}

.build-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.build-tag {
  background: rgba(255, 255, 255, 0.04);
  color: #8fcdff;
  border: 1px solid rgba(143, 205, 255, 0.15);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
}

@media (max-width: 1024px) {
  .build-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .build-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TECH STACK CATEGORIZED GRID SECTION (Screenshot Match)
   ========================================================================== */
.tech-grid-section {
  padding: 100px 0;
  background-color: #0c0e14;
  border-top: 1px solid var(--border-subtle);
}

.tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech-card {
  background: #131418;
  border: 1px solid #20242e;
  border-radius: 16px;
  padding: 30px 26px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.tech-card-icon {
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-card-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.tech-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-pill {
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tech-card:hover .tech-pill {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.tech-pill:hover {
  color: #ffffff;
  border-color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.15) !important;
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .tech-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .tech-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WORK EXPERIENCE TIMELINE SECTION
   ========================================================================== */
.experience-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.timeline-wrapper {
  position: relative;
  margin-top: 48px;
  padding-left: 36px;
}

.timeline-line {
  position: absolute;
  top: 24px;
  bottom: 36px;
  left: 7px;
  width: 2px;
  background: linear-gradient(180deg, #38bdf8 0%, rgba(56, 189, 248, 0.4) 40%, rgba(255, 255, 255, 0.08) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 36px;
  left: -36px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 14px #38bdf8, 0 0 24px rgba(56, 189, 248, 0.5);
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-dot.past-dot {
  background: #1e293b;
  border: 2px solid #475569;
  box-shadow: none;
}

.exp-card {
  background: #131418;
  border: 1px solid #20242e;
  border-radius: 18px;
  padding: 34px 32px;
  transition: var(--transition);
}

.exp-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.exp-role {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.exp-company {
  font-size: 1.05rem;
  font-weight: 700;
  color: #38bdf8;
  margin-top: 4px;
}

.exp-location {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.exp-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.exp-date {
  font-size: 0.9rem;
  font-weight: 600;
  color: #9ca3af;
}

.exp-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-current {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.badge-pill {
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.exp-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exp-bullets li {
  position: relative;
  padding-left: 20px;
  color: #9ca3af;
  font-size: 0.94rem;
  line-height: 1.65;
}

.exp-bullets li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #38bdf8;
  font-size: 1.2rem;
  line-height: 1;
}

.exp-bullets li strong {
  color: #f3f4f6;
}

@media (max-width: 768px) {
  .timeline-wrapper {
    padding-left: 24px;
  }
  .timeline-line {
    left: 4px;
  }
  .timeline-dot {
    left: -24px;
    width: 14px;
    height: 14px;
  }
  .exp-card {
    padding: 24px 20px;
  }
  .exp-meta {
    text-align: left;
    align-items: flex-start;
  }
}

/* ==========================================================================
   PORTFOLIO / PROJECTS SECTION
   ========================================================================== */
.portfolio-section {
  padding: 120px 0;
  background-color: var(--bg-primary);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Filter pills */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 4px 15px var(--accent-blue-glow);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #090a0d;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.04);
}

.project-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue-light);
  border: 1px solid rgba(59, 130, 246, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.project-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.project-link-btn:hover {
  color: var(--accent-blue-light);
  transform: translateX(3px);
}

/* ==========================================================================
   TECH STACK MARQUEE & GRID
   ========================================================================== */
.tech-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.marquee-container {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-container:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.tech-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue-light);
}

/* ==========================================================================
   CONTACT / LET'S WORK TOGETHER (Screenshot Match)
   ========================================================================== */
.contact-section {
  padding: 120px 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.contact-left h2 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}

.contact-left p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}

.contact-email-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  background: #151821;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 36px;
  transition: var(--transition);
}

.contact-email-card:hover {
  border-color: var(--accent-blue-light);
  background: #1c212c;
  color: #ffffff;
}

.email-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.contact-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-white-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  color: #0d0f14;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-white-box:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* Contact Form Card (Right Column) */
.contact-form-card {
  background: #13161f;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 8px;
}

.form-input, .form-textarea {
  width: 100%;
  background: #0d0f14;
  border: 1px solid #232836;
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #ffffff;
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-blue-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #4b5563;
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.btn-send-message {
  width: 100%;
  background: #8fcdff;
  color: #002e4d;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.btn-send-message:hover {
  background: #b8e0ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(143, 205, 255, 0.35);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  background-color: #08090d;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  
  .hero-left {
    padding-right: 0;
    order: 1;
  }
  
  .hero-subtitle {
    margin: 0 auto 32px;
  }
  
  .hero-center {
    order: 2;
  }
  
  .hero-photo-wrapper {
    max-width: 320px;
  }
  
  .hero-right {
    order: 3;
    padding-left: 0;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-visual {
    order: -1;
  }
  
  .stats-row {
    justify-content: center;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .site-nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    gap: 20px;
  }
  
  .stats-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .about-circle-frame {
    width: 280px;
    height: 280px;
  }
}
