:root {
    /* Colors - Pastel Blue Theme */
    --bg-color: #F0F4F8;
    /* Light pastel blue-grey background */
    --text-color: #2D3748;
    /* Dark blue-grey for text */
    --text-muted: #718096;
    /* Muted blue-grey */
    --primary: #63B3ED;
    /* Soft Blue */
    --primary-hover: #4299E1;
    /* Slightly darker blue for hover */
    --accent: #BEE3F8;
    /* Very light blue accent */
    --surface: #FFFFFF;
    /* White surface for cards */
    --border: #E2E8F0;
    /* Light border */

    /* Typography */
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --spacing-container: 1200px;
    --spacing-header: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: url('Fondo.png');
    /* Updated to match user file */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Keeps background still while scrolling */
    background-repeat: no-repeat;
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    height: var(--spacing-header);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover {
    color: #fff;
}

/* Buttons */
.btn-primary {
    background: #0074d4;
    /* User specified color */
    /* Stronger Blue Gradient */
    color: #fff;
    padding: 16px 32px;
    /* Larger padding */
    border-radius: 8px;
    font-weight: 700;
    /* Bolder text */
    font-size: 1.1rem;
    /* Larger text */
    display: inline-block;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px rgba(49, 130, 206, 0.3);
    /* Added shadow */
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0063b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(99, 179, 237, 0.4);
}

/* Navbar Button Specificity Fix */
.nav-links .btn-secondary {
    border: 1px solid #0074d4;
    padding: 8px 16px;
    border-radius: 6px;
    color: #fff !important;
    /* Force white text */
    background: #0074d4;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-links .btn-secondary:hover {
    background: #fff !important;
    color: #0074d4 !important;
    /* Force blue text */
    border-color: #0074d4;
}

/* Hero */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 179, 237, 0.2) 0%, rgba(240, 244, 248, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.pill {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent);
    color: #2B6CB0;
    /* Darker blue for contrast on pill */
    border: 1px solid transparent;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.2;
    /* Increased from 1.1 */
    padding-bottom: 0.1em;
    /* Added space for descenders */
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 80px;
    /* Increased to 80px */
    color: var(--text-color);
    background: linear-gradient(to bottom right, #2D3748, #3182CE);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 64px;
}

.cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.link-arrow span {
    transition: transform 0.3s;
}

.link-arrow:hover {
    background: #0063b3;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(49, 130, 206, 0.4);
}

.link-arrow:hover span {
    transform: translateX(4px);
}

/* Value Prop */
.section-value {
    padding: 100px 0;
    border-top: 1px solid var(--border);
    background: linear-gradient(to bottom, var(--bg-color), #EBF8FF);
}

.value-prop {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.value-prop h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.value-prop .lead {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 400;
}

/* Learn Grid */
.section-learn {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.grid-learn {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card .icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

/* Learn Section Updates */
.grid-learn {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    border: none;
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    text-align: left;
    /* Align text left for lists */
    align-items: flex-start;
    /* Align flex items to start */
    transition: transform 0.3s;
    background: #fff;
    /* Default light, overridden by nth-child */
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.card h3 {
    font-size: 1.15rem;
    /* Slightly smaller heading for modules */
    margin-bottom: 20px;
    font-weight: 700;
    /* Color set by specific rules below */
}

.card ul {
    list-style: none;
    /* Remove default bullets */
    padding: 0;
    margin: 0;
}

.card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #334155;
    /* Dark text for light backgrounds */
}

.card li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    /* Color set by specific rules below */
}

.card strong {
    color: #0F172A;
    /* Highlight bold text dark */
}

/* Specific Card Colors */
.grid-learn .card:nth-child(1) {
    background: #FFF1F2;
}

/* Pink */
.grid-learn .card:nth-child(1) h3 {
    color: #BE123C;
}

.grid-learn .card:nth-child(1) li::before {
    color: #BE123C;
}

.grid-learn .card:nth-child(2) {
    background: #ECFDF5;
}

/* Green */
.grid-learn .card:nth-child(2) h3 {
    color: #047857;
}

.grid-learn .card:nth-child(2) li::before {
    color: #047857;
}

.grid-learn .card:nth-child(3) {
    background: #EFF6FF;
}

/* Blue */
.grid-learn .card:nth-child(3) h3 {
    color: #1D4ED8;
}

.grid-learn .card:nth-child(3) li::before {
    color: #1D4ED8;
}

.grid-learn .card:nth-child(4) {
    background: #FAF5FF;
}

/* Purple */
.grid-learn .card:nth-child(4) h3 {
    color: #7E22CE;
}

.grid-learn .card:nth-child(4) li::before {
    color: #7E22CE;
}

.grid-learn .card:nth-child(5) {
    background: #FFF7ED;
}

/* Orange */
.grid-learn .card:nth-child(5) h3 {
    color: #C2410C;
}

.grid-learn .card:nth-child(5) li::before {
    color: #C2410C;
}

.grid-learn .card:nth-child(6) {
    background: #FEFCE8;
}

/* Yellow */
.grid-learn .card:nth-child(6) h3 {
    color: #A16207;
}

.grid-learn .card:nth-child(6) li::before {
    color: #A16207;
}

/* Evaluation Box */
.evaluation-box {
    margin-top: 60px;
    background: var(--surface);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.evaluation-box h3 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.5rem;
}

.evaluation-box ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.evaluation-box li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.evaluation-box li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.evaluation-alert {
    background: #0074d4;
    /* Solid blue background */
    border: 1px solid #005a9e;
    padding: 24px;
    border-radius: 12px;
    color: #fff;
    /* White text */
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.evaluation-alert p {
    margin: 0;
    line-height: 1.5;
    color: #fff;
    /* White text */
}

.evaluation-alert span {
    font-size: 1.5rem;
    line-height: 1;
}

/* Contact */
.section-contact {
    padding: 100px 0;
}

.contact-box {
    background: radial-gradient(circle at top right, rgba(99, 179, 237, 0.2), transparent), var(--surface);
    border: 1px solid var(--border);
    padding: 64px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

/* Centered CTA (Stripe) */
/* Centered CTA (Stripe) */
/* Centered CTA (Stripe) */
.buy-box {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    /* Match contact-methods */
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
    /* Ensure scaled button doesn't get clipped if it expands */
}

.buy-box stripe-buy-button {
    display: block;
    width: 74%;
    /* Compensate for scale(1.35) -> 100% / 1.35 */
    transform: scale(1.35);
    transform-origin: center top;
    margin-bottom: 24px;
    /* Space for scaled height */
    font-weight: 700;
    /* Bold */
    font-family: inherit;
    /* Inherit font */
}

.contact-box p {
    color: var(--text-muted);
    margin-bottom: 0;
    margin-top: 32px;
    /* Add space between buttons and text */
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: flex-end;
    /* Align bottom so labels sit right */
    max-width: 800px;
    margin: 0 auto;
}

.contact-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 8px;
    /* Space above button */
    display: block;
}

.contact-item {
    background: #0074d4;
    border: 1px solid transparent;
    padding: 0 24px;
    border-radius: 8px;
    width: 100%;
    transition: 0.3s;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    /* Fixed height matching Stripe typically */
    text-decoration: none;
    font-weight: 700;
    /* Bold overall */
    font-size: 1rem;
}

.contact-item:hover {
    background: #0063b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 116, 212, 0.3);
}

.contact-item .label,
.contact-item .value {
    display: none;
}

.contact-item:hover {
    background: #0063b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 116, 212, 0.3);
}

.contact-item .label {
    display: block;
    font-size: 0.75rem;
    /* Smaller label */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2px;
    /* Tighter spacing */
    font-weight: 700;
}

.contact-item .value {
    font-weight: 700;
    /* Bold */
    font-size: 1rem;
    text-align: center;
}

/* Stripe Wrapper Specifics */
.contact-item.stripe-wrapper {
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.contact-item.stripe-wrapper:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

stripe-buy-button {
    display: block;
    width: 100%;
}

/* Responsive adjustments */


/* Footer */
footer {
    padding: 30px 0;
    /* Reduced padding for tighter look */
    margin-top: 80px;
    border-top: 1px solid var(--border);
    background: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* 3 columns */
    align-items: center;
    /* Vertical center */
    gap: 16px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
    grid-column: 2;
    /* Center column */
    grid-row: 1;
    /* Force row 1 */
    white-space: nowrap;
    /* Prevent wrapping if possible */
}

.footer-logo-combined {
    height: 56px;
    /* Larger as requested */
    width: auto;
    object-fit: contain;
    justify-self: end;
    /* Right align */
    grid-column: 3;
    /* Right column */
    grid-row: 1;
    /* Force row 1 */
}

/* Responsive */
/* Responsive */
@media (max-width: 900px) {
    .container {
        padding: 0 24px;
        /* Ensure 24px padding on sides */
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .nav-links {
        display: none;
    }

    .navbar .container {
        justify-content: center;
    }

    /* Stack Contact Grid */
    .contact-methods {
        grid-template-columns: 1fr;
        /* Force stack */
        width: 100%;
        gap: 16px;
    }

    .contact-item {
        width: 100%;
        height: 48px;
        /* Fixed height again */
        padding: 0 12px;
        /* Tighter padding */
        white-space: nowrap;
        /* Force single line */
        font-size: 0.85rem;
        /* Smaller font to fit email */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Keep Buy Button Big on Mobile but Safer */
    .buy-box {
        margin-top: 40px;
        padding-top: 24px;
        overflow: visible;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .buy-box stripe-buy-button {
        width: 87%;
        /* 100% / 1.15 */
        transform: scale(1.15);
        /* Slightly smaller scale for mobile safety */
        margin-bottom: 16px;
    }

    .contact-box {
        padding: 40px 20px;
        /* More breathing room */
        width: 100%;
        margin: 0 auto;
    }

    /* Footer Stacking */
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    footer p {
        text-align: center;
        white-space: normal;
        grid-column: auto;
        grid-row: auto;
    }

    .footer-logo-combined {
        justify-self: center;
        grid-column: auto;
        grid-row: auto;
        height: 48px;
    }
}