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

:root {
    --primary-navy: #0F172A; /* Updated navy */
    --gold-accent: #C8A96B;   /* Updated gold */
    --gold-light: #ebd6a8;
    --gold-dark: #a18146;
    --text-white: #ffffff;
    --text-muted: #d0d5df;
    --bg-light: #F8FAFC;     /* Updated light gray */
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --border-color: #cbd5e1;
    --font-heading: 'Outfit', 'Montserrat', sans-serif;
    --font-body: 'Inter', 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.narrow-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 3.2rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

h2 {
    font-size: 2.2rem;
    color: var(--primary-navy);
}

.gold-text {
    color: var(--gold-accent);
}

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

/* Header */
.main-header {
    background-color: var(--primary-navy);
    border-bottom: 2px solid var(--gold-accent);
    padding: 20px 0;
    color: var(--gold-accent);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-title {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    color: var(--text-white);
    letter-spacing: 1px;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gold-accent);
    letter-spacing: 2px;
}

.header-slogan {
    text-align: right;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--gold-accent);
    line-height: 1.3;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 60px 0 80px 0;
    color: var(--text-white);
    background-color: var(--primary-navy);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%), url('./assets/bg.png') center/cover no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gold-accent);
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.hero-content {
    flex: 1.2;
}

.hero-title-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(200, 169, 107, 0.5);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title-box h1 {
    font-size: 2.8rem;
    color: var(--text-white);
    margin-bottom: 0px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 90%;
    font-style: italic;
}

.hero-book-section {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
}

.hero-book {
    max-width: 180px;
    filter: drop-shadow(0 25px 35px rgba(0,0,0,0.6)) drop-shadow(0 5px 15px rgba(0,0,0,0.4));
    transform: perspective(800px) rotateY(-5deg);
    transition: transform 0.4s ease;
}

.hero-book:hover {
    transform: perspective(800px) rotateY(0deg) scale(1.05);
}

.hero-book-text h3 {
    color: var(--gold-accent);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.hero-book-text p {
    color: var(--text-white);
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.form-box {
    flex: 0.8;
    background: #ffffff;
    border: 2px solid var(--gold-accent);
    border-radius: 12px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1) inset;
    color: var(--text-dark);
    position: relative;
    z-index: 5;
}

.form-box h3 {
    color: var(--primary-navy);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.optin-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.optin-form input {
    padding: 15px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-body);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.optin-form input:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.04), 0 0 0 3px rgba(200, 169, 107, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-accent) 100%);
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    padding: 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(200, 169, 107, 0.5), inset 0 -3px 0 rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f2e2be 0%, var(--gold-light) 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(200, 169, 107, 0.6), inset 0 -3px 0 rgba(0,0,0,0.05);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(200, 169, 107, 0.4), inset 0 2px 0 rgba(0,0,0,0.1);
}

.form-disclaimer {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 15px;
}

/* Sections General */
.section-padding {
    padding: 80px 0;
}

.bg-white {
    background-color: var(--bg-white);
}

.bg-light {
    background-color: var(--bg-light);
}

.section-shaded {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%), url('./assets/bg.png') center/cover no-repeat;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.03), inset 0 -10px 20px rgba(0,0,0,0.03);
}

.bg-navy {
    background-color: var(--primary-navy);
    color: var(--text-white);
}
.bg-navy h2 {
    color: var(--gold-accent);
}

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

.section-header p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 15px auto 0;
    color: #475569;
}

/* Features Grid */
.features-panel {
    background: #fff;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.03);
    overflow: hidden;
}

.features-grid-custom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.feature-item {
    display: flex;
    gap: 15px;
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.feature-item:nth-child(2n) {
    border-right: none;
}

.feature-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200, 169, 107, 0.3);
    box-shadow: 0 8px 15px -5px rgba(0,0,0,0.1), inset 0 2px 4px #ffffff;
}

.feature-text h3 {
    color: var(--primary-navy);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.feature-text p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* List Style */
.check-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 22px 25px;
    border-radius: 12px;
    border-left: 5px solid var(--gold-accent);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.02);
    /* Removed transition: all to prevent conflict with GSAP opacity and transform */
    position: relative;
    overflow: hidden;
}

.check-list li::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    pointer-events: none;
}

.check-list li:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.check-list li:hover::after {
    transform: translateX(100%);
}

.check-list li svg {
    flex-shrink: 0;
    fill: var(--gold-accent);
    width: 28px;
    height: 28px;
}

/* Book CTA Section */
.cta-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.cta-section img {
    max-width: 280px;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.6)) drop-shadow(0 10px 15px rgba(0,0,0,0.4));
    transform: perspective(800px) rotateY(10deg);
    transition: transform 0.4s ease;
}

.cta-section img:hover {
    transform: perspective(800px) rotateY(0deg) scale(1.05);
}

.cta-form-wrapper {
    max-width: 450px;
    width: 100%;
}

/* Overwhelmed Section */
.text-column-center {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.15rem;
    text-align: center;
}

.overwhelmed-text-box {
    background: #fff;
    border: 1px solid rgba(255,255,255,0.7);
    padding: 45px;
    border-radius: 16px;
    margin-top: 40px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.05);
    position: relative;
    z-index: 2;
}

.overwhelmed-text-box::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    background: linear-gradient(135deg, rgba(200, 169, 107, 0.2), transparent);
    z-index: -1;
    border-radius: 20px;
    filter: blur(20px);
}

.overwhelmed-text-box p {
    margin-bottom: 20px;
    color: #334155;
    line-height: 1.7;
}

.overwhelmed-text-box .highlight {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-top: 30px;
    margin-bottom: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

/* Footer */
.main-footer {
    background-color: var(--primary-navy);
    color: var(--text-muted);
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
    margin-bottom: 25px;
}

.footer-links a {
    color: var(--gold-accent);
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-legal {
    font-size: 0.8rem;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.7;
    line-height: 1.5;
}

/* Bridge Page specific */
.bridge-hero {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.bridge-hero h1 {
    color: var(--primary-navy);
}

.bridge-hero .subtitle {
    color: #475569;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.bridge-content {
    background: #fff;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 16px;
    padding: 50px;
    margin-top: -40px;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    position: relative;
}

.disclosure-text {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    margin-top: 20px;
    padding: 0 20px;
}

/* Media Queries */
@media (max-width: 900px) {
    .hero-container, .cta-section {
        flex-direction: column;
    }
    
    .features-grid-custom {
        grid-template-columns: 1fr;
    }

    .feature-item {
        border-right: none;
    }

    .feature-item:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--border-color);
    }
    .feature-item:last-child {
        border-bottom: none;
    }
    
    .hero-title-box h1 {
        font-size: 2.2rem;
    }
    
    .hero-book-section {
        flex-direction: column;
        text-align: center;
    }

    .check-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
    }
    .header-slogan {
        text-align: center;
    }
}
