/* 
   AI Solutions Page Styles 
   Highland Logic - Premium / Modern / Clean
*/

:root {
    --primary: #06b6d4;
    /* Cyan Glow */
    --primary-dim: #0891b2;
    --primary-glow: rgba(6, 182, 212, 0.4);

    --secondary: #ffffff;
    /* Headings are now white */

    /* Dark Theme Palette */
    --bg-dark: #0B1120;
    /* Deepest Slate/Black */
    --bg-card: #1e293b;
    /* Slightly lighter for cards */
    --bg-glass: rgba(30, 41, 59, 0.7);
    /* Glass effect */

    --text-main: #f8fafc;
    /* White text */
    --text-muted: #cbd5e1;
    /* Light gray text */

    --border-subtle: rgba(255, 255, 255, 0.1);
    /* Subtle white border */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.2);
}


/* --- NAVIGATION RESTORATION (Global White Header) --- */
.navbar {
    background: #FFFFFF !important;
    /* Force Global White */
    border-bottom: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Force dark text for nav links so they are visible on white */
.nav-links a {
    color: #1F2937 !important;
    /* Dark Text */
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary) !important;
    /* Cyan Hover/Active */
}

/* Dropdown Menu - Light Theme Styles */
.dropdown-menu {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.dropdown-menu li a {
    color: #1F2937 !important;
}

.dropdown-menu li a:hover {
    background: #F3F4F6 !important;
    color: var(--primary) !important;
}

.mobile-menu-btn span {
    background: #1F2937 !important;
    /* Dark Hamburger lines */
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography & Utils */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #fff;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 15px;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.1);
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    /* Deep Space Gradient */
    background: radial-gradient(circle at top right, #1e293b 0%, #0B1120 60%);
    overflow: hidden;
    padding: 180px 0 100px 0;
}

/* Tech Grid Background */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    opacity: 0.4;
    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.8rem;
    color: #ffffff !important;
    /* Force White */
    margin-bottom: 25px;
    letter-spacing: -1.5px;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 800;
    position: relative;
    border-bottom: none;
    text-shadow: none;
}

.hero-subheadline {
    font-size: 1.5rem;
    font-weight: 500;
    color: #f1f5f9;
    /* Off-white */
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-text {
    font-size: 1.1rem;
    color: #cbd5e1;
    /* Light Gray */
    margin-bottom: 30px;
    max-width: 90%;
}

.trust-bullets li {
    font-size: 1rem;
    color: #e2e8f0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-bullets i {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.hero-ctas {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
}

/* Floating Cards Animation */
.floating-card {
    position: absolute;
    padding: 15px 25px;
    background: rgba(30, 41, 59, 0.8);
    /* Dark Glass */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #ffffff;
    /* White text */
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.floating-card i {
    color: var(--primary);
    font-size: 1.2rem;
    text-shadow: 0 0 10px var(--primary);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    right: 5%;
    animation: float 7s ease-in-out infinite 1s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation: float 8s ease-in-out infinite 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(1deg);
        /* Added slight rotation */
    }
}

.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(42, 140, 166, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

/* Scroll Indication */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    display: block;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}



/* --- WHAT WE AUTOMATE --- */
.automate-section {
    padding: 100px 0;
    background-color: #0B1120;
    /* Deepest Slate */
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
}

/* Override title for light process section */
.process-section .section-title {
    color: #000000;
}

.automate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.automate-card {
    background: var(--bg-card);
    /* Dark Card */
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.automate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
    background: #1e293b;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.4rem;
    transition: var(--transition);
}

.automate-card:hover .card-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px var(--primary);
}

.automate-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.automate-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}


/* --- PROCESS TIMELINE --- */
/* --- PROCESS TIMELINE (Light Theme High Contrast) --- */
.process-section {
    padding: 100px 0;
    background: #ffffff;
    /* White Background */
    position: relative;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 24px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    z-index: 1;
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 70px;
    z-index: 2;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: 0 0 0 5px #f3f4f6;
    /* Light Mask */
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #000000;
    /* Deep Black Headings */
}

.timeline-content p {
    color: #111827;
    /* Explicit Black/Dark Gray Body */
    font-weight: 500;
}


/* --- INTEGRATION STRIP --- */
.integration-section {
    padding: 80px 0;
    background: #0B1120;
    /* Dark Background */
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Add a very subtle radial highlight behind integrations */
.integration-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.integration-container {
    position: relative;
    z-index: 1;
}

.integration-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ffffff;
    /* White Title */
}

.integration-subtitle {
    color: #94a3b8;
    /* Slate Gray */
    margin-bottom: 40px;
}

.integration-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.pill {
    padding: 10px 20px;
    background: rgba(30, 41, 59, 0.5);
    /* Dark Pill */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-weight: 500;
    color: #e2e8f0;
    /* Light Text */
    font-size: 0.9rem;
    transition: var(--transition);
}

.pill:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}


/* --- SUPPORT PROMISE --- */
.support-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #111827, #1f2937);
    /* Dark background */
    color: white;
}

.support-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.support-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #ffffff;
    /* Explicitly set to white */
}

.support-content p {
    color: #9CA3AF;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.support-bullets li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.support-bullets i {
    color: var(--primary);
}

.support-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.support-card h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #D1D5DB;
}

.check-box {
    width: 24px;
    height: 24px;
    background: rgba(42, 140, 166, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.8rem;
}


/* --- TESTIMONIALS --- */
.testimonials-section {
    padding: 100px 0;
    background: #0B1120;
    text-align: center;
}

.testimonial-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 50px;
}

/* ... track wrapper ... */

.testimonial-quote {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    /* White Quote */
    margin-bottom: 25px;
    line-height: 1.4;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.slider-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: 0.3s;
}

.slider-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--primary);
}


/* --- BOTTOM CTA --- */
.cta-footer-section {
    padding: 100px 0;
    background: #0B1120;
}

.cta-box {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 80px 40px;
    text-align: center;
    border-radius: 24px;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.1), transparent 50%);
    z-index: 0;
}

.cta-box h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.btn-link-footer {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.btn-link-footer:hover {
    border-bottom-color: var(--primary);
    gap: 12px;
}


/* --- ANIMATION UTILS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}


/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        height: 350px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .support-container {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .cta-buttons {
        gap: 15px;
    }
}