:root {
    --primary: #ffffff;
    --bg-light: #f8fafc;
    --accent: #008b9c;
    /* Serenum Teal */
    --accent-dark: #006c7a;
    --accent-light: #e0f2f1;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --font-main: 'Inter', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

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

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

.mb-2 {
    margin-bottom: 2rem;
}

.section {
    padding: 5rem 0;
}

@media (max-width: 600px) {
    .section {
        padding: 3rem 0;
    }
}

/* Header / Nav */
nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 1.5rem;
    /* Override generic container padding */
    position: absolute;
    /* Float over hero */
    top: 0;
    left: 0;
    right: 0;
    /* Ensure centering works with margin auto */
    width: 100%;
    z-index: 10;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo span {
    color: var(--accent);
    font-weight: 400;
    /* Normal weight for 'Alarme' */
}

.phone-cta {
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    height: 48px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.phone-cta i {
    color: var(--accent);
    font-size: 1.1rem;
    display: flex;
    /* Flex on icon to remove baseline weirdness */
}

.phone-cta span {
    line-height: 1;
    /* Reset line height */
    padding-top: 2px;
    /* Slight optical adjustment */
    font-weight: 700;
}

/* HERO with EMBEDDED FORM */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%), url('../images/hero_bg.png') center/cover no-repeat;
    padding: 8rem 0 6rem 0;
    /* More top padding for nav */
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
    font-weight: 300;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item i {
    color: var(--accent);
}

/* THE FUNNEL CARD (Embedded Form) */
.funnel-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    /* Stronger shadow */
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    color: var(--text-dark);
    /* Reset text color for card */
}

.funnel-header {
    text-align: center;
    margin-bottom: 2rem;
}

.funnel-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.funnel-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Funnel Steps */
.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Option Cards (Big buttons for easy clicking) */
.option-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-btn {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.option-btn:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    transform: translateX(5px);
}

.option-btn.selected {
    border-color: var(--accent);
    background: var(--accent-light);
    font-weight: 600;
}

.option-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

/* Navigation Buttons */
.funnel-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-next,
.btn-submit {
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.btn-next:hover,
.btn-submit:hover {
    background: var(--accent-dark);
}

.btn-back {
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-weight: 600;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 2rem;
    background: #e2e8f0;
    height: 6px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    width: 25%;
    transition: width 0.4s ease;
}

/* VALUE PROPOSITION SECTION */
.features-section {
    background: white;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.feature-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* PACKS SECTION */
.pack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pack-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--shadow-lg);
}

.pack-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.pack-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    max-height: 250px;
}

.pack-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pack-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 1rem 0;
}

.pack-list {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
    color: var(--text-gray);
}

.pack-list li {
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.pack-list i {
    color: var(--accent);
}

/* Final Footer */
footer {
    background: #0f172a;
    /* Deeper dark for footer */
    color: white;
    padding: 5rem 0 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    text-align: left;
}

.footer-brand .logo {
    text-shadow: none;
    font-size: 1.8rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-item:hover {
    color: var(--accent);
}

.footer-item i {
    color: var(--accent);
    width: 20px;
    text-align: center;
}

/* Modules Grid */
.modules-grid-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.module-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.module-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.module-main-icon {
    font-size: 2.5rem;
    color: var(--accent);
}

.module-card h4 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.module-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}


/* Responsive */
@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        text-align: center;
        padding-top: 6rem;
        padding-bottom: 3rem;
        background-position: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-right: auto;
        margin-left: auto;
        line-height: 1.2;
    }

    .hero p {
        margin: 0 auto 2rem auto;
        font-size: 1.1rem;
    }

    .trust-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .funnel-card {
        padding: 1.5rem;
        margin: 0;
    }

    .pack-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }

    .modules-grid-display {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1.25rem;
    }

    nav.container {
        padding: 1.5rem 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .phone-cta span {
        display: none;
    }

    .phone-cta {
        padding: 0 0.8rem;
        height: 40px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .funnel-card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .pack-grid {
        grid-template-columns: 1fr !important;
    }

    .modules-grid-display {
        grid-template-columns: 1fr;
    }

    .module-card {
        padding: 1.5rem;
    }

    .option-btn {
        padding: 1rem;
    }

    .text-center h2 {
        font-size: 1.6rem !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-item {
        justify-content: center;
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }
}