/* ===== FONTS ===== */
/* Using system fonts natively */

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

:root {
  --font-stack: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --bg-color: #000000;
  --bg-gradient: linear-gradient(135deg, #000000 0%, #111111 100%);
  --surface: #111111;
  --surface-hover: #1a1a1a;
  --text-main: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.5);
  --border-color: rgba(255, 255, 255, 0.1);
  --ease-slow: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-stack);
  color: #ffffff;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(to bottom right, #ffffff 0%, #aaaaaa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

/* ===== UTILITY ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--border-color);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 24px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s var(--ease-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 100px;
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--surface);
  border-color: rgba(255,255,255,0.3);
}

/* ===== HEADER / NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.4s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.8);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.navbar-wordmark:hover {
  opacity: 1;
}

.nav-favicon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.navbar-links a:hover {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

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

.hero-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  margin-bottom: 20px;
  line-height: 1.1;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(to bottom, #ffffff 40%, #c0c0c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto 40px;
  text-align: center;
}

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

/* ===== SPLIT ABOUT ===== */
.about {
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.stat-num {
  display: block;
  font-size: 3.5rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 4px;
  background: linear-gradient(to bottom right, #ffffff, #888);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.about-image {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--surface);
  aspect-ratio: 4/3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== SERVICES ===== */
.services {
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
}

.services-header {
  margin-bottom: 60px;
  max-width: 600px;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: var(--surface-hover);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== APPROACH ===== */
.approach {
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
  background: #050505;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.value-card {
  padding: 30px;
  border-left: 2px solid var(--border-color);
}

.value-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-brand h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h5 {
  font-size: 0.85rem;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== CONTACT FORM ===== */
.contact-section {
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
}

.contact-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 16px;
  color: #ffffff;
  font-family: var(--font-stack);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.35);
}

.form-group select option {
  background: #111111;
}

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

.btn-submit {
  align-self: flex-start;
  padding: 16px 40px;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0 auto 24px;
}

.modal-box h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.modal-box p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
  line-height: 1.6;
}

.modal-close {
  width: 100%;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border-color);
  background: rgba(0,0,0,0.95);
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid var(--border-color);
  transition: color 0.2s;
}

.mobile-link:last-child {
  border-bottom: none;
}

.mobile-link:hover {
  color: #ffffff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .split-layout, .services-grid, .approach-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

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

  .navbar {
    padding: 18px 0;
  }

  .navbar-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 100svh;
    padding: 100px 0 60px;
    height: auto;
    align-items: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 100%;
  }

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

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .about, .services, .approach, .contact-section {
    padding: 80px 0;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .stat-num {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 7vw, 2.75rem);
  }

  .service-card {
    padding: 28px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .btn-submit {
    align-self: stretch;
    width: 100%;
  }

  .modal-box {
    padding: 36px 24px;
  }
}
