/* =========================================================================
   Hichkola - Calm Purple Design System
   ========================================================================= */

/* CSS Variables */
:root {
  --bg-dark: #0b0712;
  --bg-darker: #06030a;
  --bg-card: rgba(30, 18, 56, 0.4);
  --bg-card-hover: rgba(45, 27, 84, 0.6);

  --primary-color: #7c4dff;
  --primary-glow: #9d4edd;
  --secondary-color: #c77dff;

  --text-primary: #ffffff;
  --text-secondary: #b8a7dc;

  --gradient-1: linear-gradient(135deg, #7c4dff 0%, #c77dff 100%);
  --gradient-2: linear-gradient(135deg, #f72585 0%, #7209b7 100%);
  --gradient-3: linear-gradient(135deg, #4cc9f0 0%, #4361ee 100%);

  --border-subtle: rgba(124, 77, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --neon-shadow: 0 0 15px rgba(124, 77, 255, 0.5);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animated Background */
.background-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: #651fff;
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: #e0aaff;
  bottom: 20%;
  right: -50px;
  animation-delay: -5s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: #4a148c;
  top: 30%;
  left: 40%;
  animation-delay: -10s;
  opacity: 0.2;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  gap: 8px;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
}

.glow-btn:hover {
  box-shadow: var(--neon-shadow);
  transform: translateY(-2px);
}

.ripple {
  position: relative;
  overflow: hidden;
}

.btn-micro {
  padding: 6px 12px;
  font-size: 0.8rem;
  background: rgba(124, 77, 255, 0.2);
  color: var(--secondary-color);
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-micro:hover {
  background: var(--primary-color);
  color: white;
}

/* Glass Utilities */
.glass-header {
  background: rgba(11, 7, 18, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
}

.glass-card {
  background: rgba(45, 27, 84, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(124, 77, 255, 0.15);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.hover-lift:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 77, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: var(--bg-card-hover);
}

/* Gradient icon backgrounds */
.bg-gradient-1 {
  background: var(--gradient-1);
}

.bg-gradient-2 {
  background: var(--gradient-2);
}

.bg-gradient-3 {
  background: var(--gradient-3);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 12px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--neon-shadow);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: white;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.mobile-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  background: rgba(11, 7, 18, 0.95);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 24px;
  transform: translateY(-150%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.active {
  transform: translateY(0);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.drawer-link {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 160px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.badge-animated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(124, 77, 255, 0.15);
  border: 1px solid rgba(124, 77, 255, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(0, 255, 136, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
  }
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.download-apk-btn {
  padding: 16px 32px;
  font-size: 1.1rem;
  width: fit-content;
}

.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transition: var(--transition-smooth);
}

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

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

.store-btn-text .small {
  font-size: 0.65rem;
  text-transform: uppercase;
  opacity: 0.8;
}

.store-btn-text .large {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  border-radius: 40px;
  padding: 12px;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.02);
  border: 4px solid rgba(124, 77, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(124, 77, 255, 0.2);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 25px;
  background: var(--bg-dark);
  border-radius: 0 0 15px 15px;
  z-index: 10;
}

.app-screen {
  width: 100%;
  height: 100%;
  background: #0f0a1c;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header h3 {
  font-size: 1.2rem;
}

.live-dot {
  width: 10px;
  height: 10px;
  background: #ff3366;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff3366;
}

.mockup-host-list {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.host-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.host-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.host-info {
  flex-grow: 1;
}

.host-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.host-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Audio Wave Animation */
.audio-waves {
  display: flex;
  gap: 3px;
  align-items: center;
  height: 16px;
}

.wave {
  width: 3px;
  background: var(--secondary-color);
  border-radius: 3px;
  animation: wave-anim 1s infinite ease-in-out;
}

.w1 {
  height: 8px;
  animation-delay: 0s;
}

.w2 {
  height: 16px;
  animation-delay: 0.2s;
}

.w3 {
  height: 10px;
  animation-delay: 0.4s;
}

@keyframes wave-anim {

  0%,
  100% {
    height: 6px;
  }

  50% {
    height: 16px;
  }
}

/* Interactive Player */
.interactive-player {
  background: rgba(124, 77, 255, 0.1);
  margin: 10px 20px 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(124, 77, 255, 0.3);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-color);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.play-btn:active {
  transform: scale(0.9);
}

.track-info {
  flex-grow: 1;
}

.track-title {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

.progress-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: var(--secondary-color);
  transition: width 0.1s linear;
}

.mockup-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(15, 10, 28, 0.8);
  backdrop-filter: blur(10px);
}

.nav-item {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
}

.nav-item.active {
  background: var(--primary-color);
}

/* Floating Bubbles */
.floating-bubble {
  position: absolute;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 3;
  animation: float 6s infinite ease-in-out;
}

.bubble-1 {
  top: 20%;
  right: -40px;
}

.bubble-2 {
  bottom: 25%;
  left: -50px;
  animation-delay: 2s;
  background: rgba(124, 77, 255, 0.2);
  border-color: rgba(124, 77, 255, 0.4);
}

/* Stats */
.stats-section {
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px;
  text-align: center;
  gap: 20px;
}

.stat-number {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Features */
.features-section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
  max-width: 600px;
}

.section-header.center {
  margin: 0 auto 60px;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

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

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

.feature-card {
  padding: 32px 24px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: white;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Download Section */
.download-section {
  padding: 80px 0;
}

.download-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
  gap: 40px;
}

.download-text {
  flex: 1;
}

.download-text h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.download-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 450px;
}

.store-buttons.large {
  margin-bottom: 16px;
}

.store-buttons.large .btn {
  padding: 18px 40px;
  font-size: 1.2rem;
}

.secondary-text {
  font-size: 0.85rem !important;
  opacity: 0.6;
}

.qr-code-wrapper {
  flex-shrink: 0;
}

.qr-card {
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.qr-placeholder {
  width: 200px;
  height: 200px;
  background: white;
  border-radius: 16px;
  padding: 12px;
}

.qr-box {
  width: 100%;
  height: 100%;
  background: white;
  position: relative;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
}

.qr-box .corner {
  width: 40px;
  height: 40px;
  border: 5px solid var(--bg-dark);
  position: absolute;
  border-radius: 4px;
}

.qr-box .corner::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  background: var(--bg-dark);
}

.t-l {
  top: 10px;
  left: 10px;
}

.t-r {
  top: 10px;
  right: 10px;
}

.b-l {
  bottom: 10px;
  left: 10px;
}

.qr-inner-grid {
  position: absolute;
  top: 60px;
  left: 60px;
  right: 10px;
  bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.qrs {
  width: 15px;
  height: 15px;
  background: var(--bg-dark);
  border-radius: 2px;
}

.center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 1.2rem;
  border: 4px solid white;
}

/* FAQ */
.faq-section {
  padding: 80px 0 120px;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: none;
  border: none;
  color: white;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-secondary);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 24px;
}

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

/* Toast */
.toast-notification {
  position: fixed;
  bottom: -100px;
  right: 24px;
  z-index: 1000;
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
  bottom: 24px;
}

.toast-content {
  background: rgba(45, 27, 84, 0.9);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 4px solid #00ff88;
}

.toast-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.toast-text h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.toast-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-darker);
  padding: 80px 0 24px;
}

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

.footer-desc {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* Developer Credit Tooltip */
.dev-credit {
  color: var(--secondary-color);
  cursor: pointer;
  position: relative;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  transition: var(--transition-smooth);
}

.dev-credit:hover {
  color: var(--primary-color);
}

.dev-credit::after {
  content: attr(data-email);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: rgba(30, 18, 56, 0.95);
  color: var(--secondary-color);
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--glass-shadow);
}

.dev-credit:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

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

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .download-options {
    align-items: center;
  }

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

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

  .download-container {
    flex-direction: column;
    text-align: center;
  }

  .download-text p {
    margin: 0 auto 30px;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .navbar .btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

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

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

  .floating-bubble {
    display: none;
  }
}