/* ====================================
   CSS Variables & Reset
   ==================================== */

:root {
    /* Colors - Design System do App */
    --color-background: #232323;
    --color-card: #2A2A2A;
    --color-primary: #EB5F1C;
    --color-primary-hover: #d54d0f;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #B0B0B0;
    --color-text-muted: #808080;
    --color-accent: #FF7A3D;
    --color-success: #3CB371;
    --color-warning: #FFD700;
    --color-info: #4A90E2;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Container */
    --container-max-width: 1200px;
    --navbar-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ====================================
   Container
   ==================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ====================================
   Navigation
   ==================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background-color: rgba(35, 35, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.navbar.scrolled {
    background-color: rgba(35, 35, 35, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-text-primary);
}

.logo img {
    height: 45px;
    width: auto;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: var(--font-size-3xl);
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--color-primary);
    outline: none;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: var(--spacing-xs) var(--spacing-md) !important;
}

/* ====================================
   Buttons
   ==================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn ion-icon {
    font-size: 1.25em;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-primary-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    outline: 3px solid rgba(235, 95, 28, 0.3);
    outline-offset: 2px;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    outline: 3px solid rgba(235, 95, 28, 0.3);
    outline-offset: 2px;
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 15px 32px;
    font-size: var(--font-size-lg);
}

/* ====================================
   Hero Section
   ==================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--navbar-height) + var(--spacing-2xl));
    padding-bottom: var(--spacing-3xl);
    position: relative;
    overflow: visible;
    background: linear-gradient(135deg, #232323 0%, #2A2A2A 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(235, 95, 28, 0.3);
    z-index: -1;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-top: var(--spacing-xs);
}

/* Hero Image & Floating Cards */
.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.mascot-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background-color: var(--color-card);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    box-shadow: var(--shadow-xl);
    animation: floatCard 3s ease-in-out infinite;
    white-space: nowrap;
}

.floating-card ion-icon {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 0%;
    animation-delay: 2s;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ====================================
   Section Styles
   ==================================== */

section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-tag {
    display: inline-block;
    background-color: rgba(235, 95, 28, 0.1);
    color: var(--color-primary);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ====================================
   Features Section
   ==================================== */

.features {
    background-color: var(--color-background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background-color: var(--color-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    border: 2px solid transparent;
}

.feature-card:hover,
.feature-card:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(235, 95, 28, 0.3);
}

.feature-card:active {
    transform: translateY(-2px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-icon ion-icon {
    font-size: var(--font-size-3xl);
    color: white;
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ====================================
   How It Works Section
   ==================================== */

.how-it-works {
    background-color: var(--color-background);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
}

.step {
    flex: 1;
    max-width: 350px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.step-content {
    background-color: var(--color-card);
    padding: var(--spacing-xl);
    padding-top: calc(var(--spacing-xl) + 20px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.step-content:hover,
.step:focus-within .step-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(235, 95, 28, 0.2);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(235, 95, 28, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.step-icon ion-icon {
    font-size: var(--font-size-4xl);
    color: var(--color-primary);
}

.step-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.step-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.step-arrow {
    color: var(--color-primary);
    font-size: var(--font-size-3xl);
}

/* ====================================
   Benefits Section
   ==================================== */

.benefits {
    background-color: var(--color-card);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.benefits-text {
    text-align: left;
}

.benefits-text .section-tag,
.benefits-text .section-title {
    text-align: left;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.benefit-item {
    display: flex;
    gap: var(--spacing-md);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon ion-icon {
    font-size: var(--font-size-2xl);
    color: white;
}

.benefit-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.benefit-content p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Benefits Image */
.benefits-image {
    position: relative;
}

.benefits-card {
    background-color: var(--color-background);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--spacing-xl);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--font-size-lg);
}

.card-header ion-icon {
    font-size: var(--font-size-2xl);
}

.card-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.stat-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.stat-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(235, 95, 28, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

.benefits-mascot {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

/* ====================================
   Testimonials Section
   ==================================== */

.testimonials {
    background-color: var(--color-background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.testimonial-card {
    background-color: var(--color-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.testimonial-card:hover,
.testimonial-card:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(235, 95, 28, 0.2);
}

.testimonial-content {
    margin-bottom: var(--spacing-lg);
}

.quote-icon {
    color: var(--color-primary);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: var(--font-size-base);
}

.author-role {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* ====================================
   CTA Section
   ==================================== */

.cta-section {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-image img {
    width: 100px;
    height: auto;
    margin: 0 auto var(--spacing-lg);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: white;
}

.cta-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--color-primary);
}

.cta-section .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-secondary {
    background-color: transparent;
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

.cta-note ion-icon {
    font-size: var(--font-size-lg);
}

/* ====================================
   Footer
   ==================================== */

.footer {
    background-color: var(--color-card);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--color-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: var(--font-size-xl);
    transition: all var(--transition-fast);
}

.social-link:hover,
.social-link:focus {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-md);
    outline: 2px solid rgba(235, 95, 28, 0.3);
    outline-offset: 2px;
}

.social-link:active {
    transform: translateY(0) scale(1);
}

.footer-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--color-primary);
    padding-left: var(--spacing-xs);
    outline: none;
}

.footer-links a:focus {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
}

.footer-bottom p {
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
}

.footer-bottom ion-icon {
    color: var(--color-primary);
    vertical-align: middle;
}

/* ====================================
   Back to Top Button
   ==================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: var(--font-size-2xl);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover,
.back-to-top:focus {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
    outline: 3px solid rgba(235, 95, 28, 0.3);
    outline-offset: 3px;
}

.back-to-top:active {
    transform: translateY(-2px) scale(1);
}

/* ====================================
   Animations
   ==================================== */

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bubbleRise {
    0% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px) scale(1);
        opacity: 0;
    }
}

@keyframes bubbleRise2 {
    0% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(-30px) scale(1.2);
        opacity: 0;
    }
}

@keyframes bubbleRise3 {
    0% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    90% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(-100vh) translateX(20px) scale(0.8);
        opacity: 0;
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Progressive Enhancement: Feature cards visible by default */
.feature-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Only hide if JavaScript is confirmed loaded */
.js-loaded .feature-card.reveal:not(.active) {
    opacity: 0;
    transform: translateY(30px);
}

/* ====================================
   Ocean Bubbles Divider
   ==================================== */

.bubbles-divider {
    position: relative;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(to bottom, transparent 0%, rgba(235, 95, 28, 0.08) 50%, transparent 100%);
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -50px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), rgba(235, 95, 28, 0.5));
    border-radius: 50%;
    border: 2px solid rgba(235, 95, 28, 0.4);
    box-shadow:
        inset 0 0 15px rgba(255, 255, 255, 0.5),
        0 0 30px rgba(235, 95, 28, 0.3);
}

.bubble:nth-child(1) {
    left: 10%;
    width: 45px;
    height: 45px;
    animation: bubbleRise 8s infinite ease-in;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    left: 20%;
    width: 30px;
    height: 30px;
    animation: bubbleRise2 10s infinite ease-in;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    left: 35%;
    width: 60px;
    height: 60px;
    animation: bubbleRise3 12s infinite ease-in;
    animation-delay: 1s;
}

.bubble:nth-child(4) {
    left: 50%;
    width: 38px;
    height: 38px;
    animation: bubbleRise 9s infinite ease-in;
    animation-delay: 3s;
}

.bubble:nth-child(5) {
    left: 65%;
    width: 52px;
    height: 52px;
    animation: bubbleRise2 11s infinite ease-in;
    animation-delay: 1.5s;
}

.bubble:nth-child(6) {
    left: 75%;
    width: 30px;
    height: 30px;
    animation: bubbleRise3 10s infinite ease-in;
    animation-delay: 4s;
}

.bubble:nth-child(7) {
    left: 85%;
    width: 45px;
    height: 45px;
    animation: bubbleRise 13s infinite ease-in;
    animation-delay: 2.5s;
}

.bubble:nth-child(8) {
    left: 90%;
    width: 25px;
    height: 25px;
    animation: bubbleRise2 8s infinite ease-in;
    animation-delay: 0.5s;
}

/* ====================================
   Responsive Design
   ==================================== */

@media (max-width: 1024px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.5rem;
    }

    .hero-content,
    .benefits-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .hero-image {
        order: -1;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-mascot {
        max-width: 550px;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 70px;
        --spacing-3xl: 4rem;
        --spacing-2xl: 3rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--color-card);
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        transform: translateX(-100%);
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - var(--navbar-height));
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--navbar-height) + var(--spacing-xl));
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .floating-card {
        font-size: var(--font-size-sm);
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .cta-title {
        font-size: var(--font-size-3xl);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .benefits-mascot {
        max-width: 100%;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-3xl: 1.25rem;
        --font-size-2xl: 1.125rem;
        --spacing-lg: 1rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .logo span {
        font-size: var(--font-size-lg);
    }

    .btn-large {
        padding: 12px 24px;
        font-size: var(--font-size-base);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .card-1,
    .card-2,
    .card-3 {
        display: none;
    }
}
