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

:root {
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --secondary: #a855f7;
    --accent: #14b8a6;
    --glow-primary: rgba(59, 130, 246, 0.5);
    --glow-secondary: rgba(168, 85, 247, 0.5);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Background Glows */
body::before, body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    animation: floatGlow 10s infinite alternate ease-in-out;
}

body::before {
    top: -100px;
    left: -100px;
    background: var(--primary);
}

body::after {
    bottom: -100px;
    right: -100px;
    background: var(--secondary);
    animation-delay: -5s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Disclaimer Banner */
.disclaimer-banner {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 1000;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 42px; /* Adjusted for banner */
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--text-main);
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh;
    padding: 0 5%;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 90%;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px var(--glow-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px var(--glow-secondary);
}

/* Hero Graphics - Floating Data Cards */
.hero-graphics {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.float-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    width: 240px;
}

.float-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.card-1 {
    top: 5%;
    left: 5%;
    animation: float1 6s infinite ease-in-out;
    border-top: 1px solid var(--accent);
}

.card-2 {
    bottom: 15%;
    right: 5%;
    animation: float2 7s infinite ease-in-out;
    border-top: 1px solid var(--primary);
}

.card-3 {
    top: 40%;
    left: 45%;
    z-index: 2;
    animation: float3 5s infinite ease-in-out;
    border-top: 1px solid var(--secondary);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
}

@keyframes float1 { 
    0%, 100% { transform: translateY(0) rotate(-4deg); } 
    50% { transform: translateY(-15px) rotate(-2deg); } 
}
@keyframes float2 { 
    0%, 100% { transform: translateY(0) rotate(4deg); } 
    50% { transform: translateY(-18px) rotate(6deg); } 
}
@keyframes float3 { 
    0%, 100% { transform: translateY(0) scale(1.05); } 
    50% { transform: translateY(-20px) scale(1.08); } 
}

.card-header {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
}

.card-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
}

.card-value.positive {
    color: var(--accent);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-tags span {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Sections */
.section {
    padding: 120px 5%;
}

.dark-section {
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02) 50%, transparent);
}

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

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #e2e8f0;
    font-weight: 600;
}

.glass-card p {
    color: var(--text-muted);
    font-weight: 300;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.05);
    width: 70px; height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
}

/* Tech Stack */
.tech-stack-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.tech-item {
    padding: 12px 24px;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #e2e8f0;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-item:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.05);
    border-color: var(--primary);
    color: #fff;
}

/* Terminal Simulation */
.terminal-window {
    background: #0a0a0a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

.terminal-header {
    background: #111;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.terminal-title {
    margin-left: auto;
    margin-right: auto;
    color: #666;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

.terminal-body {
    padding: 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    color: #10b981;
    height: 450px;
    overflow-y: auto;
    line-height: 1.5;
}

/* Custom Scrollbar for terminal */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}
.terminal-body::-webkit-scrollbar-track {
    background: #0a0a0a;
}
.terminal-body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.line {
    margin-bottom: 8px;
}

.input-area input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    width: 70%;
    caret-color: #10b981;
}

.input-area input::placeholder {
    color: rgba(255,255,255,0.3);
}

footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 300;
}

/* Responsive */
@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; padding-top: 60px; }
    .hero-content h1 { font-size: 3rem; }
    .hero-content p { max-width: 100%; margin: 0 auto 30px; }
    .hero-graphics { margin-top: 60px; }
    .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .abstract-viz { width: 250px; height: 250px; }
    .section { padding: 80px 5%; }
}
