/* 
  Gigly (Match Music) - Premium Landing Page Styles 
*/

:root {
  /* Brand Colors */
  --primary: #ea580c;
  --primary-light: #fb923c;
  --primary-dark: #c2410c;

  /* Dark Theme Colors */
  --bg-color: #0f0a08;
  --surface: rgba(30, 20, 15, 0.6);
  --surface-light: rgba(45, 30, 22, 0.8);
  --text-primary: #ffffff;
  --text-secondary: #a39b98;

  /* Utilities */
  --glass-border: rgba(234, 88, 12, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --blur: blur(16px);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
  font-family: "Outfit", sans-serif;
}

/* Glassmorphism Utility */
.glass {
  background: var(--surface);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.6);
}

.btn-store {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(15, 10, 8, 0.8);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
}

.logo-icon {
  color: var(--primary);
}

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

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

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

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

.hero-background {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(234, 88, 12, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  filter: blur(60px);
  z-index: -1;
}

.hero-background::before {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(234, 88, 12, 0.1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  filter: blur(40px);
}

.hero > div {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(300px, 1fr);
  gap: 60px;
  align-items: center;
  justify-content: center;
  justify-items: center;
}

/* Center hero content for better UX */
/* Duplicate hero content rule removed; main styling is defined above. */

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(234, 88, 12, 0.1);
  border: 1px solid rgba(234, 88, 12, 0.3);
  color: var(--primary-light);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 720px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Hero Visual (Mockup) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-container {
  width: 300px;
  height: 600px;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  border: 2px solid #333;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
  transform: rotate(5deg);
  transition: transform 0.5s ease;
}

.mockup-container:hover {
  transform: rotate(0deg) translateY(-10px);
}

.mockup-screen {
  width: 100%;
  height: 100%;
  background: #111;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.mockup-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.ui-header {
  display: flex;
  justify-content: space-between;
  color: white;
  font-weight: 600;
}

.ui-card {
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.ui-user {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ff0055);
}

.ui-user .name {
  font-weight: 600;
  font-size: 0.9rem;
}

.ui-user .location {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.ui-action {
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.floating-badge {
  position: absolute;
  padding: 12px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

.floating-badge strong {
  display: block;
  font-size: 0.9rem;
  color: white;
}

.floating-badge span:not(.material-symbols-rounded) {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.badge-1 {
  bottom: 18%;
  left: 8px;
  animation-delay: 0s;
}

.badge-2 {
  top: 28%;
  right: 8px;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Sections General */
.section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Mission Section */
.mission-section {
  position: relative;
}

.mission-section .section-content {
  background: linear-gradient(
    to right,
    rgba(30, 20, 15, 0.8),
    rgba(45, 30, 22, 0.4)
  );
  padding: 60px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 32px;
  border-radius: 24px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(234, 88, 12, 0.4);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(234, 88, 12, 0.1);
  color: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon span {
  font-size: 28px;
}

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

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

/* Promo Grid */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.tier-card {
  padding: 32px 24px;
  border-radius: 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.tier-card:hover {
  transform: translateY(-5px);
}

.tier-card.featured {
  border: 2px solid var(--primary);
  background: rgba(234, 88, 12, 0.05);
}

.popular-tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tier-name {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

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

/* CTA Section */
.cta-container {
  padding: 80px 40px;
  border-radius: 40px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(234, 88, 12, 0.1),
    rgba(0, 0, 0, 0.5)
  );
  border: 1px solid rgba(234, 88, 12, 0.3);
}

.cta-container h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-container p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 24px 20px;
  background: rgba(10, 5, 3, 0.8);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 300px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
}

.link-group h4 {
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.link-group a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--transition);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Animations (Intersection Observer used in JS) */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

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

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

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

  .hero-visual {
    margin-top: 60px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .menu-btn {
    display: block;
  }

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

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

  .mission-section .section-content {
    padding: 40px 20px;
  }

  .cta-container h2 {
    font-size: 2rem;
  }
}
