/* PHOENIX DESIGN SYSTEM v1.0 */

:root {
    --bg-dark: #030305;
    --text-main: #ffffff;
    --text-muted: #8b8b9b;
    --primary: #00f2ff;
    --secondary: #7000ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --blur: 20px;
    --anim-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background FX */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: pulseOrb 10s infinite alternate;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--secondary);
    bottom: -10%;
    right: -10%;
    animation-delay: 2s;
}

@keyframes pulseOrb {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Typography & Layout */
h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(3, 3, 5, 0.6);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 2px;
}

.dot {
    color: var(--primary);
}

.links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.links a:hover {
    color: var(--text-main);
}

/* Buttons */
.btn-primary,
.btn-hero {
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 12px 30px;
    border-radius: 4px;
    margin-left: 15px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-secondary:hover {
    border-color: var(--text-main);
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 50px;
    min-height: 80vh;
}

.pill-badge {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: rgba(0, 242, 255, 0.05);
}

/* Glass Card Logic */
.glass-card,
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur));
    border-radius: 16px;
    padding: 30px;
    transition: 0.3s;
}

.hero-visual .glass-card {
    width: 400px;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
    margin-bottom: 15px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
}

.status-dot.online {
    background: var(--success-color, #00ff9d);
    box-shadow: 0 0 10px #00ff9d;
}

.code-block {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.8;
}

.success {
    color: #00ff9d;
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: perspective(1000px) rotateY(-10deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-10deg) translateY(-20px);
    }
}

/* Metrics */
.metrics-strip {
    display: flex;
    justify-content: space-around;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
}

.metric h3 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.metric span {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Features */
.features {
    padding: 100px 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.glass-footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-visual {
        margin-top: 50px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .glass-nav {
        flex-direction: column;
        gap: 20px;
    }

    .links a {
        margin: 0 10px;
    }
}