:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-color: #00f2ff;
  --accent-glow: rgba(0, 242, 255, 0.3);
  --font-main: 'Outfit', sans-serif;
  --font-display: 'Syne', sans-serif;
  --section-gap: 120px;
  --container-padding: clamp(1.5rem, 6vw, 8rem);
}

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

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

h1, h2, h3, .display-text {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.nav-link:hover {
  color: var(--accent-color);
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-years {
  font-size: clamp(4rem, 15vw, 12rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  margin-bottom: -2rem;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 6rem);
  margin-bottom: 2rem;
}

.hero-accent {
  color: var(--accent-color);
  text-shadow: 0 0 20px var(--accent-glow);
}

.hero-description {
  max-width: 600px;
  font-size: 1.2rem;
  color: var(--text-secondary);
}

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

.stat-item {
  border-left: 1px solid var(--accent-color);
  padding-left: 1.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  display: block;
}

.stat-label {
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* --- Section Styling --- */
section {
  margin-top: var(--section-gap);
  padding: 4rem 0;
}

.section-header {
  margin-bottom: 4rem;
}

.section-tag {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
}

/* --- Experience Horizontal Scroll --- */
.experience-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  scrollbar-width: none;
}

.experience-track::-webkit-scrollbar {
  display: none;
}

.exp-card {
  min-width: 400px;
  background: var(--bg-secondary);
  padding: 3rem;
  border: 1px solid #333;
  transition: border-color 0.3s ease;
}

.exp-card:hover {
  border-color: var(--accent-color);
}

.exp-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 2rem;
  color: var(--accent-color);
}

.exp-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.exp-list {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.exp-list li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.2rem;
}

.exp-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* --- Project Grid --- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.project-card {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.project-card.wide {
  grid-column: span 8;
}

.project-card.narrow {
  grid-column: span 4;
}

.project-image {
  aspect-ratio: 16/9;
  background: #222;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-info {
  margin-top: 1.5rem;
}

.project-category {
  font-size: 0.8rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.project-name {
  font-size: 1.8rem;
  margin: 0.5rem 0;
}

/* --- Services / Full Stack Solution --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 3rem;
  background: linear-gradient(135deg, #141414 0%, #0a0a0a 100%);
  border: 1px solid #222;
  position: relative;
}

.service-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 4rem;
  opacity: 0.05;
}

/* --- Footer --- */
footer {
  margin-top: var(--section-gap);
  padding: 8rem 0 4rem;
  background: #000;
  border-top: 1px solid #222;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.footer-cta {
  font-size: clamp(2rem, 6vw, 5rem);
  max-width: 800px;
}

.footer-cta a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid #222;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 1s ease forwards;
}

/* Utilities */
.placeholder-image {
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 0.8rem;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .project-card, .project-card.wide, .project-card.narrow { grid-column: span 12; }
  .exp-card { min-width: 300px; padding: 2rem; }
  .footer-content { flex-direction: column; align-items: flex-start; gap: 2rem; }
}
