/* =====================
   Variables & Reset
   ===================== */
:root {
  --bg-color: #0F172A;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(255, 255, 255, 0.2);
  
  --accent-gold: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  --accent-silver: linear-gradient(135deg, #F8FAFC 0%, #94A3B8 100%);
  --orb-pink: rgba(236, 72, 153, 0.15);
  --orb-blue: rgba(56, 189, 248, 0.15);
  
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--orb-pink);
}

.orb-2 {
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: var(--orb-blue);
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* =====================
   Typography & Utils
   ===================== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  text-align: center;
}

p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.gradient-text-gold {
  background: var(--accent-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-silver {
  background: var(--accent-silver);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* =====================
   Glassmorphism
   ===================== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
}

/* =====================
   Navigation
   ===================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  transition: var(--transition);
}

nav.scrolled {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

.nav-links a:hover {
  color: var(--text-main);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--text-main);
  color: var(--bg-color);
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--glass-bg);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--glass-border-hover);
}

/* =====================
   Hero Section
   ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-image {
  position: relative;
  z-index: 10;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  animation: float-img 6s ease-in-out infinite;
}

@keyframes float-img {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Decorative Instruments */
.deco-instrument {
  position: absolute;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
  filter: grayscale(100%);
  transition: var(--transition);
}

.hero:hover .deco-instrument {
  opacity: 0.3;
  filter: grayscale(0%);
}

.deco-guitar {
  top: 15%;
  right: -5%;
  width: 300px;
  transform: rotate(15deg);
}

.deco-sax {
  bottom: 10%;
  left: -5%;
  width: 250px;
  transform: rotate(-15deg);
}

/* =====================
   Features Section
   ===================== */
.features {
  padding: 8rem 0;
  position: relative;
}

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

.feature-card {
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: var(--glass-bg);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* =====================
   App Preview / UI Mockup
   ===================== */
.preview-section {
  padding: 8rem 0;
}

.preview-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}

.app-mockup {
  position: relative;
  width: 320px;
  height: 650px;
  background: #000;
  border-radius: 40px;
  border: 8px solid #2d3748;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 2;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  position: relative;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

/* Mockup UI Elements */
.m-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-top: 1rem;
}
.m-title { font-weight: bold; font-size: 1.2rem; }
.m-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.m-chord { color: #FCD34D; font-weight: bold; font-family: monospace; }
.m-lyrics { color: #fff; margin-top: 0.5rem; }

/* =====================
   Pricing Section
   ===================== */
.pricing {
  padding: 8rem 0;
  text-align: center;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.price-card {
  flex: 1;
  max-width: 400px;
  padding: 3rem 2rem;
  text-align: left;
}

.price-card.pro {
  border-color: rgba(252, 211, 77, 0.3);
  position: relative;
}

.price-card.pro::before {
  content: 'EN POPÜLER';
  position: absolute;
  top: -12px;
  right: 2rem;
  background: var(--accent-gold);
  color: #000;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 99px;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  margin: 1.5rem 0;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: normal;
}

.price-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.price-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-list li::before {
  content: '✓';
  color: #10B981;
  font-weight: bold;
}

/* =====================
   Footer
   ===================== */
footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

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

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

.footer-links a:hover {
  color: var(--text-main);
}

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

/* =====================
   Animations & Utils
   ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   Legal Pages Specific
   ===================== */
.legal-content {
  padding: 8rem 0 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  text-align: center;
  margin-bottom: 1rem;
}

.legal-content .last-updated {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  text-align: left;
}

.legal-content p, .legal-content ul {
  margin-bottom: 1rem;
  color: #CBD5E1;
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-text {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .deco-instrument {
    display: none;
  }
  
  .preview-container {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-links {
    display: none; /* In a real app, add a hamburger menu */
  }
  
  .support-grid {
    grid-template-columns: 1fr;
  }
}
