/* ===================================
   The 70% Life - Landing Page Styles
   =================================== */

:root {
    /* Color Palette - Inspired by book cover */
    --primary: #E87D3E;
    --primary-dark: #D96F2F;
    --primary-light: #F09A5F;
    --accent: #2D2D2D;
    --text-dark: #1A1A1A;
    --text-body: #4A4A4A;
    --text-light: #737373;
    --bg-cream: #FFF9F4;
    --bg-white: #FFFFFF;
    --bg-light: #FAF5F0;
    
    /* Typography */
    --font-display: 'Crimson Pro', serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(60px, 10vw, 120px);
    --container-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(232, 125, 62, 0.15);
    --shadow-book: 
        20px 20px 40px rgba(0, 0, 0, 0.15),
        -5px -5px 20px rgba(255, 255, 255, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.7;
    background: var(--bg-cream);
    overflow-x: hidden;
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
}

.eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(232, 125, 62, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(232, 125, 62, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(232, 125, 62, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(232, 125, 62, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.headline {
    margin-bottom: 1.5rem;
}

.headline-main {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
}

.headline-sub {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.5rem;
}

.tagline {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-body);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-book {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.book-shadow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(232, 125, 62, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.book-cover {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: auto;
    box-shadow: var(--shadow-book);
    border-radius: 4px;
    transition: transform 0.5s ease;
    z-index: 1;
}

.book-cover:hover {
    transform: translateY(-10px) rotateY(5deg);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================
   About Section
   =================================== */

.about {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

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

.about h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quote-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.quote-mark {
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.quote-card blockquote {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.quote-card cite {
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.9;
}

/* ===================================
   Features Section
   =================================== */

.features {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-body);
    line-height: 1.7;
}

/* ===================================
   Author Section
   =================================== */

.author {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.author-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
}

.author-image {
    position: relative;
}

.author-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.1;
}

.author-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.author-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.author-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.author-contact {
    margin-top: 2rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--primary);
    color: white;
    transform: translateX(4px);
}

.contact-link svg {
    color: var(--primary);
    transition: color 0.3s ease;
}

.contact-link:hover svg {
    color: white;
}

/* ===================================
   Signup Section
   =================================== */

.signup {
    padding: var(--section-padding) 0;
    background: 
        linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.signup-card {
    background: white;
    border-radius: 20px;
    padding: clamp(2rem, 5vw, 4rem);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.signup-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.signup-content p {
    font-size: 1.125rem;
    color: var(--text-body);
    line-height: 1.7;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input {
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 125, 62, 0.1);
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-top: -0.5rem;
}

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

.footer {
    background: var(--accent);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

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

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

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

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-book {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .book-cover {
        max-width: 300px;
    }
    
    .tagline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .author-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .author-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .signup-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
}
