/* =============================================
   White Neuron - Main Stylesheet
   Modern, Responsive & Performance Optimized
   ============================================= */

/* Inter is loaded from <head> (preconnect + stylesheet) instead of a blocking @import */

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== NAVIGATION BAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    z-index: 1000;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* Navbar transparent state enhancements */
.navbar:not(.scrolled) .logo2 {
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.navbar:not(.scrolled) .nav-links a {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.navbar:not(.scrolled) .connect-btn {
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.logo2 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #93c5fd, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(1.2);
}

/* .logo2::before {
            content: '';
            position: absolute;
            top: 50%;
            left: -10px;
            width: 8px;
            height: 8px;
            background: linear-gradient(45deg, #60a5fa, #60a5fa);
            border-radius: 50%;
            transform: translateY(-50%);
            box-shadow: 0 0 15px rgba(96, 165, 250, 0.6);
            animation: pulse 2s infinite;
        } */

@keyframes pulse {

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

    50% {
        transform: translateY(-50%) scale(1.2);
        opacity: 0.8;
    }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
}

.nav-links a.active {
    color: #60a5fa;
    font-weight: 600;
}

.nav-links a.active::before {
    width: 100% !important;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #60a5fa);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links a:hover {
    color: #60a5fa;
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    width: 100%;
}

.connect-btn {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(96, 165, 250, 0.15));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 0.8rem 2rem;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
}

.connect-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.connect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(96, 165, 250, 0.3);
    border-color: rgba(96, 165, 250, 0.6);
}

.connect-btn:hover::before {
    left: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block !important;
    height: 3px !important;
    width: 100%;
    background: #60a5fa;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
    box-sizing: border-box;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu .nav-links {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
}

.mobile-menu .nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.mobile-menu .nav-links a:hover {
    color: #60a5fa;
}

.mobile-menu .nav-links a.active {
    color: #60a5fa;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.mobile-menu .connect-btn {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: logoFloat 3s ease-in-out infinite;
}

.hero-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(96, 165, 250, 0.4));
}

@keyframes logoFloat {

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

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

.hero-subtitle {
    background: linear-gradient(135deg, #60a5fa, #93c5fd, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    margin: 0.5rem;
    margin-bottom: 2.0rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    background-color: rgba(96, 165, 250, 0.05);
    border: 1px solid rgba(96, 165, 250, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.hero-title1 {
    font-size: clamp(3rem, 8vw, 5.2rem);
    font-weight: 800;
    margin-bottom: 3rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    border: 2px solid transparent;
    background: transparent;
    color: white;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn.secondary {
    background: rgba(96, 165, 250, 0.1);
    border: 2px solid rgba(96, 165, 250, 0.3);
    color: #60a5fa;
}

.btn.secondary:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(96, 165, 250, 0.25);
}

/* Line clamp utilities */
.line-clamp-8 {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    line-clamp: 8;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn.primary {
    background: linear-gradient(135deg, rgba(59, 130, 246, .35), rgba(59, 130, 246, .2));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(40, 93, 145, 0.3);
}

.btn.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.partners {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.partners h3 {
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.partner-logos {
    display: flex;
    gap: 3rem;
    align-items: center;
    opacity: 0.6;
}

.partner-logo {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    color: #60a5fa;
    transform: translateY(-2px);
}

/* ===== 3D PARTICLE BACKGROUND ===== */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: #0a0a0a;
    /* Prevent blocking clicks */
}

/* ===== RESPONSIVE DESIGN ===== */
.navbar-actions {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    body {
        padding-top: 70px;
        /* Reduced padding for mobile */
    }

    .logo-img {
        width: 28px;
        height: 28px;
    }

    .hero-logo-img {
        width: 80px;
        height: 80px;
    }

    .navbar .nav-links {
        display: none;
    }

    .navbar .connect-btn {
        display: none;
    }

    .hamburger {
        display: flex !important;
    }

    #lang-toggle-mobile {
        display: inline-flex !important;
        padding: 2px 2px !important;
        font-size: 1.2rem !important;
    }

    /* Hide desktop lang toggle when mobile one is visible */
    #lang-toggle-desktop {
        display: none !important;
    }
}

.mobile-menu .nav-links {
    display: flex;
}

.mobile-menu .connect-btn {
    display: block;
}

@media (max-width: 1024px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

.partner-logos {
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

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

.web3-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: radial-gradient(ellipse at center, #1a1b23 0%, #0a0b0f 70%);
    position: relative;
}

.container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.devices {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.device {
    width: 180px;
    height: 120px;
    background: linear-gradient(145deg, #1e2028, #0f1015);
    border-radius: 8px;
    border: 1px solid #2a2d3a;
    position: relative;
    transition: all 0.3s ease;
}

.device:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(100, 200, 255, 0.2);
}

.laptop {
    width: 160px;
    height: 120px;
    background: linear-gradient(145deg, #2a2d3a, #1e2028);
    border: 2px solid #3a3d4a;
    border-radius: 8px 8px 4px 4px;
    position: relative;
    overflow: hidden;
}

.laptop::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 25px;
    background: linear-gradient(145deg, #0f1015, #1a1b23);
    border-radius: 4px;
    border: 1px solid #64c8ff;
}

.laptop::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 12px;
    background: linear-gradient(145deg, #2a2d3a, #1e2028);
    border-radius: 0 0 12px 12px;
    border: 2px solid #3a3d4a;
    border-top: none;
}

.laptop .screen-content {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.laptop .screen-lines {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #64c8ff, transparent);
    margin: 3px 0;
    opacity: 0.6;
    animation: screenGlow 2s infinite alternate;
}

.laptop .screen-lines:nth-child(2) {
    animation-delay: 0.3s;
    width: 80%;
}

.laptop .screen-lines:nth-child(3) {
    animation-delay: 0.6s;
    width: 60%;
}

.laptop .keyboard {
    position: absolute;
    bottom: 8px;
    left: 20px;
    right: 20px;
    height: 12px;
    background: linear-gradient(90deg, #3a3d4a, #2a2d3a);
    border-radius: 2px;
    display: flex;
    gap: 1px;
    padding: 2px;
}

.laptop .key {
    flex: 1;
    height: 8px;
    background: #1e2028;
    border-radius: 1px;
    border: 1px solid #3a3d4a;
}

.server {
    width: 160px;
    height: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
}

.server-unit {
    height: 20px;
    background: linear-gradient(90deg, #2a2d3a, #1e2028);
    border-radius: 3px;
    position: relative;
}

.server-unit::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #64c8ff;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.connection-line {
    position: absolute;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #64c8ff, #64c8ff, transparent);
    animation: flow 3s infinite;
}

.line-left {
    left: 200px;
    width: 250px;
}

.line-right {
    right: 200px;
    width: 250px;
}

.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, #2a2d3a, #1e2028);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #64c8ff;
    animation: rotate 10s linear infinite;
    padding: 15px;
    box-sizing: border-box;
}

.logo {
    width: 40px;
    height: 40px;
    background: conic-gradient(from 0deg, #64c8ff, #ffffff, #64c8ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
    font-weight: bold;
}

.web3-logo {
    width: 100%;
    height: 100%;
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
    object-position: center;
    filter: brightness(1.3) drop-shadow(0 0 10px rgba(100, 200, 255, 0.6));
    display: block;
    /* Fallback cho trường hợp logo có kích thước bất thường */
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1/1;
}

/* Đảm bảo logo container luôn là hình tròn hoàn hảo */
.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
}

.section-tag {
    font-size: 12px;
    letter-spacing: 2px;
    color: #64c8ff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.main-title {
    font-size: 40px;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #64c8ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.description {
    font-size: 16px;
    line-height: 1.6;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto 60px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, #64c8ff 0%, #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    animation: countUp 2s ease-out;
}

.stat-label {
    font-size: 16px;
    color: #a0a0a0;
    text-transform: capitalize;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #64c8ff;
    border-radius: 50%;
    animation: float 6s infinite linear;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes flow {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .devices {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
    }

    .connection-line {
        display: none;
    }

    .main-title {
        font-size: 32px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-number {
        font-size: 40px;
    }

    .logo-container {
        width: 80px;
        height: 80px;
        padding: 12px;
    }

    .web3-logo {
        max-width: 56px;
        max-height: 56px;
    }
}

@media (max-width: 1024px) {
    .logo-container {
        width: 70px;
        height: 70px;
        padding: 10px;
    }

    .web3-logo {
        max-width: 50px;
        max-height: 50px;
    }
}

/* secion2 */

.platform-wrapper {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(ellipse at center, #1a1b23 0%, #0a0b0f 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(96, 165, 250, 0.05) 0%, transparent 50%),
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
}

.main-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

.text-content {
    padding-left: 0;
}

.category-label {
    color: #60a5fa;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    opacity: 0;
    animation: slideUpFade 0.8s ease forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    opacity: 0;
    animation: slideUpFade 0.8s ease 0.2s forwards;
}

.description-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 3rem;
    max-width: 100%;
    opacity: 0;
    animation: slideUpFade 0.8s ease 0.4s forwards;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    z-index: 2;

}

.service-item {
    opacity: 0;
    animation: slideUpFade 0.8s ease forwards;
    position: relative;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.03) 0%, rgba(96, 165, 250, 0.01) 100%);
    border: 1px solid rgba(96, 165, 250, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, #60a5fa 0%, transparent 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover::before {
    transform: scaleY(1);
}

.service-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-item:hover::after {
    opacity: 1;
}

.service-item:nth-child(1) {
    animation-delay: 0.6s;
}

.service-item:nth-child(2) {
    animation-delay: 0.8s;
}

.service-item:nth-child(3) {
    animation-delay: 1s;
}

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

.service-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0.3;
    transition: all 0.4s ease;
    flex-shrink: 0;
    width: 80px;
}

.service-item:hover .service-number {
    opacity: 0.6;
    transform: scale(1.1);
}

.service-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.service-item h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa 0%, transparent 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover h3::after {
    width: 100%;
}

.service-item p {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 1.05rem;
}

.service-line {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(96, 165, 250, 0.5) 50%, transparent 100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.service-item:hover .service-line {
    opacity: 1;
    width: 60px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: slideUpFade 0.8s ease 1.2s forwards;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    width: max-content;
}

.action-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(96, 165, 250, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.action-btn:hover::before {
    opacity: 1;
}

.btn-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.action-btn:hover {
    border-color: #60a5fa;
    color: #60a5fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

.action-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.graphics-area {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.visual-element {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.2);
    animation: rotate 20s linear infinite;
}

.orbit-1 {
    width: 200px;
    height: 200px;
    animation-duration: 15s;
}

.orbit-2 {
    width: 280px;
    height: 280px;
    animation-duration: 20s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 360px;
    height: 360px;
    animation-duration: 25s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #60a5fa;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(96, 165, 250, 1), 0 0 40px rgba(96, 165, 250, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.8);
        transform: translateX(-50%) scale(1);
    }

    50% {
        box-shadow: 0 0 40px rgba(96, 165, 250, 1);
        transform: translateX(-50%) scale(1.5);
    }
}

.central-glow {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.4) 0%, rgba(96, 165, 250, 0.2) 30%, transparent 70%);
    box-shadow: 0 0 40px rgba(96, 165, 250, 0.4), inset 0 0 30px rgba(96, 165, 250, 0.3);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

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

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

.floating-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);
    border: 1px solid rgba(96, 165, 250, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.shape.active {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.8) 0%, rgba(96, 165, 250, 0.5) 100%) !important;
    border-color: rgba(96, 165, 250, 1) !important;
    box-shadow: 0 0 40px rgba(96, 165, 250, 1), 0 0 80px rgba(96, 165, 250, 0.8), inset 0 0 20px rgba(96, 165, 250, 0.6) !important;
}

.shape-1 {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    top: 10%;
    left: 10%;
    animation: float-1 6s ease-in-out infinite;
}

.shape-1.active {
    animation: float-1 6s ease-in-out infinite, rotate-bright-1 0.6s ease-out;
}

.shape-2 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 20%;
    right: 15%;
    animation: float-2 7s ease-in-out infinite;
}

.shape-2.active {
    animation: float-2 7s ease-in-out infinite, rotate-bright-2 0.6s ease-out;
}

.shape-3 {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    bottom: 20%;
    left: 15%;
    animation: float-3 8s ease-in-out infinite;
    transform: rotate(45deg);
}

.shape-3.active {
    animation: float-3 8s ease-in-out infinite, rotate-bright-3 0.6s ease-out;
}

.shape-4 {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    bottom: 15%;
    right: 20%;
    animation: float-4 5s ease-in-out infinite;
}

.shape-4.active {
    animation: float-4 5s ease-in-out infinite, rotate-bright-4 0.6s ease-out;
}

.shape-5 {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    top: 50%;
    right: 10%;
    animation: float-5 6.5s ease-in-out infinite;
}

.shape-5.active {
    animation: float-5 6.5s ease-in-out infinite, rotate-bright-5 0.6s ease-out;
}

@keyframes float-1 {

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

    50% {
        transform: translate(15px, -15px) rotate(180deg);
    }
}

@keyframes float-2 {

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

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

@keyframes float-3 {

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

    50% {
        transform: rotate(225deg) translate(10px, -10px);
    }
}

@keyframes float-4 {

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

    50% {
        transform: translate(15px, 15px) scale(1.2);
    }
}

@keyframes float-5 {

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

    50% {
        transform: translate(-10px, -20px);
    }
}

@keyframes rotate-bright-1 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(0, 0) rotate(180deg) scale(1.4);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
        opacity: 1;
    }
}

@keyframes rotate-bright-2 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(0, 0) rotate(-180deg) scale(1.5);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) rotate(-360deg) scale(1);
        opacity: 1;
    }
}

@keyframes rotate-bright-3 {
    0% {
        transform: rotate(45deg) translate(0, 0) scale(1);
        opacity: 1;
    }

    50% {
        transform: rotate(225deg) translate(0, 0) scale(1.4);
        opacity: 1;
    }

    100% {
        transform: rotate(405deg) translate(0, 0) scale(1);
        opacity: 1;
    }
}

@keyframes rotate-bright-4 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(0, 0) rotate(360deg) scale(1.6);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) rotate(720deg) scale(1);
        opacity: 1;
    }
}

@keyframes rotate-bright-5 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(0, 0) rotate(-270deg) scale(1.4);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) rotate(-540deg) scale(1);
        opacity: 1;
    }
}

.icon-box::before {
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.icon-box:hover::before {
    transform: translateX(100%);
}

/* Specific box icons */
.icon-box:nth-child(1)::after {
    content: '📊';
    font-size: 1.5rem;
}

.icon-box:nth-child(2)::after {
    content: '🔒';
    font-size: 1.5rem;
}

.icon-box:nth-child(3)::after {
    content: '⚡';
    font-size: 1.5rem;
}

.icon-box:nth-child(4)::after {
    content: '🌐';
    font-size: 1.5rem;
}

.icon-box:nth-child(5)::after {
    content: '🎯';
    font-size: 1.5rem;
}

.icon-box:nth-child(6)::after {
    content: '💎';
    font-size: 1.5rem;
}

.icon-box:nth-child(7)::after {
    content: '🚀';
    font-size: 1.5rem;
}

.icon-box:nth-child(8)::after {
    content: '🔗';
    font-size: 1.5rem;
}

.icon-box:nth-child(9)::after {
    content: '🛡️';
    font-size: 1.5rem;
}

.icon-box:nth-child(10)::after {
    content: '⚙️';
    font-size: 1.5rem;
}

.icon-box:nth-child(11)::after {
    content: '📈';
    font-size: 1.5rem;
}

.icon-box:nth-child(12)::after {
    content: '🌟';
    font-size: 1.5rem;
}

.focal-point {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 120px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.15));
    border: 2px solid rgba(96, 165, 250, 0.4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    animation: breathe 3s ease-in-out infinite;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(96, 165, 250, 0.2);
}

.brand-symbol {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.3);
}

.brand-symbol::before {
    content: 'White Neuron';
    position: absolute;
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
}

.particle-effects {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.particle-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(30, 64, 175, 0.8);
    border-radius: 50%;
    animation: ascendParticle 10s linear infinite;
    box-shadow: 0 0 10px rgba(30, 64, 175, 0.5);
}

.particle-dot:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.particle-dot:nth-child(2) {
    top: 25%;
    left: 85%;
    animation-delay: 2s;
}

.particle-dot:nth-child(3) {
    top: 70%;
    left: 15%;
    animation-delay: 4s;
}

.particle-dot:nth-child(4) {
    top: 60%;
    left: 80%;
    animation-delay: 6s;
}

.particle-dot:nth-child(5) {
    top: 45%;
    left: 5%;
    animation-delay: 8s;
}

.network-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.connect-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 204, 0.6), transparent);
    animation: breathe 4s ease-in-out infinite;
    border-radius: 1px;
}

.connect-line:nth-child(1) {
    top: 35%;
    left: 25%;
    width: 50%;
    animation-delay: 0s;
}

.connect-line:nth-child(2) {
    top: 65%;
    left: 20%;
    width: 60%;
    animation-delay: 2s;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes breathe {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 8px 32px rgba(0, 229, 204, 0.2);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.02);
        box-shadow: 0 12px 40px rgba(0, 229, 204, 0.4);
    }
}

@keyframes ascendParticle {
    0% {
        transform: translateY(0px) scale(1);
        opacity: 0;
    }

    10%,
    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-150px) scale(0.5);
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .text-content {
        padding-left: 0;
    }

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

    .graphics-area {
        height: 350px;
        padding: 1rem;
    }

    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .focal-point {
        width: 140px;
        height: 80px;
    }

    .brand-symbol {
        width: 50px;
        height: 50px;
    }

    .brand-symbol::before {
        font-size: 12px;
    }

    .icon-box {
        min-height: 60px;
    }

    .icon-box:nth-child(1)::after,
    .icon-box:nth-child(2)::after,
    .icon-box:nth-child(3)::after,
    .icon-box:nth-child(4)::after,
    .icon-box:nth-child(5)::after,
    .icon-box:nth-child(6)::after,
    .icon-box:nth-child(7)::after,
    .icon-box:nth-child(8)::after,
    .icon-box:nth-child(9)::after,
    .icon-box:nth-child(10)::after,
    .icon-box:nth-child(11)::after,
    .icon-box:nth-child(12)::after {
        font-size: 1.2rem;
    }
}

.focal-point {
    width: 150px;
    height: 100px;
}

.brand-symbol {
    width: 60px;
    height: 60px;
}

/* section3 */
.features-section {
    min-height: 100vh;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0f1419 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.features-label {
    font-size: 14px;
    letter-spacing: 3px;
    color: #64748b;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2));
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-description {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 1rem;
}

.stats-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.user-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 20px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #1e293b, #334155);
    margin-right: 15px;
}

.user-info h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.user-info p {
    color: #64748b;
    font-size: 0.9rem;
}

.tech-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.tech-icon {
    width: 40px;
    height: 40px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-icon:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.chart-container {
    width: 100%;
    height: 120px;
    margin-top: 20px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 10px;
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.chart-bars {
    display: flex;
    align-items: end;
    height: 80px;
    gap: 8px;
    justify-content: center;
}

.chart-bar {
    background: linear-gradient(to top, rgba(59, 130, 246, 0.8), rgba(59, 130, 246, 0.3));
    border-radius: 4px 4px 0 0;
    min-width: 12px;
    animation: growBar 2s ease-out;
}

@keyframes growBar {
    from {
        height: 0;
    }

    to {
        height: var(--bar-height);
    }
}

.network-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {

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

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

.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
    animation: flow 3s infinite ease-in-out;
}

@keyframes flow {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .main-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

/* duong ngan cach cac trang */
.features-divider {
    position: relative;
    width: 100%;

    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #1a1b23 0%, #0a0b0f 70%);
    overflow: hidden;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #444 50%, transparent 100%);
    position: relative;
    animation: pulse-line 2s ease-in-out infinite;
}

.divider-line::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(100, 200, 255, 0.4) 50%, transparent 100%);
    filter: blur(2px);
    animation: glow-line 3s ease-in-out infinite;
}

@keyframes pulse-line {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes glow-line {

    0%,
    100% {
        background: linear-gradient(90deg, transparent 0%, rgba(100, 200, 255, 0.2) 50%, transparent 100%);
    }

    50% {
        background: linear-gradient(90deg, transparent 0%, rgba(100, 200, 255, 0.6) 50%, transparent 100%);
    }
}

.features-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin: 0 40px;
    position: relative;
    white-space: nowrap;
    opacity: 0.9;
    animation: text-glow 4s ease-in-out infinite;
}

@keyframes text-glow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
            0 0 20px rgba(100, 200, 255, 0.2);
    }

    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.6),
            0 0 30px rgba(100, 200, 255, 0.5),
            0 0 40px rgba(100, 200, 255, 0.3);
    }
}

.features-text::before,
.features-text::after {
    content: '/////';
    color: #64748b;
    font-size: 12px;
    letter-spacing: 2px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

.features-text::before {
    left: -30px;
}

.features-text::after {
    right: -30px;
}

/* Hiệu ứng glow animation */
@keyframes glow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }

    50% {
        text-shadow: 0 0 20px rgba(100, 200, 255, 0.6);
    }
}

@media (max-width: 1024px) {
    .features-text {
        font-size: 12px;
        letter-spacing: 4px;
        margin: 0 20px;
    }

    .features-text::before,
    .features-text::after {
        font-size: 10px;
        left: -20px;
    }

    .features-text::after {
        right: -20px;
    }
}


.decorative-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}


.decorative-lines::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 1px;
    background: #555;
    top: -20px;
    left: 50%;
    transform: translateX(-150px) rotate(-20deg);
    animation: diagonal-glow 3s ease-in-out infinite;
}

/* Đường chéo trên bên phải */
.decorative-lines::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 1px;
    background: #555;
    top: -20px;
    right: 50%;
    transform: translateX(150px) rotate(20deg);
    animation: diagonal-glow 3s ease-in-out infinite 0.5s;
}

/* Thêm các đường chéo dưới */
.bottom-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.bottom-lines::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 1px;
    background: #555;
    bottom: -20px;
    left: 50%;
    transform: translateX(-150px) rotate(20deg);
    animation: diagonal-glow 3s ease-in-out infinite 1s;
}

.bottom-lines::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 1px;
    background: #555;
    bottom: -20px;
    right: 50%;
    transform: translateX(150px) rotate(-20deg);
    animation: diagonal-glow 3s ease-in-out infinite 1.5s;
}

@keyframes diagonal-glow {

    0%,
    100% {
        background: #555;
        box-shadow: none;
    }

    50% {
        background: #777;
        box-shadow: 0 0 10px rgba(100, 200, 255, 0.4);
    }
}

/*  section ecosystem-section*/

.ecosystem-section {
    min-height: 100vh;
    /* background: radial-gradient(ellipse 120% 80% at 50% 20%, rgba(59, 130, 246, 0.15) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 70%), 
                        linear-gradient(135deg, #000000 0%, #0a0a0f 100%); */
    position: relative;
    padding: 80px 20px;
    overflow: hidden;
}

.ecosystem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Advanced Background Effects */
.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 4s ease-in-out infinite;
}

.star.small {
    width: 1px;
    height: 1px;
}

.star.medium {
    width: 2px;
    height: 2px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

.star.large {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

@keyframes twinkle {

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

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

.plus-symbol {
    position: absolute;
    color: rgba(59, 130, 246, 0.6);
    font-size: 14px;
    font-weight: 300;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translateY(-15px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Animated Grid Lines */
.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.1;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%);
    animation: gridPulse 8s ease-in-out infinite;
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.3;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.ecosystem-badge {
    color: rgba(59, 130, 246, 0.8);
    font-size: 11px;
    letter-spacing: 4px;
    margin-bottom: 30px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    }
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(59, 130, 246, 1) 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    animation: titleShimmer 4s ease-in-out infinite;
    position: relative;
}

@keyframes titleShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8), transparent);
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {

    0%,
    100% {
        opacity: 0.5;
        width: 100px;
    }

    50% {
        opacity: 1;
        width: 150px;
    }
}

.subtitle1 {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.5s both;
    letter-spacing: 0px !important;
}

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

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

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.features-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.3), transparent);
    z-index: 1;
}

.features-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.3), transparent);
    z-index: 1;
}

.feature-row {
    display: flex;
    position: relative;
}

.feature-item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding: 60px 50px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    height: 340px;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-right: 25px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.feature-content {
    flex: 1;
    padding-right: 50px;
    position: relative;
    z-index: 2;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #ffffff;
    position: relative;
    transition: color 0.3s ease;
}


.feature-item:hover .feature-title {
    color: rgba(59, 130, 246, 1);
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 25px;
    transition: color 0.3s ease;
}

.feature-item:hover .feature-description {
    color: rgba(255, 255, 255, 0.9);
}

.dashboard-btn {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: rgba(59, 130, 246, 1);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.dashboard-btn:hover::before {
    left: 100%;
}

.dashboard-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.8);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.expand-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(59, 130, 246, 0.8);
    font-size: 18px;
    background: rgba(59, 130, 246, 0.05);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.expand-btn:hover {
    border-color: rgba(59, 130, 246, 0.8);
    background: rgba(59, 130, 246, 0.2);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Particle Animation */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

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

/* Responsive Design */
@media (max-width: 1024px) {
    .feature-row {
        flex-direction: column;
    }

    .feature-item {
        border-right: none !important;
        padding: 40px 30px;
    }

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

    .ecosystem-section {
        padding: 60px 20px;
    }

    .features-container::before {
        display: none;
    }

    .feature-content {
        padding-right: 5px;
    }
}

/* Product Cards Styling */
.product-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.product-card:hover .feature-title {
    color: rgba(59, 130, 246, 1);
}

.product-card:hover .feature-description {
    color: rgba(255, 255, 255, 0.9);
}

.product-card:hover .dashboard-btn {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

/* Product Detail Styling */
.product-detail-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-item:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.breadcrumb a:hover {
    color: rgba(59, 130, 246, 1) !important;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.w3-platform-section {
    min-height: 100vh;
    padding: 100px 20px;
    position: relative;

}

.w3-container {
    max-width: 1400px;
    margin: 0 auto;
}

.w3-header {
    text-align: center;
    margin-bottom: 120px;
    position: relative;
}

.w3-features-label {
    color: #3b82f6;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    opacity: 0.9;
}

.w3-features-label::before,
.w3-features-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);

}

.w3-features-label::before {
    left: -50px;
}

.w3-features-label::after {
    right: -50px;
}

.w3-main-title {
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #1f2937 0%, #3b82f6 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w3-subtitle {
    font-size: 1.1rem;
    color: #141415;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.w3-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin-top: 80px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}


.w3-feature-card {
    /* Dark gradient background with glossy effect */
    background: linear-gradient(145deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(30, 41, 59, 0.98) 25%,
            rgba(51, 65, 85, 0.95) 50%,
            rgba(30, 41, 59, 0.98) 75%,
            rgba(15, 23, 42, 0.95) 100%);

    /* Multiple layered shadows for depth */
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.15),
        0 1px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);

    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 45px 35px;
    position: relative;
    backdrop-filter: blur(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.w3-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.06) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.w3-feature-card:hover::before {
    opacity: 1;
}

.w3-feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow:
        0 20px 40px rgba(59, 130, 246, 0.1),
        0 0 0 1px rgba(59, 130, 246, 0.1);
}

/* Service Cards Styling */
.w3-service-card {
    /* Dark gradient background with glossy effect */
    background: linear-gradient(145deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(30, 41, 59, 0.98) 25%,
            rgba(51, 65, 85, 0.95) 50%,
            rgba(30, 41, 59, 0.98) 75%,
            rgba(15, 23, 42, 0.95) 100%);

    /* Multiple layered shadows for depth */
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.15),
        0 1px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);

    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 30px 25px;
    position: relative;
    backdrop-filter: blur(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.w3-service-card:nth-child(1) {
    animation-delay: 0s;
}

.w3-service-card:nth-child(2) {
    animation-delay: -0.5s;
}

.w3-service-card:nth-child(3) {
    animation-delay: -1s;
}

.w3-service-card:nth-child(4) {
    animation-delay: -1.5s;
}

.w3-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.06) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

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

.w3-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow:
        0 20px 40px rgba(139, 92, 246, 0.1),
        0 0 0 1px rgba(139, 92, 246, 0.1);
}

.w3-service-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
}

.w3-service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #60a5fa, #60a5fa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

.w3-service-icon img {
    border-radius: 8px;
}

.w3-service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.w3-service-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.w3-service-filename {
    font-size: 12px;
    color: #94a3b8;
    font-family: 'Courier New', monospace;
    margin-bottom: 15px;
    opacity: 0.8;
}

.w3-service-description {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.w3-service-content-detail {
    font-size: 13px;
    color: #e2e8f0;
    line-height: 1.5;
    margin-top: 10px;
}

.w3-service-content-detail h3 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 600;
}

.w3-service-content-detail p {
    margin-bottom: 8px;
}

.w3-service-content-detail ul {
    margin: 10px 0;
    padding-left: 20px;
}

.w3-service-content-detail li {
    margin-bottom: 5px;
    color: #cbd5e1;
}

.w3-service-footer {
    margin-top: auto;
    padding-top: 15px;
}

.w3-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(145deg,
            rgba(15, 23, 42, 0.8) 0%,
            rgba(30, 41, 59, 0.9) 50%,
            rgba(15, 23, 42, 0.8) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
    position: relative;
    overflow: hidden;
}

.w3-service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(96, 165, 250, 0.1),
            transparent);
    transition: left 0.4s ease;
}

.w3-service-btn:hover::before {
    left: 100%;
}

.w3-service-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow:
        0 4px 15px rgba(96, 165, 250, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
}

.w3-service-btn svg {
    transition: all 0.3s ease;
    color: #60a5fa;
}

.w3-service-btn:hover svg {
    transform: translateX(3px);
    color: #60a5fa;
}

.w3-products-footer,
.w3-services-footer {
    text-align: center;
    margin-top: 40px;
}

.w3-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: linear-gradient(145deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(30, 41, 59, 0.98) 25%,
            rgba(51, 65, 85, 0.95) 50%,
            rgba(30, 41, 59, 0.98) 75%,
            rgba(15, 23, 42, 0.95) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.15),
        0 1px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.3);
    position: relative;
    overflow: hidden;
}

.w3-view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(96, 165, 250, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.w3-view-all-btn:hover::before {
    left: 100%;
}

.w3-view-all-btn:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow:
        0 8px 30px rgba(96, 165, 250, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
}

.w3-view-all-btn svg {
    transition: all 0.3s ease;
    color: #60a5fa;
}

.w3-view-all-btn:hover svg {
    transform: translateX(5px);
    color: #60a5fa;
}

/* Team Section Enhancements */
.author-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa, #60a5fa);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content a {
    transition: all 0.3s ease;
}

.testimonial-content a:hover {
    color: #60a5fa !important;
    text-decoration: underline;
}

.w3-feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.w3-feature-icon svg {
    color: #8b5cf6;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
}

.w3-feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #ffffff;
    line-height: 1.3;
}

.w3-feature-description {
    font-size: 16px;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Specific card styles */
.w3-auth-card {
    text-align: center;
}

.w3-feature-code {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    padding: 12px 20px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    color: #8b5cf6;
    margin: 20px 0;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 500;
}

.w3-profile-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    margin-top: 25px;
    backdrop-filter: blur(8px);
}

.w3-profile-avatar {
    width: 100px;
    height: 120px;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(6, 182, 212, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.w3-profile-avatar::before {
    content: '👤';
    font-size: 40px;
    opacity: 0.6;
}

.w3-profile-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.w3-profile-email {
    font-size: 14px;
    color: #8b5cf6;
}

.w3-chart-container {
    height: 120px;
    margin-top: 45px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 6px;
    position: relative;
    padding: 0 8px;
}

.w3-chart-bar {
    background: linear-gradient(to top, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.7));
    border-radius: 4px 4px 0 0;
    flex: 1;
    transition: all 0.3s ease;
    animation: w3-chart-grow 1.8s ease-out;
    position: relative;
    overflow: hidden;
}

.w3-chart-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.w3-chart-bar:hover::before {
    opacity: 1;
}

.w3-chart-label {
    position: absolute;
    top: -40px;
    right: 0px;
    background: rgba(139, 92, 246, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.9);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

.w3-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.w3-tool-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.w3-tool-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.w3-tool-icon:hover::before {
    opacity: 1;
}

.w3-tool-icon:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.15);
}

.w3-tool-icon svg {
    color: #8b5cf6;
    z-index: 1;
    position: relative;
}

.w3-network-visualization {
    position: relative;
    height: 120px;
    margin-top: 25px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.w3-network-node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #8b5cf6, #3b82f6);
    border-radius: 50%;
    animation: w3-pulse 3s infinite;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

.w3-network-connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.6), rgba(139, 92, 246, 0.1));
    border-radius: 1px;
}

@keyframes w3-chart-grow {
    from {
        height: 0;
        opacity: 0;
    }

    to {
        height: var(--height);
        opacity: 1;
    }
}

@keyframes w3-pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
        box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.3);
        box-shadow: 0 0 16px rgba(139, 92, 246, 0.7);
    }
}

@keyframes w3-float {

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

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

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

/* Integration and Developer cards */
.w3-integration-card {
    grid-column: span 2;
}

.w3-blockchain-security {
    position: relative;
}

.w3-security-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.w3-status-indicator {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 6px;
    animation: w3-status-pulse 2s infinite;
}

@keyframes w3-status-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Developer toolkit specific styling */
.w3-developer-toolkit .w3-tools-grid {
    grid-template-columns: repeat(6, 1fr);
    margin-top: 35px;
}

/* Particle effect - more subtle */
.w3-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(139, 92, 246, 0.4);
    border-radius: 50%;
    animation: w3-particle-float 20s linear infinite;
}

@keyframes w3-particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .w3-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .w3-features-layout {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 25px;
    }

    .w3-developer-toolkit {
        grid-column: 1 / -1;
    }

    .w3-feature-card {
        padding: 35px 28px;
    }

    .w3-service-card {
        padding: 25px 20px;
    }

    .w3-developer-toolkit .w3-tools-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1024px) {
    .w3-platform-section {
        padding: 60px 20px;
    }

    .w3-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .w3-features-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .w3-main-title {
        font-size: 2.5rem;
    }

    .w3-feature-card {
        padding: 30px 22px;
    }

    .w3-service-card {
        padding: 25px 20px;
    }

    .w3-feature-icon {
        width: 70px;
        height: 70px;
    }

    .w3-service-icon {
        width: 45px;
        height: 45px;
    }

    .w3-service-icon img {
        width: 28px;
        height: 28px;
    }

    .w3-service-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .w3-view-all-btn {
        padding: 15px 25px;
        font-size: 14px;
    }

    .w3-feature-title {
        font-size: 22px;
    }

    .w3-service-title {
        font-size: 18px;
    }

    .w3-feature-description {
        font-size: 15px;
    }

    .w3-service-description {
        font-size: 13px;
    }

    .w3-developer-toolkit .w3-tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .w3-tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .w3-tool-icon {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 1024px) {
    .w3-developer-toolkit .w3-tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.w3-platform-section {


    background: white;
}

.diagonal-transition {
    height: 59px;
    background: linear-gradient(135deg, #000000 50%, #ffffff 50%);
    pointer-events: none;
}

.diagonal-45 {
    background: linear-gradient(45deg, #000000 50%, #ffffff 50%);
    pointer-events: none;
}


.blog-section {
    padding: 80px 20px;
    /* background: radial-gradient(ellipse 120% 80% at 50% 20%, rgba(59, 130, 246, 0.15) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 70%), 
                        linear-gradient(135deg, #000000 0%, #0a0a0f 100%); */
    position: relative;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #64748b, transparent);
}

.section-label::before {
    left: -50px;
}

.section-label::after {
    right: -50px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(59, 130, 246, 1) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.slider-container {
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.4s ease;
    gap: 24px;
}

.blog-card {
    min-width: 350px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.card-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-category {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    padding: 6px 14px;
    border-radius: 20px;
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.3);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.card-category.defi {
    background: #10b981;
}

.card-category.ai {
    background: #3b82f6;
}

.card-category.quantum {
    background: #f59e0b;
}

.card-category.security {
    background: #ef4444;
}

.card-category.neural {
    background: #3b82f6;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-description {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 400;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.learn-more:hover {
    background: #eff6ff;
    color: #2563eb;
}

.learn-more::after {
    content: '→';
    transition: transform 0.2s ease;
}

.learn-more:hover::after {
    transform: translateX(2px);
}

.slider-controls {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    position: relative;
    /* ensure it forms a stacking context */
    z-index: 5;
    /* sit above small overlays/particles but below navbar */
    pointer-events: auto;
    /* ensure controls receive clicks */
}

/* Controls when placed inside the slider container */
.slider-controls--inside {
    position: absolute;
    top: 8px;
    right: 12px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 12;
    /* above most overlays */
    pointer-events: auto;
    /* ensure clicks are received */
}

/* Slightly smaller buttons when inside container */
.slider-controls--inside .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 16px;
}

.slider-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.slider-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active {
    background: #3b82f6;
    transform: scale(1.2);
}

.view-blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3b82f6;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    margin-top: 40px;
}

.view-blog-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

    /* Horizontal scrollable slider on mobile - preserves swipe interaction */
    .slider-wrapper {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 16px !important;
        padding-bottom: 8px !important;
        transform: none !important;
    }

    .slider-wrapper::-webkit-scrollbar {
        height: 4px;
    }

    .slider-wrapper::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 2px;
    }

    .slider-wrapper::-webkit-scrollbar-thumb {
        background: rgba(59, 130, 246, 0.4);
        border-radius: 2px;
    }

    .blog-card {
        flex: 0 0 calc(85vw - 40px) !important;
        min-width: unset !important;
        scroll-snap-align: start !important;
    }

    .card-content {
        padding: 20px;
    }
    
    /* Hide horizontal navigation buttons on mobile */
    .slider-nav,
    [class*="nav-button"],
    button[aria-label="Previous"],
    button[aria-label="Next"] {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .blog-card {
        min-width: unset !important;
        width: 100% !important;
    }

    .section-title {
        font-size: 1.75rem;
    }
    
    /* Reduce card image height on small phones */
    .card-image {
        height: 180px !important;
    }
    
    .card-content {
        padding: 16px !important;
    }
}



.testimonials-section {
    padding: 80px 20px;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(ellipse 120% 80% at 50% 20%, rgba(59, 130, 246, 0.15) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 70%), linear-gradient(135deg, #000000 0%, #0a0a0f 100%);

}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {

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

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

.header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, rgba(59, 130, 246, 1) 50%, #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header p {
    color: #94a3b8;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(96, 165, 250, 0.1);
}

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

.platform-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

.twitter-logo {
    color: #1d9bf0;
}

.medium-logo {
    color: #00ab6c;
}

.testimonial-content {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #e2e8f0;
    font-size: 1rem;
}

.testimonial-content .highlight {
    color: #60a5fa;
    font-weight: 600;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(96, 165, 250, 0.3);
    object-fit: cover;
    transition: border-color 0.3s ease;
}

.testimonial-card:hover .author-avatar {
    border-color: rgba(96, 165, 250, 0.8);
}

.author-info h4 {
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 4px;
}

.author-info p {
    color: #64748b;
    font-size: 0.9rem;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .testimonial-card {
        padding: 25px;
        min-width: 300px;
    }

    .header h2 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
        letter-spacing: 2px;
    }
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
}



/* Layout for testimonial display area */
.testimonial-display-area {
    position: relative;
    min-height: 100vh;
    padding: 80px 32px;
}

.main-wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Top section styles */
.top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 64px;
}

.main-title2 {
    font-size: 2.75rem;
    font-weight: 400;
    color: linear-gradient(135deg, #ffffff 0%, rgba(59, 130, 246, 1) 50%, #ffffff 100%);
    line-height: 1.2;
}

.control-panel {
    display: flex;
    align-items: center;
    gap: 24px;
}

.counter-display {
    color: #d1d5db;
    font-size: 1.25rem;
}

.navigation-group {
    display: flex;
    gap: 12px;
}

.nav-button {
    border: 1px solid #9ca3af;
    padding: 12px;
    border-radius: 4px;
    background: transparent;
    color: #d1d5db;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: #374151;
}

.nav-icon {
    width: 20px;
    height: 20px;
}

/* Review card styles */
.review-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.card-layout {
    display: flex;
    min-height: 384px;
}

.image-area {
    width: 320px;
    flex-shrink: 0;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.text-area {
    flex: 1;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-text {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 32px;
    line-height: 1.6;
    font-weight: 300;
}

.author-details {
    color: #6b7280;
}

.author-name {
    font-weight: 500;
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.author-title {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Preview panel styles */
.preview-panel {
    position: absolute;
    right: -96px;
    top: 80%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.preview-item {
    width: 64px;
    height: 80px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.preview-item:hover {
    transform: scale(1.05);
}

.preview-item-dimmed {
    opacity: 0.5;
}

.preview-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* Effects container for testimonial display area */
.testimonial-display-area .effects-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Enhanced blue glow system */
.testimonial-display-area .primary-glow {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse at center,
            rgba(59, 130, 246, 0.2) 0%,
            rgba(37, 99, 235, 0.15) 25%,
            rgba(29, 78, 216, 0.1) 50%,
            transparent 70%);
    transform: rotate(-25deg);
    filter: blur(80px);
    animation: primary-glow-pulse 8s ease-in-out infinite;
}

.testimonial-display-area .secondary-glow {
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 70%;
    height: 80%;
    background: radial-gradient(ellipse at center,
            rgba(30, 64, 175, 0.15) 0%,
            rgba(29, 78, 216, 0.1) 40%,
            transparent 70%);
    transform: rotate(35deg);
    filter: blur(100px);
    animation: secondary-glow-pulse 10s ease-in-out infinite reverse;
}

.testimonial-display-area .floating-glow {
    position: absolute;
    top: 40%;
    left: 20%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle,
            rgba(96, 165, 250, 0.12) 0%,
            rgba(59, 130, 246, 0.08) 50%,
            transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: floating-glow-animation 6s ease-in-out infinite;
}

/* Animation keyframes */
@keyframes primary-glow-pulse {

    0%,
    100% {
        opacity: 1;
        transform: rotate(-25deg) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: rotate(-25deg) scale(1.1);
    }
}

@keyframes secondary-glow-pulse {

    0%,
    100% {
        opacity: 1;
        transform: rotate(35deg) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: rotate(35deg) scale(1.05);
    }
}

@keyframes floating-glow-animation {

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

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

/* Background layer for testimonial display area */
.testimonial-display-area .background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 100vh;
}

.testimonial-display-area .background-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: radial-gradient(ellipse 120% 80% at 50% 20%, rgba(59, 130, 246, 0.15) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 70%), linear-gradient(135deg, #000000 0%, #0a0a0f 100%);
    z-index: 1;
}

.testimonial-display-area .background-layer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background: white;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .preview-panel {
        right: -48px;
    }
}

@media (max-width: 1024px) {
    .testimonial-display-area {
        padding: 40px 16px;
    }

    .main-title2 {
        font-size: 2rem;
    }

    .top-section {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 32px;
    }

    .card-layout {
        flex-direction: column;
        min-height: auto;
    }

    .image-area {
        width: 100%;
        height: 200px;
    }

    .text-area {
        padding: 24px;
    }

    .review-text {
        font-size: 1.25rem;
        margin-bottom: 24px;
    }

    .preview-panel {
        display: none;
    }
}

@media (max-width: 480px) {
    .main-title2 {
        font-size: 1.5rem;
    }

    .review-text {
        font-size: 1.125rem;
    }

    .text-area {
        padding: 16px;
    }
}

.hero-section {
    background: white;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.hero-title2 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #1f2937 0%, #3b82f6 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-button {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.carousel-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    overflow: hidden;
    z-index: 3;
    /* đảm bảo nằm trên các dải chuyển tiếp chéo/overlay */
    pointer-events: auto;
    /* cho phép click bên trong */
}

.carousel-track {
    display: flex;
    animation: scroll 20s linear infinite;
    height: 100%;
}

.carousel-item {
    flex: 0 0 220px;
    height: 130px;
    margin: 0 6px;
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); */
    transition: transform 0.3s ease;
}

/* Bảo đảm toàn bộ thẻ a là vùng click */
.carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

.carousel-item:hover {
    transform: translateY(-10px);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.carousel-track-reverse {
    animation: scroll-reverse 20s linear infinite !important;
}

/* Partners carousel styling */
.partners-carousel {
    top: 0;
    bottom: auto;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(96, 165, 250, 0.2);
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    padding: 10px 0;
}

/* Duplicate items for seamless loop */
.carousel-track::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* tránh chặn click vào ảnh khi phần giả lập tràn lên trên */
}

/* Floating particles background */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .hero-title2 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        margin-bottom: 20px;
    }

    .carousel-container {
        height: auto;
    }

    .hero-section {
        min-height: 80vh;
    }
}

.starlight-zone {
    min-height: 100vh;
    background: radial-gradient(ellipse 120% 80% at 50% 20%, rgba(59, 130, 246, 0.15) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 70%), linear-gradient(135deg, #000000 0%, #0a0a0f 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.starlight-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    animation: cosmic-drift 6s ease-in-out infinite;
}

.nexus-container {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
}

.quantum-heading {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: aurora-pulse 2s ease-in-out infinite alternate;
}

.echo-paragraph {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0;
    animation: matrix-reveal 1s ease-out 0.5s forwards;
}

.catalyst-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid #334155;
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    animation: matrix-reveal 1s ease-out 1s forwards;
}

.catalyst-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.catalyst-trigger:hover {
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.catalyst-trigger:hover::before {
    left: 100%;
}

.velocity-pointer {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-left: none;
    border-bottom: none;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.catalyst-trigger:hover .velocity-pointer {
    transform: rotate(45deg) translate(3px, -3px);
}

@keyframes cosmic-drift {

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

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

@keyframes aurora-pulse {
    0% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }

    100% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(168, 178, 209, 0.3);
    }
}

@keyframes matrix-reveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@media (max-width: 1024px) {
    .nexus-container {
        padding: 0 15px;
    }

    .quantum-heading {
        margin-bottom: 1.5rem;
    }

    .echo-paragraph {
        margin-bottom: 2rem;
    }

    .catalyst-trigger {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}


.footer {
    background: radial-gradient(ellipse 120% 80% at 50% 20%, rgba(59, 130, 246, 0.15) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 70%), linear-gradient(135deg, #000000 0%, #0a0a0f 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 40px 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #60a5fa 50%, transparent 100%);
    opacity: 0.8;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
    justify-content: flex-start;
}

.social-link {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    border-color: rgba(96, 165, 250, 0.6);
    background: rgba(96, 165, 250, 0.1);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 100px;
    margin-bottom: 80px;
}

.brand-section {
    max-width: 350px;
}

.logo1 {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.logo-icon1 {
    width: 40px;
    height: 40px;
    background: linear-gradient(90deg, #60a5fa, #60a5fa);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.4);
    position: relative;
    overflow: hidden;
}

.logo-icon1::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(96, 165, 250, 0.3);
}

.brand-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 15px;
    font-weight: 400;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.links-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

.links-column h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    padding-bottom: 8px;
}

.links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #60a5fa);
    border-radius: 1px;
}

.links-column ul {
    list-style: none;
}

.links-column li {
    margin-bottom: 14px;
}

.links-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
    padding: 4px 0;
}

.links-column a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #60a5fa, #60a5fa);
    transition: width 0.3s ease;
}

.links-column a:hover {
    color: #fff;
    transform: translateX(8px);
}

.links-column a:hover::before {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.copyright {
    flex: 1;
    font-weight: 500;
}

.disclaimer {
    flex: 1;
    text-align: right;
    max-width: 450px;
    line-height: 1.6;
    font-weight: 400;
}

.disclaimer strong {
    color: rgba(255, 255, 255, 0.8);
}

/* Floating particles animation */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #60a5fa);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 20%;
    left: 90%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 70%;
    left: 80%;
    animation-delay: 1s;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

@media (max-width: 1500px) {
    .footer-content {
        gap: 60px;
    }

    .links-section {
        gap: 10px;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        gap: 60px;
    }

    .links-section {
        gap: 10px;
    }
}

@media (max-width: 1024px) {
    .footer {
        padding: 60px max(20px, env(safe-area-inset-right)) 30px max(20px, env(safe-area-inset-left));
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .links-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .disclaimer {
        text-align: center;
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
        margin-bottom: 60px;
    }
    
    /* Make social links touch-friendly */
    .social-link {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 1024px) {
    .footer {
        padding: 40px max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left));
    }
    
    .links-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .logo-text {
        font-size: 24px;
    }

    .footer-content {
        gap: 40px;
    }
    
    .social-links {
        margin-bottom: 40px;
        flex-wrap: wrap;
    }
}

.platform-wrapper {
    opacity: 0;
    transform: translateY(100px);
    animation: slideInOnScroll 1.5s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes slideInOnScroll {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

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

.bg-overlay {
    opacity: 0;
    animation: fadeInBackground 2s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInBackground {
    to {
        opacity: 1;
    }
}

.text-content {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1.2s ease-out forwards;
    animation-delay: 0.8s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.category-label {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 1s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 1s ease-out forwards;
    animation-delay: 1.2s;
}

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

.description-text {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.4s;
}

.service-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:nth-child(1) {
    animation: slideInService 0.8s ease-out forwards;
    animation-delay: 1.6s;
}

.service-item:nth-child(2) {
    animation: slideInService 0.8s ease-out forwards;
    animation-delay: 1.8s;
}

.service-item:nth-child(3) {
    animation: slideInService 0.8s ease-out forwards;
    animation-delay: 2s;
}

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

.action-btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 2.2s;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.graphics-area {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1.2s ease-out forwards;
    animation-delay: 1s;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.orbit-ring {
    opacity: 1;
}

.orbit-1 {
    animation: rotate 15s linear infinite;
}

.orbit-2 {
    animation: rotate 20s linear infinite reverse;
}

.orbit-3 {
    animation: rotate 25s linear infinite;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

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

.shape {
    opacity: 1;
}

@keyframes fadeInFloat {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

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

.central-glow {
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card-title-display {
    position: absolute;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.8), 0 0 40px rgba(96, 165, 250, 0.6);
    letter-spacing: 1px;
    max-width: 200px;
    line-height: 1.3;
    z-index: 10;
    padding: 15px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, rgba(96, 165, 250, 0.05) 50%, transparent 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(96, 165, 250, 0.3);
    pointer-events: none;
}

.card-title-display.show {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    animation: title-glow-pulse 2s ease-in-out infinite;
}

@keyframes title-glow-pulse {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(96, 165, 250, 0.8),
            0 0 40px rgba(96, 165, 250, 0.6),
            0 0 60px rgba(96, 165, 250, 0.4);
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.3),
            inset 0 0 20px rgba(96, 165, 250, 0.1);
    }

    50% {
        text-shadow: 0 0 30px rgba(96, 165, 250, 1),
            0 0 60px rgba(96, 165, 250, 0.8),
            0 0 90px rgba(96, 165, 250, 0.6);
        box-shadow: 0 0 40px rgba(96, 165, 250, 0.5),
            inset 0 0 30px rgba(96, 165, 250, 0.2);
    }
}

@keyframes fadeInGlow {
    0% {
        opacity: 0;
        transform: scale(0);
    }

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

.brand-symbol {
    opacity: 0;
    transform: scale(0);
    animation: centralGlow 1.5s ease-out forwards;
    animation-delay: 1.5s;
}

@keyframes centralGlow {
    0% {
        opacity: 0;
        transform: scale(0);
        box-shadow: 0 0 0 rgba(59, 130, 246, 0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 50px rgba(59, 130, 246, 0.6);
    }
}

.brand-symbol::before {
    opacity: 0;
    animation: innerSymbol 0.8s ease-out forwards;
    animation-delay: 2.5s;
}

@keyframes innerSymbol {
    to {
        opacity: 1;
    }
}

.connect-line {
    opacity: 0;
    animation: lineExpand 2s ease-out forwards;
}

.connect-line:nth-child(1) {
    animation-delay: 2s;
}

.connect-line:nth-child(2) {
    animation-delay: 2.2s;
}

@keyframes lineExpand {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
        transform: scaleX(1);
    }
}

.particle-dot {
    opacity: 0;
    animation: particleFloat 3s ease-in-out infinite;
}

.particle-dot:nth-child(1) {
    animation-delay: 2.5s;
}

.particle-dot:nth-child(2) {
    animation-delay: 2.7s;
}

.particle-dot:nth-child(3) {
    animation-delay: 2.9s;
}

.particle-dot:nth-child(4) {
    animation-delay: 3.1s;
}

.particle-dot:nth-child(5) {
    animation-delay: 3.3s;
}

@keyframes particleFloat {

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

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

.platform-wrapper:hover .brand-symbol {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 50px rgba(59, 130, 246, 0.6);
    }

    50% {
        box-shadow: 0 0 80px rgba(59, 130, 246, 0.8);
    }
}

@media (max-width: 1024px) {
    .platform-wrapper {
        transform: translateY(50px);
    }

    .text-content {
        transform: translateX(-30px);
    }

    .graphics-area {
        transform: translateX(30px);
    }
}

.platform-wrapper,
.text-content,
.graphics-area,
.orbit-ring,
.shape,
.particle-dot {
    will-change: transform, opacity;
}

.platform-wrapper {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Footer Logo Enhancements */
.logo-icon1 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* cursor: pointer; */
    position: relative;
    overflow: hidden;
}

.logo-icon1::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(0, 229, 204, 0.3), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.logo-icon1:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 20px rgba(0, 229, 204, 0.5);
}

.logo-icon1:hover::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

.logo-icon1 img {
    transition: all 0.3s ease;
}

.logo-icon1:hover img {
    filter: brightness(1.3) drop-shadow(0 0 10px rgba(0, 229, 204, 0.6));
}

.logo1 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.logo1:hover .logo-text {
    background: linear-gradient(135deg, #ffffff, #00e5cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Add subtle glow animation */
.logo-icon1 {
    animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(0, 229, 204, 0.2);
    }

    50% {
        box-shadow: 0 0 15px rgba(0, 229, 204, 0.4);
    }
}

/* Contact Page Styles */
.contact-section {
    position: relative;
    min-height: 100vh;
    /* background: radial-gradient(ellipse at center, #1a1b23 0%, #0a0b0f 70%); */
    padding: 120px 0 80px;
    margin-top: 100px;
    overflow: hidden;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.contact-info {
    background: rgba(30, 32, 40, 0.3);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.info-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(15, 16, 21, 0.8);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
    background: rgba(25, 27, 35, 0.95);
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(59, 130, 246, .35), rgba(59, 130, 246, .2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.info-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.info-content p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-form-container {
    background: rgba(30, 32, 40, 0.3);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
}

.contact-form-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid rgba(59, 130, 246, 0.35);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(15, 16, 21, 0.8);
    color: #ffffff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(25, 27, 35, 0.95);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #718096;
    font-size: 0.95rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, rgba(59, 130, 246, .35), rgba(59, 130, 246, .2));
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
    margin-top: 10px;
    flex-shrink: 0;
}

.submit-btn:hover {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(96, 165, 250, 0.25));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.45);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Background decorative elements for contact page */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: 
        radial-gradient(circle at 20% 20%, rgba(100, 200, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 229, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(100, 200, 255, 0.1) 0%, transparent 50%); */
    pointer-events: none;
}

/* Floating tech icons background */
.contact-section .floating-elements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%2364c8ff' fill-opacity='0.3'%3E%3Cpath d='M20 20c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm-20-18c9.941 0 18 8.059 18 18s-8.059 18-18 18-18-8.059-18-18 8.059-18 18-18z'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cg fill='%2300e5cc' fill-opacity='0.2'%3E%3Cpath d='M15 15c0-8.284-6.716-15-15-15s-15 6.716-15 15 6.716 15 15 15 15-6.716 15-15zm-15-13c7.18 0 13 5.82 13 13s-5.82 13-13 13-13-5.82-13-13 5.82-13 13-13z'/%3E%3C/svg%3E"); */
    background-size: 60px 60px, 40px 40px;
    background-position: 0 0, 30px 30px;
    opacity: 0.3;
    animation: floatBackground 20s ease-in-out infinite;
}

@keyframes floatBackground {

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 16px;
    }

    .contact-info,
    .contact-form-container {
        padding: 16px;
        margin: 0 5px;
        border-radius: 12px;
    }

    .contact-section {
        padding: 80px 0 40px;
    }

    .contact-info h2,
    .contact-form-container h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 14px;
        align-items: center;
        gap: 0;
        min-height: auto;
    }

    .info-icon {
        flex-shrink: 0;
        align-self: center;
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
    }

    .info-content {
        width: 100%;
        text-align: center;
    }

    .info-content h3,
    .info-content p {
        text-align: center;
    }

    .info-content h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .info-content p {
        font-size: 0.9rem;
    }

    /* Equal height for all info items on mobile */
    .info-items-wrapper {
        gap: 16px;
        display: flex;
        flex-direction: column;
    }

    .info-item:nth-child(2),
    .info-item:nth-child(3) {
        min-height: 170px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 12px 14px;
        font-size: 16px;
        border-radius: 10px;
        box-sizing: border-box;
    }

    .contact-form {
        width: 100%;
        max-width: none;
    }

    .submit-btn {
        width: 100% !important;
        padding: 14px 24px !important;
        font-size: 0.95rem !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .contact-section {
        margin-top: 10px;
        padding: 10px;
    }
}

/* ===== Accent Override for Product Area: Purple -> Blue ===== */
.dashboard-btn {
    background: rgba(59, 130, 246, 0.10) !important;
    border-color: rgba(59, 130, 246, 0.40) !important;
    color: rgba(59, 130, 246, 1) !important;
}

.dashboard-btn:hover {
    background: rgba(59, 130, 246, 0.20) !important;
    border-color: rgba(59, 130, 246, 0.75) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.35) !important;
}

.product-card:hover .dashboard-btn {
    background: rgba(59, 130, 246, 0.30) !important;
    border-color: rgba(59, 130, 246, 0.55) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.30) !important;
}

.feature-item:hover .feature-title,
.product-card:hover .feature-title {
    color: rgba(59, 130, 246, 1) !important;
}

.feature-item:hover .feature-icon {
    border-color: rgba(59, 130, 246, 0.60) !important;
    background: rgba(59, 130, 246, 0.10) !important;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.30) !important;
}

.ecosystem-badge {
    color: rgba(59, 130, 246, 0.80) !important;
    background: rgba(59, 130, 246, 0.05) !important;
    border-color: rgba(59, 130, 246, 0.20) !important;
}

.feature-title::after,
.main-title::after {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.80), transparent) !important;
}

/* Align logo image with text in navbar */
.logo2 a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo2 a:hover {
    text-decoration: none;
}

.logo2 .logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.logo2 a,
.logo2 a span {
    line-height: 1;
}
/* Language Toggle Button */
.lang-toggle {
    background: transparent;
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: #60a5fa;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.lang-toggle:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #fff;
}

/* Mobile menu language toggle wrapper */
.mobile-menu > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

@media (max-width: 1024px) {
    .lang-toggle {
        font-size: 0.9rem;
        padding: 6px 14px;
    }
}

/* ===== GLOBAL MOBILE OPTIMIZATIONS ===== */

/* Safe area support for notched phones (iPhone X+) */
@supports (padding: max(0px)) {
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    .navbar {
        padding-left: max(1.5rem, env(safe-area-inset-left));
        padding-right: max(1.5rem, env(safe-area-inset-right));
    }
    
    .container {
        padding-left: max(1.5rem, env(safe-area-inset-left));
        padding-right: max(1.5rem, env(safe-area-inset-right));
    }
}

/* Prevent horizontal overflow on all screens */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

img, video, svg, canvas {
    max-width: 100%;
    height: auto;
}

/* Touch-friendly tap targets - minimum 44px */
@media (pointer: coarse) {
    
    /* Increase padding for small buttons on touch devices */
    .dashboard-btn, .ui-btn {
        padding: 12px 20px;
    }
}

/* Mobile-specific global improvements */
@media (max-width: 1024px) {
    /* Reduce excessive spacing */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Make headings responsive with clamp */
    h1 {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
    }
    
    h2 {
        font-size: clamp(1.2rem, 6vw, 1.5rem);
    }
    
    h3 {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }
    
    /* Improve text readability on mobile */
    p, li, span, td, th {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Prevent long words from causing overflow */
    code, pre, table {
        max-width: 100%;
        white-space: normal;
    }
    
    /* Improve form inputs on mobile */
    input:not(.filter-control):not([type="submit"]):not([type="button"]), 
    textarea, 
    select:not(.filter-select) {
        font-size: 16px; /* Prevents iOS zoom on focus */
        min-height: 44px;
        width: 100%;
    }
    
    /* Stack grid layouts vertically */
    .grid-cols-2,
    [class*="grid-cols-"] {
        grid-template-columns: 1fr;
    }
    
    /* Improve card layouts on mobile */
    .flex-row {
        flex-direction: column;
    }
    
    /* Reduce padding on sections for mobile */
    section, .section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    /* Make images full-width on small phones */
    .product-content img,
    .service-content img,
    .blog-content img,
    .content-body img {
        width: 100%;
        max-height: none;
        margin: 12px auto;
    }
    
    /* Make headings responsive with clamp */
    h1 {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
    }
    
    h2 {
        font-size: clamp(1.2rem, 6vw, 1.5rem);
    }
    
    h3 {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }
    
    /* Improve text readability on mobile */
    p, li, span, td, th {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Prevent long words from causing overflow */
    code, pre, table {
        max-width: 100%;
        white-space: normal !important;
    }
    
    /* Improve form inputs on mobile */
    input, textarea, select {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
        min-height: 44px;
        width: 100%;
    }
    
    /* Stack grid layouts vertically */
    .grid-cols-2,
    [class*="grid-cols-"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Improve card layouts on mobile */
    .flex-row {
        flex-direction: column !important;
    }
    
    /* Reduce padding on sections for mobile */
    section, .section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Make images full-width on small phones */
    .product-content img,
    .service-content img,
    .blog-content img,
    .content-body img {
        width: 100% !important;
        max-height: none !important;
        margin: 12px auto !important;
    }
}

/* Disable hover effects on touch devices */
@media (hover: none) {
    .product-image-section:hover,
    .service-item:hover,
    .blog-card:hover,
    .product-card:hover {
        transform: none;
    }
    
    .product-image-section:hover img,
    .service-item:hover img,
    .blog-card:hover img {
        transform: none;
    }
}

/* Landscape mobile optimizations */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 2rem;
    }
    
    .mobile-menu {
        height: 100vh;
        overflow-y: auto;
    }
}

/* Print styles */
@media print {
    .navbar, .hamburger, .mobile-menu, 
    .chatbot-widget, #starsBg, #gridLines {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* ===== ADDITIONAL MOBILE FIXES ===== */

/* Blog cards - prevent overflow on very small screens */
@media (max-width: 1024px) {
    .blog-card {
        min-width: calc(100vw - 40px);
        overflow: hidden;
    }

    .blog-card img,
    .blog-card video {
        max-width: 100%;
        height: auto;
    }

    .blog-card p,
    .blog-card span,
    .blog-card a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Testimonial cards - prevent overflow on very small screens */
@media (max-width: 1024px) {
    .testimonial-card {
        min-width: calc(100vw - 40px);
        overflow: hidden;
    }

    .testimonial-card p,
    .testimonial-card span,
    .testimonial-card a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Carousel items - responsive sizing for mobile */
@media (max-width: 1024px) {
    .carousel-item {
        flex: 0 0 120px;
        height: 80px;
    }
}

/* Tools grid - fewer columns on small screens */
@media (max-width: 1024px) {
    .w3-tools-grid,
    .w3-developer-toolkit .w3-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Partner logos - prevent overflow */
@media (max-width: 1024px) {
    .partner-logos {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* Prevent text overflow in text-content elements */
h1, h2, h3, h4, h5, h6, p, span, a, li, td, th {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Fix for code blocks and preformatted text */
code, pre, blockquote, table {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
}

/* Ensure form elements are mobile-friendly */
input[type="text"]:not(.filter-control),
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea:not(.filter-control),
select:not(.filter-select) {
    font-size: 16px;
    min-height: 44px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
}

/* Improve button tap targets on mobile */
@media (pointer: coarse) {
    
    /* Add padding to small buttons */
    button.ui-btn, 
    .nav-button {
        padding: 10px 16px;
    }

    #lang-toggle-mobile {
        padding: 2px 8px;
        min-height: auto;
        line-height: 1.4;
    }
}

/* Fix for navbar on very small screens */
@media (max-width: 1024px) {
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .logo2 a {
        font-size: 0.9rem;
    }
}

/* Ensure mobile menu works properly */
@media (max-width: 1024px) {
    .mobile-menu {
        width: 100vw;
        max-width: 100vw;
        left: 0;
        right: 0;
    }
    
    .mobile-menu .nav-links {
        padding: 0 20px;
        width: 100%;
    }
}

/* Fix for landscape orientation on mobile */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero,
    .starlight-zone,
    .testimonials-section {
        min-height: auto;
        padding: 100px 20px;
    }
    
    .mobile-menu {
        height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Improve scroll behavior on iOS */
@media (max-width: 1024px) {
    html {
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Fix for Safari iOS address bar */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 1024px) {
        .hero,
        section:first-of-type {
            min-height: -webkit-fill-available;
        }
    }
}

/* Reduce animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .dashboard-btn,
    .ui-btn {
        border-width: 2px;
    }
    
    a, button {
        text-decoration: underline;
    }
}

/* Dark mode support (for systems that support it) */
@media (prefers-color-scheme: light) {
    /* Keep dark theme as primary, but ensure readability */
    body {
        background: #0a0a0f;
        color: #ffffff;
    }
}

/* ===== PRODUCT & SERVICE DETAIL PAGE MOBILE STYLES ===== */

@media (max-width: 768px) {
    .product-detail-card,
    .service-detail-card {
        padding: 16px !important;
    }
    
    .product-detail-card > div,
    .service-detail-card > div {
        flex-direction: column !important;
    }
    
    .product-image-section,
    .service-image-section {
        max-width: 100% !important;
        width: 100% !important;
        height: 220px !important;
        margin: 0 !important;
        border-radius: 12px 12px 0 0 !important;
    }
    
    .product-info-section,
    .service-info-section {
        padding: 20px !important;
    }
    
    .main-title {
        font-size: clamp(1.5rem, 5vw, 1.8rem) !important;
    }
    
    .product-actions,
    .service-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .product-actions .dashboard-btn,
    .service-actions .dashboard-btn {
        text-align: center;
        justify-content: center;
        width: 100%;
    }
    
    .product-content-section,
    .service-content-section,
    .product-services-section {
        padding: 24px !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
    }
    
    .product-main-row,
    .service-main-row {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
        flex-wrap: wrap;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 480px) {
    .product-detail-card,
    .service-detail-card {
        padding: 12px !important;
    }
    
    .main-title {
        font-size: clamp(1.3rem, 6vw, 1.5rem) !important;
    }
    
    .product-content-section,
    .service-content-section,
    .product-services-section {
        padding: 16px !important;
    }
    
    .product-image-section,
    .service-image-section {
        height: 180px !important;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .product-detail-card,
    .service-detail-card {
        padding: 20px !important;
    }
    
    .product-image-section,
    .service-image-section {
        max-width: 300px !important;
        height: 200px !important;
    }
    
    .product-info-section,
    .service-info-section {
        padding: 30px !important;
    }
}

/* Image hover effects for detail pages - disabled on touch devices */
@media (hover: hover) {
    .product-image-section:hover,
    .service-image-section:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(59, 130, 246, 0.2) !important;
    }

    .product-image-section:hover img,
    .service-image-section:hover img {
        transform: scale(1.05);
    }
}

/* Safe area support for notched phones on detail pages */
@supports (padding: max(0px)) {
    .product-detail-card,
    .service-detail-card {
        padding-left: max(28px, env(safe-area-inset-left)) !important;
        padding-right: max(28px, env(safe-area-inset-right)) !important;
    }
    
    @media (max-width: 768px) {
        .product-detail-card,
        .service-detail-card {
            padding-left: max(16px, env(safe-area-inset-left)) !important;
            padding-right: max(16px, env(safe-area-inset-right)) !important;
        }
    }
}
