/* ==========================================
   RESET & BASE
   ========================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1e1e1e;
  --text-primary: #ffffff;
  --text-secondary: #999999;
  --text-muted: #555555;
  --accent: #c9f731;
  --accent-dim: #a5cc28;
  --border: #222222;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 999px;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-left a,
.nav-right a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.nav-left a:hover,
.nav-right a:hover {
  color: var(--text-primary);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  padding: 140px 48px 80px;
  overflow: hidden;
}

.hero-curve {
  position: absolute;
  top: 0;
  left: -10%;
  right: -10%;
  height: 600px;
  background: var(--bg-secondary);
  border-radius: 0 0 50% 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-name span {
  display: block;
}

.hero-name span:last-child {
  color: var(--accent);
}

.hero-avatar {
  flex-shrink: 0;
}

.avatar-img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--border);
}

/* Hero Stats */
.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 32px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Featured Project */
.featured-project {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 48px auto 0;
}

.featured-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.featured-content {
  display: flex;
  gap: 40px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s;
}

.featured-content:hover {
  border-color: var(--accent);
}

.featured-info {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-info h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.featured-info p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  width: fit-content;
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.featured-image {
  flex: 1;
  min-height: 280px;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ==========================================
   SECTIONS COMMON
   ========================================== */
.section-header {
  max-width: 1200px;
  margin: 0 auto 48px;
}

.section-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ==========================================
   SERVICES
   ========================================== */
.services {
  padding: 100px 48px;
}

.services-list {
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: padding-left 0.3s;
}

.service-item:first-child {
  border-top: 1px solid var(--border);
}

.service-item:hover {
  padding-left: 16px;
}

.service-item:hover .service-num {
  color: var(--accent);
}

.service-item:hover .service-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

.service-num {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 48px;
  transition: color 0.3s;
}

.service-info {
  flex: 1;
}

.service-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

.service-arrow {
  font-size: 24px;
  color: var(--text-muted);
  transition: color 0.3s, transform 0.3s;
}

/* ==========================================
   WORKS
   ========================================== */
.works {
  padding: 100px 48px;
  background: var(--bg-secondary);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.work-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

.work-thumbnail {
  padding: 24px;
  height: 220px;
}

.work-details {
  padding: 0 24px 28px;
}

.work-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.work-details h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 12px;
}

.work-details p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.work-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.work-link:hover {
  gap: 12px;
}

/* ==========================================
   UPCOMING
   ========================================== */
.upcoming {
  padding: 100px 48px;
}

.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.upcoming-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.upcoming-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.upcoming-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.upcoming-card:hover::before {
  opacity: 1;
}

.upcoming-icon {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--bg-primary);
  background: var(--accent);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.upcoming-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.upcoming-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.upcoming-tech {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  padding: 6px 14px;
  background: rgba(201, 247, 49, 0.08);
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 247, 49, 0.15);
}

/* ==========================================
   FAQ
   ========================================== */
.faq {
  padding: 100px 48px;
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-toggle {
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact {
  padding: 100px 48px;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color 0.3s, color 0.3s;
}

.contact-item:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.contact-icon {
  font-size: 18px;
}

.contact-cta {
  margin-top: 8px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 24px;
  }

  .nav-left,
  .nav-right {
    gap: 16px;
  }

  .nav-right {
    display: none;
  }

  .hero {
    padding: 120px 24px 60px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .hero-curve {
    height: 500px;
  }

  .avatar-img {
    width: 160px;
    height: 160px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px;
  }

  .featured-content {
    flex-direction: column;
  }

  .featured-image {
    min-height: 200px;
  }

  .services,
  .works,
  .upcoming,
  .faq,
  .contact {
    padding: 60px 24px;
  }

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

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

  .service-item {
    flex-wrap: wrap;
    gap: 16px;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .footer {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

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

  .stat-number {
    font-size: 28px;
  }

  .featured-info {
    padding: 24px;
  }

  .featured-info h2 {
    font-size: 24px;
  }
}
