/*
Binary Books - Main Stylesheet
This consolidates the existing design with placeholder-ready structure
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Inter:wght@400;500;600&display=swap');

/* Import existing stylesheets */
@import url('../css/style.css');
@import url('../css/responsive.css');

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Base typography with new fonts */
body, p {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
}

/* Offset for sticky header navigation */
section[id] {
    scroll-margin-top: 80px;
}

/* Additional offset for page sections */
.section {
    scroll-margin-top: 80px;
}

/* Active navigation state */
.floating-nav-link.active {
    background-color: rgba(11, 59, 36, 0.1);
    color: #0B3B24;
    font-weight: var(--font-weight-semibold);
}

/* ===== HERO SECTION (CLEAN SLATE) ===== */
#hero {
    background-color: #F2F0E8;
    padding: 140px 0 120px 0;
    min-height: 700px;
}

#hero .container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 3rem;
    align-items: center;
    padding-left: 3rem;
    padding-right: 4rem;
    max-width: 100vw;
    box-sizing: border-box;
}

/* Left Column - All Text Content */
.hero-left {
    text-align: left;
}

/* Right Column - Image */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-headline {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    font-family: 'Lora', serif;
    font-weight: 700;
    letter-spacing: normal;
}

.hero-subheadline {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #4a4a4a;
    max-width: 450px;
    font-family: 'Inter', sans-serif;
}

/* CTA Buttons Container */
.hero-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.hero-cta-buttons .btn-cta-primary,
.hero-cta-buttons .btn-cta-secondary {
    max-width: 250px;
    text-align: center;
}

.dashboard-screenshot {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-screenshot:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #hero {
        padding: 100px 0 60px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-headline {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subheadline {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-right {
        order: 1;
    }
}

/* ===== STICKY HEADER ===== */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(242, 240, 232, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 59, 46, 0.1);
    transition: all 0.3s ease;
}

.sticky-header-content {
    width: 100%;
    padding: var(--space-base) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo a {
    display: block;
    text-decoration: none;
}

.header-logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.header-logo a:hover img {
    opacity: 0.8;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.header-nav-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    position: relative;
}

.header-nav-link:hover {
    color: var(--color-accent);
}

.header-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.2s ease-in-out;
}

.header-nav-link:hover::after {
    width: 100%;
}

.header-cta {
    color: var(--color-primary) !important;
    font-weight: var(--font-weight-semibold);
}

.header-cta:hover {
    color: var(--color-accent) !important;
}

/* Remove padding - no offset needed */
body {
    padding-top: 0;
}

/* Responsive header */
@media (max-width: 800px) {
    .header-nav {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: flex-end;
    }

    .header-nav-link {
        font-size: var(--font-size-sm);
    }

    .header-logo img {
        height: 40px;
    }

    .sticky-header-content {
        padding: var(--space-sm) var(--space-base);
    }

    body {
        padding-top: 0;
    }
}

@media (max-width: 600px) {
    .header-nav {
        display: none;
    }

    .sticky-header-content {
        justify-content: center;
    }

    body {
        padding-top: 0;
    }
}

/* Hide old floating navigation elements */
.floating-logo,
.floating-nav {
    display: none !important;
}

/* Ensure entire website uses cream color background */
body,
html,
section,
.section,
.hero-modern {
    background-color: #F2F0E8 !important;
}

/* Additional styles for placeholder content structure */

/* Underlined headings */
.underlined-heading {
    position: relative;
    display: block;
    text-align: center;
    padding-bottom: var(--space-sm);
}

.underlined-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.benefits-header .underlined-heading {
    display: block;
    text-align: center;
}

.benefits-header .underlined-heading::after {
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
}

/* SVG Icon styling for benefit cards */
.benefit-icon-text {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.benefit-icon-text svg {
    width: 48px;
    height: 48px;
}

/* Pricing Tiers Styling */
.pricing-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--space-3xl);
    margin-top: var(--space-3xl);
}

.pricing-tier-card {
    background-color: #E8E4DC;
    border: 2px solid rgba(15, 59, 46, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-tier-card:hover {
    border-color: rgba(15, 59, 46, 0.4);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.tier-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-base);
    position: relative;
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tier-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background-color: rgba(191, 163, 115, 0.3);
}

.tier-header h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    font-size: var(--font-size-2xl);
}

.tier-subtitle {
    color: var(--color-neutral-700);
    font-size: var(--font-size-sm);
    margin: 0;
    line-height: 1.4;
}

.tier-pricing-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.pricing-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-base);
    background-color: rgba(242, 240, 232, 0.5);
    border-radius: var(--radius-base);
    border: 1px solid rgba(15, 59, 46, 0.1);
}

.transaction-range {
    color: var(--color-neutral-800);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

.price {
    color: var(--color-primary);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-display);
}

.price-period {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    color: var(--color-neutral-600);
    font-family: var(--font-family-primary);
}

.tier-includes {
    margin-top: var(--space-sm);
}

.tier-includes h4 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-base);
    display: none;
}

.tier-includes ul {
    list-style: none;
    padding: 0;
}

.tier-includes li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-base);
    position: relative;
    color: var(--color-neutral-800);
    line-height: 1.5;
    font-size: var(--font-size-sm);
}

.tier-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
}

.addon-services {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.addon-service {
    padding: var(--space-lg);
    background-color: rgba(242, 240, 232, 0.3);
    border-radius: var(--radius-base);
    border-left: 4px solid var(--color-accent);
}

.addon-service h4 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-lg);
}

.addon-pricing {
    margin: var(--space-base) 0;
}

.addon-price {
    color: var(--color-primary);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-display);
    display: inline-block;
}

.addon-period {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    color: var(--color-neutral-600);
    font-family: var(--font-family-primary);
}

.addon-extra {
    color: var(--color-neutral-700);
    font-size: var(--font-size-base);
    margin-top: var(--space-xs);
    font-weight: var(--font-weight-medium);
}

.addon-service p {
    color: var(--color-neutral-700);
    margin: var(--space-sm) 0 0 0;
    font-size: var(--font-size-sm);
}

.tier-note {
    background-color: rgba(191, 163, 115, 0.1);
    border: 1px solid rgba(191, 163, 115, 0.3);
    border-radius: var(--radius-base);
    padding: var(--space-base) var(--space-lg);
    text-align: center;
}

.tier-note p {
    margin: 0;
    color: var(--color-neutral-800);
    font-size: var(--font-size-sm);
}

.tier-note strong {
    color: var(--color-primary);
}

/* Responsive pricing tiers */
@media (max-width: 900px) {
    .pricing-tiers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .pricing-option {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .price {
        font-size: var(--font-size-2xl);
    }
}

/* Placeholder text styling */
.placeholder-text {
    font-style: italic;
    color: rgba(15, 59, 46, 0.6);
    background-color: rgba(242, 240, 232, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px dashed rgba(15, 59, 46, 0.3);
}

.placeholder-section {
    min-height: 100px;
    border: 2px dashed rgba(11, 59, 36, 0.2);
    background-color: rgba(242, 240, 232, 0.1);
    padding: var(--space-xl);
    margin: var(--space-lg) 0;
    border-radius: var(--radius-lg);
    text-align: center;
}

/* Service block structure */
.service-block {
    background-color: #F2F0E8;
    border: 2px solid rgba(11, 59, 36, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    margin-bottom: var(--space-xl);
    position: relative;
    transition: all 0.3s ease;
}

.service-block:hover {
    border-color: rgba(11, 59, 36, 0.5);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-block h3 {
    color: #0B3B24;
    margin-bottom: var(--space-lg);
}

.service-block .description-placeholder {
    color: rgba(11, 59, 36, 0.8);
    margin-bottom: var(--space-lg);
}

.service-block .includes-list {
    margin-bottom: var(--space-xl);
}

.service-block .includes-list li {
    color: rgba(11, 59, 36, 0.9);
    margin-bottom: var(--space-sm);
}

/* Step styling for process page */
.process-step-container {
    background-color: #F2F0E8;
    border: 2px solid rgba(11, 59, 36, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
    position: relative;
}

.step-number-circle {
    width: 60px;
    height: 60px;
    background: #0B3B24;
    color: #F2F0E8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-lg);
}

/* FAQ styling */
.faq-item {
    background-color: #F2F0E8;
    border: 2px solid rgba(11, 59, 36, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.faq-question {
    color: #0B3B24;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.faq-answer {
    color: rgba(11, 59, 36, 0.8);
}

/* Form styling improvements */
.contact-form {
    background-color: #F2F0E8;
    border: 2px solid rgba(11, 59, 36, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    color: #0B3B24;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-base);
    border: 2px solid rgba(11, 59, 36, 0.3);
    border-radius: var(--radius-base);
    background-color: #F2F0E8;
    color: #0B3B24;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0B3B24;
}

/* Legal page styling */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-3xl);
    background-color: #F2F0E8;
    border-radius: var(--radius-lg);
}

/* Page hero section for services page - ensure it's not cut off by sticky header */
.page-hero {
    padding-top: 140px !important;
    padding-bottom: var(--space-xl);
    margin-top: 0;
}

.page-hero-content {
    text-align: center;
}

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

/* Reduce spacing between hero and overview */
#overview {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

/* Ensure cards and content have proper layering but logo stays clickable */
.benefit-card {
    position: relative;
    z-index: 1;
}

/* Override benefit card colors to darker cream */
.benefit-card {
    background-color: #E8E4DC;
}

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

.benefit-description {
    color: var(--color-neutral-800);
}

/* Grid layouts for sections */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-3xl) 0;
}

.preview-section {
    padding: var(--space-3xl) 0;
}

/* ===== CTA BUTTONS ===== */
.btn-cta-primary {
    display: inline-block;
    background: linear-gradient(135deg, #0F3B2E 0%, #1A4D2E 100%);
    border: 2px solid #0F3B2E;
    color: #F2F0E8;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(15, 59, 46, 0.3);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-cta-primary:hover {
    background: linear-gradient(135deg, #1A4D2E 0%, #0F3B2E 100%);
    box-shadow: 0 8px 25px rgba(15, 59, 46, 0.5);
    transform: translateY(-2px);
    color: #F2F0E8;
}

.btn-cta-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid #0F3B2E;
    color: #0F3B2E;
    font-weight: 500;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-cta-secondary:hover {
    background: rgba(15, 59, 46, 0.08);
    border-color: #1A4D2E;
    color: #0F3B2E;
    transform: translateY(-2px);
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 59, 46, 0.15);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-image {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.badge-text {
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 500;
    opacity: 0.9;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
        padding: 16px 32px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-top: 1.5rem;
    }

    .trust-badge {
        gap: 0.5rem;
    }

    .badge-image {
        width: 80px;
        height: auto;
    }

    .badge-text {
        font-size: 0.7rem;
    }
}

/* Comments for developers */
/*
Color Scheme:
- Primary: #0F3B2E (Deep Oxford Green)
- Secondary: #1A4D2E (Lighter Oxford Green)
- Background: #F2F0E8 (Linen/Cream)
- Text: #333333 (Dark Charcoal)
- Accent: #BFA373 (Gold/Bronze)
- Accent hover: rgba(191, 163, 115, 0.8) (Gold with opacity)

Typography:
- Headers: 'Cinzel', serif - Deep Oxford Green (#0F3B2E), uppercase, bold, 1px letter-spacing
- Body: 'Open Sans', sans-serif - Dark Charcoal (#333333)
- Links: Deep Oxford Green, hover to Gold/Bronze
- Placeholder text: Italicized with dashed border

Layout:
- Maintain existing grid system
- Use consistent spacing with CSS variables
- Keep responsive design patterns
*/