/* * Aculis Landing Page Styles - Premium Redesign
 * -----------------------------------------------
 * Inspired by minimalist, high-end design. Focus on typography, space, and a refined color palette.
 */

:root {
    /* New Premium Color Palette */
    --deep-navy: #0A192F; /* Primary background */
    --light-navy: #112240; /* Lighter background for cards/sections */
    --lightest-navy: #233554;
    --slate: #8892b0; /* Body text */
    --light-slate: #a8b2d1; /* Lighter text, headings */
    --white: #e6f1ff; /* Brightest text, main headings */
    --gold: #BF9B30; /* Accent color */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding-y: 8rem;
    --header-height: 80px;
}

/* --- Global Resets & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--deep-navy);
    color: var(--slate);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Layout Overrides --- */
.container {
    max-width: 60%;
}

/* --- Utility & Animation --- */
.animated-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Header Overrides --- */
.navbar {
    height: var(--header-height);
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
}
.navbar .logo svg {
    height: 36px;
    width: auto;
    color: var(--white);
}
.navbar .nav-link {
    color: var(--slate);
    font-weight: 500;
    transition: color 0.3s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--gold);
}
.navbar-toggler {
    border: none;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.navbar-toggler-icon span {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon span:nth-child(2) {
    opacity: 0;
}
.navbar-toggler:not(.collapsed) .navbar-toggler-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.partner-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--light-slate);
    background-color: rgba(17, 34, 64, 0.6);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    border: 1px solid rgba(136, 146, 176, 0.2);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.partner-badge svg {
    height: 28px;
    width: 28px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .partner-badge {
        display: none;
    }
}

/* --- Typography Styles --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--white);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(40px, 8vw, 72px);
}

h2 {
    font-size: clamp(32px, 5vw, 48px);
}

h3 {
    font-size: 1.5rem;
    color: var(--light-slate);
}

/* --- Button Styles --- */
.btn-outline-gold {
    --bs-btn-color: var(--gold);
    --bs-btn-border-color: var(--gold);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--gold);
    --bs-btn-hover-border-color: var(--gold);
    --bs-btn-focus-shadow-rgb: 191, 155, 48;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--gold);
    --bs-btn-active-border-color: var(--gold);
    --bs-btn-disabled-color: var(--gold);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--gold);
    display: inline-block;
    font-weight: 500;
    padding: 0.9rem 2.15rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.btn-outline-gold:hover {
     transform: translateY(-3px);
}


.secondary-link {
    color: var(--slate);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
}
.secondary-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}
.secondary-link:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- Section-Specific Styles --- */
main > section {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}
.hero {
    min-height: 100vh;
    padding-top: var(--header-height); /* Offset for fixed header */
}


/* 2. Problem/Solution Section */
.problem-solution h3 {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}
.problem-solution h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--gold);
}

/* 3. Live Features - Alternating Sections */
.feature-section {
    overflow: hidden;
}
.feature-section:not(:last-child) {
    padding-bottom: var(--section-padding-y);
}
.feature-label {
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.feature-text h2 {
    margin-bottom: 2rem;
}
.feature-text .description {
    font-size: 1.1rem;
    color: var(--light-slate);
    background-color: var(--light-navy);
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--gold);
}
.feature-benefits {
    list-style: none;
    padding-left: 0;
}
.feature-benefits li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 1rem;
}
.feature-benefits li::before {
    content: '▹';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
}

/* Glass Card & Carousel Styles */
.glass-card {
    background-color: rgba(17, 34, 64, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(136, 146, 176, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    min-height: 500px;
}

.glass-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 1rem;
}

.window-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fullscreen-btn {
    background: none;
    border: none;
    color: var(--slate);
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.fullscreen-btn:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

.fullscreen-btn svg {
    width: 14px;
    height: 14px;
}

.glass-card-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-red { background-color: #ff5f57; }
.dot-yellow { background-color: #febc2e; }
.dot-green { background-color: #28c840; }

.carousel, .carousel-inner, .carousel-item {
    border-radius: 6px;
}

.carousel-item video {
    width: 100%;
    height: auto;
    display: block;
    background-color: rgba(10, 25, 47, 0.8);
    min-height: 400px;
    max-height: 600px;
    object-fit: cover;
}

/* Bootstrap Carousel Overrides */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    background-color: var(--lightest-navy);
    border-radius: 50%;
    margin: 0 5px;
    transition: background-color 0.3s ease;
    opacity: 1;
}
.carousel-indicators .active {
    background-color: var(--gold);
}
.carousel-control-prev, .carousel-control-next {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 0.7;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1); /* Changes the white SVG arrow to black */
}

/* --- Platform Features Table --- */
.features-table-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.features-table-section .text-center {
    margin-bottom: 3rem;
}

.features-table-section h2 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 1rem;
}

.features-table-section .lead {
    color: var(--light-slate);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Card-based approach for mobile */
.features-grid {
    display: none;
}

.feature-card {
    background-color: var(--light-navy);
    border: 1px solid var(--lightest-navy);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature-category {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.feature-title {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.feature-status {
    display: inline-block;
}

/* Desktop table wrapper */
.features-table-wrapper {
    background-color: var(--light-navy);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--lightest-navy);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.features-table-section .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    margin: 0;
}

.features-table-section .table thead th {
    background-color: var(--lightest-navy);
    color: var(--light-slate);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1.25rem 1.5rem;
    border: none;
    text-align: left;
}

.features-table-section .table thead th:first-child {
    border-radius: 8px 0 0 8px;
}

.features-table-section .table thead th:last-child {
    border-radius: 0 8px 8px 0;
}

.features-table-section .table tbody td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(35, 53, 84, 0.5);
    vertical-align: top;
}

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

.features-table-section .table tbody tr:hover {
    background-color: rgba(35, 53, 84, 0.3);
}

/* Category rows */
.features-table-section .table-category {
    background-color: var(--deep-navy) !important;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1rem;
    padding: 2rem 1.5rem 1rem 1.5rem !important;
    border-bottom: 2px solid var(--gold) !important;
}

.features-table-section .table-category:first-child {
    padding-top: 1rem !important;
}

/* Feature name styling */
.features-table-section tbody td:nth-child(2) {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Description column */
.features-table-section tbody td:nth-child(3) {
    color: var(--slate);
    line-height: 1.5;
    font-size: 0.9rem;
    max-width: 400px;
}

/* Status badges - replace existing badge styles */
.features-table-section .badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
    white-space: nowrap;
}

.features-table-section .badge.bg-success {
    background-color: rgba(191, 155, 48, 0.15) !important;
    border-color: rgba(191, 155, 48, 0.5) !important;
    color: var(--gold) !important;
}

.features-table-section .badge.bg-warning {
    background-color: rgba(168, 178, 209, 0.15) !important;
    border-color: rgba(168, 178, 209, 0.5) !important;
    color: var(--light-slate) !important;
}

.features-table-section .badge.bg-info {
    background-color: rgba(136, 146, 176, 0.15) !important;
    border-color: rgba(136, 146, 176, 0.4) !important;
    color: var(--slate) !important;
}

/* Column widths */
.features-table-section th:nth-child(1),
.features-table-section td:nth-child(1) { width: 18%; }
.features-table-section th:nth-child(2),
.features-table-section td:nth-child(2) { width: 22%; }
.features-table-section th:nth-child(3),
.features-table-section td:nth-child(3) { width: 45%; }
.features-table-section th:nth-child(4),
.features-table-section td:nth-child(4) { width: 15%; }

/* Responsive breakpoints */
@media (max-width: 992px) {
    .features-table-wrapper {
        display: none;
    }
    
    .features-grid {
        display: block;
    }
}

@media (min-width: 993px) {
    .features-table-wrapper {
        display: block;
    }
    
    .features-grid {
        display: none;
    }
}

@media (max-width: 768px) {
    .feature-card {
        padding: 1.25rem;
    }
}

/* Force override Bootstrap table defaults */
.features-table-section .table,
.features-table-section .table > :not(caption) > * > * {
    background-color: transparent !important;
}

.features-table-section .table tbody tr {
    background-color: transparent !important;
}

.features-table-section .table tbody tr:hover {
    background-color: rgba(35, 53, 84, 0.3) !important;
}

/* Ensure category rows maintain their styling */
.features-table-section .table-category {
    background-color: var(--deep-navy) !important;
}

/* Fix any Bootstrap striping that might be applied */
.features-table-section .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: transparent !important;
}

/* 4. Integrations Section - NEW SCROLLER */
.integrations {
    padding-top: 4rem;
    padding-bottom: 4rem;
    text-align: center;
}
.scroller {
    max-width: 900px;
    margin: auto;
}
.scroller__inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 6rem;
}
.scroller[data-animated="true"] {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}
.scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll 40s linear infinite;
}
.scroller[data-animated="true"]:hover .scroller__inner {
    animation-play-state: paused;
}
.scroller .logo-item {
    height: 40px;
    width: auto;
    filter: grayscale(100%) opacity(60%);
    transition: filter 0.3s ease;
}
.scroller .logo-item-svg {
    height: 40px;
    width: auto;
    filter: grayscale(100%) opacity(60%);
    transition: filter 0.3s ease;
    color: var(--slate);
}
.scroller .logo-item:hover,
.scroller .logo-item-svg:hover {
    filter: grayscale(0%) opacity(100%);
    color: var(--white);
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 3rem));
    }
}

/* 5. What's Next Section - TIMELINE */
.whats-next {
    text-align: center;
}
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--light-navy);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.is-visible .timeline-item {
    opacity: 1;
    transform: translateY(0);
}
.timeline-item.left {
    left: 0;
    text-align: right;
}
.timeline-item.right {
    left: 50%;
    text-align: left;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--deep-navy);
    border: 4px solid var(--gold);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item.right::after {
    left: -10px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: var(--light-navy);
    position: relative;
    border-radius: 6px;
}
.timeline-content h3 {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 1rem;
    white-space: nowrap;
}
.timeline-content ul {
    list-style: none;
    padding: 0;
}
.timeline-content li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 0.5rem;
}
.timeline-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 5px;
    border-radius: 5px 5px 0 0;
    background-color: var(--gold);
}
.timeline-content li.completed::before {
    content: '✓';
    background-color: transparent;
    border: none;
    color: var(--gold);
    font-weight: bold;
    top: 1px;
    left: -2px;
    width: auto;
    height: auto;
    border-radius: 0;
}

/* 7. Final CTA Section */
.final-cta-content {
    background-color: var(--light-navy);
    padding: 4rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--lightest-navy);
}
.final-cta .benefits-list {
    list-style: none;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 3rem;
    text-align: left;
}
.final-cta .benefits-list li {
    position: relative;
    padding-left: 30px;
    color: var(--light-slate);
    font-size: 1.1rem;
}
.final-cta .benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BF9B30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}
.final-cta .cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

/* 8. Footer */
.footer {
    padding: 2rem 0;
    font-size: 0.875rem;
    text-align: center;
}
.footer .container a {
    color: var(--slate);
    text-decoration: none;
    margin: 0 0.75rem;
    transition: color 0.3s ease;
}
.footer .container a:hover {
    color: var(--gold);
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    /* Timeline on mobile */
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
    }
    .timeline-item.left, .timeline-item.right {
        left: 0%;
        text-align: left;
    }
    .timeline-item.left::after, .timeline-item.right::after {
        left: 10px;
    }

    .final-cta .cta-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .glass-card {
        min-height: 400px;
    }

    .carousel-item video {
        min-height: 300px;
    }
}

/* Fullscreen styles */
.fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    padding: 2rem;
    box-sizing: border-box;
}

.fullscreen-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-video {
    width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.fullscreen-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.fullscreen-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}