:root {
    --bg-color: #0d0e12;
    --card-bg: #16181d;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-primary: #6366f1;
    /* Indigo */
    --accent-secondary: #8b5cf6;
    /* Violet */
    --accent-glow: rgba(99, 102, 241, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(22, 24, 29, 0.7);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.background-glow {
    position: fixed;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.4;
    z-index: -1;
    filter: blur(80px);
    animation: pulse-glow 10s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--accent-primary);
}

/* Header & Nav */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.sub-logo {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 400;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: #fff;
}

.btn-primary-sm {
    background: var(--accent-primary);
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.btn-primary-sm:hover {
    background: var(--accent-secondary);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-action,
.btn-outline {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 10%;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 600px;
    /* Increased width to accommodate larger screenshots */
    max-width: 90vw;
    height: auto;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 20px;
    position: relative;
    /* Removed padding-bottom hack if it existed, rely on img height */
}

.slideshow {
    position: relative;
    width: 100%;
    /* Aspect ratio mainly determined by first image, but let's be safe */
    padding-bottom: 60%;
    /* Approximation of aspect ratio to prevent jumpiness, or use JS */
    overflow: hidden;
    border-radius: 4px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full image is seen */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.graph-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.2) 0%, transparent 100%);
    border-bottom: 2px solid var(--accent-primary);
    position: relative;
    overflow: hidden;
}

.graph-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255, 255, 255, 0.05) 40px, rgba(255, 255, 255, 0.05) 41px);
}

.stats-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.stat-box {
    height: 40px;
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Products Section */
.products-section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.3);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.product-desc {
    color: var(--text-muted);
    margin: 1rem 0;
    font-size: 0.95rem;
}

.product-specs {
    list-style: none;
    margin: 1.5rem 0;
    color: #ccc;
}

.product-specs li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-specs li::before {
    content: '✓';
    color: var(--accent-secondary);
    position: absolute;
    left: 0;
}

.pricing {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing .price {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.btn-action {
    flex: 1;
    background: #fff;
    color: var(--bg-color);
    padding: 0.8rem;
    font-size: 0.9rem;
}

.btn-action:hover {
    background: #e0e0e0;
}

.btn-outline {
    flex: 1;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 0.8rem;
    font-size: 0.9rem;
}

.btn-outline:hover {
    border-color: #fff;
}

/* Features */
.features-section {
    padding: 5rem 10%;
    background: rgba(255, 255, 255, 0.02);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-number {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: -2rem;
    position: relative;
    z-index: 0;
}

.feature-item h3 {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    padding: 4rem 10% 2rem;
    background: #000;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col p,
.footer-col a {
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.8rem;
}

.footer-col a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Animations Utility Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .glass-header {
        padding: 1rem;
    }

    .nav-links {
        display: none;
        /* simple hide for mobile for now */
    }

    .hero-section {
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
    }

    .hero-visual {
        width: 100%;
    }

    .visual-card {
        width: 100%;
        max-width: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.price-sub {
    font-size: 0.8rem;
    color: var(--accent-secondary);
    margin-top: 0.2rem;
    font-weight: 400;
}