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

:root {
  --bg-dark: #0a0a0e;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --neon-purple: #9d4edd;
  --neon-blue: #4361ee;
  --neon-emerald: #10b981;
  --neon-gold: #f59e0b;
  --text-main: #f8f9fa;
  --text-muted: #adb5bd;
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-highlight: rgba(255, 255, 255, 0.2);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

p {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* Glassmorphism utility */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-highlight);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(67, 97, 238, 0.1);
}

/* Glowing text */
.text-glow-purple {
  text-shadow: 0 0 20px rgba(157, 78, 221, 0.5);
}
.text-glow-blue {
  text-shadow: 0 0 20px rgba(67, 97, 238, 0.5);
}

/* Gradients */
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-accent {
  background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Background Ambient Orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
  animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--neon-purple);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--neon-blue);
  bottom: 20%;
  right: -50px;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--neon-emerald);
  top: 40%;
  left: 20%;
  opacity: 0.3;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 50px) scale(1.1); }
  100% { transform: translate(-30px, 80px) scale(0.9); }
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(157, 78, 221, 0.6);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: white;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Sections */
section {
  padding: 100px 20px;
  position: relative;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
  position: relative;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero p {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 48px auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 3D Floating Objects */
.float-obj {
  position: absolute;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
  animation: float 6s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

.obj-1 { top: 15%; left: 10%; width: 120px; animation-delay: 0s; transform: rotate(-15deg); }
.obj-2 { top: 20%; right: 15%; width: 150px; animation-delay: -2s; transform: rotate(20deg); }
.obj-3 { bottom: 20%; left: 15%; width: 100px; animation-delay: -4s; transform: rotate(10deg); }
.obj-4 { bottom: 25%; right: 10%; width: 130px; animation-delay: -1s; transform: rotate(-25deg); }

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-30px) rotate(10deg); }
}

/* Live Ticker */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  position: absolute;
  bottom: 0;
  left: 0;
}

.ticker-content {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ticker-item img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.ticker-item strong {
  color: var(--neon-emerald);
}

@keyframes ticker {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.step-card {
  padding: 40px 32px;
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 32px;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: rgba(67, 97, 238, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  color: var(--neon-blue);
}

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

/* Horizontal Scroll Showcase */
.showcase-wrapper {
  overflow-x: hidden;
  padding: 20px 0;
}

.showcase-track {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.reward-card {
  width: 100%;
  height: 400px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.reward-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(15,23,42,1) 0%, rgba(15,23,42,0.8) 35%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.reward-img {
  position: absolute;
  top: 0; right: 0; width: 70%; height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
  transition: transform 0.5s ease;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
  mask-image: linear-gradient(to right, transparent 0%, black 30%);
}

.reward-card:hover .reward-img {
  transform: scale(1.05);
}

.reward-content {
  position: relative;
  z-index: 2;
  margin-top: 0;
  max-width: 60%;
}

.reward-tag {
  background: var(--neon-purple);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}

.reward-timer {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.time-box {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  text-align: center;
  min-width: 50px;
}

.time-box span {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}

.time-box small {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Bento Grid (Why Users Love It) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 24px;
}

.bento-item {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.bento-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento-item:nth-child(2) { grid-column: span 2; }
.bento-item:nth-child(3) { grid-column: span 1; }
.bento-item:nth-child(4) { grid-column: span 1; }

.bento-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--neon-emerald);
}

.bento-item h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

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

/* Phone Mockup Section */
.mockup-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mockup-container {
  position: relative;
  width: 100%;
  height: 700px;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: absolute;
  width: 300px;
  height: 600px;
  border-radius: 40px;
  border: 8px solid #222;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 0 0 2px #444;
  overflow: hidden;
  background: #000;
}

.phone-1 { top: 100px; left: 10%; z-index: 3; }
.phone-2 { top: 0; left: 35%; z-index: 2; transform: scale(0.9); opacity: 0.8; }
.phone-3 { top: 200px; left: 60%; z-index: 1; transform: scale(0.8); opacity: 0.6; }

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--neon-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Accordion FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
}

.faq-question {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 500;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-muted);
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 64px 20px 32px 20px;
  background: rgba(0,0,0,0.5);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 64px;
}

.footer-brand h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.link-column h4 {
  margin-bottom: 20px;
  color: #fff;
}

.link-column ul {
  list-style: none;
}

.link-column li {
  margin-bottom: 12px;
}

.link-column a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-column a:hover {
  color: var(--neon-emerald);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-item:nth-child(1) { grid-column: span 2; }
  .bento-item:nth-child(2) { grid-column: span 2; }
  .bento-item:nth-child(3) { grid-column: span 1; }
  .bento-item:nth-child(4) { grid-column: span 1; }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
  }

  .float-obj {
    display: none !important;
  }

  .reward-card {
    height: auto;
    min-height: 350px;
    padding: 24px;
    align-items: flex-end; /* Push text down if we make image background */
    justify-content: flex-end;
  }
  .reward-img {
    width: 100%;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 50%);
    mask-image: linear-gradient(to top, transparent 0%, black 50%);
  }
  .reward-content {
    max-width: 100%;
    width: 100%;
    text-align: center;
    margin-top: 150px;
  }
  .reward-timer {
    justify-content: center;
  }

  .mockup-container {
    position: relative;
    right: 0;
    width: 100%;
    height: 400px;
    margin-top: 40px;
  }
  .phone-mockup {
    width: 200px;
    height: 400px;
  }
  .phone-1 { left: 50%; transform: translateX(-50%); }
  .phone-2, .phone-3 { display: none; }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  .footer-links {
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .bento-item:nth-child(1),
  .bento-item:nth-child(2),
  .bento-item:nth-child(3),
  .bento-item:nth-child(4) { 
    grid-column: span 1; 
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  section {
    padding: 60px 20px;
  }
}
