/* ==========================================================================
   SAVE1 - LUXURY GOLD & OBSIDIAN DARK DESIGN SYSTEM
   Palette: #0b0c10 (Main), #0f1118 (Surface), #d4af37 & #f39c12 (Imperial Gold)
   ========================================================================== */

:root {
  --bg-main: #0b0c10;
  --bg-surface: #0f1118;
  --bg-surface-solid: #141722;
  --bg-card-hover: #191d2b;
  --bg-modal: #0d0e14;
  
  /* Imperial Gold Palette */
  --accent-gold: #d4af37;
  --accent-gold-bright: #f39c12;
  --accent-gold-soft: rgba(212, 175, 55, 0.14);
  --gold-glow: rgba(212, 175, 55, 0.3);
  --gold-gradient: linear-gradient(135deg, #f39c12 0%, #d4af37 50%, #aa7c11 100%);
  
  /* Platinum & Silver Accents */
  --accent-silver: #cbd5e1;
  --accent-silver-light: #f1f5f9;
  --accent-silver-soft: rgba(203, 213, 225, 0.1);
  --silver-glow: rgba(203, 213, 225, 0.2);
  --silver-gradient: linear-gradient(135deg, #ffffff 0%, #cbd5e1 60%, #94a3b8 100%);
  
  --accent-green: #10b981;
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8e9bb0;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-silver: rgba(203, 213, 225, 0.25);
  --border-gold: rgba(212, 175, 55, 0.5);
  --border-hover: rgba(255, 255, 255, 0.22);
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-heading: 'Outfit', -apple-system, sans-serif;
  
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  
  --fluid-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s var(--fluid-ease);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
  position: relative;
}

/* BACKGROUND SMOOTH AMBIENT CURSOR SPOTLIGHT */
#bg-cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.06), transparent 70%);
  transition: background 0.15s ease-out;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 76px 0;
  position: relative;
  z-index: 2;
}

/* ULTRA SMOOTH FAQ ACCORDION ANIMATION */
.faq-item {
  background: var(--bg-surface-solid);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
}

.faq-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.faq-item.active {
  border-color: var(--accent-gold);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.12);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--fluid-ease), opacity 0.35s ease, margin-top 0.35s ease;
  margin-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  margin-top: 12px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item i {
  transition: transform 0.4s var(--fluid-ease), color 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active i {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

/* Scroll Animation Helper Classes */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--fluid-ease), transform 0.7s var(--fluid-ease);
}

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

/* Typography & Badges */
.title-hero {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.1rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

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

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

.title-section {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.badge-smooth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-silver-soft);
  border: 1px solid var(--border-silver);
  color: var(--accent-silver-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
}

  @media (max-width: 600px) {
    .badge-smooth {
      font-size: 0.8rem;
      padding: 6px 14px;
      white-space: nowrap;
    }
  }

.badge-gold {
  background: var(--accent-gold-soft);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
}

.dot-green {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
}

/* Modern Metallic & Glass Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  min-height: 48px;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0b0c10;
  font-weight: 800;
  box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(243, 156, 18, 0.45);
}

.btn-silver {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #0b0c10;
  font-weight: 800;
  box-shadow: 0 8px 24px var(--silver-glow);
}

.btn-silver:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(226, 232, 240, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.btn-full { width: 100%; }

/* Glass Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 14px 0;
  background-color: #0b0c10 !important;
  background: #0b0c10 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7) !important;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85) !important;
}

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

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

.logo img, .logo-avatar {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 4px 14px var(--gold-glow);
  transition: var(--transition-smooth);
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.logo:hover .logo-avatar {
  transform: scale(1.08);
  border-color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

.logo-text h3 { font-size: 1.02rem; line-height: 1.1; white-space: nowrap; }
.logo-text span { font-size: 0.7rem; color: var(--accent-gold); font-weight: 600; letter-spacing: 0.04em; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
  margin: 0 auto;
}

.nav-links a {
  color: #cbd5e1 !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 10px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.nav-links a:hover {
  color: #ffffff !important;
}

/* Hero Section */
.hero {
  padding-top: 180px !important;
  padding-bottom: 70px;
  position: relative;
  z-index: 2;
}

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

.hero-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.stat-item h4 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-silver-light);
}

.stat-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--accent-gold);
  height: 440px;
  box-shadow: 0 20px 45px rgba(212, 175, 55, 0.15);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 17, 24, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Feature Cards & About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.feature-card {
  background: var(--bg-surface-solid);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

/* PT Packages Grid & Gold Featured Styling */
.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.price-card {
  background: var(--bg-surface-solid);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-smooth);
}

.price-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.1) 0%, rgba(15, 17, 24, 0.98) 100%);
  border: 2px solid var(--accent-gold);
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.22);
}

.price-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: #0b0c10;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
  margin: 14px 0 20px 0;
  color: #ffffff;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.price-features li i {
  color: var(--accent-silver);
  margin-top: 3px;
}

.price-card.featured .price-features li i {
  color: var(--accent-gold);
}

/* Calculator Section */
.calc-wrapper {
  background: var(--bg-surface-solid);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.input-field {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  background: rgba(11, 12, 16, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-smooth);
}

.input-field:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

.calc-res-card {
  background: rgba(11, 12, 16, 0.7);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.res-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-glass);
}

.res-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent-gold);
}

/* Modal System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 12, 16, 0.92);
  backdrop-filter: blur(16px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-modal);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  width: 100%;
  max-width: 580px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: #fff;
  border-color: #fff;
}

/* Mobile Action Bar */
.mobile-bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: rgba(11, 12, 16, 0.95); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass); padding: 12px 18px; display: flex; gap: 12px;
}

.mobile-bottom-bar .btn { flex: 1; min-height: 48px; font-size: 0.9rem; }

/* Desktop Enhancements */
@media (min-width: 993px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 50px; }
  .hero { padding-top: 180px !important; padding-bottom: 80px; }
  .hero-actions { flex-direction: row; }
  .hero-image-wrapper { height: 480px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .packages-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
  .calc-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .mobile-bottom-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (max-width: 992px) {
  .container { padding: 0 16px; }
  .section-padding { padding: 30px 0; }
  
  /* ULTRA-COMPACT SPACE-SAVING MOBILE NAVBAR (MICRO TEXT & MINIMAL HEIGHT) */
  header.navbar, nav.navbar, .navbar {
    padding: 4px 0 !important;
  }

  .nav-container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 10px !important;
    gap: 4px !important;
  }

  .logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin-bottom: 0 !important;
  }

  .logo-avatar {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    border: 1px solid var(--accent-gold) !important;
    box-shadow: none !important;
  }

  .logo-text h3 {
    font-size: 0.85rem !important;
    line-height: 1 !important;
    text-align: left !important;
  }

  .logo-text span {
    font-size: 0.55rem !important;
    line-height: 1.2 !important;
    display: block !important;
    opacity: 0.8;
  }

  .nav-links {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 3px !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .nav-links li {
    width: 100% !important;
    display: block !important;
  }

  /* ROW 1: 3 EQUAL BUTTONS (SPAN 2 EACH = 6 COLS) */
  .nav-links li:nth-child(1) { grid-column: span 2 !important; }
  .nav-links li:nth-child(2) { grid-column: span 2 !important; }
  .nav-links li:nth-child(3) { grid-column: span 2 !important; }

  /* ROW 2: 2 EQUAL BUTTONS (SPAN 3 EACH = 6 COLS) */
  .nav-links li:nth-child(4) { grid-column: span 3 !important; }
  .nav-links li:nth-child(5) { grid-column: span 3 !important; }

  .nav-links a {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.65rem !important;
    padding: 3px 2px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .nav-links a i {
    font-size: 0.6rem !important;
  }

  .hero {
    padding-top: 145px !important;
    padding-bottom: 0px;
  }
  
  .hero-image-wrapper {
    height: 300px;
    border-radius: var(--radius-md);
  }
  
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .title-hero {
    font-size: 1.85rem;
    text-align: center;
    line-height: 1.2;
  }
  
  .title-section {
    font-size: 1.55rem;
    text-align: center;
  }
  
  .hero-content p {
    text-align: center;
    font-size: 0.92rem;
  }
  
  .hero-actions {
    width: 100%;
    align-items: center;
  }

  .hero-stats {
    width: 100%;
    justify-content: space-around;
    gap: 10px;
  }

  .stat-item h4 {
    font-size: 1.35rem;
  }
  
  .btn {
    min-height: 48px;
    font-size: 0.92rem;
  }
  
  .about-grid {
    text-align: center;
  }
  
  .feature-card {
    text-align: center;
    padding: 18px 14px;
  }
  
  .price-card {
    text-align: center;
    align-items: center;
    padding: 26px 16px;
  }
  
  .price-features li {
    justify-content: center;
  }
  
  .hero-floating-info {
    justify-content: center;
    text-align: center;
    padding: 10px 14px;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
}

/* EXTRA SMALL MOBILE OPTIMIZATIONS (< 576px) */
@media (max-width: 576px) {
  .calc-wrapper {
    padding: 20px 14px !important;
    border-radius: 18px !important;
  }

  .calc-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Make 3-column input grid full width or 2-column on mobile */
  .calc-wrapper div[style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }

  #res-tdee {
    font-size: 2.4rem !important;
  }

  .modal-box {
    width: 95% !important;
    padding: 20px 14px !important;
    border-radius: 18px !important;
  }

  .modal-box div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .title-hero {
    font-size: 1.7rem !important;
  }

  .title-section {
    font-size: 1.4rem !important;
  }
}

/* ANIMATED SUCCESS CHECKMARK (TİK İŞARETİ) */
.success-checkmark-box {
  text-align: center;
  padding: 24px 10px;
}

.checkmark-circle {
  width: 76px;
  height: 76px;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
  animation: pulseCheck 2s infinite;
}

.checkmark-circle i {
  font-size: 2.4rem;
  color: #10b981;
  animation: popIn 0.5s var(--fluid-ease);
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  80% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pulseCheck {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 20px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
