/* Base Styles & Variables based on the Mockup */
:root {
    --bg-main: #F2F1EE;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --card-bg: #FFFFFF;
    --border-color: #E0E0E0;
    
    /* Electric Blue Cover Variables */
    --cover-bg: #FAFAF8;
    --cover-accent: #0066FF;
    --cover-accent-light: rgba(0, 102, 255, 0.08);
    --cover-text: #1A1A1A;
    --cover-subtitle: #555555;
    
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'DM Mono', monospace;
    --font-serif: 'Playfair Display', serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* Header */
.header {
    padding: 60px 20px 20px;
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.header-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
}

.header h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.header p {
    font-size: 18px;
    color: var(--text-muted);
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 800px) {
    .hero-section {
        flex-direction: row;
        gap: 80px;
        padding: 60px 20px 80px;
    }
}

/* The Custom Book Cover Implementation */
.book-image-wrapper {
    position: relative;
    width: 380px;
    height: 620px;
    perspective: 800px;
    flex-shrink: 0;
    margin: 0 auto;
    transform-origin: top center;
}

@media (min-width: 800px) {
    .book-image-wrapper {
        margin: 0;
    }
}

@media (max-width: 420px) {
    .book-image-wrapper {
        transform: scale(0.85);
        margin-bottom: -93px;
    }
}

@media (max-width: 360px) {
    .book-image-wrapper {
        transform: scale(0.75);
        margin-bottom: -155px;
    }
}

.cover-mockup {
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px 32px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08), 0 5px 15px rgba(0,0,0,0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-family: 'DM Sans', var(--font-body);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border: 1px solid #F0F0F0;
    overflow: hidden;
}

.cover-mockup:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.04);
}

.cover-dots {
    position: absolute;
    top: 24px;
    right: 32px;
    display: grid;
    grid-template-columns: repeat(3, 8px);
    gap: 5px;
}

.cover-dots span {
    width: 6px;
    height: 6px;
    background-color: #D6E6FF;
    border-radius: 50%;
}

.cover-dots span:nth-child(1) {
    background-color: #0066FF;
}

.cover-title {
    margin-top: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-text {
    font-family: var(--font-serif);
    font-size: 64px;
    color: #0066FF;
    line-height: 1;
    font-weight: 700;
}

.simple-start-text {
    font-family: var(--font-serif);
    font-size: 52px;
    color: #111111;
    line-height: 1.05;
    font-weight: 400;
}

.cover-divider {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.cover-divider .line.blue {
    width: 44px;
    height: 3px;
    background-color: #0066FF;
}

.cover-divider .dot {
    width: 6px;
    height: 6px;
    background-color: #0066FF;
    border-radius: 50%;
    margin-left: 8px;
    margin-right: 16px;
}

.cover-divider .line.grey {
    flex-grow: 1;
    height: 1px;
    background-color: #F0F0F0;
}

.cover-subtitle {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 90%;
}

.cover-subtitle strong {
    color: #111111;
    font-weight: 600;
}

.cover-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: auto;
    width: 100%;
    max-width: 260px;
    align-self: center;
}

.icon-box {
    aspect-ratio: 1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box svg {
    width: 22px;
    height: 22px;
}

.icon-box.blue {
    background-color: #0066FF;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.2);
}

.icon-box.blue svg { color: white; }

.icon-box.light-blue {
    background-color: #E8F1FF;
    color: #0066FF;
}

.icon-box.light-blue svg { color: #0066FF; }

.icon-box.white {
    background-color: white;
    border: 1px solid #EAEAEA;
    color: #999999;
}

.icon-box.white svg { color: #999999; }

.icon-box.black {
    background-color: #111111;
    color: white;
}

.icon-box.black svg { color: white; }

.cover-footer {
    margin-top: 20px;
}

.cover-footer .by {
    font-size: 10px;
    color: #999999;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.cover-footer .author {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #111111;
    text-transform: uppercase;
}

/* CTA Container */
.cta-container {
    max-width: 400px;
    text-align: center;
}

@media (min-width: 800px) {
    .cta-container {
        text-align: left;
    }
}

.cta-container h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-container p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 32px;
}

.primary-btn {
    display: inline-block;
    background-color: var(--cover-accent);
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    padding: 16px 32px;
    border-radius: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px 0 rgba(0, 102, 255, 0.39);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

/* Features Section */
.features-section {
    padding: 0 20px 80px;
}

.features-container {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.features-header h3 {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 32px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
}
