/* ==========================================================================
   Professional Corporate CSS
   Color Palette: #132445, #72b1d1, #5b6b84, #b9bbbe
   ========================================================================== */

/* CSS Variables */
:root {
    /* Your Exact Colors */
    --navy: #132445;
    --blue: #72b1d1;
    --slate: #5b6b84;
    --gray: #b9bbbe;
    
    /* Functional Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: var(--navy);
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-light: #f8fafc;
    --text-muted: var(--gray);
    
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.text-accent {
    color: var(--blue);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
    line-height: 1;
}

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

.btn-primary:hover {
    background: #5a9ec0;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-medium);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-1px);
}

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

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

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn i {
    font-size: 0.875rem;
    transition: transform 0.2s;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.nav-logo i {
    color: var(--blue);
    font-size: 1.5rem;
}

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

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--blue);
}

.nav-link.active {
    color: var(--blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
}

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(to bottom, #fafcff, white);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.hero-tag {
    margin-bottom: 1.5rem;
}

.tag-pill {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(114, 177, 209, 0.1);
    border: 1px solid rgba(114, 177, 209, 0.2);
    border-radius: 50px;
    color: var(--blue);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.hero-title {
    font-size: 3.25rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 550px;
}

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

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-plus,
.stat-percent,
.stat-days {
    font-size: 1.25rem;
    color: var(--blue);
    margin-left: 2px;
}

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

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

.visual-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.card-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    background: #fafafc;
}

.window-dots {
    display: flex;
    gap: 0.5rem;
}

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

.window-dots span:first-child { background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:last-child { background: #27c93f; }

.card-body {
    padding: 1.5rem;
}

.metric-item {
    margin-bottom: 1.25rem;
}

.metric-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.metric-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue);
}

.progress-bar {
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--blue);
    border-radius: 3px;
}

/* Trusted Section */
.trusted {
    padding: 4rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.trusted-label {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 2rem;
}

.trusted-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trusted-grid span {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.7;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-eyebrow {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(114, 177, 209, 0.1);
    border-radius: 50px;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Solutions Grid */
.solutions-overview {
    padding: 6rem 0;
}

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

.solution-card {
    padding: 2rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

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

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(114, 177, 209, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--blue);
}

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

.solution-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.card-tags span {
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Results Section */
.results {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.result-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.result-card.featured {
    border-color: var(--blue);
    background: linear-gradient(to right, white, rgba(114, 177, 209, 0.05));
}

.result-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(114, 177, 209, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon i {
    font-size: 1.5rem;
    color: var(--blue);
}

.result-content {
    flex: 1;
}

.result-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.result-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.result-content p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* Integration Section */

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

.integration-features {
    list-style: none;
    margin: 2rem 0;
}

.integration-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.integration-features li i {
    color: var(--blue);
    font-size: 1.125rem;
}

.integration-visual {
    position: relative;
}

.integration-diagram {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: url('data:image/svg+xml,<svg width="100%" height="100%" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="45" fill="none" stroke="%23e2e8f0" stroke-width="1" stroke-dasharray="4 4"/></svg>');
}

.diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagram-center i {
    font-size: 2rem;
    color: white;
}

.diagram-node {
    position: absolute;
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.diagram-node:hover {
    border-color: var(--blue);
    transform: scale(1.1);
}

.diagram-node i {
    font-size: 1.25rem;
    color: var(--blue);
}

.node-1 { top: 0; left: 50%; transform: translateX(-50%); }
.node-2 { top: 25%; right: 0; }
.node-3 { bottom: 25%; right: 0; }
.node-4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.node-5 { bottom: 25%; left: 0; }
.node-6 { top: 25%; left: 0; }

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.cta-card {
    padding: 4rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

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

/* Footer */
.footer {
    background: linear-gradient(180deg, #f9fbff 0%, #f4f7fc 100%);
    border-top: 1px solid var(--border-light);
    padding: 3.5rem 0 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-highlight {
    border: 1px solid rgba(114, 177, 209, 0.28);
    background: linear-gradient(120deg, rgba(114, 177, 209, 0.12), rgba(114, 177, 209, 0.04));
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-highlight-text h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.footer-highlight-text p {
    margin: 0.35rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-cta-btn {
    white-space: nowrap;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--blue);
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 34ch;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--blue);
    color: white;
}

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

.footer-links h4 {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a,
.footer-links span {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-contact li span {
    display: inline-block;
    line-height: 1.5;
}

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

.footer-badges {
    display: flex;
    gap: 1.5rem;
}

.footer-badges span {
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 50px;
    font-size: 0.75rem;
    border: 1px solid var(--border-light);
}

/* New Footer Layout (base.html) */
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-column {
    min-width: 0;
}

.footer-brand-col .footer-description {
    max-width: 36ch;
}

.footer-logo-image {
    height: auto;
    max-width: 170px;
}

.footer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.98rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-heading i {
    font-size: 0.85rem;
    color: var(--blue);
}

.footer-menu {
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.footer-menu a,
.footer-menu span {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-menu a i {
    font-size: 0.7rem;
    color: #9aa6b2;
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: var(--blue);
    transform: translateX(2px);
}

.footer-menu a:hover i {
    color: var(--blue);
}

.footer-contact-col {
    background: rgba(114, 177, 209, 0.06);
    border: 1px solid rgba(114, 177, 209, 0.22);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.contact-info-item {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.contact-info-item:last-of-type {
    margin-bottom: 0.55rem;
}

.contact-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(114, 177, 209, 0.16);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-icon i {
    font-size: 0.82rem;
}

.contact-detail {
    display: grid;
    line-height: 1.35;
}

.contact-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
}

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.contact-link:hover {
    color: var(--blue);
}

.contact-address,
.contact-response {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.business-hours {
    margin-top: 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    background: white;
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.footer-bottom-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.72rem;
    background: var(--bg-secondary);
    border-radius: 50px;
    font-size: 0.74rem;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.footer-badges .badge i {
    color: var(--blue);
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .integration-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    
    .footer-brand {
        max-width: 100%;
    }

    .footer-highlight {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        flex-direction: column;
        gap: 1rem;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .integration-grid {
        gap: 2rem;
    }
    
    .footer-links-group {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-card {
        padding: 3rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-links-group {
        grid-template-columns: 1fr;
    }
}
