:root {
    /* Colors - Light Theme */
    --color-bg: #ffffff;
    --color-bg-alt: #ffffff;
    --color-text: #0f172a;
    --color-text-muted: #64748b;
    --color-primary: #4f46e5;
    --color-primary-hover: #4338ca;
    --color-secondary: #e2e8f0;
    --color-secondary-hover: #cbd5e1;
    --color-accent: #8b5cf6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.1) 0%, rgba(248, 250, 252, 0) 50%);

    /* Glassmorphism - Light */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(226, 232, 240, 0.5);
    --glass-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);

    /* Spacing */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Background Glow */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.02) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.02) 0%, transparent 25%);
    z-index: -1;
    pointer-events: none;
}

/* Utilities */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: var(--color-accent);
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-text);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--color-text-muted);
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: calc(80px + var(--spacing-xl));
    padding-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    background-color: #f6f9fc;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 9999px;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

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

.stat-value {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: var(--glass-border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.dashboard-preview {
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.preview-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.preview-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ui-row {
    display: flex;
    gap: 1rem;
}

.ui-col-3 {
    flex: 3;
}

.ui-col-4 {
    flex: 4;
}

.ui-col-8 {
    flex: 8;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.text-box {
    display: flex;
    flex-direction: column;
}

.text-box .title {
    font-weight: 600;
    font-size: 0.9rem;
}

.text-box .subtitle {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

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

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

/* Features Accordion Container */
.features-accordion-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Mobile selection - Hidden on desktop */
.features-select {
    display: none;
}

/* Features List (Left Side) */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.feature-item:hover {
    background: rgba(79, 70, 229, 0.03);
}

.feature-item.active {
    background: rgba(79, 70, 229, 0.08);
    border-left: 3px solid var(--color-primary);
}

.feature-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item.active .feature-item-icon {
    background: var(--color-primary);
    color: white;
}

.feature-item-text {
    flex: 1;
}

.feature-item-text h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.feature-item-text p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.feature-item-arrow {
    color: var(--color-text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.feature-item.active .feature-item-arrow {
    transform: translateX(4px);
    color: var(--color-primary);
}

/* Features Content (Right Side) */
.features-content {
    position: relative;
}

.feature-panel {
    display: none;
    width: 100%;
    padding: 3rem;
    background: var(--glass-bg);
    border-radius: 1.5rem;
    border: 1px solid var(--glass-border);
}

.feature-panel.active {
    display: block;
    animation: fadeInPanel 0.4s ease;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-panel-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 2rem;
}

.feature-panel h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-panel p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--color-text);
    font-size: 1rem;
}

.feature-benefits li i {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Keep gradient classes */
.gradient-1 {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.gradient-2 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.gradient-3 {
    background: linear-gradient(135deg, #10b981, #059669);
}

.gradient-4 {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.gradient-5 {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.gradient-6 {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

/* FAQ Section */
.faq {
    padding: var(--spacing-xl) 0;
    background-color: #f6f9fc;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.12);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(79, 70, 229, 0.03);
}

.faq-item.active .faq-question {
    background-color: rgba(79, 70, 229, 0.05);
}

.faq-question h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    color: var(--color-text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    padding-top: 0.5rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    background: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-brand .logo-image {
    height: 80px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.link-group a {
    display: block;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

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

    .hero-visual {
        margin-top: 3rem;
    }

    .features-accordion-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-list {
        order: 2;
        display: none;
        /* Hide feature list on mobile */
    }

    .features-content {
        order: 2;
        /* Detailed content below */
        min-height: 400px;
    }

    /* Mobile selection dropdown styles */
    .features-select {
        display: block;
        order: 1;
        /* Dropdown on top */
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--color-text);
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 1rem;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 20px;
        padding-right: 3rem;
        margin-bottom: 2rem;
        transition: all 0.3s ease;
    }

    .features-select:hover {
        border-color: var(--color-primary);
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
    }

    .features-select:focus {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-md: 1.25rem;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: flex-start;
    }

    .stat-item {
        flex: 1 1 140px;
    }

    .stat-divider {
        display: none;
    }

    .features-accordion-container {
        grid-template-columns: 1fr;
    }

    .features-select {
        font-size: 0.95rem;
        padding: 0.875rem 1.25rem;
        padding-right: 2.5rem;
    }

    .feature-panel {
        padding: 2rem;
    }

    .feature-panel h3 {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}