/* ============================================
   ActionCOACH Executive Homepage (Stitch Design)
   Theme: Luxury Minimal
   Fonts: Manrope (Headings & Body)
   Brand: #FFD100, #202020
   ============================================ */

/* ========== VARIABLES ========== */
:root {
    --color-primary: #FFD100;
    --color-primary-dark: #e6bc00;
    --color-dark: #202020;
    --color-darker: #1a1a1a;
    --color-white: #FFFFFF;
    --color-gray-light: #F9FAFB;
    --color-gray-medium: #E5E7EB;

    --font-main: 'Manrope', sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    /* Stitch spec */
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* Stitch spec */
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
}

/* ========== RESET ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    color: #4B5563;
    /* Slate 600 */
    font-size: 1.125rem;
}

/* ========== COMPONENTS: BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-md);
    /* 8px */
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn--secondary {
    background-color: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}

.btn--secondary:hover {
    background-color: var(--color-darker);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--outline {
    background-color: transparent;
    border-color: var(--color-dark);
    color: var(--color-dark);
}

.btn--outline:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn--ghost {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    backdrop-filter: blur(4px);
}

.btn--ghost:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.btn--large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

/* ========== HEADER ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-gray-medium);
}

.header__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo img {
    height: 36px;
}

.nav__list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav__link {
    font-weight: 600;
    font-size: 0.95rem;
}

.nav__link:hover {
    color: var(--color-primary-dark);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
}

@media(max-width: 768px) {
    .nav__list {
        display: none;
    }

    /* Simplified for now */
    .nav__toggle {
        display: flex;
    }

    .header__cta {
        display: none;
    }
}

/* ========== HERO SECTION (Stitch Spec) ========== */
.hero {
    padding: var(--space-2xl) 0;
    overflow: hidden;
}

.hero__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero__badge {
    background: var(--color-primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero__image-logo-overlay {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 180px;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

/* ========== SOCIAL PROOF (Dark) ========== */
.truth-bar {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 4rem 0;
}

.truth-bar__grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 2rem;
}

.truth-bar__stat {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.truth-bar__label {
    font-size: 1rem;
    opacity: 0.8;
    color: var(--color-white);
}

/* ========== BENEFITS GRID ========== */
.benefits {
    padding: var(--space-2xl) 0;
    background: var(--color-gray-light);
}

.benefits__grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-8px);
}

.benefit-card__icon {
    width: 64px;
    height: 64px;
    background: var(--color-gray-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary-dark);
}

/* ========== COMPARISON CHART ========== */
.comparison {
    padding: var(--space-2xl) 0;
}

.comparison__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.comparison__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 3rem;
}

.comparison__table th,
.comparison__table td {
    padding: 1.5rem 2rem;
    text-align: left;
    border-bottom: 1px solid var(--color-gray-medium);
}

.comparison__table th {
    background: var(--color-dark);
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.comparison__table tr:last-child td {
    border-bottom: none;
}

.comparison__value--high {
    font-weight: 700;
    color: #059669;
    /* Green */
    font-size: 1.125rem;
}

/* Career Milestones */
.career-milestones {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
}

.milestone-item {
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: flex;
    gap: var(--space-md);
    align-items: center;
    transition: transform 0.3s;
}

.milestone-item:hover {
    transform: translateX(10px);
}

.milestone-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.5;
}

.milestone-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.milestone-text p {
    font-size: 0.95rem;
    color: #4B5563;
}

/* ========== INVESTMENT ========== */
.investment {
    padding: var(--space-2xl) 0;
    background: var(--color-dark);
    color: var(--color-white);
}

.investment__title {
    text-align: center;
    color: var(--color-white);
    margin-bottom: 4rem;
}

.investment__grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pricing-card {
    background: var(--color-white);
    color: var(--color-dark);
    padding: 3rem;
    border-radius: var(--radius-lg);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card--featured {
    border: 4px solid var(--color-primary);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1rem 0;
    letter-spacing: -2px;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========== GUARANTEE ========== */
.guarantee {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.guarantee__seal {
    max-width: 280px;
    margin: 0 auto 2rem;
}

/* ========== CALCULATOR (Keeping logic structure) ========== */
.calculator-section {
    padding: var(--space-2xl) 0;
    background: var(--color-gray-light);
}

/* Reusing calculator styles structure but updated visual */
.calc-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--color-darker);
    color: #9CA3AF;
    padding: 4rem 0 2rem;
}

.footer a:hover {
    color: var(--color-white);
}

/* ========== UTILITIES & POPUPS ========== */
/* Re-integrating Popup CSS from styles.css essential for JS */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.popup.active {
    display: flex;
}

.popup__content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    max-width: 500px;
    text-align: center;
    position: relative;
}

.popup__close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
}

/* Slide Popup */
.popup--slide {
    position: fixed;
    top: auto;
    bottom: 20px;
    right: 20px;
    width: auto;
    height: auto;
    background: white;
    box-shadow: var(--shadow-hover);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transform: translateX(120%);
    transition: transform 0.4s;
    display: flex;
    /* Override display none */
    z-index: 1500;
}

.popup--slide.active {
    transform: translateX(0);
}

/* Time Popup (Bottom Bar) */
.popup--bar {
    position: fixed;
    bottom: -100px;
    /* Hidden */
    left: 0;
    right: 0;
    background: var(--color-darker);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 1600;
    transition: bottom 0.5s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.popup--bar.active {
    bottom: 0;
}

.popup__bar-close {
    font-size: 1.5rem;
    color: #aaa;
    margin-left: 1rem;
}

.popup__bar-close:hover {
    color: white;
}

/* Form Popup (Iframe Modal) */
.popup--form {
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    /* Higher than other popups */
}

.popup--form.active {
    display: flex;
    /* Flex to center content */
}

.popup--form .popup__content {
    max-width: 800px;
    width: 95%;
    height: 90vh;
    /* Fixed height */
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
}

.popup--form .popup__close {
    background: var(--color-dark);
    color: var(--color-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 20;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    border: 2px solid var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.popup__iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--color-white);
}

@media (max-width: 768px) {
    .popup--form .popup__content {
        height: 100vh;
        width: 100%;
        border-radius: 0;
    }
}


/* Responsive adjustments */
@media(max-width: 900px) {

    .hero__container,
    .investment__grid,
    .truth-bar__grid,
    .benefits__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .pricing-card--featured {
        transform: none;
    }

    .hero__image-wrapper {
        order: -1;
    }
}