:root {
    /* Color Palette - Midnight Aurora */
    --primary-color: #6366f1;
    /* Indigo 500 */
    --primary-hover: #4f46e5;
    /* Indigo 600 */
    --accent-color: #8b5cf6;
    /* Violet 500 */
    --bg-color: #0f172a;
    /* Slate 900 */
    --bg-gradient-start: #0f172a;
    --bg-gradient-end: #1e1b4b;
    /* Indigo 950 */

    --card-bg: rgba(30, 41, 59, 0.7);
    /* Slate 800 with opacity */
    --card-border: rgba(255, 255, 255, 0.1);
    --card-hover-border: rgba(99, 102, 241, 0.5);

    --text-color: #f8fafc;
    /* Slate 50 */
    --secondary-text: #94a3b8;
    /* Slate 400 */

    --border-radius: 24px;
    --btn-radius: 12px;
    --spacing: 32px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at top right, #312e81, transparent 40%),
        radial-gradient(circle at bottom left, #1e1b4b, transparent 40%);
    background-attachment: fixed;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Utilities */
.mono {
    font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", monospace;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-color);
    opacity: 0.9;
}

.mb-20 {
    margin-bottom: 20px;
}

.text-muted {
    color: var(--secondary-text);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    margin-bottom: 60px;
    position: relative;
    z-index: 100;
}

.brand {
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    -webkit-text-fill-color: white;
    /* Override gradient text */
}

.nav-pill {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 6px;
    display: flex;
    gap: 6px;
}

.nav-item {
    padding: 8px 24px;
    border-radius: 24px;
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Status Badge */
.status-badge {
    background: rgba(16, 185, 129, 0.1);
    /* Emerald tint */
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #34d399;
    /* Emerald 400 */
    font-weight: 500;
    margin-left: 10px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hero Section */
header.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.label-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    color: var(--accent-color);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

h1 {
    font-size: 64px;
    font-weight: 800;
    margin: 0 0 24px 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--secondary-text);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 14px 32px;
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.25);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(99, 102, 241, 0.35);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-color);
    margin-left: 10px;
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.small-btn {
    margin: 20px 0 0 0;
    padding: 10px 24px;
    font-size: 13px;
    width: auto;
}

/* Hero Right Side - Stats */
.status-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.stats-box {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    flex: 1;
    transition: transform 0.3s ease;
}

.stats-box:hover {
    transform: translateY(-5px);
    border-color: var(--card-hover-border);
}

.big-stat {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-desc {
    font-size: 13px;
    color: var(--secondary-text);
    font-weight: 500;
}

.info-list {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 0 24px;
}

.info-row-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--card-border);
}

.info-row-item:last-child {
    border-bottom: none;
}

.info-icon {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.info-content div:first-child {
    font-size: 12px;
    color: var(--secondary-text);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.info-content div:last-child {
    font-weight: 600;
    font-size: 15px;
    color: white;
}

.link-primary {
    color: var(--primary-color);
}

/* Section Styling */
.section-header {
    margin: 80px 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}

.section-tag {
    font-family: inherit;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Cards Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 28px;
    margin-bottom: 24px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover .card-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    display: block;
}

.card-text {
    font-size: 15px;
    color: var(--secondary-text);
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-title {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s;
}

.faq-title:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-content {
    padding: 0 24px 24px;
    color: var(--secondary-text);
    font-size: 15px;
    display: none;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.faq-toggle {
    background: rgba(255, 255, 255, 0.05);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--secondary-text);
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 120px;
    padding: 50px 0;
    border-top: 1px solid var(--card-border);
    color: var(--secondary-text);
    font-size: 14px;
}

.footer-nav a {
    color: var(--secondary-text);
    text-decoration: none;
    margin-left: 24px;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

/* Banner */
.banner {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 30px;
    padding: 60px;
    margin-top: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.25);
    position: relative;
    overflow: hidden;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.banner h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: white;
}

.banner p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 16px;
}

.banner-btn {
    background: white;
    color: var(--primary-color);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    z-index: 10;
}

.banner-btn:hover {
    transform: scale(1.05);
}

/* App Template Specifics */
.app-image-wrap {
    height: 200px;
    background: linear-gradient(to bottom, #1e293b, #0f172a);
    border-radius: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    font-size: 48px;
    border: 1px solid var(--card-border);
}

/* Responsive Logic - Mobile First Approach */
@media (max-width: 900px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 42px;
    }

    /* Stack Hero */
    header.hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    /* Adjust Nav */
    .top-nav {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .brand {
        width: 100%;
        justify-content: center;
    }

    .status-badge {
        display: none;
    }

    /* Stack Banner */
    .banner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px;
    }

    .banner-btn {
        width: 100%;
        text-align: center;
    }

    /* Stack Footer */
    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .footer-nav a {
        margin-left: 0;
    }

    /* Hero Left */
    .hero-left {
        text-align: center;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .btn-outline {
        margin-left: 0;
    }
}