/* Base styles */
:root {
    --heading-color: #1d2f56;
    --secondary-navy: #2f2b51;
    --accent-orange: #e17834;
    --accent-blue: #417fa6;
    --accent-red: #e94e4c;
    --text-color: #000000;
    --background-color: #ffffff;
    --side-padding: 2.5rem;
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Amiko', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Container and section styling */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--side-padding);
    padding-right: var(--side-padding);
}

section {
    width: 100%;
    padding: 4rem 0;
    margin-bottom: 1rem;
}

/* Text styles */
h1, h2, h3, h4, h5, h6, p, ul, ol {
    text-align: left;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

p {
    margin-bottom: 1.5rem;
}

p:last-child {
    margin-bottom: 0;
}

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

.author-image {
    width: 280px;
    margin-bottom: 2rem;
    border-radius: 8px;
}

/* Button styles */
.cta-button {
    color: var(--accent-red);
}

.buy-button {
    display: inline-block;
    background-color: var(--accent-red);
    color: white;
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
}

.buy-button:hover {
    opacity: 0.9;
}

/* Lists */
.benefits-list,
.target-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li,
.target-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
}

.benefits-list li::before,
.target-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../images/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Section divider */
.section-divider {
    height: 110px;
    background-image: url('../images/dna.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0;
    opacity: 0.8;
}

/* Benefits section */
.benefits-section {
    margin-bottom: 1rem;
}

.benefits-section h2 {
    margin-bottom: 1.5rem;
}

.benefits-section p {
    margin-bottom: 2rem;
}

/* Target section */
.target-section {
    margin-bottom: 1rem;
}

.target-section h2 {
    margin-bottom: 1.5rem;
}

.target-section p {
    margin-bottom: 2rem;
}

/* Author section */
.author-section {
    margin-bottom: 1rem;
}

/* Buy section */
.buy-section {
    text-align: left;
    margin-bottom: 1rem;
}

/* Media queries */
@media (max-width: 767px) {
    :root {
        --side-padding: 1.5rem;
    }

    section {
        padding: 2rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
    
    .author-image {
        width: 220px;
    }
}

/* Navigation */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem var(--side-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--heading-color);
    font-weight: bold;
}

.nav-logo {
    height: 2rem;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--heading-color);
    font-weight: bold;
    position: relative;
}

.nav-links .cta-button {
    color: var(--accent-red);
}

/* Footer styles */
.footer {
    padding: 2rem 0;
    background-color: var(--background-color);
}

.footer-content {
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--side-padding);
    padding-right: var(--side-padding);
}

.footer-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
}

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

.footer-divider {
    height: 20px;
    width: 20px;
    background-image: url('../images/dna.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.8;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-color);
}
