:root {
    --bg-color: #0a0a0c;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --accent-primary: #6366f1; /* Indigo */
    --accent-secondary: #a855f7; /* Purple */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-blur: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

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

/* Background Animation */
.cursor-blob {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.1) 50%, transparent 100%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

/* Navbar */
#navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
}

.logo span {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

.btn-primary {
    background: var(--accent-primary);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn-main {
    padding: 1rem 2.5rem;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    border: 1px solid var(--card-border);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: var(--card-bg);
}

/* Hero Visual & Glass Card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.5rem;
}

.main-card {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 16/10;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.card-body code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
}

.text-glow {
    color: #27c93f;
    text-shadow: 0 0 10px rgba(39, 201, 63, 0.5);
}

/* Features Section */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.bento-item {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s, background 0.3s;
}

.bento-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.bento-item.wide {
    grid-column: span 2;
}

.bento-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.bento-item h3 {
    margin-bottom: 0.5rem;
}

.bento-item p {
    color: var(--text-muted);
}

/* Footer */
footer {
    background: #050505;
    padding: 6rem 0 2rem;
    margin-top: 8rem;
    border-top: 1px solid var(--card-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info p {
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
    }
    .hero h1 { font-size: 3.5rem; }
    .hero p { margin: 0 auto 2.5rem; }
    .hero-btns { justify-content: center; }
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-item.wide { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
