/* 
 * AIGymBro Premium Marketing Website Style Sheet
 * Design Language: Modern Dark, Neon Glow, Glassmorphism
 */

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

:root {
  --bg-color: #050508;
  --card-bg: #0D0D15;
  --card-border: rgba(255, 255, 255, 0.06);
  --text-color: #F8F9FA;
  --text-muted: #8E8E9F;
  --primary-accent: #FB923C; /* Orange Accent */
  --secondary-accent: #00F59B; /* Emerald Accent */
  --blue-accent: #818CF8; /* Pushups Blue */
  --glow-opacity: 0.12;
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(251, 146, 60, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 245, 155, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(129, 140, 248, 0.03) 0%, transparent 50%);
  line-height: 1.6;
}

/* Premium Glow Background Blobs */
body::before, body::after {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  animation: float-glow 18s ease-in-out infinite alternate;
}

body::before {
  top: 10%;
  left: -150px;
  background: radial-gradient(circle, var(--primary-accent) 0%, transparent 80%);
}

body::after {
  top: 60%;
  right: -150px;
  background: radial-gradient(circle, var(--secondary-accent) 0%, transparent 80%);
  animation-delay: -9s;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  background-color: rgba(5, 5, 8, 0.75);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
  padding: 10px 0;
  background-color: rgba(5, 5, 8, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-color);
}

.logo-img {
  height: 38px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #FFF 0%, var(--primary-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

nav a:hover, nav a.active {
  color: var(--text-color);
}

.cta-btn {
  background: linear-gradient(135deg, var(--primary-accent) 0%, #FF6B35 100%);
  color: #050508;
  padding: 10px 22px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 15px rgba(251, 146, 60, 0.25);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 146, 60, 0.38);
}

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

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

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

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: #FFF;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--primary-accent) 0%, var(--secondary-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.download-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 12px 24px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.25s ease;
}

.download-badge:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.02);
  transform: translateY(-2px);
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text span:first-child {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-text span:last-child {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
}

/* Device Preview Frame */
.device-preview {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.16) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.phone-mockup {
  width: 300px;
  height: 610px;
  border-radius: 44px;
  background-color: #07070B;
  border: 10px solid #1A1A22;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 25px;
  background-color: #1A1A22;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #050508;
}

.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* Screenshots Horizontal Gallery Styling */
.app-screenshots {
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.screenshots-scroll-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 10px 40px 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-accent) transparent;
}

/* Custom scrollbar for WebKit browsers */
.screenshots-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.screenshots-scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.screenshots-scroll-container::-webkit-scrollbar-thumb {
  background: var(--primary-accent);
  border-radius: 10px;
}

.screenshot-item {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.screenshot-item img {
  width: 100%;
  height: 510px;
  border-radius: 28px;
  border: 4px solid #1A1A22;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.screenshot-item:hover {
  transform: translateY(-8px);
}

.screenshot-item:hover img {
  border-color: var(--primary-accent);
  box-shadow: 
    0 20px 45px rgba(0,0,0,0.8),
    0 0 25px rgba(251, 146, 60, 0.15);
}

.screenshot-item span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  transition: color 0.3s ease;
}

.screenshot-item:hover span {
  color: #FFF;
}

/* Features Section */
.features {
  padding: 100px 0;
  position: relative;
}

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

.section-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFF;
}

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

.feature-card {
  background: linear-gradient(135deg, rgba(20, 20, 30, 0.6) 0%, rgba(10, 10, 15, 0.8) 100%);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  opacity: 1;
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(251, 146, 60, 0.4);
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px -15px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(251, 146, 60, 0.05);
}

.feature-card:nth-child(even):hover {
  border-color: rgba(0, 245, 155, 0.4);
  box-shadow: 
    0 20px 40px -15px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(0, 245, 155, 0.05);
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background-color: rgba(251, 146, 60, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid rgba(251, 146, 60, 0.2);
  color: var(--primary-accent);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.1) rotate(5deg);
}

.feature-card:nth-child(even) .feature-icon-box {
  background-color: rgba(0, 245, 155, 0.06);
  border-color: rgba(0, 245, 155, 0.2);
  color: var(--secondary-accent);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #FFFFFF;
}

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

/* Trophies Section */
.trophies {
  padding: 100px 0;
  position: relative;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background-color: rgba(13, 13, 21, 0.2);
}

.trophies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.trophy-card {
  background: linear-gradient(135deg, rgba(20, 20, 30, 0.4) 0%, rgba(8, 8, 12, 0.7) 100%);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 36px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.trophy-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(255, 255, 255, 0.02);
}

.trophy-img-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trophy-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.trophy-card:hover .trophy-img {
  transform: scale(1.12) rotate(3deg);
}

.trophy-glow {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  filter: blur(28px);
  z-index: 1;
  opacity: 0.14;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.trophy-card:hover .trophy-glow {
  opacity: 0.28;
  transform: scale(1.2);
}

.trophy-card h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #FFF;
}

.trophy-tier {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
}

.trophy-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Informative Sections (Privacy, Terms Templates) */
.legal-page {
  padding-top: 160px;
  padding-bottom: 120px;
}

.legal-content {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 60px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 20px;
}

.legal-text h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--primary-accent);
}

.legal-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.legal-text ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.legal-text li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* Footer Section */
footer {
  background-color: #030306;
  border-top: 1px solid var(--card-border);
  padding: 80px 0 40px 0;
}

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

.footer-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 20px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-links h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #FFF;
}

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

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--card-border);
  padding-top: 40px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* Responsive Rules */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    margin: 0 auto 36px auto;
  }
  
  .hero-download-row {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  nav {
    display: none; /* Add JS logic for mobil toggle */
  }
  
  .cta-btn {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .legal-content {
    padding: 30px;
  }
  
  .legal-content h1 {
    font-size: 2.2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
