@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@300;400;500;600&display=swap');

:root {
    --bg-white: #F9FAFB;
    --card-white: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --electric-cyan: #00D1FF; /* Slightly adjusted for light background visibility */
    --cyber-green: #10B981; /* Softened emerald for light theme */
    --bento-border: rgba(0, 0, 0, 0.04);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

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

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Rich Bento Grid Components */
.bento-card {
    background: var(--card-white);
    border: 1px solid var(--bento-border);
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
    border-color: var(--electric-cyan);
}

/* Sophisticated Glassmorphism */
.glass-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Glow & Accent Effects */
.glow-cyan {
    box-shadow: 0 8px 20px -6px rgba(0, 209, 255, 0.3);
}

.bg-cyan-soft { background: rgba(0, 209, 255, 0.08); }
.text-cyan { color: var(--electric-cyan); }
.text-green { color: var(--cyber-green); }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #00D1FF 0%, #0072FF 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px -8px rgba(0, 114, 255, 0.4);
}

.btn-secondary {
    background: var(--card-white);
    color: var(--text-main);
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    border: 1px solid var(--bento-border);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #F3F4F6;
    border-color: #D1D5DB;
}

/* Status Indicator */
.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--cyber-green);
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cyber-green);
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Modern Comparison Table */
.tech-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.tech-table th, .tech-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #F1F5F9;
    text-align: left;
}

.tech-table th {
    background: #F8FAFC;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.tech-table tr:last-child td {
    border-bottom: none;
}

/* Rich Gradients */
.gradient-text {
    background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Feature Icon Wrap */
.icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Mobile Menu State */
#mobile-menu {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

#mobile-menu.active a {
    animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#mobile-menu a:nth-child(1) { animation-delay: 0.1s; }
#mobile-menu a:nth-child(2) { animation-delay: 0.2s; }
#mobile-menu a:nth-child(3) { animation-delay: 0.3s; }
#mobile-menu a:nth-child(4) { animation-delay: 0.4s; }
#mobile-menu a:nth-child(5) { animation-delay: 0.5s; }

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