/* ======================================
   CUSTOMIZATION VARIABLES
   Change these values to customize the squeeze page
   ====================================== */
:root {
    /* Fonts */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Primary Colors */
    --color-primary: #ED7D31;              /* Main brand color (buttons, accents) */
    --color-primary-hover: #d3691f;        /* Button hover state */
    --color-primary-light: #ff9a54;        /* Input focus border */

    /* Text Colors */
    --color-text-body: #ccc;            /* Main body text */
    --color-text-heading: #eee;         /* Headings */
    --color-text-light: #6c757d;           /* Placeholder text */
    --color-text-muted: #6f75a7;           /* Author titles, secondary text */
    --color-text-dark: #333;               /* Testimonial quotes */

    /* Hero Section */
    --hero-bg-gradient-start: #0F1F3D;     /* Hero gradient start color */
    --hero-bg-gradient-end: #1F3864;       /* Hero gradient end color */

    /* Background Colors */
    --bg-testimonials: #f6f8fc;            /* Testimonials section background */
    --bg-white: #fff;                      /* White background */

    /* Button Colors */
    --button-bg: var(--color-primary);
    --button-bg-hover: var(--color-primary-hover);
    --button-text: #fff;

    /* Book Badge */
    --badge-bg-color: #ED7D31;             /* "New Release" badge background */
    --badge-text-color: #fff;              /* Badge text color */

    /* Icons & Accents */
    --icon-checkmark-color: #ED7D31;       /* Checkmark icons in key points */
    --accent-border-color: #ED7D31;        /* Testimonial quote left border */

    /* Form Elements */
    --input-border: #e3e9f6;
    --input-text: #495057;
    --input-focus-shadow: rgba(0, 0, 0, 0.15);

    /* Navigation Arrows */
    --arrow-bg: rgba(255, 255, 255, 0.9);
    --arrow-text: #4c527d;
    --arrow-hover-bg: var(--color-primary);
    --arrow-hover-text: #fff;

    /* Testimonial Indicators */
    --indicator-default: #4c527d;
    --indicator-active: var(--color-primary);
}

/* ======================================
   BASE STYLES
   ====================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    font-weight: bold;
}

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

/* ======================================
   PAGE WRAPPER (Container)
   ====================================== */
.page-wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Visually Hidden (for accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ======================================
   HERO SECTION
   ====================================== */
.hero-section {
    padding: 96px 0;
    background: linear-gradient(135deg, var(--hero-bg-gradient-start) 0%, var(--hero-bg-gradient-end) 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-left-column {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
}

.hero-right-column {
    flex: 1 1 100%;
    display: flex;
    padding-top: 100px;
}

@media (min-width: 768px) {
    .hero-left-column {
        flex: 1 1 58%;
        padding-right: 20px;
    }

    .hero-right-column {
        flex: 1 1 41%;
    }
}

@media (min-width: 992px) {
    .hero-left-column {
        padding-right: 48px;
    }
}

/* Hero Text Content */
.hero-text {
    width: 100%;
}

.headline {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
    color: var(--color-text-heading);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.subheadline {
    font-size: 1.125rem;
    color: var(--color-text-body);
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .headline {
        font-size: 2.5rem;
    }

    .subheadline {
        font-size: 1.25rem;
    }
}

@media (min-width: 992px) {
    .headline {
        font-size: 3.3rem;
        margin-bottom: 48px;
    }

    .hero-content {
        flex-direction: row; 
    }
}

/* Signup Form */
.signup-form-wrapper {
    margin: 40px 0 64px 0;
    padding-right: 16px;
}

.form-row {
    display: flex;
    gap: 8px;
}

.email-input {
    flex: 1 1 100%;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--input-text);
    background-color: var(--bg-white);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    height: 56px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.email-input:focus {
    outline: none;
    border-color: var(--color-primary-light);
    box-shadow: 0 5px 15px 0 var(--input-focus-shadow);
}

.email-input::placeholder {
    color: var(--color-text-light);
}

.download-button {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--button-text);
    background-color: var(--button-bg);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    text-align: center;
}

.download-button:hover {
    background-color: var(--button-bg-hover);
    transform: translate(0, -5px);
    box-shadow: 0 10px 20px -4px rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
    .email-input {
        flex: 1 1 75%;
    }

    .download-button {
        flex: 1 1 25%;
    }
}

/* Key Points Section */
.key-points-section {
    max-width: 600px;
}

.section-subheading h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: 24px;
}

.key-points {
    list-style: none;
    font-size: 1.2rem;
    text-align: left;
}

.key-points li {
    padding: 8px 0;
    margin-left: 16px;
    color: var(--color-text-body);
}

.key-points svg {
    color: var(--icon-checkmark-color);
    margin-right: 8px;
}

/* Book Cover */
.book-cover-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.book-cover {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    border-radius: 8px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
}

.book-badge {
    position: absolute;
    right: 10px;
    top: -85px;
    width: 100px;
    height: 100px;
    background: var(--badge-bg-color);
    border-radius: 50%;
    text-align: center;
    color: var(--badge-text-color);
    font-weight: bold;
    font-family: var(--font-heading);
    padding-top: 25px;
    font-size: 1.25rem;
    line-height: 1;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
    .book-badge {
        width: 120px;
        height: 120px;
        top: -105px;
        padding-top: 34px;
        font-size: 1.375rem;
    }
}

/* ======================================
   TESTIMONIALS SECTION
   ====================================== */
.testimonials-section {
    padding: 48px 0;
    background-color: var(--bg-testimonials);
}

.testimonials-wrapper {
    padding: 48px 0;
}

.testimonials {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Testimonial Navigation Arrows */
.testimonial-nav-prev,
.testimonial-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--arrow-bg);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    color: var(--arrow-text);
    font-size: 1.25rem;
}

.testimonial-nav-prev:hover,
.testimonial-nav-next:hover {
    background-color: var(--arrow-hover-bg);
    color: var(--arrow-hover-text);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-nav-prev:active,
.testimonial-nav-next:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-nav-prev {
    left: -60px;
}

.testimonial-nav-next {
    right: -60px;
}

@media (max-width: 991px) {
    .testimonial-nav-prev {
        left: 10px;
    }

    .testimonial-nav-next {
        right: 10px;
    }

    .testimonial-nav-prev,
    .testimonial-nav-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .testimonial-nav-prev,
    .testimonial-nav-next {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}

/* Testimonial Indicators */
.testimonial-indicators {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.testimonial-indicators li {
    width: 15px;
    height: 15px;
    background-color: var(--indicator-default);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.testimonial-indicators li:hover {
    transform: scale(1.3);
}

.testimonial-indicators li.active {
    background-color: var(--indicator-active);
}

/* Testimonial Slides */
.testimonials-slides {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    width: 100%;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-quote {
    position: relative;
    padding: 24px;
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--color-text-dark);
    background-color: var(--bg-white);
    border-radius: 8px;
    border-left: 4px solid var(--accent-border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.testimonial-quote::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--bg-white);
    position: absolute;
    bottom: -10px;
    left: 32px;
}

/* Testimonial Author */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-image {
    text-align: center;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.author-info {
    text-align: center;
}

.author-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: #333;
    margin-bottom: 4px;
}

.author-title {
    color: #6f75a7;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .author-info {
        text-align: left;
    }

    .testimonial-quote::after {
        left: 50%;
        margin-left: -10px;
    }
}

@media (max-width: 575px) {
    .author-photo {
        margin-bottom: 8px;
    }
}

.only-mobile {
    display: none;
}

.only-desktop {
    display: flex;
}

/* ======================================
   RESPONSIVE ADJUSTMENTS
   ====================================== */
@media (max-width: 992px) {
    .hero-section {
        padding: 48px 0;
    }

    .only-mobile {
        display: block;
    }

    .only-desktop {
        display: none;
    }

    .signup-form-wrapper {
        margin: 40px 0;
    }

    .book-cover {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .book-cover-wrapper {
        max-width: 300px;
        margin-top: 64px;
    }
}
