/* --------------------------------------------------------
   POCABITS STYLESHEET
   Aesthetics: Deep Space Dark Mode, Premium Glassmorphism
-------------------------------------------------------- */

:root {
  --bg-color: #06060a;
  --panel-bg: rgba(18, 18, 28, 0.6);
  --panel-border: rgba(255, 255, 255, 0.08);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Accent Gradients */
  --primary-purple: #9d4edd;
  --primary-blue: #3a86c8;
  --accent-gold: #ffb703;
  --accent-red: #ff4d6d;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Ambient Glow Effects */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -2;
  opacity: 0.45;
  pointer-events: none;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.6) 0%, rgba(58, 134, 200, 0) 70%);
  top: -100px;
  right: -100px;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.45) 0%, rgba(139, 92, 246, 0) 70%);
  top: 600px;
  left: -200px;
  animation: floatOrb 18s ease-in-out infinite alternate-reverse;
}

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

.ambient-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0),
    radial-gradient(rgba(255, 255, 255, 0.02) 1.5px, transparent 0);
  background-size: 40px 40px, 80px 80px;
  z-index: -1;
  pointer-events: none;
}

/* Header styling */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--panel-border);
  background: rgba(6, 6, 10, 0.6);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo-accent {
  background: linear-gradient(135deg, #a78bfa, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.nav-cta {
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--panel-border);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 10rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(157, 78, 221, 0.15);
  border: 1px solid rgba(157, 78, 221, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c084fc;
  margin-bottom: 2rem;
  animation: pulseBadge 3s infinite alternate;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #c084fc;
  box-shadow: 0 0 10px #c084fc;
}

@keyframes pulseBadge {
  0% { box-shadow: 0 0 0px rgba(157, 78, 221, 0); }
  100% { box-shadow: 0 0 12px rgba(157, 78, 221, 0.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #c084fc 10%, #6366f1 50%, #06b6d4 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.primary-cta {
  background: #ffffff;
  color: #06060a;
  padding: 0.85rem 2rem;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15);
  background: #f1f5f9;
}

.icon-apple {
  font-size: 1.5rem;
}

.cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.cta-sub {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.cta-main {
  font-size: 1.1rem;
  font-weight: 800;
}

.secondary-cta {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  color: var(--text-primary);
  padding: 0.85rem 2rem;
}

.secondary-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Card Showcase Stack */
.hero-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 350px;
}

.showcase-stack {
  position: relative;
  width: 280px;
  height: 175px;
}

/* Card Designs */
.glass-card {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card overlay reflects light gloss */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
}

.sapphire-card {
  background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
}

.gold-card {
  background: linear-gradient(135deg, #bf8f00 0%, #e65c00 100%);
}

.venture-card {
  background: linear-gradient(135deg, #240046 0%, #10002b 100%);
}

/* Overlapping Layer Positions */
.card-back {
  transform: translate(-30px, -30px) rotate(-8deg);
  z-index: 1;
  opacity: 0.45;
}

.card-middle {
  transform: translate(0px, 0px) rotate(-3deg);
  z-index: 2;
  opacity: 0.8;
}

.card-front {
  transform: translate(30px, 30px) rotate(4deg);
  z-index: 3;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Stack Hover Effects */
.showcase-stack:hover .card-back {
  transform: translate(-65px, -50px) rotate(-12deg);
  opacity: 0.65;
}

.showcase-stack:hover .card-middle {
  transform: translate(0px, -20px) rotate(-5deg);
  opacity: 0.9;
}

.showcase-stack:hover .card-front {
  transform: translate(65px, 20px) rotate(8deg);
  box-shadow: 0 35px 70px rgba(0,0,0,0.6);
}

/* Card Internal Components */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.position-badge {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  line-height: 1;
}

.header-stat {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.text-right {
  align-items: flex-end;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
}

.stat-label {
  font-size: 0.6rem;
  font-weight: 800;
  opacity: 0.7;
  letter-spacing: 0.5px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-info {
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.card-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.75;
}

/* Features Grid */
.features-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  background: rgba(25, 25, 40, 0.6);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(157, 78, 221, 0.15);
  border: 1px solid rgba(157, 78, 221, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.feature-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* App Download Call-to-action */
.download-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.download-box {
  background: radial-gradient(circle at top right, rgba(157, 78, 221, 0.15), rgba(6, 6, 10, 0.8)), var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 32px;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.download-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.download-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.download-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.download-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: rgba(6, 182, 212, 0.2);
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
}

/* Footer styling */
.footer {
  border-top: 1px solid var(--panel-border);
  padding: 3rem 2rem;
  background: #040407;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--text-secondary);
}

/* Responsive tweaks */
@media(max-width: 992px) {
  .hero {
    padding-top: 8rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-description {
    margin: 0 auto 3rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-showcase {
    height: 280px;
  }
}

@media(max-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-actions .cta-button {
    width: 100%;
    max-width: 280px;
  }
  
  .header-container {
    padding: 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .download-box {
    padding: 2.5rem 1.5rem;
  }
  
  .download-title {
    font-size: 2rem;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    margin-left: 0;
    justify-content: center;
    width: 100%;
  }
}
