/* ==========================================================================
   PamTok (PalmTalk) Official Landing Page Stylesheet
   Design Tokens: Deep Slate (#0A0713), PamTok Purple (#6F3BF5 / #7C3AED)
   ========================================================================== */

:root {
  --bg-dark: #0A0713;
  --bg-card: #141022;
  --bg-card-hover: #1D1730;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(111, 59, 245, 0.4);
  
  --primary: #6F3BF5;
  --primary-hover: #7C3AED;
  --primary-light: #9333EA;
  --accent-pink: #EC4899;
  --accent-cyan: #06B6D4;
  --accent-amber: #F59E0B;
  
  --gradient-primary: linear-gradient(135deg, #6F3BF5 0%, #9333EA 50%, #EC4899 100%);
  --gradient-text: linear-gradient(135deg, #A855F7 0%, #C084FC 50%, #F472B6 100%);
  --gradient-card: linear-gradient(180deg, rgba(20, 16, 34, 0.8) 0%, rgba(10, 7, 19, 0.9) 100%);
  
  --text-main: #FFFFFF;
  --text-muted: #9CA3AF;
  --text-sub: #D1D5DB;
  
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  
  --shadow-glow: 0 0 35px rgba(111, 59, 245, 0.3);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* GPU Performance & Hardware Acceleration */
.glow-orb, .hero-visual, .phone-frame, .spotlight-card, .feature-box, .store-btn {
  transform: translateZ(0);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.spotlight-section, .features-section, .advantages-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }

/* Typography & Helpers */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Background Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: #6F3BF5;
  top: -100px;
  left: -150px;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: #EC4899;
  top: 40%;
  right: -100px;
}

.orb-3 {
  width: 600px;
  height: 600px;
  background: #7C3AED;
  bottom: 5%;
  left: 20%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(111, 59, 245, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(111, 59, 245, 0.5);
  filter: brightness(1.1);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 18px 40px;
  font-size: 1.15rem;
}

/* Store Buttons (Google Play & App Store) */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  border-radius: 16px;
  background: #141022;
  border: 1px solid var(--border-glass);
  color: #FFFFFF;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.store-btn:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: 0 12px 30px rgba(111, 59, 245, 0.4);
  background: #1D1730;
}

.btn-google-play .store-icon {
  font-size: 1.8rem;
  color: #38EF7D;
}

.btn-app-store .store-icon {
  font-size: 2.1rem;
  color: #FFFFFF;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-btn-text .sub-text {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  line-height: 1;
  margin-bottom: 3px;
}

.store-btn-text .main-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.store-btn-xl {
  padding: 16px 32px;
}

.store-btn-xl .store-btn-text .main-text {
  font-size: 1.3rem;
}

/* Section Header */
.section-header {
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(147, 51, 234, 0.12);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(147, 51, 234, 0.3);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 7, 19, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 14px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(111, 59, 245, 0.4);
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: #FFFFFF;
}

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

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-sub);
}

.nav-links a:hover {
  color: var(--primary-light);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 180px 0 100px;
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  padding: 8px 18px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-pink);
  box-shadow: 0 0 10px var(--accent-pink);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(236, 72, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-description strong {
  color: var(--text-main);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 30px;
  border-top: 1px solid var(--border-glass);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-light);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-glass);
}

/* Phone Mockup Graphic */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup-wrapper {
  position: relative;
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 550px;
  background: var(--primary);
  filter: blur(80px);
  opacity: 0.5;
  border-radius: 50%;
}

.phone-frame {
  position: relative;
  width: 320px;
  height: 640px;
  background: #120F1D;
  border: 12px solid #201A33;
  border-radius: 44px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.phone-screen {
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #0D0A16;
}

.app-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
}

.screen-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-light);
}

.screen-icons {
  display: flex;
  gap: 14px;
  color: var(--text-muted);
}

.screen-chips {
  display: flex;
  gap: 8px;
  overflow-x: hidden;
}

.chip {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  white-space: nowrap;
}

.chip.active {
  background: var(--primary);
  color: #FFFFFF;
}

.screen-battle-card {
  background: linear-gradient(135deg, #1E1635 0%, #150F28 100%);
  border: 1px solid rgba(111, 59, 245, 0.4);
  border-radius: 16px;
  padding: 14px;
  position: relative;
}

.battle-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent-pink);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.battle-versus {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.creator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.creator img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.creator span {
  font-size: 0.75rem;
  font-weight: 600;
}

.creator .votes {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-light);
}

.vs-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
}

.screen-poll-card {
  background: #171228;
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.poll-question {
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-amber);
}

.poll-option {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
}

.poll-option.selected {
  background: rgba(111, 59, 245, 0.2);
  border-color: var(--primary);
}

.opt-pct {
  font-weight: 700;
  color: var(--primary-light);
}

/* Spotlight Section */
.spotlight-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.spotlight-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.spotlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-glow);
}

.spotlight-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(111, 59, 245, 0.15);
  border: 1px solid rgba(111, 59, 245, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.spotlight-badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-pink);
  margin-bottom: 10px;
  display: block;
}

.spotlight-card h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.spotlight-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.spotlight-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-sub);
}

.spotlight-bullets i {
  color: var(--primary-light);
}

/* Features Grid Section */
.features-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

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

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  background: var(--bg-card-hover);
  border-color: rgba(111, 59, 245, 0.3);
  transform: translateY(-5px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.feature-box h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Advantages Section */
.advantages-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.advantages-wrapper {
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 60px;
  backdrop-filter: blur(20px);
}

.advantages-text .section-title {
  margin-bottom: 20px;
}

.section-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 800px;
}

.advantage-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.adv-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adv-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-light);
  opacity: 0.8;
}

.adv-info h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* Download CTA Section */
.download-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.download-card {
  position: relative;
  background: linear-gradient(135deg, #1B1238 0%, #0F0A24 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.download-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: var(--primary);
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
}

.cta-app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(111, 59, 245, 0.5);
  margin-bottom: 24px;
}

.download-content h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.download-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.download-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: #07050E;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 350px;
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.link-group h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.link-group a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.link-group a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-glass);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .spotlight-grid {
    grid-template-columns: 1fr;
  }

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

  .advantage-list {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .advantages-wrapper {
    padding: 30px;
  }

  .download-content h2 {
    font-size: 2.2rem;
  }
}
