:root {
    --color-bg: #000000;
    --color-primary: #22C55E;
    /* Neon Green */
    --color-secondary: #FF0000;
    /* Red */
    --color-text: #FFFFFF;
    --color-text-muted: #A0A0A0;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 10px;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-danger {
    color: var(--color-secondary);
}

.text-primary {
    color: var(--color-primary);
}

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

/* Glassmorphism Utilities */
.glass-nav {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
}

.glass-card-red {
    background: rgba(255, 0, 0, 0.05);
    /* Slight red tint */
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.glass-card-red:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
}

/* Navigation */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.nav-menu a:hover {
    color: var(--color-primary);
    opacity: 1;
}

.logo img {
    height: 70px;
    object-fit: contain;
    transition: height 0.3s ease;
}

/* Buttons */
.cta-button-small {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.cta-button-small:hover {
    background: var(--color-primary);
    color: black;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.5);
}

.cta-button-large {
    background: var(--color-primary);
    border: none;
    color: black;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.glow-effect {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.glow-effect:hover {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.8);
    transform: scale(1.05);
}

.pulse-glow-animation {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Hero Section */
.hero {
    padding: 130px 0 100px;
    /* Reduced top padding to bring content closer to nav */
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    /* More space for the image */
    gap: 3rem;
    align-items: center;
}

.badge {
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-visual {
    position: relative;
    z-index: 10;
    /* Allow image to expand naturally */
}

.visual-wrapper.glass-card {
    padding: 10px;
    /* Minimal padding */
    background: rgba(255, 255, 255, 0.02);
    /* Very subtle bg */
    border-radius: 24px;
}

.hero-img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    box-shadow: 0 30px 80px rgba(34, 197, 94, 0.15);
    /* Green glow hint */
}

.floating-animation {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* New Hero Buttons & Stats */
.hero-actions {
    display: flex;
    gap: 1rem;
    /* Slightly reduced gap to fit */
    margin-bottom: 3rem;
    flex-wrap: nowrap;
    /* Force side by side */
    align-items: center;
}

@media (max-width: 500px) {
    .hero-actions {
        flex-wrap: wrap;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    /* Square with slight radius per image */
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    background: rgba(34, 197, 94, 0.05);
}

/* Stats Section */
.hero-stats {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: left;
}

.stat-number,
.stat-plus {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    align-self: center;
}

@media (max-width: 768px) {
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }
}


/* Pain Points */
.pain-points {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

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

.icon-red {
    color: var(--color-secondary);
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.pain-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.pain-card p {
    color: var(--color-text-muted);
}

/* Services */
.services {
    padding: 100px 0;
}

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

.flip-card {
    background-color: transparent;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

.flip-card-front {
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
}

.flip-card-back {
    background: #0a0a0a;
    /* Darker back */
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border: 1px solid var(--color-primary);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.flip-card-back h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Comparison */
.comparison {
    padding: 100px 0;
}

.comparison-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--color-text);
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

.comparison-table .manual {
    color: var(--color-secondary);
    /* Red-ish for manual possibly? User said highlight savings in green, let's keep manual neutral/red */
}

.comparison-table .gramseo {
    color: var(--color-primary);
    font-size: 1.3rem;
}

.comparison-table .highlight {
    color: var(--color-primary);
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* About & CTA */
.about-cta {
    padding: 150px 0;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 30px;
    opacity: 0.8;
}

.footer-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-align: center;
}

/* Particles Container */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Ensure content is above particles */
section,
nav,
footer {
    position: relative;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100vh) translateX(20px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

@media (max-width: 768px) {

    .pain-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 120px 0 60px;
        position: relative;
        /* Ensure it is the anchor */
    }

    .nav-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    .logo img {
        height: 50px;
        /* Proportional for mobile */
    }

    /* Hero Mobile Background Image Style */
    .hero-visual {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        /* Behind text */
        opacity: 0.3;
        /* Opacity for readability */
        margin: 0;
    }

    .visual-wrapper.glass-card,
    .visual-wrapper {
        background: transparent;
        padding: 0;
        border: none;
        height: 100%;
        border-radius: 0;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        box-shadow: none;
    }

    .floating-animation {
        animation: none;
        /* Static */
    }

    .hero-content {
        position: relative;
        z-index: 5;
        /* Above image */
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
        /* Enhance contrast */
    }

    /* Requirement 1: Hide particles on mobile */
    #particles-container {
        display: none !important;
    }

    /* Requirement 2: Highlight cards on scroll (Mobile only) */
    .glass-card-red.in-view {
        border-color: var(--color-secondary) !important;
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.3) !important;
        transform: translateY(-5px);
    }

    .flip-card-back.in-view,
    .process-card.in-view,
    .success-card.in-view,
    .contact-form-wrapper.in-view {
        border-color: var(--color-primary) !important;
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.3) !important;
        transform: translateY(-5px);
    }

    .flip-card.in-view .flip-card-inner {
        transform: rotateY(180deg);
        transition-delay: 1.5s;
        /* Delay to read title before flipping */
    }

    /* Requirement 3: More contrast for the form on mobile */
    .contact-form-wrapper {
        background: rgba(0, 0, 0, 0.6) !important;
        /* Darker background */
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        /* Brighter border */
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        background: rgba(15, 15, 15, 0.9) !important;
        /* Darker inputs */
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    .form-group label {
        color: var(--color-primary) !important;
        /* Primary color for labels to stand out */
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
}

/* How it Works Section */
.how-it-works {
    padding: 100px 0;
}

.label-red {
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.section-title-large {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.section-subtitle-small {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

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

.process-card-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

.process-card-wrapper:hover {
    transform: translateY(-10px);
}

.process-card-wrapper:hover .process-card {
    border-color: var(--color-primary);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.15);
}

.process-card-wrapper:hover .step-number {
    opacity: 0.8;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.5;
    /* Increased base visibility */
    line-height: 1;
    font-family: var(--font-heading);
    margin-top: -10px;
    min-width: 80px;
    transition: opacity 0.3s ease;
}

.process-card {
    flex: 1;
    text-align: left;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.process-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.process-card p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.process-list {
    list-style: none;
    padding: 0;
}

.process-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--color-text);
    font-weight: 500;
}

.icon-small {
    color: var(--color-primary);
    width: 18px;
    height: 18px;
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section-title-large {
        font-size: 2.5rem;
    }
}

/* Success Cases Section */
.success-cases {
    padding: 100px 0;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.success-card {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.success-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.15);
    transform: translateY(-10px);
}

.case-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.case-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.case-quote {
    color: var(--color-text-muted);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
}

.case-author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.case-author strong {
    display: block;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.case-author span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

@media (max-width: 992px) {
    .success-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .success-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.contact-info .section-title-large {
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact-info .section-description {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 500px;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon-wrapper {
    background: rgba(34, 197, 94, 0.1);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-wrapper i {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.feature-text p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.contact-form-wrapper {
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    transition: all 0.4s ease;
}

.contact-form-wrapper:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.25);
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(34, 197, 94, 0.05);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-group select option {
    background-color: #0c0c0c;
    /* Casi negro para mejor estética */
    color: #ffffff;
}

.btn-primary-form {
    width: 100%;
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
}

.btn-primary-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
}

.form-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-info .section-title-large {
        text-align: center;
    }

    .contact-info .section-description {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 500px;
    width: 90%;
    padding: 3rem;
    position: relative;
    border: 1px solid var(--color-primary);
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.modal-close:hover {
    opacity: 1;
    color: var(--color-primary);
}

.success-icon-large {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.success-icon-large i {
    width: 64px;
    height: 64px;
}

.highlight-text {
    color: #ffffff;
    font-weight: 600;
    margin-top: 1rem;
    font-size: 1.1rem;
}