/*
 * AudioZone App Website Stylesheet
 * Brand Theme: Dark-Gold (Slate-black background, warm gold details, rose red, and mint highlights)
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-color: #0A0A0F;
  --surface-color: #13131A;
  --card-color: #1C1C26;
  --card-hover: #252533;
  --primary-gold: #E8B84B;
  --primary-gold-rgb: 232, 184, 75;
  --love-red: #FF4B6E;
  --follow-green: #4BFFB3;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0B0;
  --text-muted: #62627A;
  --border-color: #2D2D3D;
  --border-focus: #E8B84B;
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --transition-speed: 0.3s;
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
  --border-radius-sm: 6px;
}

/* Reset & Base Styles */
* {
  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-body);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: #ffcf66;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.text-gold {
  color: var(--primary-gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  gap: 10px;
}

.btn-primary {
  background-color: var(--primary-gold);
  color: var(--bg-color);
  box-shadow: 0 4px 14px rgba(232, 184, 75, 0.3);
}

.btn-primary:hover {
  background-color: #ffcf66;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 184, 75, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: padding var(--transition-speed);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-link svg {
  fill: var(--primary-gold);
}

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

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-speed);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-gold);
}

.nav-cta {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Footer Section */
footer {
  background-color: var(--surface-color);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  margin-top: auto;
}

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

.footer-info p {
  color: var(--text-secondary);
  margin-top: 15px;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-links h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-gold);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.store-badges {
  display: flex;
  gap: 12px;
}

.store-badge {
  display: inline-block;
  background-color: #000;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 16px;
  transition: all var(--transition-speed);
}

.store-badge:hover {
  border-color: var(--primary-gold);
  transform: translateY(-2px);
}

/* Main Layout Structure */
main {
  margin-top: 80px;
  flex-grow: 1;
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #FFF 60%, var(--primary-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Landing Page: Hero */
.hero {
  position: relative;
  padding: 100px 0 120px 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 184, 75, 0.08) 0%, rgba(232, 184, 75, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-glow-left {
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 75, 110, 0.04) 0%, rgba(255, 75, 110, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

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

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--primary-gold), #ffcf66);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Phone Screen Showcase Mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
  position: relative;
}

.mockup-container {
  width: 290px;
  height: 580px;
  background-color: #000;
  border: 12px solid #1C1C26;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(232, 184, 75, 0.15);
  position: relative;
  overflow: hidden;
}

/* Mockup internal components */
.mockup-notch {
  width: 140px;
  height: 25px;
  background-color: #1C1C26;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0A0A0F 0%, #13131A 100%);
  padding: 40px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.mockup-player {
  background: var(--card-color);
  border-radius: var(--border-radius-lg);
  padding: 16px;
  border: 1px solid var(--border-color);
  margin-top: auto;
}

.mockup-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mockup-cover {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-gold), #8B3EBF);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.mockup-text {
  flex-grow: 1;
}

.mockup-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.mockup-artist {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.mockup-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.mockup-progress {
  height: 3px;
  background-color: var(--border-color);
  width: 100%;
  border-radius: 2px;
  margin-bottom: 16px;
  position: relative;
}

.mockup-progress-bar {
  height: 100%;
  width: 60%;
  background-color: var(--primary-gold);
  border-radius: 2px;
}

.mockup-love-btn {
  color: var(--love-red);
}

.mockup-play-btn {
  width: 36px;
  height: 36px;
  background-color: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-color);
  font-size: 0.8rem;
}

.mockup-feed-pill {
  background-color: rgba(232, 184, 75, 0.1);
  border: 1px solid rgba(232, 184, 75, 0.3);
  color: var(--primary-gold);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.feature-card {
  background-color: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  transition: all var(--transition-speed);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(232, 184, 75, 0.05);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(232, 184, 75, 0.1);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

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

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

/* Support Page Layout */
.support-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  padding: 60px 0 100px 0;
  align-items: start;
}

/* FAQ Accordion Styling */
.faq-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 30px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: border-color var(--transition-speed);
}

.faq-item:hover,
.faq-item.active {
  border-color: var(--primary-gold);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.faq-icon-wrapper {
  color: var(--primary-gold);
  transition: transform var(--transition-speed);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease-out, padding var(--transition-speed) ease-out;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
  border-top: 1px solid var(--border-color);
}

/* Contact and Deletion Form Styling */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.support-form-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
}

.support-form-card h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 12px;
}

.support-form-card .subtitle {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  background-color: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 10px rgba(232, 184, 75, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.checkbox-group input {
  margin-top: 5px;
  accent-color: var(--primary-gold);
}

.checkbox-group label {
  text-transform: none;
  font-weight: normal;
  letter-spacing: normal;
  font-size: 0.9rem;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(75, 255, 179, 0.1);
  border: 1px solid var(--follow-green);
  color: var(--follow-green);
}

.form-status.error {
  display: block;
  background-color: rgba(255, 75, 110, 0.1);
  border: 1px solid var(--love-red);
  color: var(--love-red);
}

/* Tab controls for Support Forms */
.support-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed);
  border-bottom: 2px solid transparent;
  text-align: center;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--primary-gold);
  border-bottom-color: var(--primary-gold);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Compliance Policies Layout */
.policy-page {
  padding: 60px 0 100px 0;
  max-width: 800px;
  margin: 0 auto;
}

.policy-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 50px 40px;
}

.policy-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.policy-header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.policy-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.policy-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--primary-gold);
}

.policy-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-top: 25px;
  margin-bottom: 10px;
}

.policy-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1rem;
}

.policy-content ul, 
.policy-content ol {
  margin-bottom: 25px;
  padding-left: 20px;
  color: var(--text-secondary);
}

.policy-content li {
  margin-bottom: 10px;
}

.policy-content strong {
  color: var(--text-primary);
}

.policy-alert {
  background-color: rgba(232, 184, 75, 0.05);
  border-left: 4px solid var(--primary-gold);
  padding: 20px;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  margin: 30px 0;
}

.policy-alert p {
  margin-bottom: 0;
  color: var(--text-primary);
  font-weight: 500;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-mockup {
    order: -1;
  }
  
  .support-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-info {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    gap: 20px;
    z-index: 999;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .policy-card {
    padding: 30px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-info {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
