:root {
    --primary: #ff2e9f;
    --secondary: #4a90ff;
    --accent: #2de2e6;
    --dark: rgb(10, 10, 31);
    --darker: #050510;
    --light: #ffffff;
    --glow: 0 0 10px rgba(45, 226, 230, 0.5),
            0 0 20px rgba(45, 226, 230, 0.3),
            0 0 30px rgba(45, 226, 230, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
}
.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 16, 0.185);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
    pointer-events: none;
}
/* Modern Navbar Styles */
.navbar {
    background: rgba(10, 10, 31, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(45, 226, 230, 0.1) !important;
    padding: 1rem 0 !important;
    position: fixed !important;
    width: 100% !important;
    z-index: 1000 !important;
}

.nav-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
}

.nav-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem 1rem !important;
    color: var(--light) !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
}

.nav-item i {
    font-size: 1rem !important;
}

.nav-item:hover {
    background: rgba(45, 226, 230, 0.1) !important;
    transform: translateY(-1px) !important;
}

.nav-item.active {
    background: rgba(45, 226, 230, 0.15) !important;
    color: var(--primary) !important;
}

/* Dropdown Refinements */
.dropdown {
    position: relative !important;
    display: inline-block !important;
}

.dropdown-content {
    display: none !important;
    position: absolute !important;
    top: 100% !important; /* Position it right below the button */
    left: 0 !important;
    background: rgba(10, 10, 31, 0.95) !important;
    min-width: 200px !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
    z-index: 1000 !important;
    border-radius: 8px !important;
    border: 1px solid rgba(45, 226, 230, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 0.5rem 0 !important;
}

/* Create padding to prevent dropdown from closing */
.dropdown::after {
    content: '' !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    height: 20px !important; /* Gap between button and dropdown */
    background: transparent !important;
}

.dropdown-content::before {
    content: '' !important;
    position: absolute !important;
    top: -20px !important; /* Match the gap height */
    left: 0 !important;
    width: 100% !important;
    height: 20px !important;
    background: transparent !important;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .dropdown::after,
    .dropdown-content::before {
        display: none !important; /* Remove gap on mobile */
    }

    .dropdown-content {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}
@media (max-width: 768px) {
    .jek{
        display: none !important;
    }
}
.dropbtn {
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.dropbtn .arrow {
    font-size: 0.8rem !important;
    margin-left: 0.3rem !important;
    transition: transform 0.3s ease !important;
}

.dropdown:hover .dropbtn .arrow {
    transform: rotate(180deg) !important;
}

.wallet-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary)) !important;
    border: none !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    color: var(--light) !important;
}

.wallet-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(45, 226, 230, 0.3) !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
.nav-links {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(10, 10, 31, 0.95) !important;
        flex-direction: column !important;
        padding: 1rem !important;
        gap: 0.5rem !important;
        display: none !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-bottom: 1px solid rgba(45, 226, 230, 0.1) !important;
    }

    .nav-links.active {
        display: flex !important;
    }

    /* Hide dropdown buttons on mobile */
    .dropdown .dropbtn {
        display: none !important;
    }

    /* Show dropdown content by default on mobile */
    .dropdown .dropdown-content {
        display: block !important;
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0.5rem 0 !important;
    }

    /* Style the section headers for mobile */
    .dropdown::before {
        content: attr(data-mobile-title) !important;
        display: block !important;
        color: var(--accent) !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        padding: 0.5rem 1rem !important;
        border-bottom: 1px solid rgba(45, 226, 230, 0.1) !important;
        margin-bottom: 0.5rem !important;
    }

    .dropdown-content a {
        padding: 0.8rem 1rem !important;
        border-radius: 8px !important;
        background: rgba(45, 226, 230, 0.05) !important;
        margin-bottom: 0.5rem !important;
    }

    .nav-item {
        width: 100% !important;
        justify-content: flex-start !important;
        background: rgba(45, 226, 230, 0.05) !important;
    }

    .wallet-container {
        width: 100% !important;
        margin-top: 1rem !important;
    }

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

.logo-glitch {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    position: relative;
    text-shadow: var(--glow);
}

.hero {
    position: relative;
    height: 100vh;
    padding-top: 0;
    overflow: hidden;
    background: var(--darker);
    display: flex;
    align-items: center;
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0, 255, 149, 0.03) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: top;
    animation: gridMove 15s linear infinite;
    z-index: 1;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(30px);
    }
}

/* Add glowing line at top */
.grid-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 255, 255, 0.5),
        rgba(0, 255, 255, 0.8),
        rgba(0, 255, 255, 0.5),
        transparent
    );
}

#cyberpunkCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    background: transparent !important;
    pointer-events: auto;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px; /* Reduced max-width */
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    background: transparent;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-top: 140px; /* Increased spacing from top */
}

.hero-text {
    max-width: 800px;
    margin-bottom: 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 100px;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    pointer-events: auto;
    letter-spacing: 0.03em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 500; /* Lighter weight */
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
    letter-spacing: -0.02em;
    color: #fff;
}

.hero-description {
    max-width: 550px;
    margin: 0 auto 3.5rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
    opacity: 0;
    font-weight: 400;
}

.hero-cta {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 1.2rem;
    margin-bottom: 4rem;
    pointer-events: auto;
    animation: fadeInUp 0.6s ease-out 0.6s forwards;
    opacity: 0;
    justify-content: center;
    width: 100%;
    max-width: 500px;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 1.8rem;
    border-radius: 100px; /* More rounded */
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #fff;
    color: var(--darker);
    border: none;
}

.btn-primary .btn-text {
    position: relative;
    z-index: 2;
}
.btn-text2 {
    text-align: center !important;
    margin-left: 2.5rem;
}

.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.95);
}

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

/* Mobile styles */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 1.5rem;
        margin-top: 100px;
        gap: 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 5vw, 3rem);
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    width: 100%;
        max-width: 280px;
        gap: 0.8rem;
        margin: 0 auto 2.5rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        justify-content: center;
        text-align: center;
        display: flex;
        align-items: center;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero-cta {
        max-width: 250px;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
    opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    width: 100%;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeInUp 0.6s ease-out 0.8s forwards;
    opacity: 0;
}

.stat-card {
    text-align: center;
    position: relative;
}

.stat-value {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Divider between stats */
.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 2rem;
    background: rgba(255, 255, 255, 0.05);
}

/* Hide stats on mobile */
@media (max-width: 768px) {
    .hero-stats {
        display: none;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 1.5rem 0.5rem;
        margin-top: 1rem;
        width: calc(100% - 2rem);
        margin-left: auto;
        margin-right: auto;
}

.stat-value {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
}

.stat-label {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 0.25rem;
    }

    .stat-card:not(:last-child)::after {
        height: 1.2rem;
        right: -0.25rem;
        opacity: 0.5;
    }
}

/* Small mobile devices */
@media (max-width: 375px) {
    .hero-stats {
        padding: 1rem 0.25rem;
        gap: 0.25rem;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-card:not(:last-child)::after {
        height: 1rem;
        right: -0.125rem;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .hero-stats {
        padding: 0.75rem 0;
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }
}

/* Optional: Add a subtle gradient to enhance the blur effect */
.blur-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 16, 0.4),
        rgba(5, 5, 16, 0.2)
    );
}

/* Update canvas z-index to be under the blur */
#cyberpunkCanvas {
    z-index: 1;
}

/* Make sure hero-content stays on top */
.hero-content {
    z-index: 3;
}

.features {
    background: var(--darker);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--accent),
        transparent
    );
}

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

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(10, 10, 31, 0.5);
    border: 1px solid rgba(45, 226, 230, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(45, 226, 230, 0.3);
    box-shadow: 0 0 20px rgba(45, 226, 230, 0.1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.roadmap {
    background: var(--darker);
    padding: 120px 0;
    position: relative;
}

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

.timeline {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
}

.timeline-item {
    display: flex;
    gap: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 1;
    text-align: right;
    padding-right: 2rem;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
    padding-right: 0;
    padding-left: 2rem;
}

.timeline-date span {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: rgba(255, 46, 159, 0.1);
    display: inline-block;
}

.timeline-content {
    flex: 2;
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 1px;
    height: calc(100% + 4rem);
    background: rgba(255, 255, 255, 0.1);
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: auto;
    right: -1.5rem;
}

.timeline-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* Status indicator */
.timeline-status {
    position: absolute;
    top: 50%;
    left: -2rem;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--darker);
}

.timeline-item:nth-child(even) .timeline-status {
    left: auto;
    right: -2rem;
}

.timeline-item.completed .timeline-status {
    background: var(--primary);
}

/* Mobile styles */
@media (max-width: 768px) {
    .roadmap {
        padding: 80px 0;
    }

    .timeline {
        gap: 3rem;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 1.5rem;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
    }

    .timeline-date {
        text-align: left;
        padding: 0;
    }

    .timeline-item:nth-child(even) .timeline-date {
        text-align: left;
        padding: 0;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-content::before {
        width: 1px;
        height: calc(100% + 3rem);
        left: -1rem;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        left: -1rem;
        right: auto;
    }

    .timeline-status {
        left: -1.5rem;
    }

    .timeline-item:nth-child(even) .timeline-status {
        left: -1.5rem;
        right: auto;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .timeline-content li {
        font-size: 0.95rem;
    }
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00ffff;
    border-radius: 50%;
    animation: twinkle 1.5s infinite ease-in-out;
    opacity: 0;
    z-index: 3;
    pointer-events: none;
    box-shadow: 
        0 0 4px #00ffff,
        0 0 8px #00ffff,
        0 0 12px #00ffff;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Add glow effects to buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary, 
.btn-secondary, 
.hero-cta, 
.stat-card,
.nav-links a,
.logo-glitch {
    pointer-events: auto;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(45, 226, 230, 0.5);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.2s ease-out, height 0.2s ease-out, border-color 0.2s ease-out;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(45, 226, 230, 0.5), 0 0 20px rgba(45, 226, 230, 0.3);
    animation: rotate 2s linear infinite;
}

.cursor-follower::before,
.cursor-follower::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(45, 226, 230, 0.3);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite ease-in-out;
}

.cursor-follower::after {
    width: 40px;
    height: 40px;
    animation-delay: 1s;
}

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

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

body:hover .cursor-follower {
    width: 30px;
    height: 30px;
    border-color: rgba(45, 226, 230, 0.8);
}

.cursor-trail {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: rgba(45, 226, 230, 0.5);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
    z-index: 999;
    opacity: 0;
    animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.tokenomics {
    background: var(--darker);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

.tokenomics-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    margin-top: 2rem;
}

.tokenomics-card {
    background: linear-gradient(145deg, rgba(10, 10, 31, 0.7), rgba(45, 226, 230, 0.1));
    border: 1px solid rgba(45, 226, 230, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 0 15px rgba(45, 226, 230, 0.1);
    position: relative;
    overflow: hidden;
    flex: 1 1 200px;
    max-width: 300px;
}

.tokenomics-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 226, 230, 0.2), transparent);
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 0;
}

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

.tokenomics-card:hover {
    transform: translateY(-5px);
    border-color: rgba(45, 226, 230, 0.5);
    box-shadow: 0 0 30px rgba(45, 226, 230, 0.3);
}

.tokenomics-card h3 {
    color: var(--light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.tokenomics-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}

.whitepaper {
    position: relative;
    padding: 120px 0;
    background: var(--darker);
    overflow: hidden;
}

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

.whitepaper-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.whitepaper-text-content {
    max-width: 600px;
}

.whitepaper-header {
    margin-bottom: 2rem;
}

.whitepaper-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    background: rgba(45, 226, 230, 0.1);
    border: 1px solid rgba(45, 226, 230, 0.2);
    border-radius: 100px;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.whitepaper-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.whitepaper-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
}

.whitepaper-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: rgba(45, 226, 230, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(45, 226, 230, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.whitepaper .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
}

.whitepaper .btn-primary i {
    font-size: 1.2rem;
}

.spline-container2 {
    width: 80%;
    height: 600px;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: visible;
    transform: scale(1.2) translateX(10%);
}

.spline-container2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 70px;
    background: var(--darker);
    z-index: 10;
}

/* Mobile styles */
@media (max-width: 768px) {
    .whitepaper {
        padding: 80px 0;
    }

    .whitepaper-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .whitepaper-text-content {
        order: 1;
        padding: 1rem;
        max-width: 100%;
    }
    
    .whitepaper-stats {
        padding: 1rem;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .spline-container2 {
        order: 2;
        height: 300px;
        transform: none;
        width: 100%;
        margin: 2rem 0;
    }

    .whitepaper-badge {
        margin: 0 auto 1.5rem;
        justify-content: center;
        width: fit-content;
    }

    .whitepaper-header {
        margin-bottom: 2rem;
    }
}

.ai-bot {
    padding: 150px 0 !important;
    background: var(--darker) !important;
    position: relative !important;
    overflow: hidden !important;
}

.ai-bot-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    width: 100% !important;
}

.ai-bot-content {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4rem !important;
    margin-top: 2rem !important;
    width: 100% !important;
}

.ai-bot-image {
    max-width: 30%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(45, 226, 230, 0.2);
    margin-bottom: 2rem;
}

.ai-bot-description {
    background: transparent;
    padding: 0;
    border: none;
    backdrop-filter: none;
}

.ai-bot-description p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 500px;
}

.ai-bot-description .btn-primary {
    width: 100% !important;
    max-width: 250px !important;
    text-align: center !important;
}

.gltf-model-container {
    width: 50%;
    height: 500px;
    margin-bottom: 2rem;
    position: relative;

    margin-left: 0;
}

.ai-bot-text-content {
    flex: 1;
    max-width: 600px;
    background: transparent;
    padding: 0;
    border: none;
    backdrop-filter: none;
}

.ai-bot-text-content .section-title {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
}

/* Original spline container remains unchanged for ai-bot section */
.spline-container {
    width: 50% !important;
    height: 500px !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* New spline container for whitepaper section */
.spline-container2 {
    width: 80%;
    height: 600px;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: visible;
    transform: scale(1.2) translateX(10%);
}

.spline-container2 iframe {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    transform-origin: center center;
    pointer-events: auto;
}

/* Hide Spline branding */
.spline-container2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 70px;
    background: var(--darker);
    z-index: 10;
}

/* Mobile styles for spline-container2 */
@media (max-width: 768px) {
    .spline-container2 {
        width: 100%;
        height: 600px;
        transform: none;
        margin: 2rem 0;
        margin-top: -5rem;
        margin-bottom: -10rem;
    }
}

.spline-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(5, 5, 16, 0.5) 70%,
        rgba(5, 5, 16, 0.8)
    );
    pointer-events: none;
    z-index: 2;
}

.spline-container iframe {
    border: none;
    background: transparent;
    width: 120%;
    height: calc(100% + 80px);
    margin-top: -40px;
    margin-left: -10%;
    transform: scale(1.1);
    transform-origin: center center;
    pointer-events: auto;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll Animation Classes */
.ai-bot {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-bot-hidden {
    opacity: 0;
    transform: translateY(50px);
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Add stagger effect for children */
.animate-in .spline-container {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-in .ai-bot-text-content {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.animate-in .ai-bot-description {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

/* Features section animations */
.features {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-hidden {
    opacity: 0;
    transform: translateY(50px);
}

.features.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Add stagger effect for feature cards */
.features.animate-in .feature-card {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.features.animate-in .feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.features.animate-in .feature-card:nth-child(2) {
    animation-delay: 0.4s;
}

.features.animate-in .feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

.features.animate-in .feature-card:nth-child(4) {
    animation-delay: 0.8s;
}

/* Roadmap section animations */
.roadmap {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-hidden {
    opacity: 0;
    transform: translateY(50px);
}

.roadmap.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Add stagger effect for timeline items */
.roadmap.animate-in .timeline-item {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.roadmap.animate-in .timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.roadmap.animate-in .timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.roadmap.animate-in .timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.roadmap.animate-in .timeline-item:nth-child(4) {
    animation-delay: 0.8s;
}

/* Tokenomics section animations */
.tokenomics {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.tokenomics-hidden {
    opacity: 0;
    transform: translateY(50px);
}

.tokenomics.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Add stagger effect for tokenomics cards */
.tokenomics.animate-in .tokenomics-card {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.tokenomics.animate-in .tokenomics-card:nth-child(1) {
    animation-delay: 0.2s;
}

.tokenomics.animate-in .tokenomics-card:nth-child(2) {
    animation-delay: 0.4s;
}

.tokenomics.animate-in .tokenomics-card:nth-child(3) {
    animation-delay: 0.6s;
}

.tokenomics.animate-in .tokenomics-card:nth-child(4) {
    animation-delay: 0.8s;
}

/* Community Section Styles */
.community {
    padding: 6rem 2rem;
    background: var(--darker);
}

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

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.social-card {
    background: rgba(10, 10, 31, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(45, 226, 230, 0.1);
}

.social-icon {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.social-card h3 {
    color: var(--light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    min-height: 48px;
}

.social-button {
    background: transparent;
    border: none;
    color: var(--accent);
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.social-button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.social-button:hover::after {
    width: 100%;
}

.social-button:hover {
    transform: translateY(-2px);
}

.social-button:hover i {
    transform: translateX(5px);
}

.social-button i {
    transition: transform 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .community {
        padding: 4rem 1rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-card {
        padding: 1.5rem;
    }
}

.wallet-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wallet-btn {
    min-width: 160px;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wallet-balance-display {
    background: rgba(10, 10, 31, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(45, 226, 230, 0.2);
    color: var(--accent);
    font-size: 0.9rem;
    display: none; /* Hidden by default */
    animation: fadeIn 0.3s ease-out;
}

.wallet-balance-display.visible {
    display: block;
}

/* SweetAlert Custom Styles */
.wallet-modal .wallet-modal-popup {
    border: 1px solid rgba(45, 226, 230, 0.2);
    background: linear-gradient(135deg, rgba(10, 10, 31, 0.95), rgba(5, 5, 16, 0.95));
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 30px rgba(45, 226, 230, 0.1);
}

.wallet-modal .wallet-modal-title {
    color: var(--light);
    font-size: 1.8rem !important;
    margin-bottom: 1.5rem !important;
}

.wallet-modal .wallet-modal-confirm {
    background: linear-gradient(45deg, var(--primary), var(--secondary)) !important;
    border: none !important;
    padding: 1rem 2rem !important;
    color: white !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.wallet-modal .wallet-modal-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(45, 226, 230, 0.3);
}

.wallet-modal .wallet-modal-cancel {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 1rem 2rem !important;
    color: white !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.wallet-modal .wallet-modal-cancel:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.wallet-modal .modal-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.wallet-modal .modal-content img {
    filter: drop-shadow(0 0 10px rgba(45, 226, 230, 0.3));
    transition: all 0.3s ease;
}

.wallet-modal .modal-content img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(45, 226, 230, 0.5));
}

.swal2-popup {
    font-family: 'Inter', sans-serif !important;
}

/* Add animation classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
}

.wallet-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.wallet-address {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.9rem;
}

.wallet-balance {
    font-size: 0.8rem;
    color: var(--accent);
    opacity: 0.9;
}

.wallet-btn {
    min-width: 160px /* Ensure consistent width */
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wallet-btn.connected {
    background: linear-gradient(45deg, var(--accent), var(--secondary));
}

/* Add this new class */
.canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px; /* Adjust height as needed */
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 16, 0.8) 0%,
        rgba(5, 5, 16, 0.6) 40%,
        transparent 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
    pointer-events: none;
}

/* Mobile menu button styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
    margin-right: 20px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile menu button animation when active */
.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        margin-right: 0;
    }

    .mobile-menu-btn span {
        background-color: var(--accent);
        box-shadow: 0 0 5px var(--accent);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(
            135deg,
            rgba(10, 10, 31, 0.95),
            rgba(5, 5, 16, 0.98)
        );
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
        border-left: 1px solid rgba(45, 226, 230, 0.1);
    }

    .nav-links.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(45, 226, 230, 0.1);
    }

    .nav-links a {
        font-size: 1.4rem;
        position: relative;
        padding: 0.5rem 1rem;
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateY(20px);
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
        animation: fadeInUp 0.4s ease forwards;
    }

    .nav-links a:nth-child(1) { animation-delay: 0.1s; }
    .nav-links a:nth-child(2) { animation-delay: 0.2s; }
    .nav-links a:nth-child(3) { animation-delay: 0.3s; }
    .nav-links a:nth-child(4) { animation-delay: 0.4s; }

    .nav-links a::before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--accent), transparent);
        transition: width 0.3s ease;
    }

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

    .wallet-container {
        margin-top: 1rem;
        width: 100%;
        max-width: 300px;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.4s ease 0.5s forwards;
    }

    .wallet-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        border: 1px solid rgba(45, 226, 230, 0.3);
        box-shadow: 0 0 20px rgba(45, 226, 230, 0.1);
    }

    /* Hamburger menu animation */
    .mobile-menu-btn.active span:first-child {
        transform: rotate(45deg) translate(6px, 6px);
        background-color: var(--accent);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .mobile-menu-btn.active span:last-child {
        transform: rotate(-45deg) translate(6px, -6px);
        background-color: var(--accent);
    }

    /* Add glowing effect when menu is active */
    .mobile-menu-btn.active span {
        box-shadow: 0 0 10px var(--accent),
                   0 0 20px var(--accent);
    }
}

/* Add these keyframes if not already present */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Override any conflicting mobile styles */
@media screen and (max-width: 768px) {
    .chat-sidebar,
    .chat-info {
        position: fixed;
    }
}

/* Himari Intro Section */
.himari-intro {
    padding: 120px 0;
    background: var(--darker);
    position: relative;
    overflow: visible;
}

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

.intro-header {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.4rem 1.2rem !important;
    background: rgba(45, 226, 230, 0.05) !important;
    border: 1px solid rgba(45, 226, 230, 0.1) !important;
    border-radius: 100px !important;
    font-size: 0.875rem !important;
    color: var(--accent) !important;
    margin-bottom: 2rem !important;
    position: relative !important;
    z-index: 2 !important;
}

.intro-title2 {
  font-size: 3rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.3 !important; /* Reduced from 2.5 */
    text-shadow: 0 0 20px rgba(45, 226, 230, 0.3);
    padding: 0 1rem;
}

.intro-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    background: rgba(10, 10, 31, 0.5);
    border: 1px solid rgba(45, 226, 230, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--accent);
}

.feature-content h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile styles */
@media (max-width: 768px) {
    .himari-intro {
        padding: 100px 0 60px;
    }

    .intro-container {
        padding: 0 1rem;
    }

    .intro-header {
        margin-bottom: 2.5rem;
    }

    .intro-badge {
        font-size: 0.8rem !important;
        padding: 0.35rem 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .intro-title2 {
        font-size: 2rem;
        line-height: 1.4 !important;
     margin-top: 4rem;
    padding: 0;
        white-space: normal; /* Ensure text wraps */
        overflow-wrap: break-word; /* Handle long words */
    }

    .intro-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .intro-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    margin-bottom: 1rem;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .feature-content p {
        font-size: 0.9rem;
    }
}

/* Small mobile devices */
@media (max-width: 375px) {
    .himari-intro {
        padding: 80px 0 40px;
    }

    .intro-badge {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.8rem !important;
    }

    .intro-title {
        font-size: clamp(1.6rem, 4vw, 1.8rem);
        line-height: 1.4 !important;
    }

    .feature-item {
        padding: 1.25rem;
    }
}

/* Involvement Section */
.involvement-section {
    text-align: center;
    margin-top: 4rem;
}

.involvement-section h3 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.involvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.involvement-card {
    background: rgba(10, 10, 31, 0.4);
    border: 1px solid rgba(45, 226, 230, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.involvement-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.involvement-card i {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.involvement-card h4 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.involvement-card p {
    color: var(--light);
    opacity: 0.8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .himari-intro {
        padding: 60px 0;
    }

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

    .involvement-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .intro-card,
    .involvement-card {
        padding: 1.5rem;
    }
}

/* Himari About Section */
.himari-about {
    padding: 6rem 2rem;
    background: var(--darker);
}

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

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.highlight-text {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: rgba(10, 10, 31, 0.5);
    border: 1px solid rgba(45, 226, 230, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.eco-card {
    background: rgba(10, 10, 31, 0.5);
    border: 1px solid rgba(45, 226, 230, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.eco-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .himari-about {
        padding: 4rem 1rem;
    }

    .highlight-text {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .about-grid,
    .eco-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card {
        padding: 1.5rem;
        margin: 0 1.5rem; /* Added horizontal margins */
    }

    .about-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .about-card p {
        font-size: 0.95rem;
    }

    .eco-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .eco-card {
        padding: 1.5rem;
        margin: 0 1.5rem; /* Added horizontal margins */
    }

    .eco-card h4 {
        font-size: 1.2rem;
        margin: 1rem 0 0.8rem;
    }

    .eco-card p {
        font-size: 0.95rem;
    }
}

/* Small mobile devices */
@media (max-width: 375px) {
    .himari-about {
        padding: 80px 0 40px;
    }

    .intro-badge {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.8rem !important;
    }

    .intro-title {
        font-size: clamp(1.6rem, 4vw, 1.8rem);
        line-height: 1.4 !important;
    }

    .feature-item {
        padding: 1.25rem;
    }

    .about-card {
        padding: 1.25rem;
        margin: 0 1rem; /* Slightly smaller margins for very small devices */
    }

    .eco-card {
        padding: 1.25rem;
        margin: 0 1rem; /* Slightly smaller margins for very small devices */
    }
}

/* Ecosystem Features */
.ecosystem-features {
    margin-top: 2rem;
}

.ecosystem-features h3 {
    color: var(--accent);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.eco-card {
    background: rgba(10, 10, 31, 0.4);
    border: 1px solid rgba(45, 226, 230, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.eco-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.eco-card i {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.eco-card h4 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.eco-card p {
    color: var(--light);
    opacity: 0.8;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .himari-about {
        padding: 60px 0;
    }

    .highlight-text {
        font-size: 1.2rem;
        padding: 1.5rem;
    }

    .about-grid,
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card,
    .eco-card {
        padding: 1.5rem;
    }
}

/* iPhone Notch Support */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .hero-content {
            padding-left: max(1rem, env(safe-area-inset-left));
            padding-right: max(1rem, env(safe-area-inset-right));
            padding-top: max(60px, env(safe-area-inset-top));
        }
    }
}

/* Restore gradient text and cyber text styles */
.gradient-text {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
}

.cyber-text {
    color: var(--accent);
    text-shadow: var(--glow);
    display: block;
}

/* Restore particle effects */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 10%),
        radial-gradient(circle at 30% 30%, rgba(255, 0, 255, 0.1) 0%, transparent 10%);
    filter: blur(1px);
    animation: float 10s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, 10px);
    }
}

/* Restore pulse animation */
.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Update stat cards with previous styling */
.stat-card {
    background: rgba(10, 10, 31, 0.644);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out 0.6s forwards;
    opacity: 0;
}

.stat-card:hover {
    background: rgba(10, 10, 31, 0.7);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Mobile styles with previous colors */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        padding-top: 0;
    }

    .hero-content {
        padding: 1rem;
        border-left: none;
        gap: 1.5rem;
        text-align: center;
        margin-top: 60px;
        justify-content: center;
    }

    .hero-text {
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .hero-description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
        padding-bottom: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }
}

/* Add these animation keyframes */
@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add these new styles for the intro section */
.himari-intro {
    opacity: 0;
    visibility: hidden;
    position: relative;
    transition: opacity 0.3s ease;
}

.himari-intro.appear {
    opacity: 1;
    visibility: visible;
}

/* Glitch Header Animation */
.himari-intro .intro-header {
    position: relative;
    opacity: 0;
}

.himari-intro.appear .intro-header {
    animation: glitchIn 1s cubic-bezier(0.2, 0, 0.6, 1) forwards;
}

.himari-intro .intro-header::before,
.himari-intro .intro-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.himari-intro .intro-header::before {
    animation: glitchTop 2s infinite linear alternate-reverse;
}

.himari-intro .intro-header::after {
    animation: glitchBottom 3s infinite linear alternate-reverse;
}

/* Matrix-style Card Animation */
.himari-intro .intro-card {
    opacity: 0;
    transform: scale(0.95);
    filter: brightness(0.5);
    position: relative;
    overflow: hidden;
}

.himari-intro.appear .intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(45, 226, 230, 0.2),
        transparent
    );
    animation: scanline 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.himari-intro.appear .intro-card:nth-child(1) {
    animation: matrixReveal 0.8s cubic-bezier(0.2, 0, 0.6, 1) forwards;
    animation-delay: 0.2s;
}

.himari-intro.appear .intro-card:nth-child(2) {
    animation: matrixReveal 0.8s cubic-bezier(0.2, 0, 0.6, 1) forwards;
    animation-delay: 0.4s;
}

.himari-intro.appear .intro-card:nth-child(3) {
    animation: matrixReveal 0.8s cubic-bezier(0.2, 0, 0.6, 1) forwards;
    animation-delay: 0.6s;
}

/* Holographic Icon Effect */
.himari-intro .card-icon {
    opacity: 0;
    position: relative;
}

.himari-intro.appear .card-icon {
    animation: hologramAppear 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.8s;
}

.himari-intro.appear .card-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(45, 226, 230, 0.1) 0%,
        transparent 70%
    );
    animation: hologramGlow 3s infinite;
}

/* Digital Rain List Animation */
.himari-intro .vision-list li,
.himari-intro .feature-list li,
.himari-intro .ecosystem-list li {
    opacity: 0;
    transform: translateY(20px);
    position: relative;
}

.himari-intro.appear .vision-list li,
.himari-intro.appear .feature-list li,
.himari-intro.appear .ecosystem-list li {
    animation: digitalRain 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* New Keyframe Animations */
@keyframes glitchIn {
    0% {
        opacity: 0;
        transform: translateX(-10px);
        clip-path: inset(0 0 0 100%);
    }
    50% {
        clip-path: inset(0);
        transform: translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes matrixReveal {
    0% {
        opacity: 0;
        transform: scale(0.95);
        filter: brightness(0.5) blur(10px);
    }
    50% {
        filter: brightness(1.2) blur(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1) blur(0);
    }
}

@keyframes scanline {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes hologramAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(10deg);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes hologramGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes digitalRain {
    0% {
        opacity: 0;
        transform: translateY(20px);
        text-shadow: none;
    }
    50% {
        text-shadow: 0 0 8px var(--accent);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 0 0 2px var(--accent);
    }
}

@keyframes glitchTop {
    0% { transform: translateX(0); }
    100% { transform: translateX(2px); }
}

@keyframes glitchBottom {
    0% { transform: translateX(0); }
    100% { transform: translateX(-2px); }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .himari-intro.appear .intro-card {
        animation-delay: 0.2s;
    }

    .himari-intro.appear .card-icon {
        animation-delay: 0.4s;
    }

    .himari-intro.appear .vision-list li,
    .himari-intro.appear .feature-list li,
    .himari-intro.appear .ecosystem-list li {
        animation-delay: 0.3s;
    }
}

/* Involvement Section Animations */
.involvement-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.himari-intro.appear .involvement-section {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.4s;
}

.involvement-section h3 {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.himari-intro.appear .involvement-section h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.5s;
}

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

.himari-intro.appear .involvement-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.6s;
}

.himari-intro.appear .involvement-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.7s;
}

.himari-intro.appear .involvement-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.8s;
}

.himari-intro.appear .involvement-card:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.9s;
}

.himari-intro.appear .involvement-card i {
    animation: iconPop 0.5s cubic-bezier(0.4, 0, 0.2, 1.5) forwards;
    animation-delay: 2s;
    opacity: 0;
    transform: scale(0.5);
}

@keyframes iconPop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Responsiveness for Involvement Animations */
@media (max-width: 768px) {
    .himari-intro.appear .involvement-section,
    .himari-intro.appear .involvement-section h3,
    .himari-intro.appear .involvement-card {
        transition-delay: 0.6s;
    }

    .himari-intro.appear .involvement-card i {
        animation-delay: 0.8s;
    }
}

/* New Involvement Section Animations */
.involvement-section {
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.himari-intro.appear .involvement-section {
    animation: sectionFadeIn 0.8s cubic-bezier(0.2, 0, 0.6, 1) forwards;
    animation-delay: 1.4s;
}

.involvement-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--accent),
        transparent
    );
    animation: scanlineHorizontal 2s linear infinite;
    opacity: 0;
}

.himari-intro.appear .involvement-section::before {
    opacity: 1;
    transition: opacity 0.3s ease;
    transition-delay: 1.5s;
}

/* Title Animation */
.involvement-section h3 {
    opacity: 0;
    position: relative;
    display: inline-block;
}

.himari-intro.appear .involvement-section h3 {
    animation: glitchText 1s cubic-bezier(0.2, 0, 0.6, 1) forwards;
    animation-delay: 1.6s;
}

/* Card Animations */
.involvement-card {
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.involvement-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(45, 226, 230, 0.1),
        transparent
    );
    animation: rotate 4s linear infinite;
    opacity: 0;
}

.himari-intro.appear .involvement-card {
    animation: cardReveal 0.8s cubic-bezier(0.2, 0, 0.6, 1) forwards;
}

.himari-intro.appear .involvement-card::before {
    opacity: 1;
}

.himari-intro.appear .involvement-card:nth-child(1) {
    animation-delay: 1.7s;
}

.himari-intro.appear .involvement-card:nth-child(2) {
    animation-delay: 1.8s;
}

.himari-intro.appear .involvement-card:nth-child(3) {
    animation-delay: 1.9s;
}

.himari-intro.appear .involvement-card:nth-child(4) {
    animation-delay: 2s;
}

/* Icon Animations */
.involvement-card i {
    opacity: 0;
    position: relative;
}

.himari-intro.appear .involvement-card i {
    animation: iconGlitch 0.5s cubic-bezier(0.2, 0, 0.6, 1) forwards;
}

.himari-intro.appear .involvement-card:nth-child(1) i { animation-delay: 2.1s; }
.himari-intro.appear .involvement-card:nth-child(2) i { animation-delay: 2.2s; }
.himari-intro.appear .involvement-card:nth-child(3) i { animation-delay: 2.3s; }
.himari-intro.appear .involvement-card:nth-child(4) i { animation-delay: 2.4s; }

/* New Keyframes */
@keyframes sectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: brightness(0.5) blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: brightness(1) blur(0);
    }
}

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

@keyframes glitchText {
    0% {
        opacity: 0;
        transform: translateX(-10px);
        text-shadow: none;
    }
    20% {
        transform: translateX(10px);
        text-shadow: 
            2px 0 var(--primary),
            -2px 0 var(--secondary);
    }
    40% {
        transform: translateX(-5px);
        text-shadow: 
            -2px 0 var(--primary),
            2px 0 var(--secondary);
    }
    60% {
        transform: translateX(5px);
        text-shadow: 
            2px 0 var(--accent),
            -2px 0 var(--primary);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        text-shadow: 0 0 8px var(--accent);
    }
}

@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
        filter: brightness(0.5) contrast(1.2);
    }
    50% {
        filter: brightness(1.2) contrast(1.4);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: brightness(1) contrast(1);
    }
}

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

@keyframes iconGlitch {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
        filter: hue-rotate(90deg);
    }
    25% {
        transform: scale(1.2) rotate(10deg);
        filter: hue-rotate(-90deg);
    }
    50% {
        transform: scale(0.9) rotate(-5deg);
        filter: hue-rotate(45deg);
    }
    75% {
        transform: scale(1.1) rotate(5deg);
        filter: hue-rotate(-45deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
        filter: hue-rotate(0);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .himari-intro.appear .involvement-section {
        animation-delay: 0.8s;
    }

    .himari-intro.appear .involvement-card {
        animation-delay: 1s;
    }

    .himari-intro.appear .involvement-card i {
        animation-delay: 1.2s;
    }
}

/* Himari About Section Animations */
.himari-about {
    opacity: 0;
    visibility: hidden;
    position: relative;
    overflow: hidden;
}

.himari-about.appear {
    opacity: 1;
    visibility: visible;
}

/* Header Animation */
.himari-about .about-header {
    position: relative;
    opacity: 0;
}

.himari-about.appear .about-header {
    animation: matrixDrop 1s cubic-bezier(0.2, 0, 0.6, 1) forwards;
}

/* About Text Animation */
.himari-about .highlight-text {
    opacity: 0;
    position: relative;
    filter: blur(10px);
}

.himari-about.appear .highlight-text {
    animation: deblurText 0.8s cubic-bezier(0.2, 0, 0.6, 1) forwards;
    animation-delay: 0.4s;
}

/* Grid Cards Animation */
.himari-about .about-card {
    opacity: 0;
    transform: translateZ(-100px);
    transform-style: preserve-3d;
    position: relative;
}

.himari-about.appear .about-card {
    animation: hologramCard 0.8s cubic-bezier(0.2, 0, 0.6, 1) forwards;
}

.himari-about.appear .about-card:nth-child(1) {
    animation-delay: 0.6s;
}

.himari-about.appear .about-card:nth-child(2) {
    animation-delay: 0.8s;
}

/* Ecosystem Features Animation */
.himari-about .ecosystem-features {
    opacity: 0;
}

.himari-about.appear .ecosystem-features {
    animation: fadeScale 0.8s cubic-bezier(0.2, 0, 0.6, 1) forwards;
    animation-delay: 1s;
}

.himari-about .eco-card {
    opacity: 0;
    transform: translateY(30px);
}

.himari-about.appear .eco-card {
    animation: glitchIn 0.6s cubic-bezier(0.2, 0, 0.6, 1) forwards;
}

.himari-about.appear .eco-card:nth-child(1) { animation-delay: 1.2s; }
.himari-about.appear .eco-card:nth-child(2) { animation-delay: 1.4s; }
.himari-about.appear .eco-card:nth-child(3) { animation-delay: 1.6s; }
.himari-about.appear .eco-card:nth-child(4) { animation-delay: 1.8s; }

/* New Keyframe Animations */
@keyframes matrixDrop {
    0% {
        opacity: 0;
        transform: translateY(-50px);
        text-shadow: none;
    }
    50% {
        opacity: 0.5;
        transform: translateY(10px);
        text-shadow: 
            0 0 5px var(--accent),
            0 0 10px var(--accent),
            0 0 20px var(--accent);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 0 0 10px var(--accent);
    }
}

@keyframes deblurText {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

@keyframes hologramCard {
    0% {
        opacity: 0;
        transform: translateZ(-100px) rotateX(20deg);
        box-shadow: none;
    }
    50% {
        opacity: 0.5;
        transform: translateZ(-50px) rotateX(10deg);
        box-shadow: 
            0 0 20px rgba(45, 226, 230, 0.3),
            0 0 40px rgba(45, 226, 230, 0.2);
    }
    100% {
        opacity: 1;
        transform: translateZ(0) rotateX(0);
        box-shadow: 0 0 10px rgba(45, 226, 230, 0.2);
    }
}

@keyframes fadeScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .himari-about.appear .about-header,
    .himari-about.appear .highlight-text,
    .himari-about.appear .about-card,
    .himari-about.appear .ecosystem-features,
    .himari-about.appear .eco-card {
        animation-delay: 0.3s;
    }
}

/* AI Bot Section Styles */
.ai-bot-content {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4rem !important;
    margin-top: 2rem !important;
    width: 100% !important;
}

.spline-container {
    width: 50% !important;
    height: 650px !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.ai-bot-text-content {
    flex: 1 !important;
    max-width: 600px !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    backdrop-filter: none !important;
    transition: all 0.3s ease !important;
    width: 50% !important;
}

.ai-bot-text-content:hover {
    border-color: rgba(45, 226, 230, 0.3) !important;
    box-shadow: 0 0 30px rgba(45, 226, 230, 0.1) !important;
}

.ai-bot-description p {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
    font-weight: 400 !important;
    max-width: 500px !important;
}

.ai-bot-description .btn-primary {
    width: 100% !important;
    max-width: 250px !important;
    text-align: center !important;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .ai-bot-content {
        flex-direction: column !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
    }

    .spline-container {
        order: 2 !important; /* Move below */
        width: 100% !important;
        height: 350px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .ai-bot-text-content {
        order: 1 !important; /* Move above */
        width: 100% !important;
        max-width: 100% !important;
        padding: 2rem !important;
        margin: 0 !important;
    }
}

@media (max-width: 768px) {
    .ai-bot {
        padding: 60px 0 !important;
    }

    .spline-container {
        position: relative !important;
        height: 400px !important;
        overflow: visible !important;
        margin: 2rem auto !important;
        transform: scale(1) !important;
    }

    /* Adjust overlay */
    .spline-container::after {
        content: '' !important;
        
        bottom: -50px !important; /* Moved down to avoid cropping */
        left: 0 !important;
        width: 500px !important;
        height: 50px !important;
        background: var(--darker) !important;
        z-index: 10 !important;
    }

    /* Adjust iframe for better visibility */
    .spline-container iframe {
        transform: scale(0.65) !important; /* Reduced scale */
        width: 200% !important; /* Increased width */
        height: 200% !important; /* Increased height */
        position: absolute !important;
        top: -50% !important;
        left: -50% !important;
        right: -50% !important;
        bottom: -50% !important;
        margin: auto !important;
    }
}

/* iPhone SE and smaller devices */
@media (max-width: 375px) {
    .spline-container {
        height: 380px !important;
    }

    .spline-container iframe {
        transform: scale(0.6) !important;
        width: 220% !important;
        height: 220% !important;
        top: -60% !important;
        left: -60% !important;
        right: -60% !important;
        bottom: -60% !important;
    }
}

/* Larger phones */
@media (min-width: 376px) and (max-width: 428px) {
    .spline-container {
        height: 390px !important;
    }

    .spline-container iframe {
        transform: scale(0.62) !important;
        width: 210% !important;
        height: 210% !important;
        top: -55% !important;
        left: -55% !important;
        right: -55% !important;
        bottom: -55% !important;
    }
}

/* Fix for notched devices */
@supports (padding: env(safe-area-inset-top)) {
    @media (max-width: 768px) {
        .spline-container {
            margin-top: env(safe-area-inset-top) !important;
            margin-bottom: env(safe-area-inset-bottom) !important;
        }
    }
}

@media (max-width: 768px) {
    .ai-bot {
        padding: 80px 0 !important;
    }

    .ai-bot-container {
        padding: 0 1rem !important;
    }

    .spline-container {
        height: 300px !important;
        margin-bottom: 1rem !important;
    }

    .ai-bot-text-content {
        padding: 1.5rem !important;
        width: 100% !important;
    }

    .ai-bot-description {
        width: 100% !important;
    }

    .ai-bot-description p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 !important;
    }

    .ai-bot-description .btn-primary {
        width: 100% !important;
        max-width: none !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
        margin-bottom: 2rem !important;
        text-align: center !important;
    }

    .gradient-text,
    .cyber-text {
        display: block !important;
        text-align: center !important;
    }
}

/* iPhone Notch Support */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .ai-bot-container {
            padding-left: max(1rem, env(safe-area-inset-left)) !important;
            padding-right: max(1rem, env(safe-area-inset-right)) !important;
        }
    }
}

@media (max-width: 768px) {
    .ai-bot-text-content {
        padding: 2rem 1.5rem !important;
        width: 100% !important;
        margin-top: 2rem !important; /* Add space at top */
    }

    .section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
        margin-bottom: 2rem !important;
        text-align: center !important;
        line-height: 1.4 !important; /* Improve line height */
        padding: 0 0.5rem !important; /* Add horizontal padding */
    }

    .gradient-text,
    .cyber-text {
        display: block !important;
        text-align: center !important;
        margin-bottom: 0.5rem !important; /* Add space between text elements */
        white-space: normal !important; /* Allow text to wrap */
        overflow: visible !important;
    }

    .cyber-text {
        font-size: clamp(1.6rem, 3.5vw, 2.2rem) !important; /* Slightly smaller */
        line-height: 1.3 !important;
    }

    .ai-bot-description {
        width: 100% !important;
        margin-top: 1.5rem !important;
    }
}

/* Smaller devices */
@media (max-width: 375px) {
    .section-title {
        font-size: clamp(1.6rem, 3.5vw, 2rem) !important; /* Smaller text for small devices */
    }
}

/* Direct fix for Himari intro heading */
@media (max-width: 768px) {
    .himari-intro .intro-header {
        padding: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .himari-intro .section-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
        padding: 0.5rem !important;
    }

    .himari-intro .intro-subtitle {
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
        margin-top: 0.5rem !important;
        padding: 0.5rem !important;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .himari-intro .section-title {
        font-size: 1.8rem !important;
    }
}

/* Specific styling for Himari intro title */
.intro-main-title {
    font-size: 3rem !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    position: relative !important;
    z-index: 2 !important;
}

@media (max-width: 768px) {
    .intro-main-title {
        font-size: 2.2rem !important;
        line-height: 1.4 !important;
        margin: 1rem 0 !important;
        padding: 0 1rem !important;
    }

    .intro-main-title .gradient-text,
    .intro-main-title .cyber-text {
        display: block !important;
        margin: 0.5rem 0 !important;
    }
}

@media (max-width: 375px) {
    .intro-main-title {
        font-size: 1.8rem !important;
    }
}

/* Footer Styles */
.site-footer {
    background: rgba(10, 10, 31, 0.884);
    border-top: 1px solid rgba(45, 226, 230, 0.2);
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    clear: both; /* Ensure footer clears floated elements */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 1rem 1rem;
        margin-top: 2rem; /* Add margin to prevent overlap */
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.5rem !important;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

/* iPhone Notch Support */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .site-footer {
            padding-bottom: max(2rem, env(safe-area-inset-bottom));
        }
    }
}

/* Mobile Hero Section Styles */
@media (max-width: 768px) {
    .blur-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(5, 5, 16, 0.979);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 2;
        pointer-events: none;
    }
    .hero {
        min-height: 100vh !important;
        padding: 100px 1rem 1rem !important; /* Reduced bottom padding */
        position: relative !important;
        overflow: hidden !important;
        backdrop-filter: blur(10px) !important; /* Added blur effect */
    }

    .hero::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        z-index: 1 !important;
    }

    .hero-content {
        position: relative !important;
        z-index: 2 !important;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
        margin-top: 2rem !important; /* Reduced from 3rem to move stats higher */
        padding: 0 0.5rem !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .stat-card {
        padding: 0.8rem !important;
        background: rgba(10, 10, 31, 0.6) !important;
        backdrop-filter: blur(5px) !important;
        -webkit-backdrop-filter: blur(5px) !important;
    }

    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        margin-top: 2rem !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .hero-text {
        text-align: center !important;
        max-width: 100% !important;
    }

    .hero-badge {
        font-size: 0.9rem !important;
        padding: 0.5rem 1rem !important;
        margin: 0 auto 1.5rem !important;
        max-width: fit-content !important;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 2.5rem) !important;
        line-height: 1.3 !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-title .gradient-text,
    .hero-title .cyber-text {
        display: block !important;
        margin: 0.3rem 0 !important;
    }

    .hero-description {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 2rem !important;
        padding: 0 0.5rem !important;
    }

    .hero-cta {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        width: 100% !important;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
        margin-top: 2rem !important; /* Reduced from 3rem to move stats higher */
        padding: 0 0.5rem !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .stat-card {
        padding: 0.8rem !important;
        background: rgba(10, 10, 31, 0.6) !important;
        backdrop-filter: blur(5px) !important;
        -webkit-backdrop-filter: blur(5px) !important;
    }

    .stat-value {
        font-size: 1.5rem !important;
    }

    .stat-label {
        font-size: 0.8rem !important;
    }

    /* Background Elements */
    .grid-background {
        opacity: 0.3 !important;
    }

    .blur-overlay {
        opacity: 0.7 !important;
    }
}

/* Mobile AI Bot Section Styles */
@media (max-width: 768px) {
    .ai-bot {
        padding: 40px 0 !important; /* Reduced top and bottom padding */
    }

    .ai-bot-container {
        padding: 0 1rem !important;
    }

    .spline-container {
        height: 300px !important;
        margin-bottom: 1rem !important;
    }

    .ai-bot-text-content {
        padding: 1.5rem !important;
        width: 100% !important;
    }

    .ai-bot-description {
        width: 100% !important;
    }

    .ai-bot-description p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 !important;
    }

    .ai-bot-description .btn-primary {
        width: 100% !important;
        max-width: none !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
        margin-bottom: 2rem !important;
        text-align: center !important;
    }

    .gradient-text,
    .cyber-text {
        display: block !important;
        text-align: center !important;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero-stats {
        margin-top: -2rem !important; /* Negative margin to move it up */
        position: relative !important;
        z-index: 5 !important; /* Ensure it's above other elements */
    }

    /* Make stats more compact */
    .stat-card {
        padding: 0.7rem !important;
    }

    .stat-value {
        font-size: 1.3rem !important;
        margin-bottom: 0.2rem !important;
    }

    .stat-label {
        font-size: 0.75rem !important;
    }
}

/* For even smaller devices */
@media (max-width: 375px) {
    .hero-stats {
        margin-top: -1.5rem !important;
    }
}

@media (max-width: 768px) {
    /* Hero Section Height Fix */
    .hero {
        min-height: 85vh !important; /* Reduced from 100vh */
        padding: 80px 1rem 1rem !important;
    }

    .hero-stats {
        margin-top: -1rem !important; /* Move stats up more */
        margin-bottom: 2rem !important;
    }

    /* AI Bot Section Height Fix */
    .ai-bot {
        min-height: auto !important;
        padding: 30px 0 !important;
    }

    .ai-bot-content {
        gap: 1rem !important;
    }

    .spline-container {
        height: 320px !important; /* Reduced height */
        margin: 1rem auto !important;
    }

    .ai-bot-text-content {
        padding: 1.5rem !important;
        margin-top: 0 !important;
    }
}

/* Smaller devices */
@media (max-width: 375px) {
    .hero {
        min-height: 80vh !important;
    }

    .spline-container {
        height: 250px !important;
    }
}

/* Add space between Join Our Community and footer */
.join-our-community {
    margin-bottom: 4rem !important; /* Add margin to the bottom */
}

.site-footer {
    margin-top: 4rem !important; /* Ensure there's space above the footer */
}

@media (max-width: 768px) {
    /* Hero Section Overlay */
    .hero::after {
        content: '' !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: transparent !important;
        pointer-events: none !important;
        z-index: 3 !important;
    }

    .hero-background {
        pointer-events: none !important; /* Make background unclickable */
    }

    .grid-background,
    .blur-overlay {
        pointer-events: none !important; /* Disable interactions */
        user-select: none !important;
        -webkit-user-select: none !important;
    }

    /* Ensure content remains clickable */
    .hero-content,
    .hero-cta,
    .hero-stats {
        position: relative !important;
        z-index: 4 !important; /* Higher than overlay */
        pointer-events: auto !important; /* Enable interactions */
    }
}

/* Features Section Animation */
.features {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.features.appear {
    opacity: 1;
    transform: translateY(0);
}

.features.appear .feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.features.appear .feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.features.appear .feature-card:nth-child(2) {
    animation-delay: 0.4s;
}

.features.appear .feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

.features.appear .feature-card:nth-child(4) {
    animation-delay: 0.8s;
}

/* Footer link hover states */
.footer-section.unavailable a {
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    position: relative !important;
}

.footer-section.unavailable a:hover::after {
    content: 'Coming Soon' !important;
    position: absolute !important;
    background: rgba(10, 10, 31, 0.9) !important;
    color: var(--light) !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    font-size: 0.8rem !important;
    right: 0 !important;
    top: -25px !important;
    z-index: 10 !important;
    border: 1px solid rgba(45, 226, 230, 0.3) !important;
}

.footer-section.unavailable a:hover {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
}

/* Dropdown styles */
.dropdown {
    position: relative !important;
    display: inline-block !important;
}

.dropbtn {
    background: transparent !important;
    color: var(--light) !important;
    padding: 0.5rem 1rem !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.dropbtn i {
    font-size: 0.8rem !important;
    transition: transform 0.3s ease !important;
}

.dropdown:hover .dropbtn i {
    transform: rotate(180deg) !important;
}

.dropdown-content {
    display: none !important;
    position: absolute !important;
    background: rgba(10, 10, 31, 0.95) !important;
    min-width: 200px !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
    z-index: 1000 !important;
    border-radius: 8px !important;
    border: 1px solid rgba(45, 226, 230, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.dropdown-content a {
    color: var(--light) !important;
    padding: 12px 16px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    transition: all 0.3s ease !important;
}

.dropdown:hover .dropdown-content {
    display: block !important;
}

/* Unavailable items styling */
.dropdown-content.unavailable a {
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

.dropdown-content.unavailable a:hover {
    color: rgba(255, 255, 255, 0.5) !important;
    background: rgba(45, 226, 230, 0.05) !important;
}

.dropdown-content.unavailable a:hover::after {
    content: 'Coming Soon' !important;
    position: absolute !important;
    right: 100% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(10, 10, 31, 0.9) !important;
    color: var(--light) !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    font-size: 0.8rem !important;
    border: 1px solid rgba(45, 226, 230, 0.3) !important;
    white-space: nowrap !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .dropdown-content {
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 1rem !important;
    }

    .dropbtn {
        width: 100% !important;
        text-align: left !important;
    }

    .dropdown-content.unavailable a:hover::after {
        display: none !important;
    }
}

/* Update dropdown styles for Overview */
.dropdown-content a.scroll-link {
    color: var(--light) !important;
    padding: 12px 16px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.dropdown-content a.scroll-link:hover {
    background: rgba(45, 226, 230, 0.1) !important;
    transform: translateX(5px) !important;
}

.dropdown-content a.scroll-link i {
    font-size: 1rem !important;
    color: var(--accent) !important;
    width: 20px !important;
    text-align: center !important;
}

/* Active state for current section */
.dropdown-content a.scroll-link.active {
    background: rgba(45, 226, 230, 0.15) !important;
    color: var(--primary) !important;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(10, 10, 31, 0.95) !important;
        flex-direction: column !important;
        padding: 1rem !important;
        gap: 0.5rem !important;
        display: none !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-bottom: 1px solid rgba(45, 226, 230, 0.1) !important;
    }

    .nav-links.active {
        display: flex !important;
    }

    /* Hide all dropdown buttons */
    .dropbtn {
        display: none !important;
    }

    /* Convert dropdowns to simple lists */
    .dropdown {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .dropdown-content {
        display: block !important;
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    /* Style all navigation links consistently */
    .nav-item,
    .dropdown-content a {
        width: 100% !important;
        padding: 0.8rem 1rem !important;
        border-radius: 8px !important;
        background: rgba(45, 226, 230, 0.05) !important;
        color: var(--light) !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.8rem !important;
        font-size: 0.95rem !important;
        transition: all 0.3s ease !important;
    }

    .nav-item:hover,
    .dropdown-content a:hover {
        background: rgba(45, 226, 230, 0.1) !important;
        transform: none !important;
    }

    /* Section dividers */
    .nav-section-divider {
        width: 100% !important;
        height: 1px !important;
        background: rgba(45, 226, 230, 0.1) !important;
        margin: 0.5rem 0 !important;
    }

    .wallet-container {
        width: 100% !important;
        margin-top: 0.5rem !important;
    }

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

    /* Remove hover effects for unavailable items */
    .dropdown-content.unavailable a:hover::after {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .dropdown-content-container {
        display: none !important;
   
    }
}

/* Auth Styles */
.auth-container {
    position: relative;
    display: flex;
    align-items: center;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: var(--primary-color);
    color: white;
}

.user-profile {
    display: none; /* Hidden by default */
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 4px;
    background: var(--background-secondary);
}

.user-profile.active {
    display: flex;
}

.user-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.logout-btn {
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: var(--danger-color, #dc3545);
    color: white;
}

#userName {
    color: var(--text-primary);
    font-size: 14px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* User Profile Styles */
.user-profile {
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(10, 10, 31, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 226, 230, 0.1);
    border-radius: 8px;
}

.user-profile.active {
    display: flex;
}

.user-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(45, 226, 230, 0.3);
}

#userName {
    color: var(--light);
    font-size: 0.95rem;
    font-weight: 500;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(45, 226, 230, 0.1);
    border: none;
    border-radius: 8px;
    color: var(--light);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(45, 226, 230, 0.2);
    transform: translateY(-1px);
}

.logout-btn i {
    font-size: 1rem;
    color: var(--accent);
}

/* Login Button Styles */
.login-btn {
    position: relative;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    color: var(--light);
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.login-btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}

.login-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.login-btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 226, 230, 0.3);
}

.login-btn:hover .login-btn-glow {
    opacity: 0.2;
}

.login-btn:hover i {
    transform: scale(1.1);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 2.5rem;
    font-weight: 500;
    color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}

.ai-bot-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-bot-description {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ai-bot-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.ai-bot-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 46, 159, 0.08);
    border-radius: 8px;
    color: var(--primary);
    transition: all 0.2s ease;
}

.feature-item:hover .feature-icon {
    background: rgba(255, 46, 159, 0.15);
    transform: scale(1.05);
}

.feature-text h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.feature-item:hover .feature-text h4 {
    color: var(--primary);
}

/* Mobile styles */
@media (max-width: 768px) {
    .feature-item {
        padding: 0.8rem;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
    }
}

.ai-bot-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 46, 159, 0.1);
    border-radius: 8px;
    color: var(--primary);
}

.feature-text {
    flex: 1;
}

.feature-text h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile styles */
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.8rem, 3.5vw, 2rem);
        margin-bottom: 2rem;
        justify-content: center;
    }

    .ai-bot-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ai-bot-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ai-bot-card {
        padding: 1.5rem;
    }

    .feature-item {
        gap: 0.8rem;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
    }
}

/* Himari Intro Section */
.himari-intro {
    padding: 120px 0;
    background: var(--darker);
    position: relative;
    overflow: visible;
}

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

.intro-header {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.4rem 1.2rem !important;
    background: rgba(45, 226, 230, 0.05) !important;
    border: 1px solid rgba(45, 226, 230, 0.1) !important;
    border-radius: 100px !important;
    font-size: 0.875rem !important;
    color: var(--accent) !important;
    margin-bottom: 2rem !important;
    position: relative !important;
    z-index: 2 !important;
}

.intro-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.1 !important; /* Reduced line height */
    text-shadow: 0 0 20px rgba(45, 226, 230, 0.3);
    padding: 0 1rem;
    max-width: 800px; /* Added max-width */
    margin-left: auto;
    margin-right: auto;
}

.intro-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    background: rgba(10, 10, 31, 0.5);
    border: 1px solid rgba(45, 226, 230, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--accent);
}

.feature-content h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile styles */
@media (max-width: 768px) {
    .himari-intro {
        padding: 100px 0 60px;
    }

    .intro-container {
        padding: 0 1rem;
    }

    .intro-header {
        margin-bottom: 2.5rem;
    }

    .intro-badge {
        font-size: 0.8rem !important;
        padding: 0.35rem 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .intro-title {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
        line-height: 1.2 !important;
        margin-bottom: 1rem;
        padding: 0;
        white-space: normal; /* Ensure text wraps */
        overflow-wrap: break-word; /* Handle long words */
    }

    .intro-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .intro-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .feature-content p {
        font-size: 0.9rem;
    }
}

/* Small mobile devices */
@media (max-width: 375px) {
    .himari-intro {
        padding: 80px 0 40px;
    }

    .intro-badge {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.8rem !important;
    }

    .intro-title {
        font-size: clamp(1.6rem, 4vw, 1.8rem);
        line-height: 1.4 !important;
    }

    .feature-item {
        padding: 1.25rem;
    }
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.credit-link {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.credit-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .whitepaper-content {
        grid-template-columns: 1fr;
    }
    
    .whitepaper-text-content {
        order: 1;
        padding: 1rem;
    }
    
    .spline-container {
        order: 2;
        height: 300px;
    }
}

.whitepaper-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.whitepaper-features .feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(10, 10, 31, 0.5); /* Updated background */
    border: 1px solid rgba(45, 226, 230, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.whitepaper-features .feature i {
    font-size: 1.4rem;
    color: var(--accent);
    width: 32px;
    text-align: center;
}

.whitepaper-features .feature span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.whitepaper .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2rem;
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
    background: rgba(10, 10, 31, 0.5); /* Updated background */
    border: 1px solid rgba(45, 226, 230, 0.2);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    color: #fff; /* Added white text color */
}

.whitepaper .btn-primary:hover {
    background: rgba(45, 226, 230, 0.15);
    transform: translateY(-2px);
}

.whitepaper .btn-primary .btn-text {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.whitepaper .btn-primary i {
    font-size: 1.3rem;
}

/* Mobile styles */
@media (max-width: 768px) {
    .whitepaper-features .feature {
        padding: 0.8rem 1.2rem;
    }
    
    .whitepaper-features .feature i {
        font-size: 1.2rem;
        width: 28px;
    }
    
    .whitepaper-features .feature span {
        font-size: 1rem;
    }

    .whitepaper .btn-primary {
        padding: 1rem 1.8rem;
    }

    .whitepaper .btn-primary .btn-text {
        font-size: 1rem;
    }
}

.whitepaper .section-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    text-align: center;
}

.whitepaper .section-title::before {
    display: none; /* Hide the short line */
}

.whitepaper .gradient-text,
.whitepaper .cyber-text {
    display: inline-block;
}

/* Mobile styles */
@media (max-width: 768px) {
    .whitepaper .section-title {
        flex-direction: column;
        align-items: center; /* Center on mobile */
        gap: 0.25rem;
        text-align: center;
    }

    .whitepaper .gradient-text,
    .whitepaper .cyber-text {
        display: block;
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .whitepaper-badge {
        margin-bottom: 1rem;
        text-align: center;
    }
}

.ai-bot .section-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ai-bot .section-title::before {
    display: none; /* Hide the short line */
}

.ai-bot .gradient-text,
.ai-bot .cyber-text {
    display: inline-block;
}

/* Mobile styles */
@media (max-width: 768px) {
    .ai-bot .section-title {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        text-align: center;
        width: 100%;
    }

    .ai-bot .gradient-text,
    .ai-bot .cyber-text {
        display: block;
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .ai-bot-text-content {
        text-align: center;
    }
}

.evolution {
    position: relative;
    padding: 120px 0;
    background: var(--darker);
    overflow: hidden;
}

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

.evolution .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.spline-container3 {
    width: 100%;
    height: 600px;
    position: relative;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
}

.spline-container3 iframe {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    transform-origin: center center;
}

/* Hide Spline branding */
.spline-container3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 70px;
    background: var(--darker);
    z-index: 10;
}

/* Mobile styles */
@media (max-width: 768px) {
    .evolution {
        padding: 80px 0;
    }

    .spline-container3 {
        height: 400px;
        
    }

    .spline-container3::after {
        width: 160px !important;
        height: 60px !important;
    }
    
}

.spline-showcase {
    position: relative;
    height: 100vh;
    width: 100vw;
    background: var(--darker);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    left: 0;
    right: 0;
}

.spline-showcase-container {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
}

.spline-container4 {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.spline-container4 iframe {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    transform-origin: center center;
    position: absolute;
    top: 0;
    left: 0;
}
.spline-container4::after {
    content: '';
    position: fixed;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 70px;
    background: var(--dark);
}
/* Hide Spline branding */


/* Mobile styles */
@media (max-width: 768px) {
    .spline-showcase,
    .spline-showcase-container,
    .spline-container4 {
        height: 100vh;
        width: 100vw;
    }
}

/* Hide Spline branding for all spline containers */
.spline-container::after,
.spline-container2::after,
.spline-container3::after,
.spline-container4::after {
    content: '';
    position: absolute; /* Changed from fixed to absolute */
    bottom: 0;
    right: 0;
    width: 200px;
    height: 70px;
    background: var(--darker);
    z-index: 999;
}

/* Specific adjustment for spline-container4 due to full viewport */
.spline-container4::after {
    position: absolute;
    bottom: 0;
    right: 0;
}

/* Mobile styles for branding overlay */
@media (max-width: 768px) {
    .spline-container::after,
    .spline-container2::after,
    .spline-container3::after,
    .spline-container4::after {
        width: 150px;
        height: 50px;
    }
}
@media (max-width: 768px) {
.spline-showcase {
 display: none;
}
}

/* Documentation button unavailable state */
.btn-secondary.unavailable {
    position: relative;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-secondary.unavailable:hover::after {
    content: 'Coming Soon';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 31, 0.95);
    color: var(--accent);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px solid var(--accent);
    white-space: nowrap;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(45, 226, 230, 0.1);
    z-index: 100;
    animation: tooltipFade 0.3s ease;
}

.btn-secondary.unavailable:hover::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--accent);
}

@keyframes tooltipFade {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Hover effect adjustment for unavailable state */
.btn-secondary.unavailable:hover {
    transform: none;
    background: rgba(45, 226, 230, 0.05);
    border-color: rgba(45, 226, 230, 0.2);
}

/* Add these styles for the copy functionality */
#contractBtn {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    min-width: 100px; /* Added to maintain consistent width */
}

#contractBtn .btn-text {
    transition: all 0.3s ease;
}

#contractBtn.copied {
    background: rgba(45, 226, 230, 0.2);
}

/* Toast notification styles */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(45, 226, 230, 0.1);
    border: 1px solid var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(45, 226, 230, 0.1);
}

.toast.show {
    opacity: 1;
}
