/* ===== Global Styles ===== */
:root {
    /* Color Scheme */
    --primary: #4d8bf0;  /* Brighter blue */
    --primary-light: #6ba1f7;  /* Lighter blue */
    --secondary: #00f0ff;  /* Cyan */
    --accent: #9d4dff;  /* Purple */
    --dark: #0a0a1a;  /* Dark blue-black */
    --darker: #050510;  /* Darker blue-black */
    --light: #f0f8ff;  /* Off-white */
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-text: linear-gradient(90deg, var(--primary), var(--secondary));
    --neon-glow: 0 0 10px rgba(77, 139, 240, 0.8), 0 0 20px rgba(0, 240, 255, 0.6);
    
    /* Typography */
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Effects */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --card-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
    --glow: 0 0 20px rgba(77, 139, 240, 0.5);
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 { font-size: 4.5rem; }
h2 { font-size: 3.5rem; }
h3 { font-size: 2.5rem; }
h4 { font-size: 1.8rem; }

p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

section {
    position: relative;
    padding: var(--section-padding);
    overflow: hidden;
}

/* ===== 3D Background ===== */
#webgl {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0e17;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.preloader-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: pulse 2s infinite ease-in-out;
}

.loading-spinner {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid rgba(77, 139, 240, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.loading-text {
    color: #fff;
    font-size: 1.1rem;
    margin-top: 20px;
    font-family: var(--font-primary);
    letter-spacing: 1px;
    animation: fadeInOut 2s infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Hide preloader when loaded */
.loaded .preloader {
    opacity: 0;
    visibility: hidden;
}

/* ===== Typography ===== */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    padding-left: 15px;
}

.section-subtitle:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 20px auto 0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.section-divider:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    animation: slide 2s linear infinite;
}

@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== Buttons ===== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    outline: none;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    z-index: -1;
    transition: var(--transition);
}

.cta-button:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--darker);
    border-radius: 50px;
    z-index: -1;
    transition: var(--transition);
}

.cta-button:hover:after {
    background: transparent;
}

.cta-button i {
    margin-right: 10px;
    font-size: 1.2em;
}

.cta-button.primary {
    color: var(--light);
    box-shadow: 0 5px 15px rgba(77, 139, 240, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(77, 139, 240, 0.5);
    color: var(--light);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.cta-button.secondary:hover {
    background: rgba(77, 139, 240, 0.1);
    color: var(--primary-light);
    border-color: var(--primary-light);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(5, 5, 15, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
    z-index: 1;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 12px;
    transition: all 0.3s ease;
    object-fit: contain;
}

.navbar .logo {
    font-size: 1.4rem;
}

.navbar .logo-img {
    height: 35px;
}

.footer-brand .logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-brand .logo-img {
    height: 45px;
    margin-bottom: 5px;
}

.logo:hover .logo-img {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 0 8px rgba(77, 139, 240, 0.6));
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-link:hover {
    color: inherit;
}

.logo-link .logo-img {
    transition: var(--transition);
}

.logo-link:hover .logo-img {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 0 8px rgba(77, 139, 240, 0.6));
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .navbar .logo-img {
        height: 30px;
    }
    
    .footer-brand .logo {
        align-items: center;
        text-align: center;
    }
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--light);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 15px;
    padding: 8px 0;
    position: relative;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--primary);
}

.nav-link:hover:before, .nav-link.active:before {
    width: 100%;
}

.nav-link i {
    margin-right: 8px;
    font-size: 0.9em;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--light);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(77, 139, 240, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    display: block;
    word-break: break-word;
    width: 100%;
    text-align: left;
}

.hero h1 span {
    display: block;
    margin-bottom: 10px;
    white-space: nowrap;
}

.typing-text {
    color: var(--primary);
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.typing-text:after {
    content: '|';
    position: absolute;
    right: -10px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.hero-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-orb {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--primary) 0%, transparent 70%);
    position: relative;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 100px rgba(77, 139, 240, 0.3);
}

.inner-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle at 70% 30%, var(--secondary) 0%, transparent 60%);
    animation: pulse 4s ease-in-out infinite;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    overflow: hidden;
}

.particles:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: rotate 20s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
        line-height: 1.1;
    }
    
    .hero h1 span {
        white-space: normal;
    }
    
    .typing-text {
        white-space: normal;
        display: inline;
    }
    
    .subtitle {
        font-size: 1.2rem;
        margin: 0 auto 30px;
        text-align: left;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
        text-align: center;
    }
    
    .hero h1 span {
        display: inline;
    }
    
    .subtitle {
        font-size: 1.1rem;
        text-align: center;
        padding: 0 10px;
    }
    
    .typing-text {
        display: inline;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .subtitle {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 5px;
    }
    
    .hero h1 span {
        display: block;
        margin-bottom: 5px;
    }
}

/* ===== Stats Counter ===== */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 80px;
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.stat-card:hover:before {
    transform: scaleX(1);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-block;
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-primary);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== AI Showcase ===== */
.ai-showcase {
    position: relative;
    background: linear-gradient(to bottom, var(--darker) 0%, var(--dark) 100%);
    overflow: hidden;
}

.ai-showcase:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48cmVjdCB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIGZpbGw9IiMwNTA1MTAiLz48cGF0aCBkPSJNMzAgMzBMMzAgMzBNMTUgMzBIMTBNNTAgMzBINDBWNDBINjBWNTBIMzBWNDBIMTBWMzBIMjBWNDBINDBWMjBINDBWMzBaTTMwIDQwVjUwTTMwIDEwVjIwTTMwIDQwVjIwTTEwIDEwSDUwVjEwSDYwVjBIMFYxMEgxMFpNNDAgMTBWNTBNNDAgMTBIMjBWNDAgNTBINDBaTTIwIDEwVjUwTTIwIDEwSDEwVjUwSDIwWiIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDUpIiBzdHJva2Utd2lkdGg9IjEiLz48L3N2Zz4=');
    opacity: 0.3;
    z-index: 0;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.ai-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.ai-feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(77, 139, 240, 0.1) 0%, rgba(0, 240, 255, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.ai-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(77, 139, 240, 0.3);
}

.ai-feature-card:hover:before {
    opacity: 1;
}

.ai-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    position: relative;
    transition: var(--transition);
}

.ai-feature-card:hover .ai-icon {
    background: var(--gradient);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(77, 139, 240, 0.3);
}

.pulse-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    animation: pulse 2s infinite;
}

.ai-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

.ai-feature-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.ai-feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 15, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    padding: 30px;
    text-align: left;
}

.ai-feature-card:hover .ai-feature-overlay {
    opacity: 1;
    transform: translateY(0);
}

.ai-feature-overlay ul {
    list-style: none;
}

.ai-feature-overlay li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: var(--light);
}

.ai-feature-overlay li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ===== Blockchain Section ===== */
.blockchain {
    position: relative;
    background: linear-gradient(135deg, #0a0a1a 0%, #050510 100%);
    overflow: hidden;
}

.blockchain:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 230, 0.03) 0%, transparent 20%);
    z-index: 0;
}

.blockchain-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.blockchain-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.blockchain h2 {
    margin-bottom: 20px;
}

.blockchain p {
    max-width: 500px;
    margin-bottom: 30px;
}

.blockchain-features {
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-right: 20px;
    margin-top: 5px;
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--light);
}

.feature p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.blockchain-visual {
    flex: 1;
    min-width: 300px;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blockchain-orb {
    width: 400px;
    height: 400px;
    position: relative;
    animation: rotate 20s linear infinite;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: rotate 30s linear infinite reverse;
}

.ring:nth-child(1) {
    width: 100%;
    height: 100%;
    border-color: rgba(77, 139, 240, 0.5);
    animation-duration: 40s;
}

.ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-color: rgba(0, 240, 255, 0.5);
    animation-duration: 30s;
}

.ring:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-color: rgba(255, 0, 230, 0.5);
    animation-duration: 20s;
}

.center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--gradient);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--primary);
}

/* ===== AI Demo Section ===== */
.ai-demo {
    background: linear-gradient(135deg, #050510 0%, #0a0a1a 100%);
    position: relative;
    overflow: hidden;
}

.ai-demo:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(77, 139, 240, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 70% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 30%);
    z-index: 0;
}

.demo-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.demo-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.demo-text h2 {
    margin-bottom: 20px;
}

.demo-text p {
    margin-bottom: 30px;
    max-width: 500px;
}

.demo-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.ai-terminal {
    background: rgba(10, 10, 20, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    max-width: 400px;
    margin: 0 auto;
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.terminal-buttons span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-buttons span:nth-child(1) { background: #ff5f56; }
.terminal-buttons span:nth-child(2) { background: #ffbd2e; }
.terminal-buttons span:nth-child(3) { background: #27c93f; }

.terminal-title {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.terminal-body {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    min-height: 200px;
    position: relative;
}

.typing-line {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.prompt {
    color: var(--primary);
    margin-right: 10px;
}

.command {
    color: #4cd964;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--primary);
    margin-left: 2px;
    animation: blink 1s infinite;
}

.output {
    opacity: 0;
    animation: fadeIn 0.5s forwards 1.5s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ===== Contact Section ===== */
.contact {
    position: relative;
    background: linear-gradient(135deg, #0a0a1a 0%, #050510 100%);
    overflow: hidden;
}

.contact:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 70%, rgba(77, 139, 240, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 80% 30%, rgba(0, 240, 255, 0.05) 0%, transparent 30%);
    z-index: 0;
}

.contact-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.contact-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.contact h2 {
    margin-bottom: 20px;
}

.contact p {
    margin-bottom: 30px;
    max-width: 500px;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px 25px;
    transition: var(--transition);
    flex: 1;
    min-width: 250px;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-method i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--primary);
}

.contact-method div {
    display: flex;
    flex-direction: column;
}

.contact-method span {
    font-weight: 600;
    color: var(--light);
}

.contact-method small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 3px;
}

.telegram {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1) 0%, rgba(0, 136, 204, 0.05) 100%);
    border-color: rgba(0, 136, 204, 0.2) !important;
}

.telegram i {
    color: #0088cc !important;
}

.qr-code {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    cursor: pointer;
}

.qr-placeholder:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.qr-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.contact-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
    margin-top: 40px;
}

.ai-chatbot {
    background: rgba(10, 10, 20, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    max-width: 400px;
    margin: 0 auto;
}

.chatbot-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.chatbot-status {
    display: flex;
    flex-direction: column;
}

.chatbot-status span:first-child {
    font-weight: 600;
    color: var(--light);
    font-size: 0.9rem;
}

.status {
    font-size: 0.7rem;
    color: #4cd964;
    display: flex;
    align-items: center;
}

.status:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4cd964;
    border-radius: 50%;
    margin-right: 5px;
}

.status.online:before {
    background: #4cd964;
    box-shadow: 0 0 5px #4cd964;
}

.chatbot-messages {
    padding: 20px;
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    display: flex;
}

.message.ai {
    justify-content: flex-start;
}

.message.user {
    justify-content: flex-end;
}

.bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.ai .bubble {
    background: rgba(255, 255, 255, 0.05);
    border-top-left-radius: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.message.user .bubble {
    background: var(--gradient);
    border-top-right-radius: 5px;
    color: white;
}

.typing-indicator {
    display: flex;
    padding: 10px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 2px;
    animation: bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

.chatbot-input {
    display: flex;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 10px 20px;
    color: white;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.chatbot-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(77, 139, 240, 0.2);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    border: none;
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(77, 139, 240, 0.3);
}

/* ===== Footer ===== */
footer {
    background: #050510;
    padding: 80px 0 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.footer-brand {
    flex: 2;
    min-width: 300px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-brand p {
    max-width: 300px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(77, 139, 240, 0.3);
}

.footer-links {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    min-width: 150px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-column h4 {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.tech-stack {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tech-stack span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.tech-stack i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    cursor: default;
}

.tech-stack i:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(77, 139, 240, 0.3);
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    h1 { font-size: 4rem; }
    h2 { font-size: 3rem; }
    h3 { font-size: 2.2rem; }
}

@media (max-width: 992px) {
    .hero-content, .blockchain-content, .demo-container, .contact-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text, .blockchain-text, .demo-text, .contact-text {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .hero h1, .subtitle, .blockchain p, .demo-text p, .contact p {
        max-width: 100%;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .hero-visual, .blockchain-visual, .demo-visual, .contact-visual {
        width: 100%;
        margin-top: 0;
    }
    
    .ai-orb, .blockchain-orb {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    
    .ai-terminal {
        max-width: 100%;
    }
    
    .contact-methods {
        justify-content: center;
    }
    
    .ai-chatbot {
        margin: 0 auto;
    }
    
    .footer-brand {
        text-align: center;
        margin: 0 auto 40px;
    }
    
    .footer-brand p {
        margin: 0 auto 25px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .tech-stack {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 2rem; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(10, 10, 20, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        padding: 80px 20px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        margin: 15px 0;
        font-size: 1.2rem;
        opacity: 1;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }
    
    .ai-features {
        grid-template-columns: 1fr;
    }
    
    .feature {
        justify-content: center;
        text-align: center;
    }
    
    .feature i {
        margin-right: 15px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.8rem; }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .cta-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .contact-method {
        min-width: 100%;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-column:last-child {
        margin-bottom: 0;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .tech-stack {
        margin-top: 10px;
    }
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(77, 139, 240, 0.5); }
    50% { box-shadow: 0 0 20px rgba(77, 139, 240, 0.8); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ===== Chatbot Styles ===== */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    max-width: 90%;
    height: 500px;
    background: rgba(15, 15, 30, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(77, 139, 240, 0.2);
}

.chatbot-container.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.chatbot-header {
    background: var(--gradient);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-header i {
    font-size: 1.2rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.chatbot-close:hover {
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    animation: fadeIn 0.3s ease-out;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
}

.bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.ai .bubble {
    background: rgba(255, 255, 255, 0.05);
    border-top-left-radius: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.message.user .bubble {
    background: var(--gradient);
    border-top-right-radius: 5px;
    color: white;
}

.typing-indicator {
    display: flex;
    padding: 10px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 2px;
    animation: bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

.chatbot-input {
    display: flex;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 10px 20px;
    color: white;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(77, 139, 240, 0.2);
}

.chatbot-input input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.chatbot-send {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chatbot-send:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.chatbot-send:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
}

/* Error Message */
.error-message .message-content {
    background: rgba(255, 88, 88, 0.1) !important;
    color: #ff6b6b !important;
    border-left: 3px solid #ff6b6b;
}

/* Scrollbar Styling */
.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(77, 139, 240, 0.5);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .chatbot-container {
        width: 90%;
        right: 5%;
        bottom: 80px;
        height: 70vh;
    }
    
    .message {
        max-width: 90%;
    }
    
    .chatbot-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ===== Chatbot Toggle Button ===== */
.chatbot-toggle {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    z-index: 999;
    border: none;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* ===== Chatbot Container ===== */
.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    max-width: 90%;
    height: 600px;
    max-height: 80vh;
    background: rgba(13, 17, 28, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(77, 139, 240, 0.3);
    z-index: 1000;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-container.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Chatbot Header */
.chatbot-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-header .chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chatbot-header .chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Chatbot Messages Area */
.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(10, 14, 23, 0.7);
}

/* Message Styles */
.message {
    display: flex;
    max-width: 85%;
    animation: messageIn 0.3s ease-out;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* User Message */
.user-message {
    margin-left: auto;
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: var(--primary);
    color: white;
    border-radius: 18px 18px 0 18px;
    padding: 12px 16px;
    word-wrap: break-word;
}

/* Bot Message */
.bot-message {
    margin-right: auto;
}

.bot-message .message-content {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border-radius: 18px 18px 18px 0;
    padding: 12px 16px;
    word-wrap: break-word;
}

/* Message Avatar */
.message-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    font-size: 14px;
}

.user-message .message-avatar {
    margin-right: 0;
    margin-left: 10px;
    background: rgba(255, 255, 255, 0.2);
}

/* Typing Indicator */
.typing-indicator .message-content {
    background: transparent !important;
    padding: 10px 16px !important;
}

.typing-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    margin: 0 2px;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

/* Chatbot Input Area */
.chatbot-input {
    display: flex;
    padding: 15px;
    background: rgba(20, 25, 40, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 12px 0;
    font-size: 0.95rem;
    font-family: var(--font-primary);
}

.chatbot-input input:focus {
    outline: none;
}

.chatbot-input input::placeholder {
    color: #6c7893;
}

.chatbot-send {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chatbot-send:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.chatbot-send:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
}

/* Error Message */
.error-message .message-content {
    background: rgba(255, 88, 88, 0.1) !important;
    color: #ff6b6b !important;
    border-left: 3px solid #ff6b6b;
}

/* Scrollbar Styling */
.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(77, 139, 240, 0.5);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .chatbot-container {
        width: 90%;
        right: 5%;
        bottom: 80px;
        height: 70vh;
    }
    
    .message {
        max-width: 90%;
    }
    
    .chatbot-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ===== Demo Bot Section ===== */
.demo-bot-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0e17 0%, #141b2d 100%);
    position: relative;
    overflow: hidden;
}

.demo-bot-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.demo-bot-container {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.demo-bot-interface {
    flex: 1;
    max-width: 400px;
    background: #1a2035;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 600px;
}

.chat-header {
    padding: 15px 20px;
    background: #141b2d;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-info {
    flex: 1;
}

.chat-info h4 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
}

.status {
    font-size: 0.75rem;
    color: #4caf50;
    display: flex;
    align-items: center;
}

.status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    margin-right: 6px;
}

.chat-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    background: transparent;
    border: none;
    color: #a0a8c0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #1a2035;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    animation: fadeIn 0.3s ease-out;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
}

.message-content {
    background: #252e47;
    padding: 12px 16px;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    position: relative;
    color: #e0e4ed;
    line-height: 1.5;
}

.user-message .message-content {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 18px;
}

.message-time {
    display: block;
    font-size: 0.7rem;
    color: #6c7893;
    margin-top: 4px;
    text-align: right;
}

/* ===== Services Section ===== */
#services {
    position: relative;
    background: linear-gradient(135deg, #0a0e1f 0%, #0a0a1a 100%);
    overflow: hidden;
    padding: 120px 0;
    z-index: 1;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(77, 139, 240, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(157, 77, 255, 0.1) 0%, transparent 40%);
    z-index: -1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(77, 139, 240, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(77, 139, 240, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(77, 139, 240, 0.1) 0%, rgba(157, 77, 255, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: var(--primary);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(77, 139, 240, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
}

.service-card:hover .service-icon::before {
    left: 100%;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(90deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 25px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glow effect on hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(77, 139, 240, 0.1) 0%, transparent 70%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
    animation: gradientBG 6s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Contract Address Section */
.contract-address-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.contract-address-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 25px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contract-label {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--light);
    font-family: var(--font-primary);
    font-size: 1.1rem;
}

.contract-label i {
    margin-right: 10px;
    color: var(--primary);
    font-size: 1.2rem;
}

.address-input {
    position: relative;
    display: flex;
    margin-bottom: 15px;
}

#contract-address {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 50px 12px 15px;
    color: var(--light);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s ease;
}

#contract-address:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(77, 139, 240, 0.2);
}

.copy-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border: none;
    border-radius: 6px;
    color: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background: var(--primary-light);
    transform: translateY(-50%) scale(1.05);
}

.copy-button:active {
    transform: translateY(-50%) scale(0.95);
}

.contract-address-box .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.contract-address-box .social-icon {
    color: var(--light);
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contract-address-box .social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(77, 139, 240, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contract-address-box {
        padding: 15px;
    }
    
    #contract-address {
        font-size: 0.8rem;
        padding-right: 45px;
    }
    
    .contract-address-box .social-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* Command Buttons */
.command-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.command-btn {
    background: rgba(77, 139, 240, 0.1);
    border: 1px solid rgba(77, 139, 240, 0.3);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Courier New', monospace;
}

.command-btn:hover {
    background: rgba(77, 139, 240, 0.2);
    transform: translateY(-2px);
}

/* Chat Input */
.chat-input-container {
    padding: 15px;
    background: #141b2d;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.input-group {
    display: flex;
    background: #252e47;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.emoji-btn, .send-btn {
    background: transparent;
    border: none;
    color: #a0a8c0;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.send-btn {
    color: var(--primary);
}

.emoji-btn:hover, .send-btn:hover {
    color: #fff;
}

#demo-message-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 0;
    font-size: 0.95rem;
    font-family: var(--font-primary);
}

#demo-message-input:focus {
    outline: none;
}

#demo-message-input::placeholder {
    color: #6c7893;
}

.quick-actions {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
    scrollbar-color: rgba(77, 139, 240, 0.5) transparent;
}

.quick-actions::-webkit-scrollbar {
    height: 4px;
}

.quick-actions::-webkit-scrollbar-track {
    background: transparent;
}

.quick-actions::-webkit-scrollbar-thumb {
    background: rgba(77, 139, 240, 0.5);
    border-radius: 4px;
}

.quick-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a8c0;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-action-btn i {
    font-size: 0.8rem;
}

.quick-action-btn:hover {
    background: rgba(77, 139, 240, 0.2);
    color: #fff;
    border-color: rgba(77, 139, 240, 0.3);
}

/* Demo Bot Info */
.demo-bot-info {
    flex: 1;
    max-width: 500px;
}

.demo-bot-info h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.command-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.command-list li {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.command-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.command {
    display: block;
    font-family: 'Courier New', monospace;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.command-list p {
    color: #a0a8c0;
    margin: 5px 0 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.command-list small {
    display: block;
    margin-top: 8px;
    color: #6c7893;
    font-size: 0.8rem;
}

.example {
    color: var(--primary);
    font-family: 'Courier New', monospace;
    background: rgba(77, 139, 240, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

.cta-container {
    text-align: center;
    margin-top: 40px;
}

.cta-container .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-container .cta-button i {
    font-size: 1.2rem;
}

.cta-container .small-text {
    display: block;
    margin-top: 10px;
    color: #6c7893;
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .demo-bot-container {
        flex-direction: column;
        align-items: center;
    }
    
    .demo-bot-interface {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .demo-bot-info {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .demo-bot-section {
        padding: 60px 0;
    }
    
    .demo-bot-interface {
        height: 500px;
    }
    
    .quick-actions {
        flex-wrap: wrap;
    }
    
    .quick-action-btn {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .command-list li {
        padding: 12px 15px;
    }
    
    .command {
        font-size: 0.85rem;
    }
    
    .command-list p, .command-list small {
        font-size: 0.8rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== About Section ===== */
.about-section {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.9) 0%, rgba(5, 5, 16, 0.95) 100%);
    overflow: hidden;
    padding: 120px 0;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(77, 139, 240, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(157, 77, 255, 0.1) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.about-text {
    flex: 1;
}

.about-text .highlight {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 40px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

.about-text .highlight-secondary {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(77, 139, 240, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
    border-color: rgba(77, 139, 240, 0.2);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(77, 139, 240, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary);
    z-index: 2;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
    font-family: var(--font-primary);
}

.feature-item p {
    font-size: 0.95rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
}

.web3-orb {
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.orb-particle {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    filter: blur(5px);
    opacity: 0.7;
}

.orb-particle:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%) translateY(-50%); background: var(--primary); }
.orb-particle:nth-child(2) { top: 30%; right: 5%; background: var(--secondary); }
.orb-particle:nth-child(3) { bottom: 30%; right: 5%; background: var(--accent); }
.orb-particle:nth-child(4) { bottom: 0; left: 50%; transform: translateX(-50%) translateY(50%); background: var(--secondary); }
.orb-particle:nth-child(5) { top: 30%; left: 5%; background: var(--accent); }

.orb-core {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(77, 139, 240, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(77, 139, 240, 0.2);
    box-shadow: 0 0 30px rgba(77, 139, 240, 0.2);
    animation: pulse 4s ease-in-out infinite;
}

.orb-core i {
    font-size: 40px;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(77, 139, 240, 0.5);
}

/* Animated Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.particle-1 {
    width: 10px;
    height: 10px;
    background: var(--primary);
    top: 20%;
    left: 10%;
    opacity: 0.5;
    filter: blur(2px);
    animation: float 15s ease-in-out infinite;
}

.particle-2 {
    width: 15px;
    height: 15px;
    background: var(--secondary);
    bottom: 30%;
    right: 15%;
    opacity: 0.3;
    filter: blur(3px);
    animation: float 20s ease-in-out infinite reverse;
}

.particle-3 {
    width: 8px;
    height: 8px;
    background: var(--accent);
    top: 60%;
    left: 20%;
    opacity: 0.4;
    filter: blur(1.5px);
    animation: float 18s ease-in-out infinite 2s;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 30px rgba(77, 139, 240, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(77, 139, 240, 0.4); }
    100% { transform: scale(1); box-shadow: 0 0 30px rgba(77, 139, 240, 0.2); }
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-20px) translateX(10px); }
    66% { transform: translateY(10px) translateX(-10px); }
    100% { transform: translateY(0) translateX(0); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text .highlight {
        padding-left: 0;
        border-left: none;
        border-bottom: 3px solid var(--primary);
        padding-bottom: 20px;
    }
    
    .about-visual {
        margin-top: 50px;
    }
    
    .web3-orb {
        width: 250px;
        height: 250px;
    }
    
    .orb-core {
        width: 100px;
        height: 100px;
    }
    
    .orb-core i {
        font-size: 32px;
    }
}

/* Service Details and Expand Button */
.service-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 -15px;
    padding: 0 15px;
    pointer-events: none;
    visibility: hidden;
}

.service-card.active .service-details {
    max-height: 2000px; /* Increased to accommodate more content */
    opacity: 1;
    transform: translateY(0);
    padding: 15px;
    margin: 20px -15px -15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: auto;
    visibility: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-details::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(77, 139, 240, 0.3), transparent);
    margin: 15px 0;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details li {
    position: relative;
    padding: 12px 15px 12px 35px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
    backdrop-filter: blur(5px);
}

.service-details li:hover {
    background: rgba(77, 139, 240, 0.1);
    border-color: rgba(77, 139, 240, 0.3);
    transform: translateX(5px);
}

.service-details li i {
    position: absolute;
    left: 12px;
    top: 14px;
    color: var(--primary);
    font-size: 0.9rem;
}

.expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    padding: 12px 25px;
    background: transparent;
    border: 1px solid rgba(77, 139, 240, 0.3);
    color: var(--primary);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.expand-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.expand-btn:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(77, 139, 240, 0.3);
}

.expand-btn:hover::before {
    opacity: 1;
}

.service-card.active .expand-btn {
    background: rgba(77, 139, 240, 0.1);
    border-color: rgba(77, 139, 240, 0.5);
}

.service-card.active .expand-btn::before {
    opacity: 0.1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    #services {
        padding: 80px 0;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .service-details li {
        padding: 10px 12px 10px 30px;
        font-size: 0.9rem;
    }
    
    .expand-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}
