html {
    scroll-behavior: smooth;
}

:root {
    --bg-color: #05070a;
    --primary-color: #00d1b2;
    --secondary-color: #7d52f4;
    --accent-color: #ff3860;
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Stars */
.star-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    overflow: hidden;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.5;
    animation: twinkle var(--duration) infinite ease-in-out;
}

@keyframes twinkle {

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

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Navigation */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    /* padding: 1rem 2rem; */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-brand img {
    height: 80px;
    margin-right: 10px;
    /* margin-top: -10px; */
}

.footer-brand {
    color: var(--primary-color) !important;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.footer-brand img {
    height: 85px;
    margin-right: 12px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

#globe-container {
    width: 100%;
    height: 600px;
    z-index: 0;
    pointer-events: auto;
    position: relative; /* Contain floating icons */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Soft global shadow/glow for 3D depth */
    filter: drop-shadow(0 0 80px rgba(0, 209, 178, 0.15));
    background: radial-gradient(circle at center, rgba(0, 209, 178, 0.05) 0%, transparent 70%);
}

.hero-content {
    z-index: 10;
    max-width: 800px;
    pointer-events: all;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(90deg, #fff, var(--primary-color), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    z-index: 5;
}

/* Glass Cards & Grids */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 209, 178, 0.3);
}

/* Feature Specific Styles */
.feature-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 209, 178, 0.15);
    color: var(--primary-color);
    width: fit-content;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flag-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.coin-glow {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Section Title Styling */
.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons & CTA */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), #00bfa5);
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 209, 178, 0.4);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--glass-border);
    padding: 0.8rem 2.1rem;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--glass-border);
    border-color: #fff;
}

/* Staggered Dual Mockup Styling (Used in About & Social) */
.about-dual-mockup {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-mockup-1 {
    z-index: 2;
    transform: translateX(-40px) rotate(-3deg);
    transition: all 0.5s ease;
}

.about-mockup-2 {
    position: absolute;
    z-index: 1;
    transform: translateX(60px) translateY(40px) rotate(5deg);
    opacity: 0.7;
    transition: all 0.5s ease;
}

.about-dual-mockup:hover .about-mockup-1 {
    transform: translateX(-60px) rotate(-6deg) scale(1.05);
}

.about-dual-mockup:hover .about-mockup-2 {
    transform: translateX(90px) translateY(60px) rotate(8deg) scale(1.05);
    opacity: 1;
}

/* Feature Pills */
.feature-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-color);
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Mockup Layouts */
.mockup-container {
    position: relative;
    padding: 20px;
}

.mockup-img {
    width: auto;
    max-width: 100%;
    max-height: 600px;
    display: block;
    margin: 0 auto;
    border-radius: 36px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Dual Mockup Staggered Layout */
.dual-mockup-container {
    position: relative;
    height: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-item {
    position: absolute;
    width: 280px;
    transition: all 0.5s ease;
}

.primary-mockup {
    z-index: 2;
    transform: translateX(-60px) rotate(-5deg);
}

.secondary-mockup {
    z-index: 1;
    transform: translateX(80px) translateY(40px) rotate(5deg);
    opacity: 0.8;
}

.dual-mockup-container:hover .primary-mockup {
    transform: translateX(-80px) rotate(-8deg) scale(1.05);
}

.dual-mockup-container:hover .secondary-mockup {
    transform: translateX(110px) translateY(60px) rotate(8deg) scale(1.05);
    opacity: 1;
}

@media (max-width: 991px) {
    .dual-mockup-container {
        height: 500px;
    }

    .mockup-item {
        width: 220px;
    }
}

/* Hardware Acceleration to prevent blinking/flickers */
[class*='animate-img'],
[class*='ajuba-'] {
    will-change: transform, filter;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

/* Image Animations */
@keyframes imageFloat {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    }

    50% {
        transform: translateY(-15px);
        box-shadow: 0 60px 100px rgba(0, 0, 0, 0.8);
    }
}

.animate-img-float {
    animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageSwing {

    0%,
    100% {
        transform: rotate(0deg) translateY(0);
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    }

    25% {
        transform: rotate(1.5deg) translateY(-5px);
        box-shadow: 0 45px 85px rgba(0, 209, 178, 0.2);
    }

    75% {
        transform: rotate(-1.5deg) translateY(5px);
        box-shadow: 0 35px 75px rgba(125, 82, 244, 0.2);
    }
}

.animate-img-swing {
    animation: imageSwing 8s ease-in-out infinite;
}

@keyframes imageBreathe {

    0%,
    100% {
        transform: scale(1) translateY(0);
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    }

    50% {
        transform: scale(1.02) translateY(-8px);
        box-shadow: 0 50px 100px rgba(0, 209, 178, 0.3);
    }
}

.animate-img-breathe {
    animation: imageBreathe 7s ease-in-out infinite;
}

@keyframes image3DWobble {

    0%,
    100% {
        transform: perspective(800px) rotateX(0deg) rotateY(0deg) translateY(0);
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    }

    33% {
        transform: perspective(800px) rotateX(3deg) rotateY(2deg) translateY(-8px);
        box-shadow: 0 45px 90px rgba(125, 82, 244, 0.3);
    }

    66% {
        transform: perspective(800px) rotateX(-3deg) rotateY(-2deg) translateY(3px);
        box-shadow: 0 35px 70px rgba(0, 209, 178, 0.3);
    }
}

.animate-img-wobble {
    animation: image3DWobble 9s ease-in-out infinite;
}

/* AI Highlight Box */
.ai-box {
    background: linear-gradient(135deg, rgba(125, 82, 244, 0.1), rgba(0, 209, 178, 0.05));
    border: 1px solid rgba(125, 82, 244, 0.2);
    border-radius: 30px;
    padding: 3rem;
    margin-top: 2rem;
}

/* Ajuba Magical Animations */
@keyframes gentleBob {

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

    50% {
        transform: translateY(-6px) scale(1.02);
    }
}

@keyframes colorPulse {

    0%,
    100% {
        filter: hue-rotate(0deg) drop-shadow(0 0 0px transparent);
    }

    50% {
        filter: hue-rotate(45deg) drop-shadow(0 0 10px rgba(0, 209, 178, 0.6));
    }
}

.ajuba-heading {
    animation: gentleBob 3.5s ease-in-out infinite, colorPulse 4s ease-in-out infinite;
    display: inline-block;
    background: linear-gradient(to right, #ffffff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Variant 2: Side drift and neon */
@keyframes sideDrift {

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

    50% {
        transform: translateX(5px) scale(1.01);
    }
}

@keyframes neonPulse {

    0%,
    100% {
        color: var(--primary-color);
        text-shadow: 0 0 10px rgba(0, 209, 178, 0.2);
    }

    50% {
        color: #fff;
        text-shadow: 0 0 15px rgba(125, 82, 244, 0.6), 0 0 20px var(--primary-color);
    }
}

.ajuba-heading-2 {
    animation: sideDrift 4s ease-in-out infinite, neonPulse 3s infinite;
    display: inline-block;
}

/* Variant 3: 3D Tilt */
@keyframes tiltSpin {

    0%,
    100% {
        transform: perspective(400px) rotateY(0deg) rotateX(0deg);
    }

    25% {
        transform: perspective(400px) rotateY(4deg) rotateX(2deg);
    }

    75% {
        transform: perspective(400px) rotateY(-4deg) rotateX(-2deg);
    }
}

.ajuba-heading-3 {
    animation: tiltSpin 5s ease-in-out infinite, colorPulse 4.5s ease-in-out infinite;
    display: inline-block;
    background: linear-gradient(to right, #ffffff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Variant 4: Elastic bounce */
@keyframes elasticBounce {

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

    30% {
        transform: scaleX(1.02) scaleY(0.98);
    }

    40% {
        transform: scaleX(0.98) scaleY(1.02);
    }

    50% {
        transform: scale(1);
    }
}

.ajuba-heading-4 {
    animation: elasticBounce 4.5s cubic-bezier(0.28, 0.84, 0.42, 1) infinite, colorPulse 5s infinite;
    display: inline-block;
    background: linear-gradient(to right, #ffffff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Icon Variants */
@keyframes iconWiggle {

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

    25% {
        transform: translateY(-5px) rotate(12deg);
        box-shadow: 0 15px 25px rgba(0, 209, 178, 0.5);
    }

    75% {
        transform: translateY(3px) rotate(-12deg);
    }
}

.ajuba-icon-wrapper {
    animation: iconWiggle 4s ease-in-out infinite;
}

@keyframes heartbeatJump {

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

    10% {
        transform: scale(1.1) translateY(-5px) rotate(-5deg);
        text-shadow: 0 0 10px var(--accent-color);
    }

    20% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.1) translateY(-5px) rotate(5deg);
        text-shadow: 0 0 10px var(--accent-color);
    }

    40% {
        transform: scale(1);
    }
}

.ajuba-icon-wrapper-2 {
    animation: heartbeatJump 3s ease-in-out infinite;
}

@keyframes popScale {

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

    50% {
        transform: scale(1.15);
        box-shadow: 0 0 20px rgba(125, 82, 244, 0.6);
    }
}

.ajuba-icon-wrapper-3 {
    animation: popScale 3.5s ease-in-out infinite;
}

/* Showcase Section Styles */
#showcase {
    background: radial-gradient(circle at center, rgba(125, 82, 244, 0.05) 0%, transparent 70%);
}

.showcase-swiper {
    padding: 50px 0 100px 0;
    width: 100%;
}

.showcase-swiper .swiper-slide {
    width: 300px;
    height: auto;
    filter: blur(2px) grayscale(50%);
    opacity: 0.5;
    transition: all 0.5s ease;
}

.showcase-swiper .swiper-slide-active {
    filter: blur(0) grayscale(0);
    opacity: 1;
    transform: scale(1.1);
    z-index: 2;
}

/* Glassmorphism Phone Frame */
.phone-frame {
    position: relative;
    width: 100%;
    border-radius: 40px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.phone-frame img {
    border-radius: 30px;
    width: 100%;
    height: auto;
    display: block;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #05070a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.swiper-pagination-bullet {
    background: var(--primary-color) !important;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 25px !important;
    border-radius: 5px !important;
}

/* FAQ Section Styling */
.faq-accordion .accordion-item {
    background: transparent;
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-button {
    background: transparent !important;
    color: #fff !important;
    padding: 1.5rem 2rem;
    box-shadow: none !important;
    border: none !important;
    font-weight: 600;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.05) !important;
}

.faq-accordion .accordion-button::after {
    filter: invert(1) brightness(2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-accordion .accordion-body {
    padding: 0 2rem 2rem 2rem;
    line-height: 1.8;
}

.faq-accordion .accordion-item.glass-card:hover {
    border-color: rgba(0, 209, 178, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Responsive Customizations */
@media (max-width: 768px) {
    .showcase-swiper .swiper-slide {
        width: 240px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}