/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables - Design System */
:root {
    /* Brand Colors */
    --teal-brand: #2A6D8E;
    --black-brand: #000000;
    --red-brand: #E63946;
    --yellow-brand: #FFD100;
    
    /* Accent Colors */
    --purple-accent: #9B5DE5;
    --lightblue-accent: #4CC9F0;
    --green-accent: #4CAF50;
    --orange-accent: #FFA500;
    
    /* UI Colors */
    --primary: var(--teal-brand);
    --primary-foreground: #ffffff;
    --secondary: #f8fafc;
    --secondary-foreground: var(--black-brand);
    --accent: var(--yellow-brand);
    --accent-foreground: var(--black-brand);
    --destructive: var(--red-brand);
    --destructive-foreground: #ffffff;
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --card: #ffffff;
    --card-foreground: var(--black-brand);
    --popover: #ffffff;
    --popover-foreground: var(--black-brand);
    --border: #e2e8f0;
    --input: #e2e8f0;
    --ring: var(--teal-brand);
    --background: #ffffff;
    --foreground: var(--black-brand);
    
    /* Custom Variables */
    --hero-gradient: linear-gradient(135deg, var(--teal-brand) 0%, var(--lightblue-accent) 100%);
    --cta-gradient: linear-gradient(135deg, var(--red-brand) 0%, #ff6b7a 100%);
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    --card-shadow: 0 10px 30px -10px rgba(42, 109, 142, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Base typography */
body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* Utility classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-primary {
    color: var(--primary);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary);
    transition: var(--transition-smooth);
    padding: 1rem 0;
}

.header.scrolled {
    background: rgba(42, 109, 142, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo h1 {
    color: var(--primary-foreground);
    font-size: 1.5rem;
    font-weight: 900;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-foreground);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
}

.nav-link:hover {
    color: var(--yellow-brand);
}

/* Hero Section */
.hero {
    background: var(--hero-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-foreground);
    text-shadow: var(--text-shadow);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--cta-gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: 900;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.4);
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

.book-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--cta-gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: 900;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.book-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.4);
}


.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.book-glow {
    position: absolute;
    inset: -2rem;
    background: var(--hero-gradient);
    border-radius: 50%;
    filter: blur(2rem);
    opacity: 0.3;
}

.book-cover {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
}

/* Book Preview Section */
.book-preview {
    padding: 5rem 0;
    background: rgba(241, 245, 249, 0.5);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.preview-card {
    background: var(--card);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.preview-image {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--muted), rgba(241, 245, 249, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-placeholder {
    text-align: center;
    padding: 2rem;
}

.preview-number {
    width: 4rem;
    height: 4rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.preview-content {
    padding: 1.5rem;
}

.preview-content h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.preview-content p {
    color: var(--muted-foreground);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.about-description strong {
    color: var(--foreground);
    font-weight: 600;
}

.about-description .text-primary {
    color: var(--primary);
    font-weight: 600;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.author-photo-glow {
    position: absolute;
    inset: -1rem;
    background: linear-gradient(135deg, var(--primary), var(--lightblue-accent));
    border-radius: 50%;
    filter: blur(1rem);
    opacity: 0.2;
}

.author-photo {
    position: relative;
    width: 20rem;
    height: 20rem;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Perks Section */
.perks {
    padding: 5rem 0;
    background: var(--background);
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.perk-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    border: 1px solid var(--border);
}

.perk-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.perk-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.perk-icon.purple {
    background: var(--purple-accent);
}

.perk-icon.lightblue {
    background: var(--lightblue-accent);
}

.perk-icon.green {
    background: var(--green-accent);
}

.perk-icon.orange {
    background: var(--orange-accent);
}

.perk-card h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.perk-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Book Call Section */
.book-call {
    padding: 5rem 0;
    background: var(--background);
}

.book-call-content {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.icon-glow {
    position: absolute;
    inset: -1rem;
    background: linear-gradient(135deg, var(--primary), var(--lightblue-accent));
    border-radius: 50%;
    filter: blur(1rem);
    opacity: 0.2;
}

.icon-circle {
    position: relative;
    background: var(--primary);
    padding: 1.5rem;
    border-radius: 50%;
    color: var(--primary-foreground);
}

.benefits-box {
    background: var(--muted);
    padding: 2rem;
    border-radius: 0.5rem;
    margin: 2rem auto;
    max-width: 32rem;
}

.benefits-box h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.benefits-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.benefits-box li {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.bullet {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 0.75rem;
}

/* Footer */
.footer {
    background: var(--primary);
    padding: 3rem 0;
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    color: var(--primary-foreground);
    padding: 0.5rem;
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--yellow-brand);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none;
    }
    
    .author-photo {
        width: 16rem;
        height: 16rem;
    }
    
    .perks-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .author-photo {
        width: 12rem;
        height: 12rem;
    }
}
