/* UsureRU Golden CSS - Load Last */

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scroll Container with Snap */
.scroll-container {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh;
  scroll-behavior: smooth;
}

/* Safari fallback */
@supports (-webkit-touch-callout: none) {
  .scroll-container {
    -webkit-scroll-snap-type: y mandatory;
  }
}

/* Layout */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  z-index: 1001;
  width: 0;
}

/* Navigation */
nav#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

nav#mainNav.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-cta {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.hamburger {
  width: 30px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.98);
  z-index: 999;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.menu-overlay.active {
  display: flex;
}

.menu-overlay a {
  font-size: 36px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.menu-overlay.active a {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay a:hover {
  color: #3b82f6;
}

.close-menu {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  font-weight: 300;
}

.separator {
  color: #475569;
}

/* Hero */
.hero {
  background: radial-gradient(ellipse at center, #0a1628 0%, #000 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
  line-height: 1.1;
  background: linear-gradient(to right, #fff, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  margin-bottom: 25px;
  color: #94a3b8;
}

.subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: #64748b;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  padding: 18px 48px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(59, 130, 246, 0.5);
}

.cta-secondary {
  background: transparent;
  border: 1px solid #3b82f6;
}

.cta-secondary:hover {
  background: rgba(59, 130, 246, 0.1);
}

/* Problem Section */
.problem {
  background: linear-gradient(180deg, #000 0%, #0f172a 100%);
}

h2 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.1;
}

.problem-text {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #94a3b8;
  max-width: 800px;
  text-align: center;
  line-height: 1.9;
  margin: 0 auto 60px;
}

.problem-text span {
  display: block;
  margin-bottom: 8px;
}

.split-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
}

.blur-text {
  padding: 40px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.blur-text p {
  filter: blur(2px);
  color: #ef4444;
  opacity: 0.6;
}

.sharp-text {
  padding: 40px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.sharp-text p {
  color: #22c55e;
  font-weight: 500;
}

/* Solution */
.solution {
  background: #000;
}

.body-text {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #94a3b8;
  max-width: 800px;
  text-align: center;
  line-height: 1.7;
  margin: 0 auto 60px;
}

.engines {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.engine-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid;
  animation: float 3s ease-in-out infinite;
}

.engine-icon:nth-child(1) {
  background: rgba(168, 85, 247, 0.1);
  border-color: #a855f7;
  animation-delay: 0s;
}

.engine-icon:nth-child(2) {
  background: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
  animation-delay: 0.5s;
}

.engine-icon:nth-child(3) {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.arrow {
  font-size: 32px;
  color: #3b82f6;
}

.consensus {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.5);
  animation: glow 2s ease-in-out infinite;
  text-align: center;
  line-height: 1.2;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 20px 80px rgba(59, 130, 246, 0.8);
  }
}

/* Experience */
.experience {
  background: linear-gradient(180deg, #0f172a 0%, #000 100%);
}

.chat-mockup {
  width: 100%;
  max-width: 800px;
  margin-top: 40px;
  margin-bottom: 40px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.chat-message {
  background: rgba(59, 130, 246, 0.1);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 15px;
  border-left: 3px solid;
}

.chat-message:last-child {
  margin-bottom: 0;
}

.chat-message:nth-child(1) {
  border-color: #a855f7;
}

.chat-message:nth-child(2) {
  border-color: #22c55e;
}

.chat-message:nth-child(3) {
  border-color: #3b82f6;
}

.chat-message strong {
  color: #3b82f6;
  display: block;
  margin-bottom: 8px;
}

/* Audience */
.audience {
  background: #000;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1000px;
  width: 100%;
  margin-top: 50px;
}

.audience-card {
  padding: 30px;
  background: rgba(15, 23, 42, 0.3);
  border-radius: 15px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-5px);
  border-color: #3b82f6;
  background: rgba(15, 23, 42, 0.5);
}

.audience-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #3b82f6;
}

.audience-card .card-subtitle {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 10px;
}

.audience-card .hover-reveal {
  color: #94a3b8;
  font-size: 14px;
  opacity: 0;
  max-height: 0;
  transition: all 0.3s ease;
  overflow: hidden;
}

.audience-card:hover .hover-reveal {
  opacity: 1;
  max-height: 50px;
}

/* Footer */
footer {
  background: #000;
  padding: 60px 20px 30px;
  text-align: center;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  animation: pulse 4s ease-in-out infinite;
}

.footer-tagline {
  font-size: 24px;
  color: #64748b;
  margin-bottom: 40px;
  font-weight: 300;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #3b82f6;
}

.copyright {
  color: #475569;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Disable snap on mobile */
  .scroll-container {
    scroll-snap-type: none;
    -webkit-scroll-snap-type: none;
  }
  
  section {
    padding: 60px 20px;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  
  .split-visual {
    grid-template-columns: 1fr;
  }
  
  .engines {
    flex-direction: column;
  }
  
  .cta-group {
    flex-direction: column;
  }
  
  .cta-secondary {
    margin-left: 0;
  }
  
  nav#mainNav {
    padding: 15px 20px;
  }
  
  .logo-text {
    font-size: 14px;
  }
  
  .audience-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-overlay a {
    font-size: 28px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .scroll-container {
    scroll-behavior: auto;
    scroll-snap-type: none;
    -webkit-scroll-snap-type: none;
  }
  
  section {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

