/* Site-specific styles - Corporate Professional */

/* Navigation */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
}

.site-nav .nav-inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-brand:hover {
    color: var(--accent-primary);
}

.nav-brand svg {
    width: 28px;
    height: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-secondary);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.nav-cta {
    margin-left: 0.75rem;
}

.nav-cta .btn {
    padding: 0.4375rem 1rem;
    font-size: 0.8125rem;
}

/* Nav dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.nav-dropdown-toggle:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.nav-dropdown-arrow {
    transition: transform var(--transition-fast);
}

.nav-dropdown-arrow.open {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    min-width: 180px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 0.375rem;
    margin: 0;
    z-index: 100;
}

.nav-dropdown-menu.open {
    display: block;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm, 4px);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.nav-dropdown-menu li a:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 0.75rem;
        box-shadow: var(--shadow-lg);
    }
    .nav-links.open { display: flex; }
    .nav-cta { margin-left: 0; margin-top: 0.25rem; }

    .nav-dropdown-menu {
        position: static;
        border: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
        min-width: unset;
    }
    .nav-dropdown-menu.open { display: block; }
}

/* Page content offset for fixed nav */
.page-content {
    padding-top: 64px;
}

/* Hero - dark corporate banner */
.hero {
    position: relative;
    padding: 5rem 0 4.5rem;
    text-align: center;
    background: var(--bg-dark);
    color: #FFFFFF;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(5, 150, 105, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    color: #FFFFFF;
}

.hero h1 .accent {
    color: #93C5FD;
}

.hero .subtitle {
    font-size: 1.125rem;
    color: var(--text-on-dark-secondary);
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.hero-screenshot-placeholder {
    max-width: 860px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.875rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    background: transparent;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-block;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .hero { padding: 3rem 0 2.5rem; }
    .hero h1 { font-size: 2rem; }
    .hero-media { margin-top: 2rem; }
}

/* Stats bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2.5rem 0;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .stats-bar { gap: 2rem; }
    .stat-number { font-size: 1.75rem; }
}

/* Feature showcase - alternating */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2.5rem 0;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
}

.feature-image {
    flex: 1;
    border-radius: var(--radius-lg);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .feature-row,
    .feature-row:nth-child(even) {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Product cards */
.product-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.product-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.product-card h3 {
    font-size: 1.375rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

/* CTA Section - dark banner */
.cta-section {
    background: var(--bg-dark);
    color: #FFFFFF;
    padding: 4.5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

.cta-section p {
    color: var(--text-on-dark-secondary);
    font-size: 1.0625rem;
    margin-bottom: 1.75rem;
}

.cta-section .btn-primary {
    background: #FFFFFF;
    color: var(--bg-dark);
}

.cta-section .btn-primary:hover {
    background: #F1F5F9;
    color: var(--bg-dark);
}

/* Download card */
.download-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.download-card .dl-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.download-card .dl-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
}

.download-card .dl-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.download-card .dl-reqs {
    margin-bottom: 1.5rem;
}

.download-card .dl-reqs h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.download-card .dl-reqs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.download-card .dl-reqs li {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    padding: 0.2rem 0;
}

.download-card .dl-reqs li::before {
    content: "\2713 ";
    color: var(--accent-secondary);
    font-weight: 600;
}

.dl-button-group {
    display: flex;
    gap: 0.5rem;
}

.dl-button-group .btn {
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .dl-button-group {
        flex-direction: column;
    }
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-on-dark-secondary);
    padding: 3.5rem 0 2rem;
}

.site-footer a {
    color: var(--text-on-dark-secondary);
}

.site-footer a:hover {
    color: #FFFFFF;
}

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

.footer-brand p {
    font-size: 0.875rem;
    margin-top: 0.75rem;
    max-width: 280px;
    line-height: 1.65;
}

.footer-col h4 {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-on-dark-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #64748B;
}

.footer-bottom a {
    color: #64748B;
}

.footer-bottom a:hover {
    color: var(--text-on-dark-secondary);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

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

/* Legacy pricing grid (home page) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.pricing-grid > .pricing-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.pricing-grid > .pricing-card.featured {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px var(--accent-primary);
    position: relative;
}

.pricing-grid > .pricing-card .price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 1rem 0;
}

.pricing-grid > .pricing-card .price span {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-grid > .pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
    text-align: left;
}

.pricing-grid > .pricing-card li {
    padding: 0.375rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.pricing-grid > .pricing-card li::before {
    content: "\2713 ";
    color: var(--accent-secondary);
    font-weight: 700;
}

@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

/* Comparison tabs + table */
.comparison-tabs {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-tabs .feature-tabs-header {
    background: var(--bg-tertiary);
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 0;
}

.comparison-tabs-body {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.comparison-table thead th {
    background: var(--bg-tertiary);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    text-align: center;
}

.comparison-table tbody td {
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover td {
    background: var(--accent-subtle);
}

.comp-feature-col {
    width: 280px;
    text-align: left;
}

.comp-tool-col {
    text-align: center;
}

.comp-highlight {
    background: rgba(37, 99, 235, 0.06);
}

.comparison-table thead th.comp-highlight {
    background: rgba(37, 99, 235, 0.12);
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.8125rem;
    }
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.5rem 0.625rem;
    }
    .comp-feature-col {
        width: auto;
        min-width: 180px;
    }
}

/* Custom feature tabs */
.feature-tabs-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.125rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 0;
}

.feature-tab {
    background: none;
    border: none;
    padding: 0.75rem 1.125rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
    font-family: inherit;
    white-space: nowrap;
}

.feature-tab:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.feature-tab.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

.feature-tabs-body {
    padding: 1.75rem 0 0.5rem;
}

.feature-tabs-body h4 {
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    columns: 2;
    column-gap: 2rem;
    margin: 0;
}

.feature-list li {
    padding: 0.35rem 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    break-inside: avoid;
}

.feature-list li::before {
    content: "\2713  ";
    color: var(--accent-secondary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .feature-tabs-header {
        gap: 0;
    }
    .feature-tab {
        padding: 0.625rem 0.75rem;
        font-size: 0.75rem;
    }
    .feature-list { columns: 1; }
}

/* Benchmark chart legend */
.benchmark-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.benchmark-legend-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.benchmark-legend-swatch {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Contact form */
.contact-layout {
    max-width: 560px;
    margin: 0 auto;
    padding: 1rem 0;
}

.contact-layout .checkout-field-group .validation-message {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.contact-layout select.checkout-field {
    cursor: pointer;
}

.contact-alt-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.contact-alt-text a {
    color: var(--accent-primary, #2563eb);
    font-weight: 600;
    text-decoration: none;
}

.contact-alt-text a:hover {
    text-decoration: underline;
}

/* Legal pages */
.legal-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.legal-content h1 {
    margin-bottom: 0.5rem;
}

.legal-content .last-updated {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.legal-content h2 {
    font-size: 1.375rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.legal-content h3 {
    font-size: 1.125rem;
    margin-top: 1.5rem;
}

.legal-content p, .legal-content li {
    color: var(--text-secondary);
    line-height: 1.75;
}

.legal-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

/* Video embed responsive container */
.video-embed-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 */
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Legacy downloads */
.legacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.legacy-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.legacy-card.legacy-current {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px var(--accent-primary);
}

.legacy-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.legacy-version {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.legacy-meta {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
    flex-wrap: wrap;
}

.legacy-notes {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    flex: 1;
}

.legacy-notes li {
    padding: 0.2rem 0;
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.legacy-notes li::before {
    content: "\2713 ";
    color: var(--accent-secondary);
    font-weight: 600;
}

@media (max-width: 480px) {
    .legacy-grid { grid-template-columns: 1fr; }
}

/* Visually hidden */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
