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

:root {
  --black: #000000;
  --black-soft: #050505;
  --black-medium: #0a0a0a;
  --black-light: #111111;
  --black-lighter: #161616;
  --black-card: #0d0d0d;
  --gray-dark: #1a1a1a;
  --gray: #2a2a2a;
  --gray-mid: #3a3a3a;
  --gray-light: #666666;
  --gray-text: #888888;
  --white-dim: #aaaaaa;
  --white-soft: #cccccc;
  --white: #e0e0e0;
  --accent: #ffffff;
  --glow: rgba(255, 255, 255, 0.03);
  --glow-strong: rgba(255, 255, 255, 0.06);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--black);
  color: var(--white-soft);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  color: var(--accent);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 14px 40px;
  background: rgba(0, 0, 0, 0.95);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 8px;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-text);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255, 255, 255, 0.015) 0%, transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.008) 0%, transparent 40%),
    var(--black);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 0 24px;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.title-line {
  display: block;
  color: var(--gray-mid);
}

.title-line.accent {
  color: var(--accent);
  text-shadow: 0 0 80px rgba(255, 255, 255, 0.1);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--gray-text);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--white-soft);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

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

.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--gray-light);
}

.btn-full {
  width: 100%;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid var(--gray);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--gray-light);
  border-radius: 2px;
  animation: scroll 2s ease infinite;
}

@keyframes scroll {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px 0;
}

.section-header {
  margin-bottom: 72px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid var(--gray);
  border-radius: 2px;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gray-text);
  letter-spacing: -1px;
}

/* ===== ABOUT ===== */
.about {
  background: var(--black-soft);
}

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

.about-card {
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 48px 36px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-card:hover {
  border-color: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--gray-light);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.about-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
  background: var(--black);
}

.features-list {
  display: flex;
  flex-direction: column;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  cursor: default;
  transition: all 0.3s ease;
}

.feature-item:hover {
  padding-left: 20px;
}

.feature-item:hover .feature-number {
  color: var(--accent);
}

.feature-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray);
  min-width: 100px;
  transition: color 0.3s ease;
  letter-spacing: -2px;
}

.feature-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--gray-text);
  max-width: 500px;
  line-height: 1.7;
}

.feature-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent);
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--black-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: var(--black-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.gallery-placeholder:hover {
  background: var(--black-lighter);
}

.gallery-placeholder:hover .glow-orb {
  transform: scale(1.3);
  opacity: 0.15;
}

.gallery-placeholder span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--gray-mid);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.gallery-placeholder:hover span {
  color: var(--gray-light);
}

.glow-orb {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  opacity: 0.08;
  transition: all 0.6s ease;
}

.glow-orb.small {
  width: 120px;
  height: 120px;
}

.glow-orb.medium {
  width: 160px;
  height: 160px;
}

/* ===== STATS ===== */
.stats {
  background: var(--black);
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-light);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--black-soft);
}

.contact-form {
  max-width: 700px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

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

.form-row .form-group {
  margin-bottom: 0;
}

input, textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  outline: none;
  transition: all 0.3s ease;
  resize: vertical;
}

input::placeholder, textarea::placeholder {
  color: var(--gray-mid);
}

input:focus, textarea:focus {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-content {
  text-align: center;
  margin-bottom: 48px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 12px;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-text {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--gray-mid);
  letter-spacing: 1px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    padding: 24px 40px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

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

  .feature-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .feature-item:hover {
    padding-left: 0;
  }

  .feature-number {
    font-size: 2rem;
    min-width: auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-row: span 1;
    grid-column: span 1;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--gray);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-mid);
}
