:root {
    /* Color Palette */
    --color-primary: #7C3AED;
    /* Violet 600 */
    --color-primary-hover: #6D28D9;
    /* Violet 700 */
    --color-background: #0B0E14;
    /* Gray 950 - Deep Navy */
    --color-surface: #111827;
    /* Gray 900 */
    --color-text-main: #F9FAFB;
    /* Gray 50 */
    --color-text-muted: #9CA3AF;
    /* Gray 400 */
    --color-border: #1F2937;
    /* Gray 800 */

    --font-family: 'Inter', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

.gradient-text {
    background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

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

.btn-secondary:hover {
    color: var(--color-text-main);
}

.btn-outline {
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
}

.btn-outline:hover {
    border-color: var(--color-text-muted);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Header */
.site-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.main-nav a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #0d1118;
    /* Slightly lighter shade for contrast */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.feature-card {
    background-color: var(--color-surface);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: transform var(--transition-speed);
}

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: 24px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: white;
}

/* Footer */
.site-footer {
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .main-nav {
        display: none;
        /* simple hide for now, JS will toggle */
    }

    .header-actions {
        display: none;
        /* simplified for first pass */
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(124, 58, 237, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
    }

    100% {
        box-shadow: 0 0 5px rgba(124, 58, 237, 0.2);
    }
}

.hero-content {
    animation: fadeIn 1s ease-out;
}

/* Audience Sections (SMB & MSP) */
.audience-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--color-border);
}

.audience-content {
    display: flex;
    align-items: center;
    gap: 80px;
    /* Increased from 60px */
}

.audience-reverse .audience-content {
    flex-direction: row-reverse;
}

.audience-text {
    flex: 1;
}

.audience-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.audience-badge {
    display: inline-block;
    padding: 8px 16px;
    /* Increased padding */
    background-color: rgba(124, 58, 237, 0.1);
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.audience-section h2 {
    font-size: 3rem;
    /* Increased size */
    margin-bottom: 24px;
    color: white;
    line-height: 1.1;
}

.audience-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    /* Increased margin */
    line-height: 1.8;
    /* Increased line height */
}

.audience-list {
    list-style: none;
}

.audience-list li {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content-wrapper h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 4px;
    font-weight: 600;
}

.feature-content-wrapper p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

.audience-list strong {
    color: white;
}

.visual-card {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.visual-card .visual-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

@media (max-width: 768px) {

    .audience-content,
    .audience-reverse .audience-content {
        flex-direction: column;
        gap: 40px;
    }
}

.feature-card {
    /* ... existing styles ... */
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

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

/* Integrations Section */
/* Integrations Section */
.integrations {
    padding: 80px 0;
    background-color: var(--color-background);
    overflow: hidden;
    /* Hide scrollbar */
}

.logo-marquee {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 48px;
    padding: 20px 0;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity var(--transition-speed);
}

.marquee-item span {
    font-size: 2rem;
}

.integration-logo {
    height: 60px;
    width: auto;
    border-radius: 8px;
    /* Optional: smooth corners if it's a square icon */
}

.marquee-item:hover {
    opacity: 1;
    color: var(--color-text-main);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 24px));
        /* Adjust based on gap */
    }
}


.glow-effect {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, rgba(11, 14, 20, 0) 70%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: -1;
    animation: glow 4s infinite;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-background);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, var(--color-background) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.contact-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.demo-form {
    margin-top: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

/* Fix for select dropdown visibility */
.form-group select option {
    background-color: var(--color-surface);
    color: white;
}

.form-actions {
    margin-top: 32px;
}

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

/* Footer Styles */
/* Footer Styles */
.site-footer {
    background-color: rgba(124, 58, 237, 0.05);
    /* Match contact section fade */
    border-top: none;
    /* Remove border for seamless look */
    padding: 80px 0 40px;
    margin-top: 0;
    /* Remove gap */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    transition: color var(--transition-speed);
    text-decoration: none;
}

.social-links a:hover {
    color: var(--color-primary);
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .brand-col {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .contact-card {
        padding: 30px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}