:root {
    --heritage-navy: #1B263B;
    --royal-crimson: #9E2A2B;
    --platinum: #F8F9FA;
    --slate-border: #E2E8F0;
}

/* Base & Scroll */
html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 100px; 
}

body { font-family: 'Inter', sans-serif; background-color: white; color: var(--heritage-navy); }
h1, h2, h3, h4, .brand-font { font-family: 'Playfair Display', serif; }

/* Utilities */
.bg-heritage { background-color: var(--heritage-navy); }
.bg-crimson { background-color: var(--royal-crimson); }
.text-crimson { color: var(--royal-crimson); }
.bg-platinum { background-color: var(--platinum); }


.hero-gradient { background: linear-gradient(to right, rgba(27, 38, 59, 1) 30%, rgba(27, 38, 59, 0.7) 100%); }

/* DESKTOP MENU */
.nav-list { display: flex; list-style: none; gap: 5px; height: 100%; }
.nav-item { position: relative; display: flex; align-items: center; height: 90px; }

.logo-box { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-square {
    background: var(--navy);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
}
.logo-text span:first-child { display: block; font-size: 22px; font-weight: 900; color: var(--navy); text-transform: uppercase; line-height: 1; }
.logo-text span:last-child { font-size: 9px; font-weight: 700; color: var(--maroon); text-transform: uppercase; letter-spacing: 3px; }

/* DESKTOP MENU */
.nav-list { display: flex; list-style: none; gap: 5px; height: 100%; }
.nav-item { position: relative; display: flex; align-items: center; height: 90px; }

.nav-link {
    text-decoration: none;
    padding: 10px 15px;
    color: var(--navy);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
}

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


.nav-link span { font-size: 8px; font-weight: 400; color: #64748b; text-transform: lowercase; margin-top: -2px; }

/* DROPDOWN BOXES (Desktop Only) */
@media (min-width: 1025px) {
    .dropdown-menu {
        position: absolute;
        top: 85%;
        left: 0;
        background: white;
        min-width: 260px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-radius: 0px;
        padding: 15px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: 0.2s ease-out;
        border: 1px solid var(--border);
    }
    .nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
    .dropdown-menu li a:hover { background: var(--light-bg); color: var(--maroon); padding-left: 30px; }
}

/* MOBILE STYLES & FIXES */
.mobile-toggle { display: none; cursor: pointer; color: var(--navy); z-index: 1100; }

@media (max-width: 1024px) {
    .mobile-toggle { display: block; }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 20px 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        display: block;
        overflow-y: auto;
        z-index: 1001; /* Higher than overlay */
    }

    .nav-list.active { right: 0; }

    .nav-item { height: auto; display: block; border-bottom: 1px solid var(--border); }
    .nav-link { padding: 15px 0; width: 100%; }

    .dropdown-menu {
        display: none; /* Accordion style */
        background: var(--light-bg);
        border-radius: 8px;
        margin-bottom: 15px;
        list-style: none;
    }
    .dropdown-menu.open { display: block; }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(27, 38, 59, 0.7); /* Navy tint */
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 1000; /* Lower than nav-list */
    }
    .mobile-overlay.active { opacity: 1; visibility: visible; }
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
}




.hero-banner {
    background: linear-gradient(rgba(27, 38, 59, 0.9), rgba(27, 38, 59, 0.9)), 
                url('https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&q=80&w=2000');
    background-size: cover; background-position: center;
}

/* Section Headings */
.section-heading {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.heading-accent {
    width: 80px;
    height: 4px;
    background-color: var(--royal-crimson);
    margin-bottom: 2rem;
}

/* Step Cards */
.step-card {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.step-card:hover { border-color: var(--royal-crimson); transform: translateY(-5px); }
.step-arrow { display: none; }
@media (min-width: 768px) {
    .step-arrow {
        display: block;
        position: absolute;
        top: 50%;
        right: -20px;
        transform: translateY(-50%);
        z-index: 10;
        color: #cbd5e1;
    }
}

.input-field { width: 100%; padding: 1rem; background: #f1f5f9; border: 2px solid transparent; border-radius: 8px; transition: all 0.3s; outline: none; }
.input-field:focus { border-color: var(--royal-crimson); background: white; }


/* Industries & Tiles */
.industry-tile { background: white; border: 1px solid #f1f5f9; transition: all 0.3s ease; }
.industry-tile:hover { background: var(--heritage-navy); color: white; }
.industry-tile:hover i { color: var(--royal-crimson); }

.industry-card { border: 1px solid var(--slate-border); padding: 2.5rem; transition: all 0.3s ease; }
.industry-card:hover { border-color: var(--royal-crimson); background-color: var(--platinum); }

/* Pricing */
.pricing-container { display: grid; grid-template-columns: 1fr; border: 1px solid var(--slate-border); background: white; }
@media (min-width: 768px) { .pricing-container { grid-template-columns: repeat(3, 1fr); } }

.pricing-table { padding: 4rem 2.5rem; display: flex; flex-direction: column; border-bottom: 1px solid var(--slate-border); }
@media (min-width: 768px) {
    .pricing-table { border-bottom: none; border-right: 1px solid var(--slate-border); }
    .pricing-table:last-child { border-right: none; }
}
.pricing-table.featured { background-color: var(--heritage-navy); color: white; position: relative; z-index: 10; box-shadow: 0 0 50px rgba(0,0,0,0.15); }

.plan-feature-list { list-style: none; padding: 0; margin: 2.5rem 0; flex-grow: 1; }
.plan-feature-list li { font-size: 13px; padding: 12px 0; border-bottom: 1px solid #F1F5F9; display: flex; justify-content: space-between; }
.featured .plan-feature-list li { border-bottom: 1px solid rgba(255,255,255,0.1); }

/* Images & Overlays */
.img-soften { position: relative; overflow: hidden; border-radius: 0; }
.img-soften::after { content: ""; position: absolute; inset: 0; background: rgba(27, 38, 59, 0.4); mix-blend-mode: multiply; }

/* Components */
.guarantee-card { background: #fff; border-left: 5px solid var(--royal-crimson); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.security-card { background: white; border-top: 4px solid var(--royal-crimson); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.testimonial-card { font-style: italic; position: relative; }
.testimonial-card::before { content: '"'; font-family: 'Playfair Display', serif; color: var(--royal-crimson); font-size: 80px; position: absolute; top: -20px; left: 0; opacity: 0.2; }
.trial-gradient { background: linear-gradient(135deg, #1B263B 0%, #0D131F 100%); }

/* Accordion */
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; }
.accordion-item.active .accordion-content { max-height: 500px; padding-bottom: 2rem; }
.accordion-item { border-bottom: 1px solid var(--slate-border); }
.accordion-item.active .toggle-icon { transform: rotate(45deg); color: var(--royal-crimson); }

/* Mobile Menu */
#mobile-menu { display: none; }
#mobile-menu.active { display: block; }
.menu-open-icon { display: block; }
.menu-close-icon { display: none; }
.is-active .menu-open-icon { display: none; }
.is-active .menu-close-icon { display: block; }

/* Calculator Styles */
.calc-step.hidden {
    display: none;
}

.calc-option {
    padding: 1.5rem;
    border: 2px solid var(--slate-border);
    text-align: left;
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
}

.calc-option:hover {
    border-color: var(--royal-crimson);
    color: var(--royal-crimson);
    background-color: var(--platinum);
}

.calc-option:active {
    transform: scale(0.98);
}

/* Calculator Card Base */
/* Calculator Grid Overrides */
.calc-card {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.calc-card:hover {
    border-color: var(--royal-crimson);
    background-color: var(--platinum);
    transform: translateY(-3px);
}

.calc-card i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--royal-crimson);
}

/* Form Styling 
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s;
}

.form-input:focus {
    background: white;
    border-color: var(--heritage-navy);
    box-shadow: 0 0 0 3px rgba(27, 38, 59, 0.05);
}

textarea.form-input {
    resize: none;
}*/

.bg-navy { background-color: #1B263B; }
.text-maroon { color: #9E2A2B; }
.bg-maroon { background-color: #9E2A2B; }
.input-focus:focus { border-color: #9E2A2B; ring: 2px; ring-color: #9E2A2B; outline: none; }

.overlay { background: linear-gradient(to right, rgba(27, 38, 59, 0.95), rgba(27, 38, 59, 0.9)); }

.glass { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); }
    
	
	



/* Modern UI Elements */
.glass-card { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); }

.service-pill { 
	cursor: pointer; padding: 0.75rem 1.25rem; border: 1px solid #e2e8f0; border-radius: 99px; font-size: 0.85rem; font-weight: 600; transition: all 0.2s; 
}
.service-pill:hover, .service-pill.selected { background: var(--royal-crimson); color: white; border-color: var(--royal-crimson); }
	
	
	
/* ADDITIONAL PAGE STYLES */
.feature-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}
.feature-section:nth-child(even) {
    background-color: var(--light-bg);
}
.icon-list {
    list-style: none;
    margin-top: 20px;
}
.icon-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--navy);
    font-weight: 500;
}
.icon-list i { color: var(--maroon); }

/* CONTENT CTA BOX */
.content-cta {
    background: var(--navy);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin: 60px 0;
    border-left: 8px solid var(--maroon);
}
.content-cta h2 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 15px; }
.content-cta p { font-size: 14px; opacity: 0.8; margin-bottom: 25px; }

.btn-cta-outline {
    border: 2px solid var(--maroon);
    color: white;
    padding: 12px 30px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 12px;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}
.btn-cta-outline:hover { background: var(--maroon); }


/* Services Mega-Grid Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-box:hover {
    border-color: var(--maroon);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.service-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

.service-box p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    margin-top: auto;
}

.service-list li {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 0;
    border-top: 1px solid #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li::before {
    content: "•";
    color: var(--maroon);
    font-weight: bold;
}

.advantage-ribbon {
    background: var(--navy);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-top: 60px;
}


/* Delivery Centre Section Styles */
.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.advantage-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--maroon);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.trust-block-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.trust-stat-box {
    background: var(--navy);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.trust-stat-box h4 {
    font-size: 28px;
    font-weight: 900;
    color: var(--maroon);
    margin-bottom: 5px;
}

.trust-stat-box p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

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

/* Risk-Free Pilot Styles */
.pilot-section {
    background: linear-gradient(135deg, #1B263B 0%, #0D1321 100%);
    position: relative;
    overflow: hidden;
}

.pilot-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.guarantee-badge {
    width: 120px;
    height: 120px;
    background: var(--maroon);
    border: 4px solid white;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: rotate(-12deg);
    position: absolute;
    top: -30px;
    right: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10;
}

.pulse-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(158, 42, 43, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(158, 42, 43, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(158, 42, 43, 0); }
}

/* 50 Tasks Section Styles */
.task-category-trigger {
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.task-category-trigger:hover {
    border-color: var(--maroon);
    background: #fffcfc;
}
.task-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 8px 0;
    color: #475569;
}
.task-list-item i {
    color: var(--maroon);
    width: 14px;
}
.download-card {
    background: linear-gradient(135deg, var(--navy) 0%, #2c3e50 100%);
}

/* AI Specific UI Components */
.ai-workflow-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.group:hover .step-number {
    background-color: #9E2A2B;
    color: #ffffff;
    border-color: #9E2A2B;
}

.hero-overlay-gradient {
    background: linear-gradient(90deg, #1B263B 0%, #1B263B 40%, rgba(27, 38, 59, 0) 100%);
}


.comparison-table th {
    padding: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

.comparison-table td {
    padding: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

/* Refined Corporate Components */
.corp-card {
    background: #ffffff;
    border-top: 4px solid #9E2A2B;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.corp-card:hover { transform: translateY(-5px); }

.sidebar-line {
    border-left: 2px solid #9E2A2B;
    padding-left: 1.5rem;
}

.data-table-header {
    background-color: #1B263B;
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}