* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-bg: #000000;
    --glass-bg: rgba(10, 10, 20, 0.8);
    --glass-border: rgba(0, 242, 254, 0.2);
    --text-color: #ffffff;
    --text-color-dark: #8a8a8a;
    --accent-cyan: #00f2fe;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #00f2fe 100%);
    --glow-cyan: 0 0 20px rgba(0, 242, 254, 0.5);
    --glow-purple: 0 0 20px rgba(139, 92, 246, 0.5);
}

body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000000;
    background-image: 
        radial-gradient(at 20% 30%, rgba(139, 92, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(0, 242, 254, 0.08) 0px, transparent 50%);
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes backgroundFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink), var(--accent-cyan));
    border-radius: 50%;
    opacity: 0;
    animation: float 5s infinite ease-in-out;
    box-shadow: 0 0 10px currentColor;
}

.particle:nth-child(3n) {
    background: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.particle:nth-child(3n+1) {
    background: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

.particle:nth-child(3n+2) {
    background: var(--accent-pink);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

@keyframes float {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }
    50% {
        opacity: 0.6;
        transform: translateY(-100px) translateX(50px);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 242, 254, 0.1), inset 0 -1px 0 rgba(0, 242, 254, 0.2);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    background: var(--accent-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    animation: shimmer 3s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
    position: relative;
    text-transform: uppercase;
}

.logo::before {
    content: 'CHAINFIX';
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    background-size: 50% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: scanline 4s linear infinite;
}

@keyframes scanline {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes floatingRotate {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
    box-shadow: var(--glow-cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-cyan);
    text-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, transparent 0%, rgba(0, 242, 254, 0.03) 50%, transparent 100%);
    background-size: 100% 20px;
    animation: matrixScroll 20s linear infinite;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes matrixScroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 1000px; }
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 50px;
    width: fit-content;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-cyan);
    animation: pulse 2s ease-in-out infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.hero-main h1 {
    font-size: 4.5rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    line-height: 1.1;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.glitch {
    position: relative;
    color: var(--text-color);
    animation: glitchText 3s infinite;
}

.highlight-text {
    background: var(--accent-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    filter: drop-shadow(0 0 30px rgba(0, 242, 254, 0.5));
}

@keyframes glitchText {
    0%, 90%, 100% { transform: translate(0); }
    91% { transform: translate(-2px, 2px); }
    92% { transform: translate(2px, -2px); }
    93% { transform: translate(-2px, 2px); }
}

@keyframes glitch {
    0% { transform: translate(0); filter: hue-rotate(0deg); }
    10% { transform: translate(-5px, 2px); filter: hue-rotate(90deg); }
    20% { transform: translate(5px, -2px); filter: hue-rotate(180deg); }
    30% { transform: translate(-3px, 3px); filter: hue-rotate(270deg); }
    40% { transform: translate(3px, -3px); filter: hue-rotate(360deg); }
    50% { transform: translate(0); filter: hue-rotate(0deg); }
    60% { transform: translate(-2px, -2px); filter: hue-rotate(90deg); }
    70% { transform: translate(2px, 2px); filter: hue-rotate(180deg); }
    80% { transform: translate(-1px, 1px); filter: hue-rotate(270deg); }
    90% { transform: translate(1px, -1px); filter: hue-rotate(360deg); }
    100% { transform: translate(0); filter: hue-rotate(0deg); }
}

@keyframes matrixPulse {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px #00f2fe; }
    50% { opacity: 0.7; text-shadow: 0 0 20px #00f2fe, 0 0 30px #00f2fe; }
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.cta-primary {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    background-size: 200% auto;
    color: #000000;
    border: none;
    font-weight: 700;
    box-shadow: 0 10px 40px rgba(0, 242, 254, 0.5), 0 0 20px rgba(79, 172, 254, 0.3);
}

.cta-primary:hover {
    box-shadow: 0 20px 60px rgba(0, 242, 254, 0.7), 0 0 40px rgba(79, 172, 254, 0.5);
}

.cta-secondary {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.cta-secondary:hover {
    background: rgba(0, 242, 254, 0.1);
}

.btn-icon {
    font-size: 1.3rem;
}

.btn-glow {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    opacity: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 70%);
    transition: opacity 0.3s;
}

.cta-button:hover .btn-glow {
    opacity: 1;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-color-dark);
    margin-top: 0.3rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Terminal Window */
.hero-visual {
    position: relative;
}

.terminal-window {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.2);
    animation: floating 6s ease-in-out infinite;
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
}

.terminal-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    min-height: 300px;
}

.terminal-line {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt {
    color: var(--accent-cyan);
    font-weight: bold;
}

.command {
    color: var(--text-color);
}

.terminal-output {
    margin: 1rem 0;
    color: var(--text-color-dark);
    line-height: 1.8;
}

.success {
    color: #27c93f;
}

.terminal-output .highlight {
    color: var(--accent-cyan);
    font-weight: bold;
}

.typing {
    animation: blink 1s steps(2) infinite;
}

.cursor {
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.mini-card {
    position: absolute;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: center;
    min-width: 120px;
}

.card-1 {
    top: -20px;
    right: -40px;
    animation: float 4s ease-in-out infinite;
}

.card-2 {
    bottom: 40px;
    right: -60px;
    animation: float 5s ease-in-out infinite 0.5s;
}

.card-3 {
    bottom: -30px;
    left: -40px;
    animation: float 6s ease-in-out infinite 1s;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-stat {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-cyan);
}

.card-label {
    font-size: 0.75rem;
    color: var(--text-color-dark);
}

/* Bento Grid */
.bento-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.5);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1.5rem;
}

.bento-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 242, 254, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 60px rgba(0, 242, 254, 0.3);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-small {
    grid-column: span 1;
    grid-row: span 1;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.status-badge {
    padding: 0.3rem 0.8rem;
    background: rgba(39, 201, 63, 0.2);
    border: 1px solid #27c93f;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #27c93f;
    letter-spacing: 1px;
}

.chain-logos {
    display: flex;
    gap: 0.8rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.chain-item, .chain-more {
    padding: 0.5rem 1rem;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    font-family: 'Orbitron', sans-serif;
}

.progress-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.scan-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-label {
    font-size: 0.85rem;
    color: var(--text-color-dark);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 242, 254, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 10px;
    animation: shimmer 3s linear infinite;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(0, 242, 254, 0.15));
    border: 2px solid var(--accent-cyan);
}

.card-icon-large {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.5));
}

.bento-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.bento-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-list {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-item {
    font-size: 0.9rem;
    color: var(--text-color-dark);
}

.protocol-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 1rem 0;
}

.protocol-tag {
    padding: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--accent-purple);
    border-radius: 8px;
    font-size: 0.8rem;
    text-align: center;
    color: var(--accent-purple);
    font-weight: 600;
}

.card-cta {
    margin-top: auto;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    border-radius: 10px;
    color: var(--accent-cyan);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.card-cta:hover {
    background: var(--accent-cyan);
    color: var(--dark-bg);
    transform: scale(1.05);
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.activity-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.8rem;
    background: rgba(0, 242, 254, 0.05);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 8px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.activity-time {
    font-size: 0.7rem;
    color: var(--text-color-dark);
    font-weight: 600;
}

.activity-text {
    font-size: 0.85rem;
    color: var(--text-color);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(39, 201, 63, 0.1);
    border-radius: 10px;
    font-size: 0.85rem;
    color: #27c93f;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #27c93f;
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.small-text {
    font-size: 0.85rem;
    color: var(--text-color-dark);
    margin-top: 0.5rem;
}

.stats-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-box {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-text {
    font-size: 0.75rem;
    color: var(--text-color-dark);
    margin-top: 0.3rem;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05), transparent 70%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--accent-purple);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color-dark);
    margin-top: 1rem;
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: var(--accent-gradient);
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 80px;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-cyan);
}

.step-content {
    flex: 1;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.step-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag {
    padding: 0.4rem 1rem;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-large {
        grid-column: span 2;
    }
}

@media (max-width: 968px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 3rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-main h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .terminal-window {
        order: -1;
    }
    
    .floating-cards {
        display: none;
    }
    
    .bento-section {
        padding: 3rem 0;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 1rem;
    }
    
    .bento-large,
    .bento-wide,
    .bento-medium,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .bento-card {
        padding: 1.5rem;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        font-size: 2rem;
    }
    
    .step-number::after {
        display: none;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .hero-main h1 {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
    }
    
    .hero-stats {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .terminal-body {
        padding: 1rem;
        font-size: 0.75rem;
        min-height: 200px;
    }
    
    .bento-card {
        padding: 1.2rem;
    }
    
    .card-header h3 {
        font-size: 1.2rem;
    }
    
    .chain-logos {
        gap: 0.5rem;
    }
    
    .chain-item, .chain-more {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-text {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .how-it-works {
        padding: 3rem 0;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .hero-actions {
        width: 100%;
    }
    
    .hero-actions .cta-button {
        width: 100%;
        justify-content: center;
    }
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.4)) drop-shadow(0 0 60px rgba(0, 242, 254, 0.3));
    text-transform: uppercase;
    letter-spacing: -1px;
    position: relative;
}

.hero-content h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(0, 242, 254, 0.3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-color-dark);
    margin-bottom: 2rem;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: var(--accent-gradient);
    background-size: 200% auto;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4), 0 0 20px rgba(0, 242, 254, 0.3);
    position: relative;
    overflow: hidden;
    animation: shimmer 3s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.6), 0 0 40px rgba(0, 242, 254, 0.5);
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.badge {
    text-align: center;
    padding: 1.2rem;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.2), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.badge:hover::before {
    opacity: 1;
}

.badge:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.4), inset 0 0 30px rgba(0, 242, 254, 0.1);
}

.badge-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.badge:hover .badge-icon {
    transform: scale(1.2) rotate(10deg);
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

/* Crypto Visual Animation */
.crypto-visual {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
    animation: floating 6s ease-in-out infinite;
}

.crypto-visual::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: conic-gradient(from 0deg, var(--accent-purple), var(--accent-pink), var(--accent-cyan), var(--accent-purple));
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(20px);
    animation: rotate 8s linear infinite;
}

.orbit {
    position: absolute;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
                var(--accent-gradient) border-box;
    animation: rotate 20s linear infinite;
    box-shadow: inset 0 0 20px rgba(0, 242, 254, 0.2), 0 0 20px rgba(139, 92, 246, 0.2);
}

.orbit-1 { width: 300px; height: 300px; top: 100px; left: 100px; }
.orbit-2 { width: 380px; height: 380px; top: 60px; left: 60px; }
.orbit-3 { width: 460px; height: 460px; top: 20px; left: 20px; }

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-dot {
    width: 18px;
    height: 18px;
    background: var(--accent-gradient);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 30px var(--accent-cyan), 0 0 60px rgba(0, 242, 254, 0.3);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.3); }
}

.glow-circle {
    position: absolute;
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--accent-purple), var(--accent-pink), var(--accent-cyan));
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: pulse 3s ease-in-out infinite, colorShift 8s ease-in-out infinite;
}

@keyframes colorShift {
    0%, 100% { filter: blur(80px) hue-rotate(0deg); }
    50% { filter: blur(80px) hue-rotate(60deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); }
}

.center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    z-index: 10;
    animation: floatingRotate 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.6));
}

.pulse-ring {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid var(--accent-cyan);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        width: 150px;
        height: 150px;
        opacity: 1;
    }
    100% {
        width: 250px;
        height: 250px;
        opacity: 0;
    }
}

/* Quick Services */
.quick-services {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.03);
}

.quick-services .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.1), transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: scale(1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 242, 254, 0.4), 0 0 40px rgba(139, 92, 246, 0.3);
    border-color: var(--accent-cyan);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
}

.service-card:hover .service-icon {
    transform: scale(1.2) translateY(-10px);
    filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.6));
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Services Section */
.services {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 4rem;
    background: var(--accent-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.3));
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--accent-cyan);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-box {
    padding: 2.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.service-box::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: var(--accent-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-box:hover::after {
    opacity: 1;
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 242, 254, 0.3), 0 0 40px rgba(139, 92, 246, 0.2);
}

.service-box.highlight {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2), rgba(0, 242, 254, 0.2));
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.3), inset 0 0 40px rgba(139, 92, 246, 0.1);
    animation: highlightPulse 3s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(0, 242, 254, 0.3), inset 0 0 40px rgba(139, 92, 246, 0.1); }
    50% { box-shadow: 0 0 60px rgba(0, 242, 254, 0.5), inset 0 0 60px rgba(139, 92, 246, 0.2); }
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon-large {
    font-size: 3rem;
    display: inline-block;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.4));
}

.service-box:hover .service-icon-large {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 25px rgba(0, 242, 254, 0.7));
}

.service-box h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}

.service-box p {
    color: var(--text-color-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-cta {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    background-size: 200% auto;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
    animation: shimmer 3s linear infinite;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.service-cta:hover::before {
    left: 100%;
}

.service-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 242, 254, 0.5), 0 0 30px rgba(79, 172, 254, 0.4);
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-color-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.copyright {
    text-align: center;
    color: var(--text-color-dark);
    font-size: 0.9rem;
}

/* ============================================ */
/* CHATBOT UI STYLES (NEW)
/* ============================================ */

.chatbot-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.chatbot-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.chatbot-container {
    width: 90%;
    max-width: 800px;
    height: 85vh;
    background: linear-gradient(180deg, rgba(88, 28, 135, 0.4) 0%, rgba(17, 24, 39, 0.95) 50%, rgba(0, 0, 0, 0.98) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.chatbot-modal.active .chatbot-container {
    transform: scale(1);
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
}

.header-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.chatbot-header .logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    margin: 0 0.5rem;
}

.chatbot-header .logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(0, 242, 254, 0.5); }
}

.chatbot-header .logo-text h3 {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 2px;
}

.chatbot-header .logo-text p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

#chatbot-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Scrollbar styling */
#chatbot-messages::-webkit-scrollbar {
    width: 8px;
}
#chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}
#chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
#chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.message {
    display: flex;
    max-width: 85%;
    align-items: flex-start;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    animation: messageFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ai-message {
    max-width: 95%;
    gap: 0;
}

@keyframes messageFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e1e2e 0%, #2a2d3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.ai-message .message-avatar {
    background: linear-gradient(135deg, #8b5cf6 0%, #00f2fe 100%);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: rgba(102, 126, 234, 0.3);
}

.message-bubble {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    max-width: 100%;
}

.bot-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.bot-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.bot-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.message-content {
    background: rgba(42, 45, 62, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.6rem 0.8rem;
    border-radius: 16px;
    color: var(--text-color);
    line-height: 1.4;
    font-size: 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-message .message-content {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8) 0%, rgba(102, 126, 234, 0.8) 100%);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 16px 16px 4px 16px;
    border-color: rgba(139, 92, 246, 0.3);
}

.ai-message .message-content {
    border-radius: 18px 18px 18px 4px;
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.message-content strong {
    color: var(--accent-cyan);
    font-weight: 600;
}

.message-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--accent-cyan);
}

.ai-message .message-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.4rem;
    margin-left: 0.5rem;
    display: block;
}

.message-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin-top: 0.3rem;
}

.message-actions {
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.message:hover .message-actions {
    opacity: 1;
}

.msg-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.msg-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.msg-action-btn.active {
    background: rgba(0, 242, 254, 0.2);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.thumbs-up-btn.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-color: #10b981;
}

.thumbs-down-btn.active {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: #ef4444;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-left: 0; /* Align with message bubble */
    margin-top: 0.5rem;
    max-width: 100%;
}

.quick-reply-btn {
    background: transparent;
    border: 1.5px solid rgba(6, 182, 212, 0.8);
    color: rgba(6, 182, 212, 1);
    padding: 0.4rem 0.75rem;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.quick-reply-btn:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 1);
    color: rgba(6, 182, 212, 1);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
    transform: translateY(-1px);
}

.chatbot-input-area {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.input-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

#chat-input {
    flex-grow: 1;
    background: rgba(42, 45, 62, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.875rem 1.125rem;
    color: var(--text-color);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

#chat-input:focus {
    border-color: var(--accent-purple);
    background: rgba(42, 45, 62, 0.7);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

#chat-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.send-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #00f2fe 100%);
    border: none;
    color: white;
}

.send-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.scroll-to-bottom {
    position: absolute;
    bottom: 90px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6 0%, #00f2fe 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.scroll-to-bottom:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.6);
}

@keyframes bounceIn {
    0% { opacity: 0; transform: translateY(20px) scale(0.8); }
    50% { transform: translateY(-5px) scale(1.1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.typing-dots {
    display: flex;
    gap: 4px;
}
.typing-dots span {
    width: 8px;
    height: 8px;
    background-color: var(--text-color-dark);
    border-radius: 50%;
    animation: typing 1.2s infinite ease-in-out;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

.powered-by {
    text-align: center;
    padding: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.security-badge {
    font-size: 1rem;
    animation: securityPulse 3s ease-in-out infinite;
}

@keyframes securityPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .crypto-visual {
        width: 400px;
        height: 400px;
    }

    .orbit-1 { width: 280px; height: 280px; top: 60px; left: 60px; }
    .orbit-2 { width: 340px; height: 340px; top: 30px; left: 30px; }
    .orbit-3 { width: 400px; height: 400px; }

    .center-icon {
        font-size: 5rem;
    }

    .quick-services .container {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .trust-badges {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .badge {
        padding: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .crypto-visual {
        width: 300px;
        height: 300px;
    }

    .orbit-1 { width: 200px; height: 200px; top: 50px; left: 50px; }
    .orbit-2 { width: 250px; height: 250px; top: 25px; left: 25px; }
    .orbit-3 { width: 300px; height: 300px; top: 0; left: 0; }

    .center-icon {
        font-size: 4rem;
    }

    .service-box {
        padding: 2rem;
    }

    .service-box h3 {
        font-size: 1.5rem;
    }

    .service-icon-large {
        font-size: 3rem;
    }
}

/* ============================================ */
/* CHATBOT MODAL STYLES */
/* ============================================ */
.chatbot-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.chatbot-modal.active {
    opacity: 1;
    pointer-events: all;
}

/* Matrix Loading Screen */
.chatbot-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

#matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.loading-content {
    position: relative;
    z-index: 10002;
    text-align: center;
    padding: 2rem;
}

.loading-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #00f2fe;
    text-shadow: 
        0 0 10px rgba(0, 242, 254, 0.8),
        0 0 20px rgba(0, 242, 254, 0.6),
        0 0 30px rgba(0, 242, 254, 0.4);
    letter-spacing: 0.5rem;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.loading-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: rgba(0, 242, 254, 0.8);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1rem;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(0, 242, 254, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 
            0 0 10px rgba(0, 242, 254, 0.8),
            0 0 20px rgba(0, 242, 254, 0.6),
            0 0 30px rgba(0, 242, 254, 0.4);
    }
    50% {
        opacity: 0.7;
        text-shadow: 
            0 0 20px rgba(0, 242, 254, 1),
            0 0 40px rgba(0, 242, 254, 0.8),
            0 0 60px rgba(0, 242, 254, 0.6);
    }
}

.chatbot-container {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(30px);
    border-radius: 0;
    border: none;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-modal.active .chatbot-container {
    transform: scale(1);
}

.chatbot-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bot-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.8));
}

.chatbot-title h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-indicator {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.close-chat {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-chat:hover {
    background: rgba(255, 59, 48, 0.2);
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chatbot-messages::-webkit-scrollbar {
    width: 8px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}

.message {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    opacity: 1;
    transform: translateY(0);
}

.message.fade-in {
    animation: fadeInUp 0.4s ease-out forwards;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border: 1px solid rgba(102, 126, 234, 0.5);
}

.user-avatar {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.3) 0%, rgba(0, 242, 254, 0.3) 100%);
    border-color: rgba(79, 172, 254, 0.5);
}

.message-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.bot-message .message-content {
    border-left: 3px solid rgba(102, 126, 234, 0.6);
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15) 0%, rgba(0, 242, 254, 0.15) 100%);
    border-left: 3px solid rgba(79, 172, 254, 0.6);
}

.message-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.message-content strong {
    color: #00f2fe;
    font-weight: 600;
}

.message-content code {
    background: rgba(0, 242, 254, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: #00f2fe;
    font-family: 'Courier New', monospace;
}

.message-content ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.message-content li {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.3rem 0;
}

.typing-indicator .message-content {
    padding: 0.8rem 1.5rem;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

/* Typewriter effect */
.typewriter {
    overflow: hidden;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #00f2fe;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.typing-dots {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.typing-dot,
.typing-dots span {
    width: 10px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: typingAnimation 1.4s infinite;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.typing-dot:nth-child(2),
.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3),
.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingAnimation {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.chatbot-input-area {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.input-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
}

#chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

#chat-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#chat-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.send-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.send-btn:active {
    transform: scale(0.95);
}

.api-notice {
    margin-top: 0.8rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* Quick Reply Buttons */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

.quick-reply-btn {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.2) 100%);
    border: 1.5px solid rgba(79, 172, 254, 0.6);
    color: rgba(79, 172, 254, 1);
    padding: 0.7rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.quick-reply-btn:hover {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.4) 0%, rgba(0, 242, 254, 0.4) 100%);
    border-color: rgba(79, 172, 254, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.4);
}

.quick-reply-btn:active {
    transform: translateY(0);
}

/* Typing Indicator */
.typing-dots {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: rgba(102, 126, 234, 0.8);
    border-radius: 50%;
    animation: typingAnimation 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingAnimation {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Chatbot Responsive */
@media (max-width: 768px) {
    .chatbot-container {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        background: linear-gradient(180deg, rgba(109, 40, 217, 0.5) 0%, rgba(17, 24, 39, 1) 25%, rgba(0, 0, 0, 1) 60%);
    }

    .chatbot-modal {
        padding: 0;
    }

    .chatbot-header {
        padding: 1rem;
        background: rgba(0, 0, 0, 0.4);
    }

    .chatbot-title h3 {
        font-size: 1rem;
    }

    .bot-icon {
        font-size: 2rem;
    }

    .chatbot-messages {
        padding: 1.2rem;
        background: transparent;
    }
    
    .message {
        max-width: 92%;
    }
    
    .ai-message {
        max-width: 98%;
    }

    .message-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }

    .chatbot-input-area {
        padding: 1rem;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(10px);
    }

    /* Hide header on desktop, show on mobile */
    .header {
        display: none;
    }
}

/* Menu Dropdown */
.menu-dropdown {
    position: absolute;
    top: 100%;
    right: 1rem;
    margin-top: 0.5rem;
    background: rgba(17, 24, 39, 0.98);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    overflow: hidden;
    z-index: 1000;
    min-width: 160px;
    animation: menuSlideIn 0.2s ease-out;
}

@keyframes menuSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item {
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: rgba(6, 182, 212, 0.1);
    color: rgba(6, 182, 212, 1);
}

.menu-item:active {
    background: rgba(6, 182, 212, 0.2);
}
