/* ========================================
   KAYLA SIERRA COACHING - FINAL REBUILD
   Fonts: Garet + Open Sans ONLY
   All icons present, proper sizing
   ======================================== */

/* ========================================
   IMPORT FONTS
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=garet@400,500,700,800,900&display=swap');

/* ========================================
   ROOT VARIABLES
   ======================================== */
:root {
    /* Brand Colors - NEW PALETTE */
    --primary: #CA623F;
    --primary-dark: #b85536;
    --primary-light: #d87a5a;
    --secondary: #FAF9F8;
    --tertiary: #f5f4f3;
    
    /* Accent Colors */
    --accent-blue: #273E47;
    --accent-blue-light: #3a5562;
    --accent-brown: #232F25;
    --accent-brown-light: #3d4a3f;
    
    /* Text Colors - High Contrast */
    --text-primary: #232F25;
    --text-secondary: #273E47;
    --text-tertiary: #5a6a6f;
    --text-on-primary: #FAF9F8;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-cream: #FAF9F8;
    --bg-light: #f5f4f3;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.20);
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 5rem;
    
    /* Typography */
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Garet', 'Open Sans', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   GLOBAL RESET
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-padding) 0;
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    z-index: 10000;
    transition: width 0.1s linear;
}

/* ========================================
   TOP BANNER - WHITE BACKGROUND
   ======================================== */
.top-banner {
    background: var(--bg-white);
    color: var(--text-primary);
    padding: 0.875rem 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    border-bottom: 2px solid var(--secondary);
}

.top-banner strong {
    color: var(--primary);
}

.top-banner i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: sticky;
    top: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--secondary);
    z-index: 1000;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    z-index: 2000;
    transition: right var(--transition-base);
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu.active {
    right: 0;
}

/* ========================================
   BUTTONS - ALL ROUNDED
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.btn i {
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-on-primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-on-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.15rem;
}

.btn-nav {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
    border-radius: 50px !important;
}

.btn-cta-premium {
    background: var(--primary);
    color: var(--text-on-primary);
    font-weight: 700;
    border-radius: 50px;
}

/* ========================================
   HERO SECTION - CENTERED & RAISED
   ======================================== */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 2rem 0 3rem;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-white) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 5rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

/* Better Trust Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(39, 174, 96, 0.2);
}

.hero-badge i {
    font-size: 1.1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--secondary);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Hero Image - CENTERED & RAISED */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.hero-image img:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--bg-white);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-number {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.section-title {
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.highlight {
    color: var(--primary);
}

/* ========================================
   ICON STANDARDIZATION
   All icons: 1.25rem - 2rem depending on context
   ======================================== */
.fas, .far, .fab {
    font-size: 1.25rem;
}

.card-icon i,
.problem-icon i,
.solution-icon i {
    font-size: 2rem !important;
}

/* ========================================
   CREDIBILITY SECTION
   ======================================== */
.credibility {
    background: var(--bg-white);
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.credibility-card {
    background: var(--bg-white);
    border: 2px solid var(--secondary);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-base);
}

.credibility-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.credibility-card.featured {
    background: var(--primary);
    border-color: var(--primary);
}

.credibility-card.featured * {
    color: var(--text-on-primary) !important;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.credibility-card.featured .card-icon {
    color: var(--text-on-primary);
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problem-section {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-cream) 50%, var(--bg-white) 100%);
}

.problem-hero {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.problem-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.problem-icon {
    aspect-ratio: 1;
    background: var(--bg-white);
    border: 2px solid var(--secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    transition: all var(--transition-base);
}

.problem-icon:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.problem-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--secondary);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all var(--transition-base);
}

.problem-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.problem-card i {
    font-size: 1.5rem;
    color: #e74c3c;
    flex-shrink: 0;
}

/* Solution Spotlight - 4 IN A ROW */
.solution-spotlight {
    background: var(--primary);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    margin: 0 auto 4rem;
}

.solution-spotlight h3 {
    color: var(--text-on-primary);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 800;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.solution-item {
    text-align: center;
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.solution-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.solution-item h4 {
    color: var(--text-on-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.solution-item p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    margin: 0;
}

.solution-cta-text {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-on-primary);
    margin-top: 3rem;
}

/* ========================================
   SCROLL-TO-TOP
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--text-on-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 968px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-menu { display: flex; }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .credibility-grid {
        grid-template-columns: 1fr;
    }
    
    .problem-hero {
        grid-template-columns: 1fr;
    }
    
    .problem-cards {
        grid-template-columns: 1fr;
    }
    
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 568px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
