/* ===================== RESET & BASE ===================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  color: #f0ebe6;
  background: #0a0515;
  line-height: 1.6;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
a { color: #a78bfa; text-decoration: none; transition: color .3s; }
a:hover { color: #c4b5fd; }
img { max-width: 100%; display: block; }

/* ===================== NAV ===================== */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(10, 5, 21, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(76, 29, 149, 0.3);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-weight: 800; font-size: 1.25rem; color: #fff;
  letter-spacing: -0.02em;
}
.nav-logo span { color: #a78bfa; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: #c0b0a0; font-size: 0.875rem; font-weight: 500;
  transition: color .3s;
}
.nav-links a:hover { color: #a78bfa; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: #f0ebe6;
  border-radius: 2px; transition: .3s;
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative;
  background:
    linear-gradient(160deg, #0f0520 0%, #0a0515 40%, #12072a 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(76,29,149,0.25), transparent),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(124,58,237,0.12), transparent);
}
.hero-content { position: relative; z-index: 1; padding: 2rem; max-width: 800px; }
.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid rgba(76,29,149,0.35);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a78bfa;
  background: rgba(76,29,149,0.12);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #c0a890; max-width: 600px; margin: 0 auto 2.5rem;
  font-weight: 300;
}
.hero-btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
  color: #fff; font-weight: 600; font-size: 0.95rem;
  border-radius: 6px; border: none; cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.3);
  color: #fff;
}
.hero-glow {
  position: absolute; width: 500px; height: 500px;
  border-radius: 50%; filter: blur(120px); opacity: 0.15;
  pointer-events: none;
}
.hero-glow-1 { top: -100px; right: -100px; background: #4c1d95; }
.hero-glow-2 { bottom: -150px; left: -100px; background: #7c3aed; }

/* ===================== SECTIONS ===================== */
section { padding: 6rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.15em; color: #a78bfa; margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 1rem; color: #fff;
}
.section-sub {
  font-size: 1.05rem; color: #a89888; max-width: 600px;
  margin-bottom: 3rem; font-weight: 300;
}

/* ===================== ABOUT ===================== */
#about { background: #0a0515; }
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
.about-text { max-width: 700px; margin: 0 auto; text-align: center; }
.about-text p {
  font-size: 1.05rem; color: #b0a090; line-height: 1.8; margin-bottom: 1.5rem;
}

/* ===================== WHY CHOOSE US ===================== */
#why-us { background: #0d0618; }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.why-card {
  padding: 2rem 1.5rem; border-radius: 12px;
  background: rgba(15,8,30,0.6);
  border: 1px solid rgba(76,29,149,0.12);
  transition: border-color .3s;
}
.why-card:hover { border-color: rgba(124,58,237,0.3); }
.why-card .icon {
  font-size: 1.75rem; margin-bottom: 1rem;
}
.why-card h3 {
  font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem;
}
.why-card p {
  font-size: 0.9rem; color: #a89888; line-height: 1.7;
}

/* ===================== CONTACT ===================== */
#contact {
  background: linear-gradient(180deg, #0a0515 0%, #0f0520 100%);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(76,29,149,0.15);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.contact-item h4 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: #a89888; font-weight: 600; margin-bottom: 0.25rem;
}
.contact-item p { font-size: 1rem; color: #f0ebe6; }
.contact-form {
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-form input, .contact-form textarea {
  background: rgba(15,8,30,0.6);
  border: 1px solid rgba(76,29,149,0.2);
  border-radius: 8px; padding: 0.85rem 1rem;
  color: #f0ebe6; font-family: 'Inter', sans-serif;
  font-size: 0.95rem; transition: border-color .3s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: #a78bfa;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  align-self: flex-start;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
  color: #fff; font-weight: 600; font-size: 0.95rem;
  border: none; border-radius: 6px; cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: transform .3s, box-shadow .3s;
}
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.25);
}

/* ===================== FOOTER ===================== */
footer {
  padding: 2rem; text-align: center;
  border-top: 1px solid rgba(76,29,149,0.15);
  background: #070312;
}
footer p { font-size: 0.85rem; color: #706050; }
.footer-disclaimer {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #706050;
}

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

/* ===================== RESPONSIVE ===================== */

/* Prefers-reduced-motion: disable scroll animations */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .why-card, .hero-btn, .contact-form button {
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* Tablet */
@media (max-width: 1024px) {
  .about-grid { gap: 2rem; }
  .contact-grid { gap: 2rem; }
}

/* Small tablet / large phone */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; width: 100%;
    background: rgba(10, 5, 21, 0.97);
    padding: 1rem; gap: 1.25rem;
    border-bottom: 1px solid rgba(76,29,149,0.3);
  }
  .nav-links.open a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  section { padding: 3.5rem 1rem; }
  .container { padding: 0; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .why-card { padding: 1.25rem 1rem; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-form button {
    align-self: stretch;
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1.5rem;
  }
  .hero-content { padding: 1.5rem 1rem; }
  .hero-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    min-height: 48px;
    box-sizing: border-box;
  }
  .hero-glow {
    width: 300px;
    height: 300px;
  }
  .section-sub {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
}

/* Small phone (375px and below) */
@media (max-width: 480px) {
  nav { padding: 0 0.75rem; }
  .nav-inner { height: 56px; }
  .nav-links.open { top: 56px; padding: 0.75rem; }
  section { padding: 2.5rem 0.75rem; }
  .hero-content { padding: 1.25rem 0.75rem; }
  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }
  .hero p {
    font-size: 1rem;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
    padding: 12px 14px;
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
  }
  .contact-form textarea { min-height: 100px; }
  .contact-form button {
    width: 100%;
    padding: 14px;
    min-height: 48px;
  }
  .contact-grid { gap: 1.5rem; }
  .contact-info { gap: 1.5rem; }
  .why-card { padding: 1rem; }
  .why-card h3 { font-size: 1rem; }
  .why-card p { font-size: 0.875rem; }
  footer { padding: 1.5rem 1rem; }
  footer p { font-size: 0.8rem; }
}

/* Very small screens (320px) */
@media (max-width: 320px) {
  .hero h1 { font-size: 1.75rem; }
  .section-title { font-size: 1.4rem; }
}
