:root {
    --primary: #0f395c;
    /* Deep Trust Blue */
    --secondary: #f4b41a;
    /* Friendly Yellow */
    --accent: #26a8bd;
    /* Educational Teal */
    --cta-color: #10B981;
    /* High Conversion Green */
    --cta-hover: #059669;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-white: #ffffff;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-3d: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1), inset 0 -4px 0 rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.brand-font {
    font-family: 'Fredoka', sans-serif;
    line-height: 1.25;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 768px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.bg-light {
    background-color: var(--bg-white);
}

.box-shadow {
    box-shadow: var(--shadow-md);
}

.rounded-shadow {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Animations Tools */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e0f2fe 0%, #eef2ff 100%);
    position: relative;
    padding: 60px 0 120px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--bg-main);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* --- Floating Particles --- */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: floatParticle 10s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.p1 {
    width: 30px;
    height: 30px;
    top: 15%;
    left: 10%;
    animation-duration: 8s;
}

.p2 {
    width: 60px;
    height: 60px;
    top: 25%;
    right: 15%;
    background: rgba(38, 168, 189, 0.15);
    animation-duration: 12s;
    animation-delay: 1s;
}

.p3 {
    width: 40px;
    height: 40px;
    bottom: 30%;
    left: 20%;
    background: rgba(244, 180, 26, 0.2);
    animation-duration: 9s;
    animation-delay: 2s;
}

.p4 {
    width: 25px;
    height: 25px;
    bottom: 20%;
    right: 5%;
    animation-duration: 7s;
}

.p5 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 45%;
    background: rgba(255, 255, 255, 0.2);
    animation-duration: 15s;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* --- Animated Wave --- */
.wave-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.wave-container svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-text {
    flex: 1;
}

.mb-3 {
    margin-bottom: 1rem;
}

.hero-text h1.main-headline {
    font-size: 3.8rem;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(15, 57, 92, 0.1);
}

.hero-text h1 span.gradient-text {
    background: linear-gradient(135deg, var(--secondary) 0%, #ff8c00 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0px 2px 2px rgba(244, 180, 26, 0.3));
}

.hero-text h2.subtitle {
    font-size: 1.35rem;
    color: var(--accent);
    margin-bottom: 24px;
    font-weight: 600;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero-visuals {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Video Wrapper for 9:16 aspect ratio */
.video-wrapper {
    position: relative;
    padding-bottom: 177.77%;
    /* 9:16 vertical ratio */
    height: 0;
    width: 100%;
    max-width: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    /* Pronounced 3D Glow and Shadow effect */
    box-shadow:
        0 25px 50px -12px rgba(15, 57, 92, 0.45),
        0 0 0 12px rgba(255, 255, 255, 0.8),
        0 0 20px 14px rgba(38, 168, 189, 0.4);
    border: 6px solid var(--accent);
    background-color: #000;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.video-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.03);
    box-shadow:
        0 30px 60px -10px rgba(15, 57, 92, 0.5),
        0 0 0 12px rgba(255, 255, 255, 0.9),
        0 0 25px 16px rgba(38, 168, 189, 0.6);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--cta-color);
    color: white;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
}

.cta-button:hover {
    background-color: var(--cta-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(16, 185, 129, 0.4);
}

.pulse {
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

.large-button {
    font-size: 1.4rem;
    width: 100%;
    padding: 20px 24px;
}

/* Problem Section */
.problem {
    background-color: var(--bg-white);
    position: relative;
}

.problem-bg-element {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(38, 168, 189, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.problem h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.problem p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Solution Section */
.solution-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.mockup-container {
    flex: 1.5;
    min-width: 300px;
    max-width: 500px;
    margin: 0 auto;
}

.mockup-container img {
    width: 100%;
    max-width: 450px;
    /* Apply a blend mode so white backgrounds become transparent on our light page */
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.mockup-container img:hover {
    transform: scale(1.05);
}

.solution-text {
    flex: 1;
    min-width: 300px;
}

.solution-text h2 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.solution-text p {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.solution-text strong {
    color: var(--primary);
}

/* --- Backgrounds and Dividers --- */
.bg-gradient-light {
    background: linear-gradient(120deg, var(--bg-main) 0%, #ffffff 100%);
}

.relative-container {
    position: relative;
    z-index: 2;
}

.floating-shape {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    animation: float 6s infinite ease-in-out;
}

.shape-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(244, 180, 26, 0.08);
    /* Yellow tint */
    top: 50px;
    left: -50px;
}

.shape-square {
    width: 100px;
    height: 100px;
    background: rgba(38, 168, 189, 0.08);
    /* Accent tint */
    border-radius: 20px;
    bottom: 50px;
    right: -20px;
    animation-delay: 2s;
    transform: rotate(45deg);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Benefits Section */
.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border-bottom: 4px solid var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hover-lift:hover {
    transform: translateY(-12px) rotateX(5deg) rotateY(-5deg);
    box-shadow: var(--shadow-lg), -10px 10px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 6px solid var(--secondary);
}

.icon-img-container {
    margin-bottom: 24px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefit-icon {
    width: 65px;
    height: 65px;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.hover-lift:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.benefit-card p {
    color: var(--text-muted);
}

/* Offer Section */
.premium-bg {
    background: linear-gradient(135deg, var(--primary) 0%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(38, 168, 189, 0.4);
    top: -100px;
    left: -50px;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(16, 185, 129, 0.3);
    bottom: -50px;
    right: -50px;
}

.glassmorphism-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.5s ease;
}

.glassmorphism-box:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.02);
}

.glassmorphism-box h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.glassmorphism-box p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.price-container {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.old-price {
    font-size: 1.5rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-family: 'Fredoka', sans-serif;
}

.por {
    font-size: 1.25rem;
    color: var(--text-main);
    margin: 4px 0;
}

.new-price {
    font-size: 4.5rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: var(--cta-color);
    line-height: 1;
    text-shadow: 2px 2px 0px rgba(16, 185, 129, 0.1);
}

.secure-checkout {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Guarantee Section */
.bg-diagonal {
    background: linear-gradient(to bottom right, #ffffff, #f1f5f9);
    position: relative;
}

.card-3d {
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
    color: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-3d);
    position: relative;
    overflow: hidden;
}

.card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

.guarantee-icon {
    font-size: 5rem;
    line-height: 1;
}

.guarantee-text h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.guarantee-text p {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* Social Proof / Testimonials Section */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.proof-card {
    background: white;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid #e2e8f0;
    border-bottom: 4px solid var(--accent);
    display: flex;
    flex-direction: column;
}

.proof-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-bottom: 6px solid var(--accent);
}

.proof-card.guarantee-card {
    border-bottom: 4px solid var(--cta-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.proof-card.guarantee-card:hover {
    border-bottom: 6px solid var(--cta-color);
}

.custom-radius-1 {
    border-radius: 0 24px 24px 24px;
}

.custom-radius-2 {
    border-radius: 24px;
}

.custom-radius-3 {
    border-radius: 24px 24px 24px 0;
}

.proof-card .stars {
    color: var(--secondary);
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.proof-card .testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    flex-grow: 1;
    margin-bottom: 20px;
    line-height: 1.5;
}

.proof-card .author {
    font-weight: 700;
    color: var(--primary);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
}

.guarantee-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.guarantee-header h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0;
    font-family: 'Fredoka', sans-serif;
}

/* FAQ Section */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 24px;
    background: none;
    border: none;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #f8fafc;
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
    color: var(--accent);
}

.accordion-content {
    max-height: 0;
    padding: 0 24px;
    opacity: 0;
    transition: all 0.3s ease;
    background-color: white;
    color: var(--text-muted);
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 0 24px 24px;
    opacity: 1;
}

.accordion-item.active .accordion-header {
    background-color: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

/* How It Works Section */
.how-it-works .section-title {
    color: white;
    margin-bottom: 60px;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 30px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.timeline-steps .step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    padding: 0 15px;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* Dark center to simulate background transparency over gradient */
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    margin: 0 auto 24px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.step-icon.glow-white {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.step-icon.glow-secondary {
    box-shadow: 0 0 25px rgba(244, 180, 26, 0.6);
    border-color: var(--secondary);
    color: var(--secondary);
}

.step-icon.active-step {
    transform: scale(1.1);
}

.timeline-steps .step:hover .step-icon {
    transform: scale(1.15);
}

.timeline-steps .step-content h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.timeline-steps .step-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .guarantee-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    /* Enhance mobile animations by staggered elements */
    .fade-in {
        transform: translateY(40px);
    }


    .hero {
        padding: 40px 0 80px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text h1.main-headline {
        font-size: 2.8rem;
    }

    .hero-text h2.subtitle {
        font-size: 1.2rem;
    }

    .hero-visuals {
        width: 100%;
    }

    .solution-grid {
        flex-direction: column;
        text-align: center;
    }

    .offer-box {
        padding: 40px 20px;
    }

    .timeline-steps {
        flex-direction: column;
        gap: 50px;
    }

    .timeline-line {
        top: 0;
        bottom: 0;
        left: 50%;
        width: 1px;
        height: 100%;
        transform: translateX(-50%);
    }

    .new-price {
        font-size: 3.5rem;
    }

    .large-button {
        font-size: 1.15rem;
        padding: 18px 20px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
}