:root {
    --bg-base: #0a0a0f;
    --bg-surface: rgba(20, 20, 25, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);

    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;

    --accent-glow: #6366f1;
    --accent-glow-2: #8b5cf6;
    --accent-glow-3: #ec4899;

    --border-glass: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.15);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Type Scale */
    --text-display: 2rem;
    --text-title: 1.5rem;
    --text-heading: 1.125rem;
    --text-body: 0.9375rem;
    --text-caption: 0.8125rem;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Glows */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    animation: float 10s ease-in-out infinite alternate;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -200px;
    left: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow-2) 0%, transparent 70%);
    bottom: 20%;
    right: -100px;
    animation-delay: -5s;
}

.glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow-3) 0%, transparent 70%);
    top: 40%;
    left: 20%;
    opacity: 0.2;
    animation-delay: -2s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(30px) scale(1.05);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-heading);
    color: var(--text-primary);
}

.logo-icon {
    color: #8b5cf6;
}

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

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

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-large {
    padding: 0.8rem 1.8rem;
    font-size: var(--text-heading);
    border-radius: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-glow-2));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

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

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border-color: var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    gap: 4rem;
}

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

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    font-size: var(--text-caption);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-heading);
    /* Decorative — excluded from type scale */
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(to right, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: var(--text-heading);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.stats-row {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: var(--text-display);
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: var(--text-caption);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Glass Card */
.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2rem;
}

/* Visual Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.visual-card {
    width: 100%;
    max-width: 450px;
    padding: 0;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.visual-card:hover {
    transform: rotateY(0) rotateX(0);
}

.card-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4b5563;
}

.dots span:nth-child(1) {
    background: #ef4444;
}

.dots span:nth-child(2) {
    background: #eab308;
}

.dots span:nth-child(3) {
    background: #22c55e;
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-body);
    color: var(--text-secondary);
}

.card-body {
    padding: 2rem 1.5rem;
}

.mock-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 120px;
    margin-bottom: 2rem;
    gap: 8px;
}

.chart-bar {
    flex: 1;
    background: var(--border-glass);
    border-radius: 4px;
    transition: height 1s ease, background 0.3s ease;
    animation: growBar 1.5s ease-out forwards;
    transform-origin: bottom;
    opacity: 0;
}

.chart-bar:nth-child(1) {
    animation-delay: 0.1s;
}

.chart-bar:nth-child(2) {
    animation-delay: 0.2s;
}

.chart-bar:nth-child(3) {
    animation-delay: 0.3s;
}

.chart-bar:nth-child(4) {
    animation-delay: 0.4s;
}

.chart-bar:nth-child(5) {
    animation-delay: 0.5s;
}

.chart-bar:nth-child(6) {
    animation-delay: 0.6s;
}

.chart-bar:nth-child(7) {
    animation-delay: 0.7s;
}

.h-20 {
    height: 20%;
}

.h-30 {
    height: 30%;
}

.h-40 {
    height: 40%;
}

.h-50 {
    height: 50%;
}

.h-60 {
    height: 60%;
}

.h-80 {
    height: 80%;
}

.h-90 {
    height: 90%;
}

.chart-bar.highlight {
    background: linear-gradient(to top, #6366f1, #a78bfa);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

@keyframes growBar {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }

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

.mock-data {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.data-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-body);
    color: var(--text-secondary);
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.data-value {
    color: var(--text-primary);
    font-weight: 600;
}

.text-green {
    color: #34d399;
}

/* Features */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: var(--text-display);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: var(--text-heading);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: var(--text-display);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-heading);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: var(--text-body);
}

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

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: var(--text-body);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 8rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .stats-row {
        justify-content: center;
    }

    .visual-card {
        transform: none;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 3rem;
        /* Decorative — excluded from type scale */
    }

    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links a:not(.btn) {
        display: none;
    }
}