/*
Theme Name: YeetApp
Theme URI: https://yeet.app
Author: Antigravity
Author URI: https://google.deepmind.com
Description: A 10/10 High-Performance Landing Page for YEET.
Version: 1.0.0
*/

:root {
  /* HSL Color Palette - Midnight Blue (Professional & Trustworthy) */
  --color-bg: 222, 47%, 11%;
  /* #0F172A - Deep Midnight */
  --color-text: 210, 40%, 98%;
  /* #F8FAFC - Ice White */

  --color-accent: 265, 83%, 62%;
  /* #9F5AF0 - Vivid Purple (Retained as Accent) */
  --color-accent-glow: 265, 83%, 62%;

  --color-surface: 217, 33%, 17%;
  /* #1E293B - Slate Blue (Cards) */
  --color-surface-hover: 217, 33%, 25%;
  /* #334155 - Lighter Slate */

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-display: 'Outfit', sans-serif;

  --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: hsl(var(--color-bg));
  color: hsl(var(--color-text));
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Button Component */
.btn-yeet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, hsl(260, 100%, 60%), hsl(280, 100%, 55%));
  border-radius: 99px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px hsla(var(--color-accent-glow), 0.5);
  transition: transform 0.2s var(--ease-elastic), box-shadow 0.2s ease;
}


/* ENHANCED VISUALS (Less "Brav", More Yeet) */

/* 1. Dynamic Background Depth */
body {
  background: radial-gradient(circle at 50% 0%, #1a1a2e 0%, #0f172a 40%, #050510 100%);
  min-height: 100vh;
}

/* 2. Gradient Headline */
/* 2. Headline - Bold with Subtle Gradient (Edgy but Clean) */
/* 2. Headline - Solid White (Crisis Management) */
/* 2. Headline - Gradient (Restored & Cleaned) */
.hero-title {
  font-size: clamp(4rem, 15vw, 10rem);
  line-height: 0.9;
  margin-bottom: 1rem;

  /* Subtle Gradient: White to Silver (Restored) */
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  /* NO TEXT SHADOW to prevent artifacts */
  letter-spacing: -0.02em;
  font-weight: 900;
  transform: translateZ(0);
}

/* 3. Light Cone / Spotlight behind Container */
.hero-content {
  position: relative;
  z-index: 1;
}

/* 3. Light Cone / Spotlight (Linear/Raycast Style) */
/* 3. Ambient Wash (Linear/Horizontal Stream) */
.hero-content {
  position: relative;
  z-index: 1;
}

/* Space Lens Flare Effect - REMOVED per user request (too distracting) */
.hero-content::before {
  display: none;
}

/* Additional ambient glow for depth */
.hero-content::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  max-width: 100vw;
  /* Prevent overflow on mobile */
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(76, 29, 149, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
}

/* Mobile Polish */
@media (max-width: 600px) {
  .main-nav {
    padding: 1.5rem 0 !important;
  }

  .hero-title {
    font-size: clamp(3rem, 18vw, 6rem);
  }
}

/* 4. Intensified Button */
.btn-yeet {
  /* Electric Violet to Fuchsia Gradient (Popping against dark bg) */
  background: linear-gradient(135deg, #a78bfa, #d946ef);
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* Stronger, brighter glow */
  box-shadow: 0 0 40px rgba(167, 139, 250, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.btn-yeet::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s, transform 0.5s;
}

.btn-yeet:hover::after {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0s, transform 0.5s;
}

.btn-yeet:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(167, 139, 250, 0.7), inset 0 0 30px rgba(255, 255, 255, 0.3);
}

/* 5. Steps Section Polish (Redesigned for English & Clean Look) */
.steps-section {
  padding: 2rem 0 8rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  /* More space */
  text-align: center;
  position: relative;
  z-index: 2;
}

/* 5. Cleaned Up Steps */
.step-card {
  /* Removed heavy borders/backgrounds for a cleaner look */
  padding: 2rem;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Clean, Neutral Style (No Purple, No Glow) */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 50%;
  color: white;
  /* Removed box-shadow */
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
}

.step-card:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.step-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 1.125rem;
  color: #94a3b8;
  /* Slate-400 */
  line-height: 1.6;
}

/* Platform Icons (Subtle & Interactive) */
.platform-icons svg {
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0.5;
}

.platform-icons svg:hover {
  color: white !important;
  opacity: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

/* Neon Container for Interactive Area */
#yeet-interactive-root {
  /* Layout only - let the child handle the visuals */
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Target the actual React app container (Black Box) */
#yeet-interactive-root>* {
  /* Subtler Border */
  border: 1px solid rgba(167, 139, 250, 0.5) !important;
  border-radius: 24px !important;
  /* Soft, Ambient Glow instead of harsh Neon */
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.15) !important;
  /* Ensure it doesn't overflow or have weird sizing */
  box-sizing: border-box;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
  /* Dark background matching body */
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #581c87, #7c3aed);
  /* Purple gradient */
  border-radius: 5px;
  border: 2px solid #0f172a;
  /* Padding effect */
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7c3aed, #a78bfa);
  /* Lighter purple on hover */
}

/* =========================================
   6. Performance Optimized DropZone
   ========================================= */
.yeet-dropzone {
  position: relative;
  width: 100%;
  max-width: 650px;
  height: 320px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.0) 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* 3D Styles (Desktop Only) */
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .yeet-dropzone {
    /* Disable expensive filters */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    /* Flatten 3D effects to save GPU */
    perspective: none !important;
    transform-style: flat !important;
    transform: none !important;
    /* Override inline motion styles if they leak */

    /* Simplify shadows */
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
  }

  /* Disable inner 3D transforms */
  .yeet-dropzone * {
    transform-style: flat !important;
    transform: translateZ(0) !important;
    will-change: transform;
  }
}

/* =========================================
   Platforms Section (Glass Cards)
   ========================================= */
.platforms-section {
  padding: 6rem 0;
  position: relative;
  /* Optional: Subtle gradient background */
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.03) 0%, rgba(15, 23, 42, 0) 70%);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.platform-card {
  background: rgba(255, 255, 255, 0.03);
  /* Glass base */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 320px;
  position: relative;
  /* For glow effects */
  overflow: hidden;
}

.platform-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 10px 40px -10px rgba(139, 92, 246, 0.2);
}

.platform-card::before {
  /* Subtle top highlight */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.platform-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  /* Center horizontally! */
  display: flex;
  align-items: center;
  justify-content: center;
  /* Optional: Inner glow for icon */
  filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.2));
}

.platform-icon-wrapper svg {
  width: 64px;
  height: 64px;
  color: #fff;
}

.platform-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
  font-family: var(--font-display);
}

.platform-desc {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.btn-platform {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;

  /* Hollow style by default, filled on hover? Or filled primary? */
  /* Let's go with outlined that fills on hover for variation */
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: transparent;
}

.btn-platform:hover {
  background: #fff;
  color: #0f172a;
  /* Dark text on white bg */
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Primary Button for Main Platforms (Win/Android) */
.btn-platform.primary {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.8) 0%, rgba(219, 39, 119, 0.8) 100%);
  border: none;
  position: relative;
  z-index: 1;
}

.btn-platform.primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 1px;
  /* Border thickness */
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  opacity: 0.5;
}

.btn-platform.primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
  color: white;
}