/* --- 1. Modern Variables --- */
:root {
    --primary: #6366f1;      /* Indigo */
    --secondary: #8b5cf6;    /* Violet */
    --accent: #06b6d4;       /* Cyan */
    --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    
    --dark: #0f172a;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
    
    --radius: 24px;
    --font-main: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--text-main); background: #fff; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.bg-soft { background: var(--bg-light); }

/* Typography */
h1, h2, h3, h4 { color: var(--dark); font-weight: 700; letter-spacing: -0.03em; }
.sec-header { margin-bottom: 60px; text-align: center; }
.sec-header h2 { font-size: 42px; margin-bottom: 10px; }
.sec-header p { font-size: 18px; color: var(--text-light); }

/* Buttons */
.btn-primary {
    background: var(--dark); color: #fff;
    padding: 12px 32px; border-radius: 50px; font-weight: 600;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }

.btn-glow {
    background: var(--gradient); color: #fff;
    padding: 10px 24px; border-radius: 12px; font-weight: 600; font-size: 14px;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}
.btn-glow:hover { box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6); }

.btn-text { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.btn-text:hover { gap: 12px; color: var(--primary); }

.btn-more-glass {
    display: block; text-align: center; margin-top: 20px;
    padding: 12px 0; border-radius: 12px;
    background: rgba(99, 102, 241, 0.05); color: var(--primary);
    font-weight: 600; font-size: 14px;
}
.btn-more-glass:hover { background: rgba(99, 102, 241, 0.1); }

/* --- 2. Navbar --- */
#navbar {
    position: fixed; top: 0; width: 100%; height: 80px; z-index: 1000;
    background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-box { display: flex; justify-content: space-between; align-items: center; height: 100%; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-symbol {
    width: 30px; height: 30px; background: var(--gradient); border-radius: 8px;
    transform: rotate(45deg);
}
.logo-text { font-size: 20px; font-weight: 500; color: var(--dark); }
.logo-text .bold { font-weight: 800; }

.nav-links { display: flex; gap: 40px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--text-main); }
.nav-links a:hover { color: var(--primary); }
.menu-icon { display: none; font-size: 24px; cursor: pointer; }

/* --- 3. Hero --- */
.hero { position: relative; height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; animation: float 10s infinite ease-in-out; }
.orb-1 { width: 400px; height: 400px; background: #c4b5fd; top: -100px; right: -100px; }
.orb-2 { width: 300px; height: 300px; background: #a5f3fc; bottom: -50px; left: -50px; animation-delay: 2s; }

.hero-content { width: 100%; display: flex; align-items: center; gap: 50px; }
.hero-text { flex: 1; z-index: 1; }
.hero-visual { flex: 1; position: relative; height: 400px; display: flex; justify-content: center; align-items: center; }

.pill-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; padding: 6px 16px; border-radius: 50px;
    box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--primary);
    margin-bottom: 25px;
}
.hero h1 { font-size: 72px; line-height: 1.1; margin-bottom: 25px; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 18px; color: var(--text-light); margin-bottom: 40px; max-width: 500px; }
.hero-btns { display: flex; gap: 20px; align-items: center; }

/* 3D Cards */
.card-3d {
    position: absolute; background: rgba(255,255,255,0.4); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.6); box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-radius: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    animation: float 6s infinite ease-in-out;
}
.main-card { width: 200px; height: 240px; z-index: 2; }
.main-card i { font-size: 48px; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 15px; }
.main-card h3 { font-size: 20px; margin-bottom: 5px; }
.main-card p { font-size: 12px; color: var(--text-light); }

.sub-card { width: 120px; height: 120px; z-index: 1; }
.sub-card i { font-size: 24px; color: var(--dark); margin-bottom: 10px; }
.sub-card span { font-size: 12px; font-weight: 600; }
.c1 { top: 20px; left: 50px; animation-delay: 1s; }
.c2 { bottom: 40px; right: 60px; animation-delay: 2s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* --- 4. Bento Grid --- */
.bento-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 250px); gap: 24px;
}
.bento-item {
    background: #fff; border-radius: var(--radius); padding: 30px;
    border: 1px solid #f1f5f9; transition: 0.3s;
    display: flex; flex-direction: column; justify-content: space-between;
}
.bento-item:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-5px); }

.large { grid-column: span 2; grid-row: span 2; background: #f8fafc; }
.wide { grid-column: span 2; }

.icon-sq { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; margin-bottom: 20px; }
.blue { background: var(--primary); }
.purple { background: var(--secondary); }
.cyan { background: var(--accent); }

.bento-item h3 { font-size: 20px; margin-bottom: 10px; }
.bento-item p { font-size: 14px; color: var(--text-light); }
.tech-stats { display: flex; gap: 30px; margin-top: 30px; }
.tech-stats strong { font-size: 28px; display: block; color: var(--dark); }

.bento-flex { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.visual-graph { display: flex; gap: 5px; align-items: flex-end; height: 60px; }
.bar { width: 10px; background: var(--gradient); border-radius: 5px; opacity: 0.5; animation: graph 2s infinite alternate; }
.b1 { height: 40%; } .b2 { height: 70%; animation-delay: 0.2s; } .b3 { height: 50%; animation-delay: 0.4s; } .b4 { height: 90%; animation-delay: 0.6s; }
@keyframes graph { to { height: 100%; opacity: 1; } }

/* --- 5. News --- */
.news-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card {
    background: #fff; border-radius: var(--radius); padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid #f8fafc; transition: 0.3s;
}
.news-card:hover { box-shadow: var(--shadow); border-color: transparent; }

.card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.dot-icon { width: 10px; height: 10px; border-radius: 50%; }
.card-top h4 { font-size: 16px; margin: 0; }

.news-list-tech li { margin-bottom: 15px; }
.news-list-tech a { display: flex; flex-direction: column; }
.news-list-tech .date { font-size: 12px; color: #94a3b8; font-family: monospace; margin-bottom: 4px; }
.news-list-tech .title { font-size: 15px; font-weight: 500; transition: 0.2s; }
.news-list-tech a:hover .title { color: var(--primary); transform: translateX(5px); }

/* --- 6. Footer --- */
footer { padding: 60px 0; border-top: 1px solid #f1f5f9; text-align: center; }
.f-logo { font-weight: 800; font-size: 24px; margin-bottom: 20px; letter-spacing: -1px; }
.f-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; }
.f-links a { color: var(--text-light); font-size: 14px; font-weight: 500; }
.f-links a:hover { color: var(--primary); }
.f-copy { color: #cbd5e1; font-size: 12px; }

/* Responsive */
@media (max-width: 992px) {
    .hero { height: auto; padding: 120px 0; }
    .hero-content { flex-direction: column; text-align: center; }
    .hero-visual { width: 100%; margin-top: 50px; }
    .hero-btns { justify-content: center; }
    .bento-grid { display: flex; flex-direction: column; }
    .news-cols-3 { grid-template-columns: 1fr; }
    .nav-links, .nav-action { display: none; }
    .menu-icon { display: block; }
}
