/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Refined Corporate Color Palette */
    --bg-primary: #f4f7fa;
    --bg-surface: #ffffff;
    --bg-dark: #0f172a;
    --bg-dark-surface: #1e293b;
    --bg-dark-card: #182238;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --accent-teal: #0d9488;
    --accent-gold: #d97706;
    --accent-amber: #f59e0b;
    
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-dark: #334155;
    
    /* Typography */
    --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Layout Variables */
    --max-width: 1200px;
    --header-height: 72px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 12px 30px -5px rgba(15, 23, 42, 0.12);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

/* Typography Helpers */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.25;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.section-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-blue);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--accent-blue);
    font-size: 0.95rem;
}

.text-link:hover {
    color: var(--accent-blue-hover);
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.button-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.button-primary {
    background-color: var(--text-primary);
    color: #ffffff;
}

.button-primary:hover {
    background-color: #1e293b;
    transform: translateY(-1px);
}

.button-secondary {
    background-color: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.button-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.button-light {
    background-color: #ffffff;
    color: var(--bg-dark);
    font-weight: 700;
}

.button-light:hover {
    background-color: #f1f5f9;
}


/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    height: var(--header-height);
    background: rgba(244, 247, 250, 0.88);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
}

.brand-mark {
    width: 32px;
    height: 32px;
    background: var(--text-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.main-nav a:hover {
    color: var(--text-primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
}

.mobile-nav {
    display: none;
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    padding: 4rem 0 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-content h1 span {
    color: var(--accent-blue);
    display: block;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 92%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Dashboard Visual Preview */
.dashboard-window {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.dashboard-topbar {
    background: #f8fafc;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.dashboard-brand-mark {
    background: var(--text-primary);
    color: white;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 0.65rem;
}

.dashboard-window-actions {
    display: flex;
    gap: 6px;
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

.dashboard-body {
    display: flex;
    min-height: 330px;
}

.dashboard-sidebar {
    width: 48px;
    border-right: 1px solid var(--border-color);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: #fdfdfd;
}

.sidebar-item {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #e2e8f0;
}

.sidebar-item.active {
    background: var(--accent-blue);
}

.dashboard-main {
    flex: 1;
    padding: 1.25rem;
}

.dashboard-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.dashboard-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.dashboard-heading h3 {
    font-size: 1.1rem;
}

.dashboard-period {
    font-size: 0.75rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 2px 8px;
    border-radius: 4px;
    background: #ffffff;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.metric-card {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.metric-card span {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
}

.metric-card strong {
    font-size: 1.05rem;
    color: var(--text-primary);
    display: block;
    margin: 2px 0;
}

.metric-card small {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
}

.metric-positive {
    color: var(--accent-teal) !important;
}

.metric-sub {
    color: var(--text-muted) !important;
}

.metric-accent {
    color: var(--accent-gold) !important;
}

.dashboard-chart {
    background: #f8fafc;
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 1rem;
}

.chart-heading {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.chart-heading span {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.chart-bars {
    height: 65px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding-bottom: 4px;
}

.chart-bars span {
    flex: 1;
    background: var(--accent-blue);
    border-radius: 2px 2px 0 0;
    opacity: 0.9;
    position: relative;
    transition: height 0.3s ease;
}

.chart-bars span:hover {
    opacity: 1;
    background: var(--accent-blue-hover);
}

.chart-months {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
}

.dashboard-bottom {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.75rem;
}

.dashboard-list {
    font-size: 0.75rem;
    border: 1px solid var(--border-light);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    background: #f8fafc;
}

.dashboard-list strong {
    display: block;
    font-size: 0.7rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.dashboard-list div {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    border-bottom: 1px dashed var(--border-color);
}

.dashboard-list div:last-child {
    border-bottom: none;
}

.dashboard-list b {
    color: var(--accent-teal);
    font-weight: 600;
}

.dashboard-ring {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.68rem;
    color: var(--text-secondary);
    background: #f8fafc;
    line-height: 1.3;
}

.dashboard-ring strong {
    color: var(--accent-blue);
    font-size: 0.9rem;
}

.hero-visual-caption {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}


/* ==========================================================================
   INTRO / VALUE PROP SECTION
   ========================================================================== */
.intro-section {
    border-top: 1px solid var(--border-color);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.intro-grid h2 {
    font-size: 2.25rem;
}

.intro-grid h2 span {
    display: block;
    color: var(--text-secondary);
    font-weight: 500;
}

.intro-copy p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}


/* ==========================================================================
   ACCOUNTING TECH STACK
   ========================================================================== */
.platform-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.platform-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.platform-header h2 {
    font-size: 2rem;
}

.platform-header h2 span {
    color: var(--text-secondary);
    font-weight: 500;
}

.tech-stack-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.tech-stack-card {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.tech-stack-card-featured {
    border-color: var(--accent-blue);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.tech-stack-icon {
    font-size: 1.25rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--accent-blue);
    font-weight: bold;
}

.tech-stack-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.tech-stack-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tech-stack-aside {
    background: #f8fafc;
    padding: 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.tech-stack-aside-heading h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.tech-stack-aside-heading p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.tool-logo-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tool-logo {
    background: #ffffff;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tool-note {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Enhanced Dark Tech Panel */
.tech-enablement {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 2.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-lg);
}

.tech-enablement h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.tech-enablement p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.tech-enablement-points {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
}

.tech-enablement-points div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.tech-enablement-points span {
    color: var(--accent-amber);
    font-weight: 800;
}


/* ==========================================================================
   SOLUTIONS
   ========================================================================== */
.solutions-section .section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem;
}

.solutions-section .section-heading h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.solution-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.solution-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.solution-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.solution-icon {
    font-size: 1.25rem;
    color: var(--accent-blue);
    font-weight: bold;
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.solution-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}


/* ==========================================================================
   BUSINESS JOURNEY
   ========================================================================== */
.journey-section {
    border-top: 1px solid var(--border-color);
}

.journey-section .section-heading {
    margin-bottom: 3rem;
}

.journey-section .section-heading h2 {
    font-size: 2rem;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.journey-step {
    position: relative;
}

.journey-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.journey-line {
    height: 2px;
    background: var(--border-color);
    margin-bottom: 1.5rem;
}

.journey-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.journey-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}


/* ==========================================================================
   CA FIRM PARTNERSHIP
   ========================================================================== */
.partner-panel {
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-lg);
}

.partner-content h2 {
    color: #ffffff;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.partner-content h2 span {
    display: block;
    color: #94a3b8;
    font-weight: 500;
}

.partner-content p {
    color: #cbd5e1;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 90%;
}

.partner-visual {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-core {
    width: 64px;
    height: 64px;
    background: var(--accent-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.partner-orbit {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.orbit-one {
    width: 140px;
    height: 140px;
}

.orbit-two {
    width: 220px;
    height: 220px;
}


/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-section {
    border-top: 1px solid var(--border-color);
}

.pricing-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pricing-content h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.pricing-content > p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.pricing-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
}

.pricing-option {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease;
}

.pricing-option:hover {
    border-color: var(--accent-blue);
}

.pricing-option-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.5rem;
}

.pricing-option h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-option p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}


/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta-section {
    padding: 6rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.final-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.final-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--bg-dark);
    color: #94a3b8;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
    border-top: 1px solid var(--bg-dark-surface);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand-column .footer-brand {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-brand-column p {
    margin-bottom: 1.25rem;
    max-width: 260px;
    color: #94a3b8;
}

.footer-email {
    color: var(--accent-blue);
    font-weight: 500;
}

.footer-links-column h3 {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.footer-links-column a {
    display: block;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.footer-links-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid var(--bg-dark-surface);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

.footer-address {
    font-size: 0.8rem;
    color: #64748b;
}


/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .solutions-grid,
    .journey-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-brand-column {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .main-nav, .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-grid,
    .intro-grid,
    .platform-header,
    .tech-stack-layout,
    .tech-enablement,
    .partner-panel,
    .pricing-options {
        grid-template-columns: 1fr;
    }

    .tech-stack-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .partner-panel {
        padding: 2rem;
    }

    .partner-visual {
        display: none;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand-column {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* ==========================================================================
   ENLARGED HERO TEXT STYLES
   ========================================================================== */

/* Eyebrow Label */
.hero-content .eyebrow {
    font-size: 0.95rem; /* Increased from 0.75rem */
    letter-spacing: 0.14em;
    font-weight: 800;
}

/* Main Heading */
.hero-content h1 {
    font-size: 3.75rem; /* Increased from 3rem */
    line-height: 1.15;
}

/* Paragraph Description */
.hero-content .hero-description {
    font-size: 1.35rem; /* Increased from 1.125rem */
    line-height: 1.6;
}

/* Action Buttons Text & Padding */
.hero-content .hero-actions .button {
    font-size: 1.1rem; /* Increased from 0.95rem */
    padding: 1rem 2rem; /* Increased padding for larger buttons */
}

/* Bottom Note Text */
.hero-content .hero-note {
    font-size: 1rem; /* Increased from 0.85rem */
}

/* Responsive adjustment for tablets & mobile screens */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.75rem;
    }
    .hero-content .hero-description {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Refined Corporate Color Palette */
    --bg-primary: #f8fafc;
    --bg-surface: #ffffff;
    --bg-dark: #0f172a;
    --bg-dark-surface: #1e293b;
    --bg-dark-card: #182238;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --accent-teal: #0d9488;
    --accent-gold: #d97706;
    --accent-amber: #f59e0b;
    
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-dark: #334155;
    
    /* Typography */
    --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Layout Variables */
    --max-width: 1200px;
    --header-height: 72px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

/* Accessibility Focus States */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Typography Helpers */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.025em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.section-kicker, .eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-blue);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--accent-blue);
    font-size: 0.95rem;
}

.text-link:hover {
    color: var(--accent-blue-hover);
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.button-small {
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
}

.button-primary {
    background-color: var(--text-primary);
    color: #ffffff;
}

.button-primary:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.button-secondary {
    background-color: #ffffff;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.button-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
}

.brand-mark {
    width: 32px;
    height: 32px;
    background: var(--text-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 800;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.main-nav a:hover {
    color: var(--accent-blue);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    padding: 4.5rem 0 6rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.25rem;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.hero-content h1 span {
    color: var(--accent-blue);
    display: inline;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 95%;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Dashboard Visual Preview */
.dashboard-window {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.dashboard-window:hover {
    transform: translateY(-4px);
}

.dashboard-topbar {
    background: #f8fafc;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.dashboard-brand-mark {
    background: var(--text-primary);
    color: white;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 0.65rem;
}

.dashboard-window-actions {
    display: flex;
    gap: 6px;
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

.dashboard-body {
    display: flex;
    min-height: 330px;
}

.dashboard-sidebar {
    width: 48px;
    border-right: 1px solid var(--border-color);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: #fdfdfd;
}

.sidebar-item {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #e2e8f0;
}

.sidebar-item.active {
    background: var(--accent-blue);
}

.dashboard-main {
    flex: 1;
    padding: 1.25rem;
}

.dashboard-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.dashboard-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.dashboard-heading h3 {
    font-size: 1.1rem;
}

.dashboard-period {
    font-size: 0.75rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 2px 8px;
    border-radius: 4px;
    background: #ffffff;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.metric-card {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.metric-card span {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
}

.metric-card strong {
    font-size: 1.05rem;
    color: var(--text-primary);
    display: block;
    margin: 2px 0;
}

.metric-card small {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
}

.metric-positive {
    color: var(--accent-teal) !important;
}

.metric-sub {
    color: var(--text-muted) !important;
}

.metric-accent {
    color: var(--accent-gold) !important;
}

.dashboard-chart {
    background: #f8fafc;
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 1rem;
}

.chart-heading {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.chart-heading span {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.chart-bars {
    height: 65px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding-bottom: 4px;
}

.chart-bars span {
    flex: 1;
    background: var(--accent-blue);
    border-radius: 2px 2px 0 0;
    opacity: 0.9;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.chart-bars span:hover {
    opacity: 1;
    background: var(--accent-blue-hover);
}

.chart-months {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
}

.dashboard-bottom {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.75rem;
}

.dashboard-list {
    font-size: 0.75rem;
    border: 1px solid var(--border-light);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    background: #f8fafc;
}

.dashboard-list strong {
    display: block;
    font-size: 0.7rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.dashboard-list div {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    border-bottom: 1px dashed var(--border-color);
}

.dashboard-list div:last-child {
    border-bottom: none;
}

.dashboard-list b {
    color: var(--accent-teal);
    font-weight: 600;
}

.dashboard-ring {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.68rem;
    color: var(--text-secondary);
    background: #f8fafc;
    line-height: 1.3;
}

.dashboard-ring strong {
    color: var(--accent-blue);
    font-size: 0.9rem;
}

.hero-visual-caption {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 2.5rem;
    }
    .hero-content h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .main-nav, .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1.05rem;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button {
        width: 100%;
    }
}


/* ==========================================================================
   MISSING ELEMENTS & COMPONENT FIXES
   ========================================================================== */

/* Header Actions Layout (referenced in media queries) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Pricing Calculator Link Container */
.pricing-calculator-link {
    margin-top: 2.5rem;
    text-align: center;
}

/* Indicator Dot Badges */
.tool-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffffff;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tool-logo::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tool-logo-zoho::before { background-color: #226cff; }
.tool-logo-razorpay::before { background-color: #0c2340; }
.tool-logo-powerbi::before { background-color: #f2c811; }
.tool-logo-custom::before { background-color: var(--accent-blue); }

.hero-visual-caption {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 1rem;
}