:root {
    --bg-color: #050505;
    --surface: #111111;
    --surface-glass: rgba(25, 25, 25, 0.6);
    --border: rgba(255, 255, 255, 0.08);
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --accent: #ec4899;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
}

* {
    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;
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

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

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Buttons */
.cta-btn, .secondary-btn {
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn {
    background: var(--primary);
    color: white;
}

.cta-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.secondary-btn {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.sm { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.lg { padding: 1rem 2rem; font-size: 1rem; }

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 5% 8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    gap: 4rem;
}

.glow-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

.orb-1 {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.orb-2 {
    bottom: 100px;
    right: -100px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

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

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

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

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

/* Mockup / Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.glass-card {
    background: var(--surface-glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

.mockup-header {
    display: flex;
    gap: 8px;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

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

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

.mockup-body {
    padding: 2rem 1.5rem;
    font-family: monospace;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.code-line { color: var(--text-muted); }
.code-line.success { color: #34d399; }
.code-line.typing {
    color: #60a5fa;
    border-right: 2px solid #60a5fa;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 2s steps(40, end), blink-caret .75s step-end infinite;
}

/* Features */
.features {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 3rem 5%;
    text-align: center;
}

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

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

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #60a5fa; }
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero h1 { font-size: 3rem; }
    nav { display: none; }
}
