:root {
    --primary: #2c2d6d;
    --primary-focus: #1a1a4e;
    --secondary: #adbe50;
    --accent: #00a86b;
    --light-blue: #f0f8ff;
    --dark-text: #2c3e50;
    --light-text: #6c757d;
    --success-green: #28a745;
}

section {
    padding: 80px 0;
    position: relative;
}

section h1,
section h2,
section h3,
section h4,
section h5,
section h6 {
    font-weight: 800 !important;
    line-height: 1.3;
}

p {
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

section.bg-light {
    background: linear-gradient(120deg, #f8fafc 70%, #e2e8f0 100%);
}

section.bg-white {
    background: white;
}

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

.bg-primary {
    background: var(--primary) !important;
    color: white !important;
}

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

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

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
}

.btn-primary,
.btn-secondary,
.btn-outline,
.btn-outline-white {
    color: white;
    padding: 10px 25px;
    font-weight: 700;
    border-radius: 50px;
    border-width: 2px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-white {
    color: white;
    border-color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--primary-focus);
    box-shadow: 0 0 0 0.25rem rgba(44, 45, 109, 0.25);
}

.image-frame {
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.13);
    border: 1px solid rgba(44, 45, 109, 0.1);
    overflow: hidden;
}
.image-frame img {
    border-radius: 12px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Spinner */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary) !important;
    margin-right: 0;
}

.navbar-nav .nav-link {
    font-weight: 700;
    color: var(--dark-text) !important;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
    --transition-duration: 0.7s;
}

.hero-background {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* Left navy wash */
        radial-gradient(
            ellipse 85% 75% at 0% 0%,
            rgba(44, 45, 109, 0.08) 0%,
            rgba(44, 45, 109, 0.04) 35%,
            rgba(44, 45, 109, 0) 70%
        ),
        /* Right green glow */
        radial-gradient(
                ellipse 90% 80% at 100% 20%,
                rgba(173, 190, 80, 0.2) 0%,
                rgba(173, 190, 80, 0.12) 35%,
                rgba(173, 190, 80, 0) 75%
            ),
        /* Center blend */
        radial-gradient(
                ellipse 120% 100% at 50% 50%,
                rgba(255, 255, 255, 0.6) 0%,
                rgba(255, 255, 255, 0.3) 40%,
                rgba(255, 255, 255, 0) 70%
            ),
        /* Base gradient */
        linear-gradient(120deg, #f4f7fb 0%, #eef4f6 45%, #e8f2ec 100%);
}

.hero-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(
        to bottom,
        rgba(11, 18, 32, 0.18) 0%,
        rgba(11, 18, 32, 0.08) 10%,
        rgba(11, 18, 32, 0) 20%
    );
    z-index: 3;
}

.corner-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%);
    transform-origin: bottom right;
    aspect-ratio: 1 / 1;
    opacity: 0.95;
}
.corner-circle-1 {
    width: 220px;
    border-color: rgba(0, 168, 107, 0.15);
}
.corner-circle-2 {
    width: 520px;
    border-color: rgba(44, 45, 109, 0.12);
}
.corner-circle-3 {
    width: 920px;
    border-color: rgba(0, 168, 107, 0.08);
}
.corner-circle-4 {
    width: 1400px;
    border-color: rgba(44, 45, 109, 0.06);
}

.hero-inner {
    position: relative;
    width: 100vw;
    height: 50vh;
    min-height: 600px;
    overflow: hidden;
}

/* Logo Animation */
#intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    transition: all 0.2s ease-out;
    padding: 0 !important;
    z-index: 2;
}
#intro-video.ended {
    opacity: 0;
    display: none;
}

#intro-video video {
    width: 100vw;
    height: 100%;
    background: #fff;
    opacity: 0.92;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    transition:
        opacity var(--transition-duration) cubic-bezier(0.4, 0, 0.2, 1),
        transform var(--transition-duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 40px;
    pointer-events: auto;
}

.hero-logo {
    max-width: 50vw;
    height: auto;
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.4;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px 0;
    cursor: default;
}

.pill-stagger-1 {
    margin-left: 32px;
}
.pill-stagger-3 {
    margin-left: 64px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid var(--stroke);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    font-weight: 500;
    color: #23244a;
    font-size: 0.92rem;
}

.pill i {
    color: var(--primary);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-container.visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 991px) {
    .hero-content {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .hero-inner {
        height: auto;
        min-height: 0;
    }
    .hero-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        position: relative;
        height: auto;
    }
    .hero-content {
        padding: 32px 16px;
        align-items: center;
        text-align: center;
    }
    .hero-container > div:first-child {
        justify-content: center;
        align-items: center;
        padding: 32px 16px;
    }
    .hero-logo {
        max-width: none;
        width: 60vw;
    }
    .hero-pills {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    .pill-stagger-1 {
        margin-left: 0;
    }
    .pill-stagger-3 {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 100%;
    }
}

/* Video Section */
.video-container {
    position: relative;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.video-wrapper img {
    width: 100%;
    height: auto;
}

.video-overlay {
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 2;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.play-button,
.play-button i {
    cursor: pointer;
}

.play-button:hover {
    background: white;
    color: var(--primary);
    transform: scale(1.1);
}

.play-button i {
    font-size: 2rem;
    margin-left: 5px;
}

/* CTA Banner */
.cta-section {
    padding: 40px 0;
    background:
        radial-gradient(
            ellipse 70% 70% at 20% 0%,
            rgba(173, 190, 80, 0.18),
            rgba(173, 190, 80, 0) 60%
        ),
        linear-gradient(135deg, rgba(44, 45, 109, 1), rgba(26, 26, 78, 1));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-image {
    height: 320px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    margin-top: -70px;
    margin-bottom: -70px;
    z-index: 6;
}

.cta-image img {
    border-radius: 50%;
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin-top: -70px;
    margin-bottom: -70px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
    flex-grow: 0;
}

.features-icon i {
    color: #fff;
    font-size: 1rem;
}

/* Brands Section */
.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
}

.service-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* CTA Section */
.cta {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 100%
    );
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta .display-5 {
    font-weight: 700;
}

.cta .lead {
    opacity: 0.9;
}

/* Back to Top Button */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.btn-back-to-top:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
