/* ==========================================================================
   CSS VARIABLES & THEME
   ========================================================================== */
   :root {
    /* Colors */
    --color-navy: #112A46;
    --color-navy-light: #1A3B60;
    --color-navy-dark: #0A1C30;
    --color-gold: #C59B6D;
    --color-gold-light: #DAB58F;
    --color-bg-light: #F8F9FA;
    --color-bg-white: #FFFFFF;
    --color-text-dark: #333333;
    --color-text-light: #666666;
    --color-border: #E5E7EB;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-signature: 'Great Vibes', cursive;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    --shadow-gold: 0 4px 14px rgba(197, 155, 109, 0.4);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
    width: 100%;
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}
a:hover { color: var(--color-gold); }

ul {
    list-style: none;
}

/* Utilities */
.text-center { text-align: center; }
.text-gold { color: var(--color-gold) !important; }
.text-dark { color: var(--color-navy) !important; border-color: var(--color-navy) !important; }
.text-dark:hover { color: white !important; background-color: var(--color-navy) !important; }
.text-muted { color: var(--color-text-light); }
.text-muted-light { color: rgba(255,255,255,0.7); }
.font-bold { font-weight: 700; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex-gap { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-block { display: block; width: 100%; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--color-navy);
}

.signature-font {
    font-family: var(--font-signature);
    color: var(--color-gold);
    font-size: 7.5rem;
    font-weight: 400;
    line-height: 0.9;
    margin-bottom: -15px;
    word-break: break-word; /* Important for mobile */
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-size: 1rem;
    line-height: 1.4;
    white-space: normal; /* allow text wrapping on small screens */
}

.btn-primary {
    background-color: var(--color-gold);
    color: white;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
    background-color: var(--color-gold);
}

.btn-dark {
    background-color: var(--color-navy);
    color: white;
}

.btn-dark:hover {
    background-color: var(--color-navy-light);
    transform: translateY(-2px);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(17, 42, 70, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(17, 42, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(17, 42, 70, 0); }
}
.btn-pulse {
    animation: pulse 2s infinite;
}

/* Cards */
.card {
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.dark-card {
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-dark));
    color: white;
}

.dark-card h2, .dark-card h3 {
    color: white;
}

.light-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
}

.gold-card {
    background: linear-gradient(135deg, #DFB992, var(--color-gold));
    color: var(--color-navy-dark);
}

.gold-card h3 {
    color: var(--color-navy-dark);
}

/* Check Lists */
.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.gold-checks li::before {
    color: white;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ==========================================================================
   LAYOUT SECTIONS
   ========================================================================== */

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, #ffffff, #f0f4f8);
    padding: 4rem 0;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

/* Logo & Brand */
.brand {
    margin-bottom: 2rem;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
}

.sub-brand {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.by-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: -5px;
}

.by-text {
    font-family: var(--font-signature);
    font-size: 2.5rem;
    color: var(--color-text-light);
    line-height: 1;
}

.inline-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.headline {
    font-size: 1.8rem;
    color: var(--color-navy-light);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin-bottom: 2rem;
}

.hero-description {
    background: rgba(255, 255, 255, 0.6);
    padding: 1.5rem;
    border-left: 4px solid var(--color-gold);
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.book-mockup {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.book-mockup:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* Promise Section */
.promise-section {
    padding: 4rem 0 2rem 0;
    background-color: var(--color-bg-white);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-gold);
}

/* Features Banner */
.features-banner {
    background-color: var(--color-bg-light);
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.feature-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Main Content Grid */
.main-content {
    padding: 4rem 0;
    background-color: var(--color-bg-white);
}

.grid-sidebar {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-gold-light);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    background-color: var(--color-navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    border: 3px solid var(--color-bg-white);
    box-shadow: 0 0 0 2px var(--color-gold);
}

.step-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* AI Section & About */
.ai-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.icon-large {
    font-size: 2.5rem;
}

.about-flex {
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: var(--color-bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.about-image {
    flex-shrink: 0;
}

.about-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}

/* Sidebar */
.sidebar-title {
    font-size: 1.2rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

/* Testimonials */
.testimonial-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem; /* Increased margin for mobile spacing with absolute avatar */
    box-shadow: var(--shadow-sm);
    position: relative;
    margin-top: 45px; /* Space for the avatar to pop out top */
}

.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    position: absolute;
    top: -45px; /* Shifted up more clearly */
    left: 1.5rem;
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
}

.testimonial-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-text-light);
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: 600;
    font-style: normal;
    color: var(--color-navy);
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1rem 0;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--color-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 250px;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

/* Lead Magnet Form Section (Moved to Bottom) */
.lead-magnet-section {
    padding: 2rem 0 4rem 0;
    background-color: var(--color-bg-white);
}

.lead-magnet-card {
    background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy));
    color: white;
    border-radius: 12px;
    padding: 3rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--color-gold);
}

.lead-text {
    flex: 1;
}

.lead-text h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.lead-form-container {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    color: var(--color-text-dark);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(197, 155, 109, 0.2);
}

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 1rem;
    text-align: center;
}

/* Pricing & Footer */
.pricing-footer {
    background-color: var(--color-navy-dark);
    padding: 4rem 0 2rem;
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.main-rates {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    text-align: center;
    flex-wrap: wrap; /* Ensure it wraps on very small screens */
}

.rate-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    min-width: 140px;
    border: 1px solid rgba(255,255,255,0.1);
}

.rate-box .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 0.25rem;
}

.rate-box .region {
    font-size: 1rem;
    color: white;
    font-weight: 500;
}

.footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-radius: 12px;
}

.footer-cta-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-calendar {
    font-size: 3rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE DESIGN)
   ========================================================================== */
@media (max-width: 992px) {
    .grid-sidebar {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .hero-description {
        border-left: none;
        border-top: 4px solid var(--color-gold);
        border-radius: 0 0 8px 8px;
    }
    .hero-cta {
        justify-content: center;
    }
    .lead-magnet-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }
    .footer-cta {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .footer-cta-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .about-flex {
        flex-direction: column;
        text-align: center;
    }
    .signature-font {
        font-size: 5rem; /* Adjusted for tablet */
    }
    .sub-brand {
        font-size: 2.5rem;
    }
    .by-brand {
        justify-content: flex-end;
    }
    .lead-form-container {
        padding: 1.5rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px; /* slightly smaller padding on very small screens */
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .signature-font {
        font-size: 3.8rem; /* Fit on small iPhone screens */
    }
    .sub-brand {
        font-size: 2.2rem;
    }
    .inline-logo {
        height: 65px;
    }
    .headline {
        font-size: 1.5rem;
    }
    .by-text {
        font-size: 2rem;
    }
    .hero-cta .btn {
        width: 100%; /* Full width buttons on mobile */
    }
    .card {
        padding: 1.5rem; /* Less padding in cards */
    }
    .timeline-item {
        padding-left: 50px; /* Less indentation */
    }
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    .timeline::before {
        left: 17px;
    }
    .rate-box {
        width: 100%; /* stack pricing boxes on very small phones */
    }
}
