/* ===== CSS Variables ===== */
:root {
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-800: #9a3412;
  --orange-900: #7c2d12;
  --dark-900: #0c0a09;
  --dark-800: #1c1917;
  --dark-700: #292524;
  --dark-600: #44403c;
  --dark-500: #57534e;
  --dark-400: #78716c;
  --dark-300: #a8a29e;
  --dark-200: #d6d3d1;
  --dark-100: #f5f5f4;
  --white: #fafaf9;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Onest', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--dark-200);
  background: var(--dark-900);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(12, 10, 9, 0.75);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(251, 146, 60, 0.08);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(12, 10, 9, 0.92);
  border-bottom-color: rgba(251, 146, 60, 0.15);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.logo-icon {
  color: var(--orange-500);
  font-size: 1.5rem;
  transition: transform var(--transition);
}

.logo:hover .logo-icon {
  transform: rotate(45deg);
}

.logo-accent {
  color: var(--orange-400);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-300);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange-500);
  transition: width var(--transition);
}

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

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

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 100px;
  background: var(--orange-500);
  color: var(--dark-900);
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--orange-400);
  transform: translateY(-1px);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--dark-200);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--orange-500);
  color: var(--dark-900);
}

.btn-primary:hover {
  background: var(--orange-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--dark-200);
  border: 1.5px solid var(--dark-600);
}

.btn-outline:hover {
  border-color: var(--orange-500);
  color: var(--orange-400);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.05rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--orange-500);
  top: -200px;
  right: -100px;
  animation: float 12s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--orange-700);
  bottom: -100px;
  left: -100px;
  animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--orange-400);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 10s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--white) 40%, var(--orange-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--dark-300);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--orange-400);
}

.stat span {
  font-size: 0.8rem;
  color: var(--dark-400);
  margin-top: 2px;
}

/* Upload Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.upload-card {
  background: linear-gradient(145deg, rgba(44, 40, 36, 0.8), rgba(28, 25, 23, 0.9));
  border: 1.5px dashed var(--orange-600);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  width: 100%;
  max-width: 400px;
  backdrop-filter: blur(10px);
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.upload-card:hover {
  border-color: var(--orange-400);
  box-shadow: 0 0 60px rgba(249, 115, 22, 0.08);
}

.upload-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  color: var(--orange-500);
}

.upload-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.upload-hint {
  font-size: 0.85rem;
  color: var(--dark-400);
  display: block;
  margin-bottom: 20px;
}

.upload-formats {
  font-size: 0.75rem;
  color: var(--dark-500);
  padding: 8px 16px;
  background: rgba(249, 115, 22, 0.06);
  border-radius: 100px;
  display: inline-block;
}

/* ===== Sections Common ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-header--left {
  text-align: left;
  margin-left: 0;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1rem;
  color: var(--dark-300);
  line-height: 1.7;
}

/* ===== Features ===== */
.features {
  padding: 100px 0;
  background: var(--dark-800);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-800), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.feature-card {
  padding: 40px 36px;
  background: rgba(41, 37, 36, 0.5);
  border: 1px solid var(--dark-700);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--orange-700);
  background: rgba(41, 37, 36, 0.8);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--orange-500);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--dark-300);
  line-height: 1.75;
}

.features-image,
.steps-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.features-image img,
.steps-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.8);
  transition: filter var(--transition);
}

.features-image:hover img,
.steps-image:hover img {
  filter: brightness(0.85) saturate(1);
}

.features-image figcaption,
.steps-image figcaption {
  font-size: 0.8rem;
  color: var(--dark-400);
  text-align: center;
  padding: 12px;
}

/* ===== How it works ===== */
.how-it-works {
  padding: 100px 0;
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.step {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(44, 40, 36, 0.4), transparent);
  border: 1px solid var(--dark-700);
  transition: all var(--transition);
}

.step:hover {
  border-color: var(--orange-700);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange-500);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.step p {
  font-size: 0.92rem;
  color: var(--dark-300);
  line-height: 1.75;
}

/* ===== Security ===== */
.security {
  padding: 100px 0;
  background: var(--dark-800);
  position: relative;
}

.security::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-800), transparent);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.security-list li {
  font-size: 0.92rem;
  color: var(--dark-300);
  line-height: 1.75;
  padding-left: 20px;
  position: relative;
}

.security-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--orange-500);
  border-radius: 50%;
}

.security-list strong {
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.security-visual {
  border-radius: var(--radius);
  overflow: hidden;
}

.security-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
  filter: brightness(0.7) saturate(0.8) hue-rotate(-10deg);
  transition: filter var(--transition);
}

.security-visual:hover img {
  filter: brightness(0.85) saturate(1) hue-rotate(0deg);
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(41, 37, 36, 0.4);
  border: 1px solid var(--dark-700);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--orange-700);
}

.faq-item summary {
  padding: 20px 28px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--orange-500);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 28px 20px;
  font-size: 0.9rem;
  color: var(--dark-300);
  line-height: 1.75;
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--dark-900), var(--dark-800));
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: var(--orange-500);
  border-radius: 50%;
  opacity: 0.04;
  filter: blur(80px);
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  font-size: 1rem;
  color: var(--dark-300);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 0;
  background: var(--dark-800);
  border-top: 1px solid var(--dark-700);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--dark-400);
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.7;
}

.footer-nav h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--dark-400);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--orange-400);
}

.footer-bottom {
  border-top: 1px solid var(--dark-700);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--dark-500);
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== Mobile Responsive ===== */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }

  .nav-links.active {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 72px;
      left: 0;
      width: 100%;
      background: rgba(12, 10, 9, 0.97);
      backdrop-filter: blur(20px);
      padding: 24px;
      gap: 20px;
      border-bottom: 1px solid var(--dark-700);
  }

  .hero-grid {
      grid-template-columns: 1fr;
      gap: 48px;
      text-align: center;
  }

  .hero-subtitle {
      margin-left: auto;
      margin-right: auto;
  }

  .hero-actions {
      justify-content: center;
  }

  .hero-stats {
      justify-content: center;
  }

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

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

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

  .footer-grid {
      grid-template-columns: 1fr;
      gap: 32px;
  }
}

@media (max-width: 600px) {
  .hero { padding: 120px 0 60px; }

  .hero-content h1 {
      font-size: 1.8rem;
  }

  .upload-card {
      padding: 40px 24px;
  }

  .hero-stats {
      flex-direction: column;
      gap: 16px;
      align-items: center;
  }

  .features, .how-it-works, .security, .faq, .cta {
      padding: 60px 0;
  }
}