/* Root Variables */
:root {
    --primary-blue: #1e40af;
    --primary-crimson: #dc2626;
    --primary-gold: #f59e0b;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --text-gray: #64748b;
    --gradient-hero: linear-gradient(135deg, var(--primary-blue), var(--primary-crimson));
    --gradient-cta: linear-gradient(135deg, var(--primary-crimson), var(--primary-gold));
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: translateY(-2px);
}

.nav-logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-brand:hover .nav-logo {
    transform: rotate(5deg);
}

.nav-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-crimson), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Typography - Fluid and Responsive */
h1, h2 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

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

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: white;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px; /* Account for fixed navbar */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 64, 175, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-dark);
    padding: 4rem 0;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    background: linear-gradient(135deg, var(--primary-crimson), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-crimson);
}

.hero-text {
    max-width: 900px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    line-height: 1.9;
}

.hero-text:last-of-type {
    margin-bottom: 3.5rem;
}

/* Buttons */
.cta-button, .cta-button-secondary {
    display: inline-block;
    padding: clamp(0.875rem, 2vw, 1rem) clamp(2rem, 4vw, 3rem);
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.cta-button {
    background: var(--gradient-cta);
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
}

.cta-button-secondary {
    background: white;
    color: var(--primary-blue);
    border: 3px solid var(--primary-blue);
}

.cta-button-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

/* Value Proposition Section */
.value-prop {
    padding: 6rem 0;
    background: white;
}

.value-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.value-content h2 {
    color: var(--primary-crimson);
}

.value-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-dark);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-hero);
    color: var(--text-light);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    color: var(--primary-gold);
    margin-bottom: 2.5rem;
}

.email-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

#emailInput {
    flex: 1;
    min-width: min(300px, 100%);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    background: white;
}

#emailInput:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.submit-button {
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--gradient-cta);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.form-message {
    margin-top: 1rem;
    font-size: 1rem;
    min-height: 1.5rem;
}

.form-message.success {
    color: var(--primary-gold);
}

.form-message.error {
    color: var(--primary-crimson);
}

/* Story Section */
.story {
    padding: 6rem 0;
    background: white;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content h2 {
    color: var(--primary-crimson);
    text-align: center;
}

.story-text p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Mission Section */
.mission {
    padding: 6rem 0;
    background: var(--light-bg);
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    color: var(--primary-blue);
}

.mission-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-gray);
}

/* Offerings Section */
.offerings {
    padding: 6rem 0;
    background: white;
}

.offerings-content {
    max-width: 900px;
    margin: 0 auto;
}

.offerings-content h2 {
    color: var(--primary-crimson);
    text-align: center;
    margin-bottom: 2rem;
}

.offerings-intro {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    text-align: center;
}

.offerings-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.offerings-list li {
    position: relative;
    padding: 1rem 0 1rem 2.5rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-dark);
    line-height: 1.6;
}

.offerings-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-crimson);
    font-weight: bold;
    font-size: 1.5rem;
}

.offerings-outcomes-title {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-gray);
    margin: 2rem 0 1.5rem 0;
    text-align: center;
}

.offerings-outcomes {
    list-style: none;
    counter-reset: outcomes-counter;
    margin: 2rem 0;
    padding: 0;
}

.offerings-outcomes li {
    position: relative;
    padding: 1rem 0 1rem 3rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-dark);
    line-height: 1.6;
    counter-increment: outcomes-counter;
}

.offerings-outcomes li::before {
    content: counter(outcomes-counter);
    position: absolute;
    left: 0;
    width: 2rem;
    height: 2rem;
    background: var(--gradient-cta);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.offerings-price {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-bg);
    border-left: 4px solid var(--primary-crimson);
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    border-radius: 8px;
}

/* The Offer Section */
.offer {
    padding: 6rem 0;
    background: var(--light-bg);
}

.offer-content {
    max-width: 900px;
    margin: 0 auto;
}

.offer-content h2 {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 1.5rem;
}

.offer-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-gray);
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.8;
}

.offer-subheading {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--primary-blue);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.offer-process {
    list-style: none;
    counter-reset: process-counter;
    margin: 2rem 0;
    padding: 0;
}

.offer-process li {
    position: relative;
    padding: 1.5rem 0 1.5rem 4rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-dark);
    line-height: 1.8;
    counter-increment: process-counter;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.offer-process li::before {
    content: counter(process-counter);
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-hero);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.offer-outcomes {
    list-style: none;
    counter-reset: outcomes-counter;
    margin: 2rem 0;
    padding: 0;
}

.offer-outcomes li {
    position: relative;
    padding: 1rem 0 1rem 3rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-dark);
    line-height: 1.6;
    counter-increment: outcomes-counter;
}

.offer-outcomes li::before {
    content: counter(outcomes-counter);
    position: absolute;
    left: 0;
    width: 2rem;
    height: 2rem;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.offer-price {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border: 3px solid var(--primary-blue);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.15);
}

/* Final CTA Section */
.final-cta {
    padding: 6rem 0;
    background: var(--gradient-hero);
    color: var(--text-light);
}

.final-cta-content {
    text-align: center;
}

.final-cta-content h2 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.final-cta-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-content {
        gap: 1rem;
    }

    .nav-logo {
        height: 40px;
        width: 40px;
    }

    .nav-title {
        font-size: 1.25rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .email-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .container {
        padding: 0 1.5rem; /* or 2rem for even more space */
    }

    #emailInput {
        min-width: 100%;
    }

    .submit-button {
        width: 100%;
        padding: 1rem 2rem;
    }

    .cta-button, .cta-button-secondary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-content {
        padding: 2rem 0;
    }

    section {
        padding: 4rem 0 !important;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        height: 35px;
        width: 35px;
    }

    .nav-title {
        font-size: 1.125rem;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.35rem 0.85rem;
    }

    .hero-content {
        padding: 1.5rem 0;
    }

    .cta-button, .cta-button-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Improved touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
    button, .cta-button, .cta-button-secondary, input {
        min-height: 44px;
        touch-action: manipulation;
    }

    /* Disable hover effects on touch devices */
    .cta-button:hover,
    .cta-button-secondary:hover,
    .submit-button:hover {
        transform: none;
    }

    /* Add active state for touch feedback */
    .cta-button:active,
    .cta-button-secondary:active,
    .submit-button:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

