/* ==========================================================================
   Enterprise Vibe Coding - Professional Website Styles
   ========================================================================== */

/* CSS Custom Properties */
:root {
    /* Colors */
    --primary-blue: #0066CC;
    --primary-blue-dark: #004C99;
    --primary-blue-light: #E8F4FF;
    --accent-cyan: #00B4D8;
    --accent-gold: #F59E0B;
    --navy: #0F172A;
    --dark-text: #0F172A;
    --body-text: #334155;
    --muted-text: #64748B;
    --white: #ffffff;
    --off-white: #F8FAFC;
    --surface: #F1F5F9;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 24px rgba(0, 66, 128, 0.06);
    --card-shadow-hover: 0 8px 40px rgba(0, 66, 128, 0.12);
    --card-shadow-strong: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem;
    --container-max: 1280px;
    --container-wide: 1100px;
    --container-narrow: 900px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

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

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--body-text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-blue-dark);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-text);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.125rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.25rem;
}

strong {
    font-weight: 600;
    color: var(--dark-text);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--body-text);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-blue);
}

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

/* Header CTA Button */
.btn-header-cta {
    background: var(--primary-blue);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-header-cta:hover {
    background: var(--primary-purple);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}


/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--body-text);
    transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    padding-top: 80px;
    padding-bottom: 3rem;
    display: flex;
    align-items: center;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

/* Dynamic background pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 102, 204, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 90% 100%, rgba(0, 180, 216, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

/* Subtle grid overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-content {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

.hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 100%;
}

.hero-text {
    /* Text side of the hero */
}

.hero-card h1 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-card .highlight {
    color: var(--accent-cyan);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-subtitle strong {
    color: var(--white);
    font-weight: 500;
}

.hero-graphic {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: var(--card-shadow-strong);
}

/* ==========================================================================
   Book Section
   ========================================================================== */

.book-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--navy) 0%, #1E293B 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative accent */
.book-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0, 102, 204, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.book-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--container-wide);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.book-image img {
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition-normal);
}

.book-image img:hover {
    transform: translateY(-4px) rotate(-1deg);
}

.book-text h2 {
    font-size: 2.25rem;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.book-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.book-text .btn-primary {
    margin-top: 0.5rem;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.content-section {
    padding: var(--section-padding) 0;
    background: var(--surface);
    position: relative;
}

/* Alternate section backgrounds */
.content-section:nth-of-type(even) {
    background: var(--white);
}

/* Section header accent */
.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
}

.section-card {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem 4rem;
    box-shadow: var(--card-shadow);
    max-width: var(--container-wide);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Remove double background on alternating sections */
.content-section:nth-of-type(even) .section-card {
    background: var(--off-white);
}

.section-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue-light);
    border-radius: 20px;
    padding: 1.25rem;
}

.section-icon img {
    width: 100%;
    height: auto;
}

.section-icon.author-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-blue);
    box-shadow: var(--card-shadow);
    background: none;
    padding: 0;
}

.section-icon.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-divider {
    margin: 3rem 0;
    padding-top: 3rem;
    border-top: 2px solid var(--surface);
}

.section-divider .section-icon {
    margin: 0 auto 1.5rem;
}

.content-block {
    margin-bottom: 2rem;
}

/* Quote styling */
.quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--body-text);
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border-left: 4px solid var(--primary-blue);
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

/* Principle List */
.principle-list {
    list-style: none;
    margin: 1.5rem 0;
}

.principle-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.875rem;
    line-height: 1.6;
}

.principle-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.625rem;
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
}

/* Principle blocks */
.principle {
    margin: 1.5rem 0;
    padding: 1.5rem 1.75rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.content-section:nth-of-type(even) .principle {
    background: var(--surface);
}

.principle h4 {
    color: var(--primary-blue);
    margin-bottom: 0.625rem;
    font-size: 1.0625rem;
}

.principle p {
    margin-bottom: 0;
    color: var(--body-text);
    font-size: 1rem;
}

/* Mantra styling */
.mantra {
    text-align: center;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, var(--navy) 0%, #1E293B 100%);
    border-radius: 12px;
    margin: 2rem 0;
}

.mantra p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.mantra p strong {
    color: var(--white);
}

/* Closing statement */
.closing-statement {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--surface);
}

.closing-statement p {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--body-text);
}

.closing-statement p strong {
    color: var(--primary-blue);
}

/* ==========================================================================
   Service Tiers
   ========================================================================== */

.service-tiers {
    margin-top: 3rem;
}

.tier {
    margin-bottom: 2rem;
}

.tier h3 {
    margin-top: 0;
    font-size: 1.375rem;
}

.tier-description {
    font-size: 1rem;
    color: var(--muted-text);
    margin-bottom: 1.5rem;
}

.tier-features {
    list-style: none;
    margin: 1rem 0;
}

.tier-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.tier-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.tier-ideal {
    font-size: 0.9375rem;
    color: var(--muted-text);
    margin: 1.5rem 0;
}

.tier-popular {
    color: var(--primary-blue);
    font-size: 0.9375rem;
}

.tier-divider {
    border: none;
    border-top: 1px solid rgba(0, 136, 255, 0.1);
    margin: 2.5rem 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-align: center;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 255, 0.3);
}

/* ==========================================================================
   Partner Section
   ========================================================================== */

.partner-section {
    padding: 3rem 0;
    background: var(--navy);
}

.partner-section .container {
    max-width: var(--container-wide);
}

.partner-section-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.partner-logos img {
    height: 32px;
    width: auto;
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.partner-logos img:hover {
    opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer .container {
    max-width: var(--container-wide);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-blue);
    color: var(--white);
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.75;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-nav,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-nav a,
.footer-legal a {
    color: var(--white);
    opacity: 0.75;
    font-size: 0.9375rem;
    transition: opacity var(--transition-fast);
}

.footer-nav a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: var(--white);
}

.footer-copyright {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-copyright p {
    opacity: 0.6;
    font-size: 0.8125rem;
    margin: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .book-content {
        grid-template-columns: 250px 1fr;
        gap: 3rem;
    }
    
    .section-card {
        padding: 2.5rem 3rem;
    }
    
    .hero-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3.5rem;
    }
    
    /* Mobile Navigation */
    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--off-white);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Hero */
    .hero {
        padding-top: 70px;
        padding-bottom: 2.5rem;
    }
    
    .hero-content {
        padding: 2rem 1.25rem;
    }
    
    .hero-card h1 {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 1.0625rem;
    }
    
    /* Book Section */
    .book-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .book-image {
        max-width: 220px;
        margin: 0 auto;
    }
    
    .book-text h2 {
        font-size: 1.75rem;
    }
    
    /* Section Card */
    .section-card {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }
    
    .section-icon {
        width: 80px;
        height: 80px;
        padding: 1rem;
    }
    
    .section-icon.author-photo {
        width: 110px;
        height: 110px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 1rem;
    }
    
    .footer-nav,
    .footer-legal {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    /* Partner logos */
    .partner-logos {
        gap: 1.5rem;
    }
    
    .partner-logos img {
        height: 28px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .hero-card {
        padding: 1.5rem 1rem;
    }
    
    .section-card {
        padding: 1.5rem 1rem;
    }
    
    .principle {
        padding: 1rem;
    }
    
    .mantra {
        padding: 1.5rem 1rem;
    }
}

/* ==========================================================================
   Page-Specific Styles (Contact, Privacy, Terms, Services)
   ========================================================================== */

/* Contact Page */
.contact-hero {
    padding-top: 100px;
    padding-bottom: 4rem;
    background: linear-gradient(180deg, var(--primary-blue) 0%, #0070CC 100%);
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.contact-hero h1 {
    color: var(--white);
    text-align: center;
    margin-bottom: 0;
}

.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

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

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

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--body-text);
    margin-bottom: 0.5rem;
}

label .required {
    color: var(--muted-text);
    font-weight: 400;
}

input,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border-color var(--transition-fast);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-illustration img {
    max-width: 100%;
    border-radius: 12px;
}

/* Legal Pages (Privacy, Terms) */
.legal-page {
    padding-top: 100px;
    padding-bottom: 4rem;
}

.legal-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.legal-content h1 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

.legal-content p {
    color: var(--body-text);
}

/* Services Page */
.services-hero {
    padding-top: 100px;
    padding-bottom: 4rem;
    background: linear-gradient(180deg, var(--primary-blue) 0%, #0070CC 100%);
    text-align: center;
}

.services-hero h1 {
    color: var(--white);
}

.services-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-illustration {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Email Link Styling */
.email-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.2s ease;
}

.email-link:hover {
    color: var(--primary-purple);
    text-decoration: underline;
}

.contact-info {
    flex: 1;
}

