/* Base Layout Reset & Variables */
:root {
    --bg-dark: #090d16;
    --bg-card: rgba(17, 24, 39, 0.6);
    --bg-card-hover: rgba(17, 24, 39, 0.8);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --color-teal: #00d1b2;
    --color-teal-glow: rgba(0, 209, 178, 0.3);
    --color-gradient-start: #00d1b2;
    --color-gradient-end: #00f2fe;
    --font-heading: "Outfit", sans-serif;
    --font-body: "Inter", sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
}

/* Background Glowing Orbs (Premium visual detail) */
body::before {
    content: "";
    position: absolute;
    top: 5%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 209, 178, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Header & Navbar Glassmorphism */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 13, 22, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 15px 0;
}

.wau-navbar {
    padding: 0;
}

.brand-logo {
    height: 36px;
    width: auto;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.04);
}

/* Custom Buttons Styling */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: #040814 !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 209, 178, 0.2);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 209, 178, 0.4);
    filter: brightness(1.1);
}

.btn-secondary-custom {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary) !important;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-lg-custom {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
    padding: 100px 0 80px;
    position: relative;
}

.badge-ia {
    background: rgba(0, 209, 178, 0.1);
    border: 1px solid rgba(0, 209, 178, 0.25);
    color: var(--color-teal);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--text-primary);
}

.hero-title span {
    background: linear-gradient(90deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.text-teal {
    color: var(--color-teal) !important;
}

/* EMR Mockup Card */
.emr-mockup-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.mockup-header {
    background: rgba(15, 23, 42, 0.5);
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background-color: #ef4444;
}
.dot.yellow {
    background-color: #eab308;
}
.dot.green {
    background-color: #22c55e;
}

.mockup-patient-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.mockup-status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-teal);
    background: rgba(0, 209, 178, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-icon {
    width: 6px;
    height: 6px;
    background-color: var(--color-teal);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.4;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.mockup-body {
    padding: 24px;
}

.mockup-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-teal);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.mockup-content {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.mockup-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.mockup-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 15px 0;
}

.mockup-ai-card {
    background: rgba(0, 209, 178, 0.03);
    border: 1px solid rgba(0, 209, 178, 0.15);
    border-radius: 8px;
    padding: 15px;
}

.mockup-list {
    margin: 0;
    font-size: 0.85rem;
}

.mockup-list li {
    margin-bottom: 6px;
}

.bg-teal-trans {
    background: rgba(0, 209, 178, 0.1) !important;
}

/* Feature Details Cards */
.badge-section {
    color: var(--color-teal);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-family: var(--font-heading);
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.25rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 209, 178, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 209, 178, 0.05);
    background: var(--bg-card-hover);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(0, 209, 178, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(0, 209, 178, 0.2);
}

.feature-card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.feature-card-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* Simulator Section */
.simulator-container {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.sim-header {
    background: rgba(15, 23, 42, 0.5);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sim-title {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
}

.sim-body {
    padding: 24px;
}

.sim-box-audio,
.sim-box-clinical,
.sim-box-prescription {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    min-height: 120px;
}

.sim-box-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-teal);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.sim-audio-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-primary);
    min-height: 70px;
    transition: all 0.3s ease;
}

.sim-clinical-data {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.text-white-30 {
    color: rgba(255, 255, 255, 0.3);
}

.animate-pulse {
    animation: voice-pulse 1.2s infinite;
}

@keyframes voice-pulse {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.3;
    }
}

.bg-danger-trans {
    background: rgba(239, 68, 110, 0.1) !important;
}

.bg-warning-trans {
    background: rgba(234, 179, 8, 0.1) !important;
}

/* FAQ Accordion Styling */
.custom-accordion {
    --bs-accordion-bg: var(--bg-card);
    --bs-accordion-color: var(--text-primary);
    --bs-accordion-btn-color: var(--text-primary);
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-active-color: var(--color-teal);
    --bs-accordion-active-bg: rgba(0, 209, 178, 0.04);
    --bs-accordion-border-color: rgba(255, 255, 255, 0.06);
    --bs-accordion-btn-focus-box-shadow: none;
}

.accordion-item {
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: var(--bg-card) !important;
    backdrop-filter: blur(10px);
}

.accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 20px;
}

.accordion-button:not(.collapsed) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.accordion-body {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 20px;
}

/* CTA Final Banner Section */
.cta-banner-section {
    position: relative;
}

.cta-banner-box {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(9, 13, 22, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 209, 178, 0.2);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(0, 209, 178, 0.08);
}

.cta-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
}

.cta-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer Section */
.footer-section {
    background: #040810;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-copyright {
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-teal);
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 60px 0 50px;
        text-align: center !important;
    }

    .hero-info {
        text-align: center !important;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .cta-banner-box {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}
