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

:root {
  --navy: #f3f4f6;
  --navy-primary: #ffffff;
  --navy-light: #e5e7eb;
  --white: #111827;
  --accent: #000000;
  --accent-glow: rgba(0, 0, 0, 0.1);
  
  --text-primary: #111827;
  --text-secondary: rgba(17, 24, 39, 0.7);
  --text-muted: rgba(17, 24, 39, 0.45);
  
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(0, 0, 0, 0.08);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius: 12px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

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

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

/* ===========================
   DECORATIVE BACKGROUND
=========================== */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  animation: float-orb 20s infinite ease-in-out alternate;
}

.orb-1 {
  background: #000000;
  width: 90vw;
  max-width: 600px;
  height: 90vw;
  max-height: 600px;
  top: -100px;
  right: -200px;
  opacity: 0.05;
}

.orb-2 {
  background: #111827;
  width: 90vw;
  max-width: 500px;
  height: 90vw;
  max-height: 500px;
  top: 60vh;
  left: -200px;
  opacity: 0.03;
  animation-delay: -5s;
}

@keyframes float-orb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(50px) scale(1.1); }
}

/* ===========================
   LAYOUT & UTILS
=========================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 25%;
  background: rgba(0, 180, 216, 0.25);
  z-index: -1;
  border-radius: 2px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

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

/* Glassmorphism Classes */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.giant-panel {
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border: none;
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-accent:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 10px;
}

.btn-xl {
  padding: 18px 48px;
  font-size: 1.15rem;
  border-radius: 12px;
}

/* ===========================
   SCROLL ANIMATIONS
=========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.float-anim {
  animation: hover-float 6s ease-in-out infinite alternate;
}

@keyframes hover-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-16px); }
}

/* ===========================
   NAV
=========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding var(--transition);
}

.nav.scrolled .nav-inner {
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img, .footer-logo img {
  height: 36px;
  width: auto;
  mix-blend-mode: multiply;
  object-fit: contain;
}

.nav-logo .logo-text, .footer-logo .logo-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav-logo .logo-text strong, .footer-logo .logo-text strong {
  font-weight: 700;
}

.nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  transition: color var(--transition);
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 80px;
}

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

.hero-content {
  padding-right: 20px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: 0.1em;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 500px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-avatars {
  display: flex;
}

.proof-avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  margin-left: -10px;
}
.proof-avatars img:first-child { margin-left: 0; }

.hero-proof span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

/* Glassy Mockup Presentation */
.visual-mockup-wrapper {
  position: relative;
  z-index: 10;
  perspective: 1000px;
}

.glass-mockup {
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
  position: relative;
  overflow: hidden;
}

.glass-mockup:hover {
  transform: rotateY(-2deg) rotateX(2deg);
}

.glass-mockup img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

.glass-reflection {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
}

.floating-alert {
  position: absolute;
  bottom: 0px;
  left: -40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  animation-delay: 1.5s;
}

.alert-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.alert-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--white);
}

.alert-text span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===========================
   PROBLEM SECTION
=========================== */
.problem {
  padding: 80px 0;
}

.problem .glass-panel {
  display: flex;
  align-items: center;
  padding: 64px;
  gap: 64px;
}

.problem-stat {
  flex-shrink: 0;
  text-align: center;
  min-width: 180px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-shadow: 0 0 30px rgba(0, 180, 216, 0.4);
}

.stat-x {
  font-size: 2.5rem;
  margin-top: 0.6rem;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 12px;
}

.problem-copy {
  border-left: 1px solid var(--glass-border);
  padding-left: 64px;
}

.problem-copy p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.problem-copy strong {
  color: var(--white);
}

/* ===========================
   HOW IT WORKS
=========================== */
.how {
  padding: 140px 0;
  position: relative;
}

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

.step-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.step-item {
  display: flex;
  gap: 32px;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-node {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--accent);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.step-node.last {
  margin-bottom: 0;
}

.step-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent) 0%, rgba(0,0,0,0.05) 100%);
  margin-top: 4px;
  margin-bottom: -40px;
}

.step-content h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  margin-top: -4px;
}

.step-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-icon svg { width: 24px; height: 24px; }

.mobile-mockup {
  max-width: 360px;
  margin: 0 auto;
  border-radius: 36px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.6);
}

.mobile-mockup img {
  border-radius: 24px;
}

/* ===========================
   FEATURES
=========================== */
.features {
  padding: 100px 0 140px;
}

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

.feature-card {
  padding: 48px 40px;
  transition: transform var(--transition), background var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 180, 216, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.02) 100%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ===========================
   TESTIMONIAL
=========================== */
.testimonial {
  padding: 80px 0;
}

.testimonial-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 80px;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: 0;
  color: rgba(0, 0, 0, 0.05);
  position: absolute;
  top: 80px;
  left: 40px;
}

.testimonial-panel blockquote {
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.8;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info {
  text-align: left;
}

.author-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===========================
   FINAL CTA
=========================== */
.cta {
  padding: 140px 0;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.cta-inner p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  min-height: 44px;
  min-width: 44px;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  
  .hero-content {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .how-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }
  
  .problem .glass-panel {
    flex-direction: column;
    padding: 48px 32px;
    gap: 40px;
    text-align: center;
  }
  
  .problem-copy {
    border-left: none;
    border-top: 1px solid var(--glass-border);
    padding-left: 0;
    padding-top: 40px;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-panel {
    padding: 48px 32px;
  }
  
  .giant-panel {
    padding: 60px 24px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hamburger { 
    display: flex; 
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 24px 24px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--glass-border);
    justify-content: flex-start;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 24px;
    width: 100%;
    align-items: center;
  }

  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .nav-inner {
    padding: 20px;
  }
  .nav-logo {
    font-size: 1.25rem;
  }
}
