/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f766e 100%);
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; opacity: 0.15;
  background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
}
.hero-content {
  max-width: 1280px; margin: 0 auto; padding: 4rem 1.5rem;
  display: grid; grid-template-columns: 7fr 5fr;
  gap: 3rem; align-items: center; position: relative; z-index: 10; width: 100%;
}
.hero-badge {
  display: inline-block; margin-bottom: 1rem; padding: 0.375rem 1rem;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(4px);
  border-radius: 50px; font-size: 0.875rem; font-weight: 500; color: white;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700;
  line-height: 1.15; color: white; margin: 0 0 1.5rem;
}
.hero-title .accent { color: #fcd34d; }
.hero-subtitle {
  font-size: 1.1rem; color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem; max-width: 600px; line-height: 1.7;
}
.hero-tagline {
  font-size: 1.1rem; font-weight: 600; font-style: italic;
  color: #fcd34d; margin-bottom: 2.5rem; line-height: 1.6;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-img-wrap { position: relative; }
.hero-img-card {
  position: relative; width: 100%; aspect-ratio: 3/4;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
  transform: rotate(3deg); transition: transform 0.5s ease;
}
.hero-img-card:hover { transform: rotate(0deg); }
.hero-img-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top right, rgba(30,58,138,0.85), transparent); z-index: 1;
}
.hero-img-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem; z-index: 2;
  background: white; border-radius: 10px; padding: 0.75rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.hero-img-badge-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white;
}
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(40px); opacity: 0.6; mix-blend-mode: multiply;
  animation: blobMove 4s ease-in-out infinite alternate;
}
.hero-blob.b1 { width: 160px; height: 160px; background: linear-gradient(135deg,#06b6d4,#3b82f6); bottom: -40px; left: -40px; }
.hero-blob.b2 { width: 160px; height: 160px; background: linear-gradient(135deg,#a855f7,#ec4899); top: -40px; right: -40px; animation-delay: 1s; }

/* ===== PROBLEM SECTION ===== */
.problem-section {
  padding: 5rem 0; background: #f8fafc;
  position: relative; overflow: hidden;
}
.problem-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, #dbeafe 0%, transparent 70%); border-radius: 50%;
}
.problem-section::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, #ccfbf1 0%, transparent 70%); border-radius: 50%;
}
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }

/* ===== FRAMEWORKS SECTION ===== */
.frameworks-section { padding: 5rem 0; background: white; }
.frameworks-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-bottom: 4rem; }

/* ===== CREDIBILITY SECTION ===== */
.credibility-section { padding: 5rem 0; background: #f8fafc; }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.cred-img-wrap { position: relative; }
.cred-img-wrap img { width: 100%; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.cred-badge {
  position: absolute; background: white; border-radius: 12px;
  padding: 1.25rem 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.12); transition: transform 0.3s;
}
.cred-badge:hover { transform: rotate(0deg) !important; }
.cred-badge-top  { top: -20px; right: -20px; transform: rotate(3deg); }
.cred-badge-bottom { bottom: -20px; left: -20px; transform: rotate(-3deg); }

/* ===== PROGRAMS SECTION ===== */
.programs-section { padding: 5rem 0; background: white; position: relative; overflow: hidden; }
.programs-section::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 33%; height: 100%;
  background: linear-gradient(to left, #eff6ff, transparent);
}
.programs-section::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 33%; height: 100%;
  background: linear-gradient(to right, #fff7ed, transparent);
}
.program-block {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 3rem; align-items: center; margin-bottom: 5rem; position: relative; z-index: 1;
}
.program-block.reverse { grid-template-columns: 7fr 5fr; }
.program-block.reverse .prog-img  { order: 2; }
.program-block.reverse .prog-content { order: 1; }
.prog-img { position: relative; }
.prog-img img { width: 100%; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.prog-img-badge {
  position: absolute; bottom: -20px; right: 20px;
  background: white; border-radius: 12px; padding: 1rem 1.25rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12); border-left: 4px solid; max-width: 280px;
}
.border-red   { border-color: #ef4444; }
.border-amber { border-color: #f59e0b; }
.border-blue  { border-color: #3b82f6; }

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section { padding: 5rem 0; background: #f8fafc; }

/* ===== FAQ SECTION ===== */
.faq-section { padding: 5rem 0; background: white; }

/* ===== GUARANTEE SECTION ===== */
.guarantee-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: white; position: relative; overflow: hidden;
}

/* ===== URGENCY SECTION ===== */
.urgency-section { padding: 5rem 0; background: white; }

/* ===== CONTACT SECTION ===== */
.contact-section { padding: 5rem 0; background: #f8fafc; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* ===== MEET YOUR COACH PAGE ===== */
.coach-hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f766e 100%);
  color: white; position: relative; overflow: hidden;
}
.coach-hero-bg {
  position: absolute; inset: 0; opacity: 0.1;
  background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
}
.coach-hero-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; position: relative; z-index: 10;
}
.coach-photo { position: relative; }
.coach-photo img { width: 100%; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
.coach-photo-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: white; border-radius: 16px; padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.coach-info h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; margin: 0 0 0.5rem; color: rgba(255,255,255,0.85); }
.coach-info .coach-name { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fcd34d; margin: 0 0 2rem; display: block; }
.coach-credentials { list-style: none; padding: 0; margin: 0 0 2rem; }
.coach-credentials li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1rem; font-size: 1rem; line-height: 1.5; color: rgba(255,255,255,0.9);
}
.coach-credentials li .cred-bullet {
  color: #fcd34d; font-size: 0.7rem; margin-top: 0.4rem; flex-shrink: 0;
}
.coach-mission {
  background: rgba(255,255,255,0.12); backdrop-filter: blur(10px);
  border-radius: 16px; padding: 1.75rem; margin-bottom: 1.5rem;
  border-left: 4px solid #fcd34d;
}
.coach-mission p { margin: 0; font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.9); }
.coach-guarantee-box {
  background: rgba(245,158,11,0.2); border-radius: 12px;
  padding: 1.25rem 1.5rem; border: 1px solid rgba(245,158,11,0.4);
}
.coach-guarantee-box p { margin: 0; font-size: 0.95rem; font-weight: 600; color: #fcd34d; }
.coach-cta-text { font-size: 1.05rem; font-weight: 700; font-style: italic; color: #fcd34d; margin-top: 1.5rem; }

.coach-stats-section { padding: 4rem 0; background: white; }
.coach-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.coach-stat-card {
  text-align: center; padding: 2rem 1rem;
  background: #f8fafc; border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: var(--transition);
}
.coach-stat-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.coach-stat-num { font-size: 2.5rem; font-weight: 800; color: var(--primary); font-family: 'Playfair Display', serif; }
.coach-stat-label { font-size: 0.875rem; color: #64748b; margin-top: 0.5rem; line-height: 1.4; }

.coach-story-section { padding: 5rem 0; background: #f8fafc; }
.coach-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.coach-story-img img { width: 100%; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.12); }

.coach-values-section { padding: 5rem 0; background: white; }
.coach-values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.coach-value-card {
  background: #f8fafc; border-radius: 16px; padding: 2rem;
  border-top: 4px solid var(--primary); transition: var(--transition);
}
.coach-value-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); background: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .card-grid-3, .frameworks-grid, .coach-stats-grid, .coach-values-grid { grid-template-columns: repeat(2,1fr); }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
}

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

  .hero-content { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }

  .card-grid-3, .frameworks-grid, .card-grid-2,
  .cred-grid, .contact-grid, .coach-hero-content,
  .coach-story-grid, .coach-values-grid, .coach-stats-grid,
  .testimonials-section .card-grid-3 { grid-template-columns: 1fr; }

  .program-block, .program-block.reverse { grid-template-columns: 1fr; }
  .program-block.reverse .prog-img  { order: 0; }
  .program-block.reverse .prog-content { order: 0; }
  .prog-img-badge { position: static; margin-top: 1rem; }

  .cred-badge-top, .cred-badge-bottom { position: static; transform: none; margin-top: 1rem; }

  .guarantee-box { flex-direction: column; text-align: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .admin-sidebar { width: 100%; position: relative; min-height: auto; }
  .admin-content { margin-left: 0; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }

  .coach-photo-badge { position: static; margin-top: 1rem; }
}

@media (max-width: 480px) {
  .card-grid-3, .frameworks-grid, .card-grid-2, .admin-stats, .coach-stats-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
  .urgency-box, .form-card { padding: 1.5rem; }
  .guarantee-box { padding: 1.5rem; }
  .nav-container { padding: 0 1rem; }
  .container { padding: 0 1rem; }
  .hero-content { padding: 3rem 1rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons a { text-align: center; }
  .program-block { gap: 2rem; }
  .contact-grid { gap: 2rem; }
  .footer-grid { gap: 1.5rem; }
  .legal-content { padding: 1.5rem 1rem; }
  .legal-hero-inner { padding: 2rem 1rem; }
  .admin-sidebar { width: 100%; }
  .admin-content { margin-left: 0; }
  .admin-main { padding: 1rem; }
  .admin-topbar { padding: 1rem; flex-wrap: wrap; gap: .5rem; }
}

/* ===== LEGAL PAGES ===== */
.legal-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f766e 100%);
  color: white; text-align: center;
}
.legal-hero-amber {
  background: linear-gradient(135deg, #92400e 0%, #d97706 100%);
}
.legal-hero-inner { max-width: 600px; margin: 0 auto; padding: 0 1.5rem; }
.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: white; margin: .75rem 0 .5rem;
}
.legal-hero p { color: rgba(255,255,255,.75); font-size: .95rem; margin: 0; }

.legal-section { padding: 4rem 0 5rem; background: #f8fafc; }
.legal-content {
  max-width: 800px; margin: 0 auto;
  background: white; border-radius: 20px; padding: 3rem;
  box-shadow: 0 4px 30px rgba(0,0,0,.07);
}
.legal-intro {
  background: #f8fafc; border-radius: 12px; padding: 1.5rem 2rem;
  border-left: 4px solid #1e3a8a; margin-bottom: 2.5rem;
}
.legal-intro p { color: #475569; line-height: 1.8; margin: 0 0 .5rem; }
.legal-intro p:last-child { margin: 0; }

.legal-block { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid #f1f5f9; }
.legal-block:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.legal-block h2 {
  font-size: 1.2rem; font-weight: 700; color: #0f172a;
  margin-bottom: 1rem; display: flex; align-items: center; gap: .75rem;
  font-family: 'Poppins', sans-serif;
}
.legal-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #0f766e);
  color: white; font-size: .8rem; font-weight: 700; flex-shrink: 0;
}
.legal-block p { color: #475569; line-height: 1.8; margin-bottom: .75rem; }
.legal-block p:last-child { margin-bottom: 0; }

.legal-list { list-style: none; padding: 0; margin: .75rem 0 1rem; }
.legal-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .6rem 0; border-bottom: 1px solid #f8fafc;
  color: #475569; line-height: 1.6; font-size: .95rem;
}
.legal-list li:last-child { border-bottom: none; }
.legal-list li::before {
  content: '›'; color: #1e3a8a; font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0; margin-top: .05rem;
}
.legal-list-check li::before { content: '✓'; color: #15803d; }
.legal-list-cross li::before { content: '✗'; color: #b91c1c; }

.legal-highlight {
  background: #dbeafe; border-radius: 10px; padding: 1rem 1.25rem;
  border-left: 4px solid #1e3a8a; margin: 1rem 0;
}
.legal-highlight p { color: #1e40af; margin: 0; font-size: .9rem; }
.legal-highlight-amber { background: #fef3c7; border-left-color: #d97706; }
.legal-highlight-amber p { color: #92400e; }

.legal-contact-box {
  background: #f8fafc; border-radius: 10px; padding: 1.25rem 1.5rem;
  border: 1px solid #e2e8f0; margin-top: .75rem;
}
.legal-contact-box p { color: #475569; margin: 0 0 .4rem; font-size: .9rem; }
.legal-contact-box p:last-child { margin: 0; }
.legal-contact-box a { color: #1e3a8a; font-weight: 600; }
.legal-contact-box a:hover { text-decoration: underline; }

.legal-nav-links {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid #f1f5f9;
}
.legal-nav-links a {
  color: #1e3a8a; font-weight: 600; font-size: .9rem;
  padding: .5rem 1rem; border-radius: 8px; background: #dbeafe;
  transition: all .2s;
}
.legal-nav-links a:hover { background: #1e3a8a; color: white; }

@media (max-width: 768px) {
  .legal-content { padding: 2rem 1.5rem; border-radius: 12px; }
  .legal-hero { padding: 4rem 0 2.5rem; }
  .legal-nav-links { flex-direction: column; }
  .legal-nav-links a { text-align: center; }
}
@media (max-width: 480px) {
  .legal-content { padding: 1.5rem 1rem; border-radius: 0; margin: 0 -1rem; }
}

/* ===== ADMIN SITE EDITOR ===== */
.editor-toolbar {
  display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px 8px 0 0;
  border-bottom: none;
}
.editor-btn {
  padding: .35rem .75rem; border-radius: 6px; font-size: .8rem; font-weight: 600;
  cursor: pointer; border: 1px solid #e2e8f0; background: white; color: #374151;
  font-family: 'Poppins', sans-serif; transition: all .2s;
}
.editor-btn:hover { background: #1e3a8a; color: white; border-color: #1e3a8a; }
.editor-btn.active { background: #1e3a8a; color: white; border-color: #1e3a8a; }
.editor-textarea {
  width: 100%; min-height: 500px; padding: 1.25rem;
  border: 1px solid #e2e8f0; border-radius: 0 0 8px 8px;
  font-family: 'Courier New', monospace; font-size: .82rem; line-height: 1.6;
  color: #0f172a; background: #fafafa; resize: vertical;
  outline: none; transition: border-color .2s;
}
.editor-textarea:focus { border-color: #1e3a8a; background: white; }
.find-replace-bar {
  display: grid; grid-template-columns: 1fr 1fr auto auto;
  gap: .75rem; align-items: end; padding: 1.25rem;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px;
  margin-bottom: 1.25rem;
}
@media (max-width: 640px) {
  .find-replace-bar { grid-template-columns: 1fr 1fr; }
  .find-replace-bar .admin-btn { grid-column: span 1; }
}
.site-files-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem; margin-bottom: 1.5rem;
}
.site-file-card {
  background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 10px;
  padding: 1rem; cursor: pointer; transition: all .2s; text-align: center;
}
.site-file-card:hover, .site-file-card.selected {
  border-color: #1e3a8a; background: #dbeafe;
}
.site-file-card svg { margin: 0 auto .5rem; color: #1e3a8a; }
.site-file-card span { display: block; font-size: .8rem; font-weight: 600; color: #374151; word-break: break-all; }

/* ===== HEADER/FOOTER EDITOR ===== */
.hf-preview {
  border: 2px dashed #e2e8f0; border-radius: 10px; padding: 1.5rem;
  background: #f8fafc; margin-top: 1rem; font-size: .85rem; color: #64748b;
  min-height: 80px;
}

/* ===== ENHANCED RESPONSIVE ===== */
@media (max-width: 768px) {
  .admin-sidebar {
    width: 100%; min-height: auto; position: relative;
    flex-direction: row; overflow-x: auto;
  }
  .admin-sidebar-header { display: none; }
  .admin-nav {
    display: flex; flex-direction: row; padding: .5rem;
    overflow-x: auto; gap: .25rem; flex: unset; width: 100%;
  }
  .admin-nav a {
    white-space: nowrap; padding: .5rem .75rem; border-left: none;
    border-bottom: 3px solid transparent; border-radius: 6px;
    font-size: .75rem;
  }
  .admin-nav a:hover, .admin-nav a.active {
    border-left-color: transparent; border-bottom-color: var(--secondary);
  }
  .admin-content { margin-left: 0; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
  .find-replace-bar { grid-template-columns: 1fr; }
  .site-files-grid { grid-template-columns: repeat(2,1fr); }
}
