/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #6b6b6b;

    /* Accent Colors */
    --accent-blue: #60A5FA;
    --accent-purple: #A78BFA;
    --accent-green: #34D399;
    --accent-cyan: #22D3EE;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #60A5FA 0%, #A78BFA 100%);
    --gradient-secondary: linear-gradient(135deg, #34D399 0%, #3B82F6 100%);
    --gradient-glow: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);

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

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(96, 165, 250, 0.3);
}

body {
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #ffffff;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

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

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

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-video-container {
    max-width: 1000px;
    margin: 3rem auto;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.video-wrapper {
    position: relative;
    padding: 56.25% 0 0 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(96, 165, 250, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 1s backwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* Services Section */
.services {
    padding: var(--spacing-xl) 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.service-card {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(42, 42, 42, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 3rem;
    transition: all 0.4s ease;
    overflow: hidden;
    isolation: isolate;
}

.spark-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/spark_bg.png');
    background-size: 150% auto;
    background-position: left top;
    background-repeat: no-repeat;
    opacity: 0.5;
    mix-blend-mode: luminosity;
    z-index: -1;
    transition: all 0.4s ease;
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 70%);
    mask-image: linear-gradient(to bottom, black 20%, transparent 70%);
}

.handover-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/handover_bg.png');
    background-size: 150% auto;
    background-position: 60% top;
    background-repeat: no-repeat;
    opacity: 0.5;
    mix-blend-mode: luminosity;
    z-index: -1;
    transition: all 0.4s ease;
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 70%);
    mask-image: linear-gradient(to bottom, black 20%, transparent 70%);
}

.service-card:hover::after {
    opacity: 0.7;
    background-size: 160% auto;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(167, 139, 250, 0.2);
    border: 1px solid rgba(167, 139, 250, 0.4);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-purple);
    margin-bottom: 1.5rem;
}

.service-icon {
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

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

.service-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.service-tagline {
    font-size: 1rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-icon {
    color: var(--accent-blue);
    flex-shrink: 0;
}

.video-container {
    position: relative;
    padding: 56.25% 0 0 0;
    margin-top: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Benefits Section */
.benefits {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.5) 50%, transparent 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

/* Benefit Cards Refined */
/* Benefit Cards Simplified (Big Number) */
.stat-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(42, 42, 42, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    /* Centered layout */
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 8px 32px rgba(96, 165, 250, 0.15);
}

.stat-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 5rem;
    /* Big */
    font-weight: 800;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease-out;
}

.stat-number.pop-ready {
    opacity: 0;
    transform: scale(0.5);
}

.stat-number.pop-active {
    opacity: 1;
    transform: scale(1);
}

.stat-list {
    list-style: none;
    margin: 0 0 auto 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.stat-list li {
    color: var(--text-secondary);
    font-size: 1.1rem;
    padding: 0;
    /* No padding */
    text-align: center;
}

.stat-list li::before {
    display: none;
    /* No icons */
}

.stat-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.stat-quote {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.cta-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(42, 42, 42, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.newsletter-container {
    margin: 2rem auto;
    max-width: 500px;
}

/* Brevo Form Custom Styles */
.sib-form {
    background: transparent !important;
    padding: 0 !important;
}

.sib-container--large {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.form__entry {
    margin-bottom: 1rem;
}

.entry__label {
    display: block;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-family: 'Lexend', sans-serif !important;
}

.entry__field input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Lexend', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.entry__field input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

.entry__field input::placeholder {
    color: var(--text-muted);
}

.entry__specification {
    display: none !important;
}

.entry__error {
    color: #ef4444 !important;
    background: transparent !important;
    font-size: 0.875rem !important;
    margin-top: 0.5rem;
    text-align: left;
    display: block;
}

.sib-form-block__button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-family: 'Lexend', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sib-form-block__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.4);
}

.sib-form-message-panel {
    border-radius: var(--radius-md) !important;
    display: none;
    /* Hide by default */
}

.sib-form-message-panel.sib-form-message-panel--active {
    display: block !important;
}

#success-message.sib-form-message-panel--active~#sib-container {
    display: none !important;
}

.sib-form-message-panel__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sib-form-message-panel svg {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto !important;
    display: block !important;
    fill: currentColor;
}

#success-message {
    background: rgba(52, 211, 153, 0.1) !important;
    border: 1px solid rgba(52, 211, 153, 0.3) !important;
    color: var(--accent-green) !important;
    text-align: center;
}

#error-message {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #ef4444 !important;
    text-align: center;
}

.sib-form-block__button svg {
    width: 20px !important;
    height: 20px !important;
    margin-right: 0.5rem;
    fill: currentColor;
    display: inline-block !important;
}

.sib-hide-loader-icon {
    display: none;
}

.input--hidden {
    display: none;
}

.cta-email {
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.cta-email a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cta-email a:hover {
    color: var(--accent-purple);
}

/* Footer */
.footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-contact-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-email {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Pop-out Animation for Stats */
.stat-number {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease-out;
}

.stat-number.pop-ready {
    opacity: 0;
    transform: scale(0.5);
}

.stat-number.pop-active {
    opacity: 1;
    transform: scale(1);
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .service-card {
        padding: 2rem;
    }

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

    .value-prop-card {
        padding: 2rem;
    }

    .value-prop-header {
        flex-direction: column;
        gap: 1rem;
    }

    .value-prop-description {
        margin-left: 0;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    }

    .impact-metrics {
        flex-direction: column;
        gap: 2rem;
        margin-top: 3rem;
    }

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(96, 165, 250, 0.3);
    color: white;
}