/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f1a;
    --bg-tertiary: #14141f;
    --bg-card: rgba(20, 20, 30, 0.8);
    
    /* Accent Colors */
    --accent-cyan: #00d4ff;
    --accent-teal: #00b8a9;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-orange: #ff6b35;
    --accent-green: #00ff88;
    
    /* Text Colors - Improved contrast for WCAG AA compliance */
    --text-primary: #ffffff;
    --text-secondary: #d4d4e8;  /* Improved from #b4b4c8 - contrast ratio 12.6:1 */
    --text-muted: #9b9bb8;      /* Improved from #6b6b8a - contrast ratio 6.8:1 */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #00b8a9 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #f7971e 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #14141f 100%);
    --gradient-card: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 184, 169, 0.05) 100%);
    --gradient-mesh: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
                     radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                     radial-gradient(circle at 40% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    
    /* Shadows & Glow */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 8px 32px rgba(0, 212, 255, 0.3);
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.4), 0 0 40px rgba(0, 212, 255, 0.2);
    --glow-teal: 0 0 20px rgba(0, 184, 169, 0.4), 0 0 40px rgba(0, 184, 169, 0.2);
    --glow-purple: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
    opacity: 0.5;
    z-index: -1;
    animation: meshMove 20s ease-in-out infinite alternate;
}

@keyframes meshMove {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.brand-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--glow-cyan);
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 0.1;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link.active {
    color: var(--accent-cyan);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Tab Content */
.tab-content {
    display: none;
    padding-top: 80px;
}

.tab-content.active {
    display: block;
}

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--spacing-lg) 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-dark);
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 212, 255, 0.03) 0%,
        rgba(0, 184, 169, 0.05) 25%,
        rgba(139, 92, 246, 0.05) 50%,
        rgba(0, 184, 169, 0.05) 75%,
        rgba(0, 212, 255, 0.03) 100%
    );
    background-size: 200% 100%;
    animation: slideBackground 20s linear infinite;
    filter: blur(40px);
}

@keyframes slideBackground {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.crypto-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.crypto-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 15, 0.85) 0%,
        rgba(0, 184, 169, 0.3) 30%,
        rgba(139, 92, 246, 0.25) 70%,
        rgba(10, 10, 15, 0.85) 100%
    );
    z-index: 1;
}

.crypto-bg::after {
    background: linear-gradient(
        90deg,
        rgba(0, 184, 169, 0.04) 0%,
        rgba(0, 212, 255, 0.06) 25%,
        rgba(139, 92, 246, 0.06) 50%,
        rgba(0, 212, 255, 0.06) 75%,
        rgba(0, 184, 169, 0.04) 100%
    );
    background-size: 300% 100%;
    animation: slideBackground 25s linear infinite;
    filter: blur(50px);
    z-index: 2;
}

.tech-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tech-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 15, 0.85) 0%,
        rgba(139, 92, 246, 0.3) 30%,
        rgba(0, 212, 255, 0.25) 70%,
        rgba(10, 10, 15, 0.85) 100%
    );
    z-index: 1;
}

.tech-bg::after {
    background: linear-gradient(
        90deg,
        rgba(139, 92, 246, 0.04) 0%,
        rgba(236, 72, 153, 0.05) 25%,
        rgba(0, 212, 255, 0.06) 50%,
        rgba(236, 72, 153, 0.05) 75%,
        rgba(139, 92, 246, 0.04) 100%
    );
    background-size: 300% 100%;
    animation: slideBackground 25s linear infinite reverse;
    filter: blur(50px);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

/* Animated Particles */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 3%),
        radial-gradient(circle at 60% 70%, rgba(0, 184, 169, 0.08) 0%, transparent 3%),
        radial-gradient(circle at 40% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 3%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.06) 0%, transparent 3%),
        radial-gradient(circle at 30% 80%, rgba(236, 72, 153, 0.06) 0%, transparent 3%);
    background-size: 50% 100%;
    animation: moveParticles 30s linear infinite;
    filter: blur(2px);
    z-index: 0;
}

@keyframes moveParticles {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(33.333%);
    }
}

.crypto-hero::before {
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(0, 184, 169, 0.1) 0%, transparent 3%),
        radial-gradient(circle at 55% 65%, rgba(0, 212, 255, 0.1) 0%, transparent 3%),
        radial-gradient(circle at 35% 45%, rgba(139, 92, 246, 0.08) 0%, transparent 3%),
        radial-gradient(circle at 75% 15%, rgba(0, 184, 169, 0.08) 0%, transparent 3%),
        radial-gradient(circle at 25% 75%, rgba(0, 212, 255, 0.08) 0%, transparent 3%);
    animation: moveParticles 35s linear infinite;
}

.tech-hero::before {
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 3%),
        radial-gradient(circle at 60% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 3%),
        radial-gradient(circle at 40% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 3%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 3%),
        radial-gradient(circle at 30% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 3%);
    animation: moveParticles 35s linear infinite reverse;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 50%, var(--accent-teal) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 5s ease infinite;
    letter-spacing: -0.01em;
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(180, 180, 200, 0.95);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    animation: fadeIn 1s ease-out 0.3s both;
    font-weight: 400;
    max-width: 580px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 184, 169, 0.08) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.2), 0 0 80px rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.3), 0 0 120px rgba(0, 212, 255, 0.15);
}

.hero-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(0, 212, 255, 0.15) 25%,
        transparent 50%,
        rgba(0, 184, 169, 0.15) 75%,
        transparent 100%
    );
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.hero-logo {
    max-width: 80%;
    height: auto;
    opacity: 0.95;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: rgba(10, 10, 15, 0.5);
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary::after {
    opacity: 1;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.15);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    border-color: var(--accent-teal);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background: rgba(20, 20, 30, 0.5);
    color: var(--text-primary);
    border: 2px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    animation: fadeIn 0.8s ease-out;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 5s ease infinite;
    letter-spacing: -0.01em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 400;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    line-height: 1.8;
}

.timeline {
    position: relative;
    padding-left: var(--spacing-md);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
    opacity: 0;
    animation: slideInFromLeft 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6), 0 0 30px rgba(0, 212, 255, 0.3);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.6), 0 0 30px rgba(0, 212, 255, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 212, 255, 0.8), 0 0 50px rgba(0, 212, 255, 0.4);
        transform: scale(1.2);
    }
}

.timeline-year {
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
}

.timeline-content p {
    color: var(--text-secondary);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(0, 212, 255, 0.1) 25%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3), 0 0 60px rgba(0, 212, 255, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 1;
    animation: rotate 4s linear infinite;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.2) translateY(-5px);
    filter: drop-shadow(0 0 25px rgba(0, 212, 255, 0.9));
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1.2) translateY(-5px);
    }
    50% {
        transform: scale(1.25) translateY(-10px);
    }
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-cyan);
    position: relative;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-list {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.service-list li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-sm);
    position: relative;
}

.service-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

/* Network Section */
.network-section {
    background: var(--bg-secondary);
}

.network-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.network-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.stat-item {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-cyan);
    border-color: var(--accent-cyan);
}

.stat-item.highlight {
    grid-column: 1 / -1;
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--glow-cyan);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--accent-cyan);
    margin-bottom: var(--spacing-xs);
}

.stat-item.highlight .stat-number {
    color: var(--text-primary);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item.highlight .stat-label {
    color: var(--text-primary);
}

.network-contact {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.network-contact h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-cyan);
}

.contact-email {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.contact-email a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

.network-placeholder {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    text-align: center;
    color: var(--text-secondary); /* Changed from text-muted for better contrast */
    border: 2px dashed rgba(0, 217, 255, 0.2);
}

/* Why Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.why-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-cyan);
}

.why-card p {
    color: var(--text-secondary);
}

/* Partners Section */
.partners-section {
    background: var(--bg-primary);
    padding: var(--spacing-xl) 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    align-items: center;
    justify-items: center;
    margin-top: var(--spacing-lg);
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 100px;
    width: 100%;
}

.partner-logo:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.3);
    background: #f0f0f0;
}

.partner-logo img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.contact-item h3 {
    color: var(--accent-cyan);
    margin-bottom: var(--spacing-xs);
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: var(--accent-cyan);
}

.contact-form {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

/* Exchanges Section */
.exchanges-section {
    background: var(--bg-secondary);
}

.exchanges-table {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.exchange-card {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: var(--spacing-md);
    align-items: center;
    transition: all 0.3s ease;
}

.exchange-card:hover {
    transform: translateX(5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-md);
}

.exchange-logo {
    width: 100px;
    height: 100px;
    background: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 217, 255, 0.2);
    padding: var(--spacing-sm);
}

.exchange-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-placeholder {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.exchange-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--accent-cyan);
}

.exchange-info p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.exchange-benefits {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.badge {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
}

/* Community Section */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.community-card {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-lg);
}

.community-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.community-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-cyan);
}

.community-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.channels-section {
    margin-top: var(--spacing-lg);
}

.channels-section h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
    color: var(--accent-cyan);
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.channel-card {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-lg);
}

.channel-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.channel-card h4 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--accent-cyan);
}

.channel-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* Insight Section */
.insight-section {
    background: var(--bg-secondary);
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.insight-card {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-lg);
}

.insight-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.insight-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-cyan);
}

.insight-card ul {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.insight-card ul li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-sm);
    position: relative;
}

.insight-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

.insight-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-primary);
}

.legal-notice {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--accent-purple);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.legal-notice p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-cyan);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Tools Section */
.tools-section {
    background: var(--bg-secondary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.tool-card {
    background: var(--bg-card);
    padding: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.tool-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.tool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}

.tool-card:hover .tool-image img {
    transform: scale(1.05);
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3), 0 0 60px rgba(0, 212, 255, 0.2);
}

.tool-icon {
    font-size: 2.5rem;
    margin: var(--spacing-md) var(--spacing-md) var(--spacing-sm) var(--spacing-md);
    display: block;
}

.tool-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 var(--spacing-md) var(--spacing-sm) var(--spacing-md);
    color: var(--accent-cyan);
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.01em;
}

.tool-card p {
    color: var(--text-secondary);
    margin: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
    line-height: 1.6;
    font-size: 0.95rem;
}

.tool-actions {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
}

/* Tech Services Section */
.tech-services-section {
    background: var(--bg-primary);
}

.tech-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.tech-service-card {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-lg);
}

.tech-service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.tech-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-cyan);
}

.tech-service-card ul {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.tech-service-card ul li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-sm);
    position: relative;
}

.tech-service-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

/* Docs Section */
.docs-section {
    background: var(--bg-secondary);
}

.docs-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.docs-sidebar {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
    position: sticky;
    top: 100px;
}

.docs-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--accent-cyan);
}

.docs-nav {
    list-style: none;
}

.docs-link {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-xs);
    transition: all 0.3s ease;
}

.docs-link:hover,
.docs-link.active {
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent-cyan);
}

.docs-content {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.docs-article {
    display: none;
}

.docs-article.active {
    display: block;
}

.docs-article h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--accent-cyan);
}

.docs-article h4 {
    font-size: 1.5rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.docs-article p,
.docs-article ul,
.docs-article ol {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.docs-article ul,
.docs-article ol {
    padding-left: var(--spacing-md);
}

.docs-article ul li,
.docs-article ol li {
    margin-bottom: var(--spacing-xs);
}

/* Support Section */
.support-section {
    background: var(--bg-primary);
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.support-channels {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.support-channels h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--accent-cyan);
}

.support-channels p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.support-channels a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.support-channels a:hover {
    text-decoration: underline;
}

.changelog {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
    max-height: 500px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.changelog::-webkit-scrollbar {
    width: 8px;
}

.changelog::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.changelog::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 4px;
}

.changelog::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00d9ff, #a855f7);
}

.changelog h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--accent-cyan);
}

.changelog-item {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.changelog-item:last-child {
    border-bottom: none;
}

.changelog-date {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    margin-bottom: var(--spacing-xs);
}

.changelog-content h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.changelog-content ul {
    list-style: none;
    padding-left: var(--spacing-sm);
}

.changelog-content ul li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-sm);
    position: relative;
}

.changelog-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-logo {
    width: 60px;
    height: auto;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.footer-column h4 {
    color: var(--accent-cyan);
    margin-bottom: var(--spacing-sm);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    color: var(--text-secondary); /* Changed from text-muted for better contrast */
    font-size: 0.9rem;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hidden-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hidden-section.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Hover Effects */
.service-card,
.why-card,
.tool-card,
.insight-card,
.exchange-card {
    will-change: transform;
}

/* Glowing Text Effect */
@keyframes glow-text {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.3),
                     0 0 20px rgba(0, 212, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.5),
                     0 0 40px rgba(0, 212, 255, 0.3);
    }
}

.accent-glow {
    animation: glow-text 3s ease-in-out infinite;
}

/* Smooth Transitions for Hero Placeholder */
.hero-placeholder {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading Animation */
@keyframes loading-pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Stagger Animation for Grid Items */
.services-grid > *:nth-child(1) { animation-delay: 0s; }
.services-grid > *:nth-child(2) { animation-delay: 0.1s; }
.services-grid > *:nth-child(3) { animation-delay: 0.2s; }
.services-grid > *:nth-child(4) { animation-delay: 0.3s; }
.services-grid > *:nth-child(5) { animation-delay: 0.4s; }
.services-grid > *:nth-child(6) { animation-delay: 0.5s; }

/* Text Gradient Animation */
.gradient-text {
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 5s ease infinite;
}

/* Ripple Effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
}

.ripple-effect:active::after {
    animation: ripple 0.6s ease-out;
}

/* Shine Effect on Hover */
@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.shine-effect:hover::before {
    animation: shine 1s ease;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .network-content,
    .contact-content,
    .support-content,
    .docs-layout {
        grid-template-columns: 1fr;
    }
    
    .network-stats {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(15, 15, 26, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: var(--spacing-md);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid rgba(0, 212, 255, 0.2);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
        animation: slideInRight 0.4s ease-out;
    }
    
    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .exchange-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .exchange-logo {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .services-grid,
    .why-grid,
    .insight-grid,
    .tools-grid,
    .tech-services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero {
        min-height: 65vh;
        padding: var(--spacing-md) 0;
    }
    
    .hero-placeholder {
        max-width: 280px;
    }
    
    .hero-content {
        grid-template-columns: 1fr !important;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Tab Content Animations */
.tab-content {
    animation: fadeOut 0.3s ease;
}

.tab-content.active {
    animation: fadeInTab 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Enhanced Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-left: 1px solid rgba(0, 212, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
    border: 2px solid var(--bg-primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-cyan) 100%);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* Selection Styling */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: loading-pulse 1.5s ease-in-out infinite;
}

/* Utility Classes */
.no-scroll {
    overflow: hidden;
}

.blur-bg {
    filter: blur(5px);
    pointer-events: none;
}

/* Performance Optimizations */
.service-card,
.why-card,
.tool-card,
.insight-card,
.exchange-card,
.hero-placeholder {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .hero-cta,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}