:root {
    --brand: #111827;
    /* Near black */
    --brand-hover: #374151;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    --border-color: #e2e8f0;
    --primary: #4f46e5;
    --primary-hover: #4338ca;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-muted);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.bg-gray {
    background-color: var(--bg-gray);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--brand);
    color: #fff;
    border: 1px solid var(--brand);
}

.btn-primary:hover {
    background-color: var(--brand-hover);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--brand);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--brand);
    background-color: var(--bg-gray);
}

.btn-outline-white {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 0.8rem 1.75rem;
    font-size: 1.05rem;
}

.btn-text {
    font-weight: 500;
    color: var(--text-main);
}

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

.btn-text i {
    margin-left: 0.25rem;
    font-size: 0.85em;
    transition: transform 0.2s;
}

.btn-text:hover i {
    transform: translateX(4px);
}

/* Navbar */
.navbar {
    padding: 1.25rem 0;
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    z-index: 100;
}

.navbar.scrolled {
    border-bottom: 1px solid var(--border-color);
}

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

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

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

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-md);
}

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

.mobile-menu a {
    padding: 0.75rem 0;
    font-weight: 500;
    color: var(--text-main);
}

.mobile-menu hr {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px solid var(--border-color);
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.pill-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--bg-gray);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Dashboard Mockup */
.hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
}

.hero-image-placeholder {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 500px;
}

.mockup-header {
    height: 40px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

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

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

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

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

.dots span:nth-child(3) {
    background-color: #34d399;
}

.mockup-body {
    display: flex;
    flex: 1;
}

.mockup-sidebar {
    width: 200px;
    border-right: 1px solid var(--border-color);
    background: var(--bg-gray);
    padding: 1.5rem;
}

.mockup-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: #f1f5f9;
}

.mockup-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    flex: 1;
    min-width: 200px;
    height: 150px;
}

.mockup-card.wide {
    min-width: 100%;
    height: 200px;
}

/* Trusted By */
.trusted-by {
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.trusted-by p {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    font-size: 2rem;
    color: #94a3b8;
}

/* Feature Blocks */
.feature-block {
    padding: 6rem 0;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.block-reverse .split-content {
    order: 2;
}

.block-reverse .split-image {
    order: 1;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.section-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-list {
    margin-bottom: 2.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.feature-list i {
    color: var(--primary);
    font-size: 1.25rem;
}

.action-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.image-box {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.bg-indigo {
    background: linear-gradient(135deg, #6366f1, #4338ca);
}

.bg-sky {
    background: linear-gradient(135deg, #f7f7f7, #fafafa);
}

.bg-purple {
    background: linear-gradient(135deg, #a855f7, #7e22ce);
}

/* Grid Features */
.grid-features {
    padding: 6rem 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

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

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
}

.cta-card {
    background-color: var(--brand);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.cta-card h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-card p {
    color: #cbd5e1;
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-buttons .btn-primary {
    background-color: #fff;
    color: var(--brand);
    border-color: #fff;
}

.cta-buttons .btn-primary:hover {
    background-color: #f1f5f9;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    background: var(--bg-white);
}

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

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials a {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.socials a:hover {
    color: var(--text-main);
}

.footer-links h3 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.95rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.legal {
    display: flex;
    gap: 0.5rem;
}

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

/* Responsive */
@media (max-width: 992px) {
    .split-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .block-reverse .split-content,
    .block-reverse .split-image {
        order: unset;
    }

    .hero-title {
        font-size: 3rem;
    }

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

@media (max-width: 768px) {

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

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}