/* =============================================
   FONTS
   ============================================= */
@font-face {
    font-family: 'ConfigRounded';
    src: url('../assets/fonts/ConfigRoundedLight.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'ConfigRounded';
    src: url('../assets/fonts/ConfigRoundedRegular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'ConfigRounded';
    src: url('../assets/fonts/ConfigRoundedMedium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'ConfigRounded';
    src: url('../assets/fonts/ConfigRoundedSemibold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'ConfigRounded';
    src: url('../assets/fonts/ConfigRoundedBold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'ConfigRounded';
    src: url('../assets/fonts/ConfigRoundedExtrabold.ttf') format('truetype');
    font-weight: 800;
    font-display: swap;
}

/* =============================================
   VARIABLES
   ============================================= */
:root {
    --purple:       #5500f9;
    --purple-mid:   #6d0ef5;
    --purple-light: #9f1ae2;
    --lime:         #bde517;
    --dark:         #0a0a0f;
    --dark-purple:  #0e0520;
    --off-white:    #f8f8fc;
    --gray:         #f2f2f8;
    --body-color:   #3a3a4a;
    --scroll-speed: 50s;
}

/* =============================================
   BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', sans-serif;
    color: var(--body-color);
    background: #fff;
    overflow-x: hidden;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'ConfigRounded', sans-serif;
}

/* Bootstrap btn overrides */
.btn-primary {
    background: var(--purple);
    border-color: var(--purple);
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 600;
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--purple-mid);
    border-color: var(--purple-mid);
}
.btn-outline-light {
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 600;
}

/* =============================================
   NAVIGATION
   ============================================= */
#mainNav {
    background: transparent;
    padding: 1.25rem 0;
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
#mainNav.scrolled {
    background: rgba(10, 10, 15, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 0.65rem 0;
}
#mainNav .navbar-brand img {
    height: 2.4rem;
}
#mainNav .nav-link {
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 500;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    padding: 0.45rem 0.8rem;
    transition: color 0.2s;
}
#mainNav .nav-link:hover {
    color: #fff;
}
.nav-cta {
    font-size: 0.88rem;
}
.navbar-toggler {
    border: none;
    padding: 0.25rem;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler .bi-list {
    color: #fff;
    font-size: 1.6rem;
}

@media (max-width: 991px) {
    #mainNav {
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        padding: 0.75rem 0;
    }
    .navbar-collapse { padding: 0.75rem 0 1rem; }
    .nav-cta { margin-top: 0.75rem; width: 100%; text-align: center; }
}

/* =============================================
   HERO
   ============================================= */
.hero-section {
    background: var(--dark);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Atmospheric glow blobs */
.hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(85, 0, 249, 0.28) 0%, transparent 68%);
    top: 40%;
    left: 20%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.hero-glow-2 {
    background: radial-gradient(circle, rgba(159, 26, 226, 0.18) 0%, transparent 65%);
    top: 70%;
    left: 70%;
    width: 500px;
    height: 500px;
}

.hero-row {
    padding-top: 5.5rem;
    padding-bottom: 3rem;
}
.hero-content { position: relative; z-index: 1; }

.hero-headline {
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 5.5vw, 3.75rem);
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.025em;
    margin-bottom: 1.75rem;
}
.hero-headline-accent { color: var(--lime); }

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 1.75rem;
}
.hero-metric {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}
.hero-metric i { color: var(--lime); font-size: 0.8rem; }
.hero-metric-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    max-width: 460px;
    margin-bottom: 0;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.5rem;
}
.hero-ctas .btn-lg {
    font-size: 0.95rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

/* Phone mockup */
.hero-phone-wrapper {
    position: relative;
    padding: 3rem 2rem;
}
.phone-mockup {
    width: 250px;
    background: #1c1c1e;
    border-radius: 44px;
    padding: 14px;
    position: relative;
    box-shadow:
        0 0 0 2px #2e2e30,
        0 50px 100px rgba(85, 0, 249, 0.45),
        0 20px 40px rgba(0, 0, 0, 0.6);
    margin: 0 auto;
}
.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 26px;
    background: #1c1c1e;
    border-radius: 0 0 18px 18px;
    z-index: 2;
}
.phone-screen-img {
    width: 100%;
    border-radius: 32px;
    display: block;
}

/* Floating info badges */
.hero-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 14, 22, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    color: #fff;
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 0.55rem 1.1rem;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hero-badge i { color: var(--lime); font-size: 1rem; }
.hero-badge-1 { top: 18%; left: -14%; }
.hero-badge-2 { bottom: 20%; right: -12%; }

/* Scroll nudge */
.hero-scroll-indicator {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.25);
    font-size: 1.4rem;
    animation: nudge 2.2s ease-in-out infinite;
}
@keyframes nudge {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.25; }
    50%       { transform: translateX(-50%) translateY(7px); opacity: 0.55; }
}

/* =============================================
   SECTION UTILITIES
   ============================================= */
section { padding: 6rem 0; }

.section-eyebrow {
    display: block;
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 0.85rem;
}
.section-eyebrow-lime { color: var(--lime) !important; }

.section-title {
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    line-height: 1.15;
    color: #111;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.section-body {
    font-size: 1.05rem;
    color: var(--body-color);
    line-height: 1.78;
    margin-bottom: 1rem;
}

/* Background variants */
.section-light      { background: #fff; }
.section-gray       { background: var(--gray); }
.section-dark       { background: var(--dark); }
.section-dark-purple{ background: var(--dark-purple); }
.section-gradient   { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%); }

/* =============================================
   ABOUT — visual panel
   ============================================= */
.about-visual {
    position: relative;
    height: 430px;
}
.dot-grid {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background-image: radial-gradient(circle, rgba(85, 0, 249, 0.17) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
}
.about-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.09);
    padding: 1rem 1.35rem;
    font-family: 'ConfigRounded', sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(85, 0, 249, 0.12);
}
.about-card-1 { top: 32px;  right: 16px; }
.about-card-2 { top: 50%;   left: 16px;  transform: translateY(-50%); }
.about-card-2:hover { transform: translateY(calc(-50% - 3px)); }
.about-card-3 { bottom: 32px; right: 16px; }
.about-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.about-card-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: #111;
    line-height: 1.2;
}
.about-card-sub {
    font-size: 0.72rem;
    color: #999;
    font-weight: 400;
    margin-top: 0.15rem;
}

/* =============================================
   VISION
   ============================================= */
.vision-section { padding: 8rem 0; }
.vision-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.vision-eyebrow {
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 1.5rem;
    display: block;
}
.vision-mark {
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 800;
    font-size: 8rem;
    line-height: 0.55;
    color: var(--lime);
    opacity: 0.55;
    margin-bottom: 1.5rem;
    display: block;
}
.vision-text {
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 600;
    font-size: clamp(1.45rem, 3.5vw, 2.1rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    border: none;
    padding: 0;
    margin: 0;
}

/* =============================================
   FEATURE CARDS — What We Do
   ============================================= */
.feature-card {
    background: #fff;
    border-radius: 22px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.055);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 44px rgba(85, 0, 249, 0.13);
}
.feature-icon {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}
.feature-title {
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #111;
    margin-bottom: 0.7rem;
}
.feature-body {
    font-size: 0.93rem;
    color: #888;
    line-height: 1.65;
    margin: 0;
}

/* =============================================
   PARTNERS SLIDER
   ============================================= */
.partners-section { overflow: hidden; }
.logo-slider {
    overflow: hidden;
    width: 100%;
    padding: 1.5rem 0;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.logo-track {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    width: max-content;
    animation: logo-scroll var(--scroll-speed, 50s) linear infinite;
}
.logo-track img {
    height: 5rem;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(30%);
    transition: opacity 0.25s, filter 0.25s;
}
.logo-track img:hover {
    opacity: 1;
    filter: grayscale(0);
}
@keyframes logo-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =============================================
   TEAM
   ============================================= */
.team-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.055);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 44px rgba(85, 0, 249, 0.11);
}
.team-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
}
.team-avatar-1 {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
}
.team-avatar-2 {
    background: linear-gradient(135deg, #1a1a9f, var(--purple));
}
.team-name {
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #111;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}
.team-linkedin {
    color: var(--purple);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1;
}
.team-linkedin:hover { color: var(--purple-light); }
.team-role {
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 1rem;
}
.team-bio {
    font-size: 0.94rem;
    color: #777;
    line-height: 1.72;
    margin: 0;
}

/* =============================================
   RECOGNITION
   ============================================= */
.recognition-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
    cursor: default;
}
a.recognition-card { cursor: pointer; }
.recognition-card:hover {
    background: rgba(85, 0, 249, 0.1);
    border-color: rgba(85, 0, 249, 0.28);
    transform: translateY(-3px);
}
.recognition-card-featured {
    background: rgba(189, 229, 23, 0.05);
    border-color: rgba(189, 229, 23, 0.18);
}
.recognition-card-featured:hover {
    background: rgba(189, 229, 23, 0.09);
    border-color: rgba(189, 229, 23, 0.38);
}
.recognition-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(85, 0, 249, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.35rem;
    flex-shrink: 0;
}
.recognition-icon-lime {
    background: rgba(189, 229, 23, 0.14);
    color: var(--lime);
}
.recognition-body { flex: 1; min-width: 0; }
.recognition-source {
    font-family: 'ConfigRounded', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.3rem;
}
.recognition-title {
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.4rem;
    line-height: 1.25;
}
.recognition-desc {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
}
.recognition-arrow {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
    transition: color 0.25s;
}
.recognition-card:hover .recognition-arrow { color: var(--lime); }

/* =============================================
   PRESS
   ============================================= */
.press-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.press-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border: 1.5px solid #e0e0ee;
    border-radius: 100px;
    color: #444;
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    background: #fff;
    transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.press-badge i { font-size: 0.85rem; }
.press-badge:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(85, 0, 249, 0.28);
}

/* =============================================
   DOWNLOAD
   ============================================= */
.section-gradient .section-title { color: #fff; }
.app-badge { height: 3.25rem; transition: transform 0.2s, opacity 0.2s; }
.app-badge:hover { transform: scale(1.04); opacity: 0.9; }

/* =============================================
   CONTACT
   ============================================= */
#contact .btn-lg {
    font-size: 0.95rem;
    padding: 0.85rem 2.5rem;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: #060608;
    padding: 2.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    text-align: center;
}
.footer-logo { height: 2rem; opacity: 0.6; }
.footer-links {
    display: flex;
    gap: 1.6rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
    font-size: 0.77rem;
    color: rgba(255, 255, 255, 0.2);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger children in rows */
.row .fade-in:nth-child(2) { transition-delay: 0.08s; }
.row .fade-in:nth-child(3) { transition-delay: 0.16s; }
.row .fade-in:nth-child(4) { transition-delay: 0.24s; }
.row .fade-in:nth-child(5) { transition-delay: 0.32s; }

/* =============================================
   RESPONSIVE TWEAKS
   ============================================= */
@media (max-width: 991px) {
    .hero-badge-1 { left: 4%; top: 22%; }
    .hero-badge-2 { right: 4%; bottom: 12%; }
    .hero-phone-wrapper { padding: 2rem 1rem; width: 100%; }
    .phone-mockup { width: 200px; }
}

@media (max-width: 767px) {
    section { padding: 4.5rem 0; }
    .vision-section { padding: 5rem 0; }
    .vision-mark { font-size: 5rem; }
    .about-visual { height: 340px; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; }
    .hero-metrics { gap: 0.4rem 0.6rem; }
}

/* =============================================
   CONTACT MODAL
   ============================================= */
.contact-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}
.contact-modal-header {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    border: none;
    padding: 1.5rem 1.75rem;
}
.contact-modal-title {
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.15rem;
}
.contact-input {
    border-radius: 12px !important;
    border: 1.5px solid #e8e8f0;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.contact-input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(85, 0, 249, 0.1);
}
.contact-role-label {
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #555;
    display: block;
    margin-bottom: 0.6rem;
}
.contact-role-options {
    display: flex;
    gap: 1.25rem;
}
.contact-role-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 500;
    font-size: 0.88rem;
    color: #444;
    cursor: pointer;
}
.contact-role-option input { accent-color: var(--purple); }
.contact-success {
    font-family: 'ConfigRounded', sans-serif;
    font-weight: 600;
    color: #2a9d5c;
    font-size: 0.95rem;
}
