@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

/* ===================================================
   LIGHT THEME CSS VARIABLES
   =================================================== */
:root {
  /* Backgrounds */
  --bg-main: #f5f7fa;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;

  /* Brand Colors */
  --primary: #FF6B35;
  --primary-dark: #e05a28;
  --secondary: #7c3aed;

  /* Text */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Borders & Shadows */
  --glass-border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);

  /* Nav */
  --nav-bg: rgba(255, 255, 255, 0.85);
  --nav-border: rgba(0, 0, 0, 0.06);
}

/* ===================================================
   DARK THEME OVERRIDES
   =================================================== */
[data-theme="dark"] {
  --bg-main: #0a0a0e;
  --bg-card: rgba(20, 20, 25, 0.75);
  --bg-card-hover: rgba(30, 30, 38, 0.9);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);

  --nav-bg: rgba(10, 10, 14, 0.85);
  --nav-border: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .bg-video {
  opacity: 0.28;
  filter: contrast(1.1) brightness(0.85);
}

[data-theme="dark"] .bg-glow.orange {
  background: rgba(255, 107, 53, 0.3);
}

[data-theme="dark"] .bg-glow.purple {
  background: rgba(124, 58, 237, 0.25);
}

[data-theme="dark"] .faq-item {
  background: var(--bg-card);
}

[data-theme="dark"] .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border-color: var(--glass-border);
}

[data-theme="dark"] .stat-item {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

[data-theme="dark"] .content-box {
  background: var(--bg-card);
}

[data-theme="dark"] .how-it-works {
  background: linear-gradient(180deg, rgba(10,10,14,0) 0%, rgba(20,20,25,0.8) 50%, rgba(10,10,14,0) 100%);
}

[data-theme="dark"] .faq-section {
  background: linear-gradient(180deg, rgba(20,20,25,0.6) 0%, rgba(10,10,14,0) 100%);
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1.5px solid var(--glass-border);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
  transform: scale(1.1) rotate(15deg);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* ===================================================
   RESET
   =================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* ===================================================
   BACKGROUND VIDEO & GLOWS (Semi-transparent)
   =================================================== */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  opacity: 0.18;
  pointer-events: none;
  filter: contrast(1.05) brightness(1.05);
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.35;
  animation: float 10s infinite ease-in-out alternate;
  pointer-events: none;
}
.bg-glow.orange {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 107, 53, 0.25);
}
.bg-glow.purple {
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(124, 58, 237, 0.15);
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 30px) scale(1.1); }
}

/* ===================================================
   NAVBAR
   =================================================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

nav.scrolled {
  padding: 14px 5%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Legacy h1/h2 inside .logo for privacy/terms pages */
.logo h1, .logo h2 {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

.nav-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.nav-btn::after {
  display: none !important;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4) !important;
  color: white !important;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 5% 60px;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 10;
}

.badge {
  display: inline-block;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
  border: 1.5px solid rgba(255, 107, 53, 0.3);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  width: max-content;
}

.hero h1 {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.75;
}

.hero p strong {
  color: var(--text-main);
  font-weight: 700;
}

.btn-container {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.35);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.45);
  color: white;
}

.btn-secondary {
  padding: 15px 30px;
  background: white;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--glass-border);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hero-stats-mini {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.2);
}

.stat-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0,0,0,0.05);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: all 0.5s ease;
  animation: floatPhone 6s infinite ease-in-out;
}

@keyframes floatPhone {
  0%   { transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0); }
  50%  { transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(-20px); }
  100% { transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0); }
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
  box-shadow: 0 40px 100px rgba(255, 107, 53, 0.2);
}

/* ===================================================
   SECTION HEADERS
   =================================================== */
.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 55px;
  font-size: 1.05rem;
}

/* ===================================================
   HOW IT WORKS
   =================================================== */
.how-it-works {
  padding: 100px 5%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,248,245,0.8) 50%, rgba(255,255,255,0) 100%);
  position: relative;
}

.steps-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.step-card {
  flex: 1;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 40px 28px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.step-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), #ff8c42);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.35);
}

.step-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  margin-top: 10px;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-main);
  font-weight: 700;
}

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

.step-line {
  flex: 0.5;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.4), rgba(255, 107, 53, 0.05));
  margin-top: 80px;
  border-radius: 2px;
}

/* ===================================================
   FEATURES SECTION
   =================================================== */
.features {
  padding: 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 36px 28px;
  border-radius: 20px;
  transition: all 0.35s ease;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 107, 53, 0.25);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ===================================================
   FAQ SECTION
   =================================================== */
.faq-section {
  padding: 100px 5%;
  background: linear-gradient(180deg, rgba(255,248,245,0.6) 0%, rgba(255,255,255,0) 100%);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(255, 107, 53, 0.25);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 22px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
  user-select: none;
}

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

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

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

.faq-item[open] .faq-question {
  color: var(--primary);
}

.faq-answer {
  padding: 0 28px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 16px;
}

.faq-answer strong {
  color: var(--text-main);
}

/* ===================================================
   CALL TO ACTION BANNER
   =================================================== */
.cta-section {
  padding: 100px 5%;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
  border: 1.5px solid rgba(255, 107, 53, 0.2);
  border-radius: 30px;
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.07) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 8px;
}

/* ===================================================
   FOOTER
   =================================================== */
.fat-footer {
  background: #1e293b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 5% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.brand-col .logo {
  margin-bottom: 16px;
}

.brand-col .logo-text,
.brand-col .logo h1,
.brand-col .logo h2 {
  background: linear-gradient(90deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-col p {
  color: #94a3b8;
  font-size: 0.93rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 22px;
  color: #f1f5f9;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.93rem;
  transition: color 0.3s ease;
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #64748b;
  font-size: 0.88rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================================================
   INFO PAGES (Privacy / Terms)
   =================================================== */
.page-header {
  padding: 150px 5% 50px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.06) 0%, rgba(245, 247, 250, 0) 100%);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.page-header p {
  color: var(--text-muted);
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 5% 100px;
}

.content-box {
  background: white;
  border: 1px solid var(--glass-border);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.content-box h2 {
  font-size: 1.6rem;
  margin: 30px 0 15px;
  color: var(--primary);
}

.content-box h3 {
  font-size: 1.2rem;
  margin: 20px 0 10px;
  color: var(--text-main);
}

.content-box p, .content-box ul {
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.75;
}

.content-box ul {
  padding-left: 20px;
}

.content-box li {
  margin-bottom: 8px;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }

  .hero-content {
    align-items: center;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    text-align: center;
  }

  .btn-container {
    justify-content: center;
  }

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

  .steps-container {
    flex-direction: column;
    align-items: center;
  }

  .step-card {
    width: 100%;
    max-width: 440px;
  }

  .step-line {
    display: none;
  }

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

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .content-box {
    padding: 28px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-col p {
    margin: 0 auto;
  }
}
