:root {
    --bg-color: #020617;
    --card-bg: rgba(15, 23, 42, 0.7);
    --card-border: rgba(56, 189, 248, 0.1);
    --text-color: #f8fafc;
    --accent-primary: #38bdf8;
    --accent-secondary: #818cf8;
    --accent-glow: rgba(56, 189, 248, 0.4);
    --accent-hover: #0ea5e9;
    --muted-text: #94a3b8;
    --nav-bg: rgba(2, 6, 23, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(56, 189, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(129, 140, 248, 0.05) 0%, transparent 20%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
nav {
    background-color: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo span {
    color: var(--accent-primary);
    text-shadow: 0 0 15px var(--accent-glow);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--muted-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Hero Section */
header {
    padding: 140px 0 100px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.profile-container {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 6s ease-in-out infinite;
}

.profile-img:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 0 60px rgba(56, 189, 248, 0.4);
}

h1 {
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.06em;
    line-height: 0.9;
    background: linear-gradient(135deg, #fff 60%, var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.tagline {
    font-size: 1.2rem;
    color: var(--muted-text);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
}

/* Sections */
.section {
    padding: 120px 0;
    animation: fadeIn 1s ease-out;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: -0.04em;
}

.section-title span {
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 48px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    padding: 60px 40px;
}

.team-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #fff;
}

.role {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.version {
    font-family: var(--font-mono);
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-primary);
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    width: fit-content;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.pricing {
    margin: 30px 0;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.pricing p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--muted-text);
}

.pricing p strong {
    color: #fff;
}

.btn {
    display: inline-block;
    margin-top: auto;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #020617;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(56, 189, 248, 0.3);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: #020617;
}

/* Terminal Preview */
.terminal-window {
    background: #0a0f1d;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #161e31;
    padding: 14px 24px;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; box-shadow: 0 0 10px rgba(255, 95, 86, 0.3); }
.dot.yellow { background: #ffbd2e; box-shadow: 0 0 10px rgba(255, 189, 46, 0.3); }
.dot.green { background: #27c93f; box-shadow: 0 0 10px rgba(39, 201, 63, 0.3); }

.terminal-body {
    padding: 36px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: #a5f3fc;
}

.cmd { margin-bottom: 12px; }
.cmd-prefix { color: var(--accent-primary); font-weight: 600; margin-right: 12px; }

/* Footer */
footer {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 120px;
    color: var(--muted-text);
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.5));
}

@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    header {
        padding: 80px 0 60px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .glass-card {
        padding: 24px;
    }

    h1 {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }

    .tagline {
        font-size: 1rem;
        padding: 0 10px;
    }

    .profile-img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: center;
        width: 100%;
        gap: 10px;
    }

    .nav-links li {
        width: 100%;
    }

    .terminal-body {
        padding: 20px;
        font-size: 0.8rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .pricing {
        padding: 15px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.8rem;
    }
}

