/* =========================================
   ExpertPress - Automação IA Page Styles
   ========================================= */

/* --- Variables & Theming --- */
:root {
    --ia-primary: #9500FF;
    /* Brand Primary */
    --ia-accent: #FF005F;
    /* Brand Accent */
    --ia-dark: #1A0B0A;
    /* Brand Dark */
    --ia-light: #FEF2ED;
    /* Brand Light */
    --ia-glass: rgba(255, 255, 255, 0.05);
    --ia-border: rgba(255, 255, 255, 0.1);
    --ia-glow: 0 0 20px rgba(149, 0, 255, 0.3);
}

/* --- Header Overrides for Dark Page --- */

/* Only apply when NOT scrolled (Transparent BG) */
.aw-header:not(.is-scrolled) {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 1. Main Menu Items (Top Level Only) */
.aw-header:not(.is-scrolled) .aw-nav>ul>li>a,
.aw-header:not(.is-scrolled) .aw-nav>div>ul>li>a {
    color: var(--ia-light) !important;
}

/* Hover for Main Menu */
.aw-header:not(.is-scrolled) .aw-nav>ul>li>a:hover,
.aw-header:not(.is-scrolled) .aw-nav>div>ul>li>a:hover {
    color: var(--ia-primary) !important;
}

/* 2. Contact Button */
.aw-header:not(.is-scrolled) .aw-btn-contact {
    color: var(--ia-light) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.aw-header:not(.is-scrolled) .aw-btn-contact:hover {
    background: #fff !important;
    color: var(--ia-dark) !important;
    border-color: #fff !important;
}

/* 3. Logo (Invert to white) */
.aw-header:not(.is-scrolled) .custom-logo-link img {
    filter: brightness(0) invert(1);
}

/* Scrolled State */
.aw-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.aw-ia-page {
    background-color: var(--ia-dark);
    color: var(--ia-light);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    margin-top: -100px;
    padding-top: 100px;
}

.aw-ia-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Animations --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(149, 0, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(149, 0, 255, 0.5);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s ease forwards;
}

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Pop In Animation */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --- Hero Section --- */
.aw-ia-hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Background Gradients */
.aw-ia-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(149, 0, 255, 0.2) 0%, rgba(26, 11, 10, 0) 70%);
    filter: blur(60px);
    z-index: 0;
}

.aw-ia-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.aw-ia-hero__content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #FEF2ED 0%, #9500FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.aw-ia-hero__desc {
    font-size: 1.25rem;
    color: rgba(254, 242, 237, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.aw-ia-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--ia-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(149, 0, 255, 0.3);
}

.aw-ia-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(149, 0, 255, 0.5);
    background: #8000db;
}

/* Hero Visual (Orb/Network) */
.aw-ia-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ia-orb {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 30% 30%, var(--ia-primary), var(--ia-dark));
    border-radius: 50%;
    position: relative;
    box-shadow:
        inset -20px -20px 50px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(149, 0, 255, 0.4);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.ia-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.ia-orbit--2 {
    width: 140%;
    height: 140%;
    animation-duration: 30s;
    border-color: rgba(255, 255, 255, 0.05);
}

.ia-orbit--3 {
    width: 180%;
    height: 180%;
    animation-duration: 40s;
    border-color: rgba(255, 255, 255, 0.03);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Social Integration Section --- */
.aw-ia-social {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--ia-border);
    border-bottom: 1px solid var(--ia-border);
}

.aw-ia-social__header {
    text-align: center;
    margin-bottom: 60px;
}

.aw-ia-social__header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.aw-ia-social__grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.social-card {
    background: var(--ia-glass);
    border: 1px solid var(--ia-border);
    padding: 30px;
    border-radius: 20px;
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-card:hover {
    transform: translateY(-5px);
    border-color: var(--ia-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.social-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.social-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--ia-light);
}

/* --- Features Section --- */
.aw-ia-features {
    padding: 120px 0;
}

.aw-ia-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid var(--ia-border);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--ia-accent);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 24px;
    background: rgba(255, 0, 95, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--ia-accent);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: rgba(254, 242, 237, 0.7);
    line-height: 1.6;
}

/* --- Live Chat Simulation --- */
.aw-ia-chat {
    padding: 100px 0;
    overflow: hidden;
}

.aw-ia-chat__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.aw-ia-chat__content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.aw-ia-chat__content p {
    font-size: 1.2rem;
    color: rgba(254, 242, 237, 0.8);
    margin-bottom: 32px;
}

.chat-features {
    list-style: none;
    padding: 0;
}

.chat-features li {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #fff;
    font-weight: 500;
}

/* Phone Mockup */
.phone-mockup {
    width: 320px;
    height: 600px;
    border: 12px solid #000;
    border-radius: 40px;
    background: #111;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.phone-header {
    background: #25D366;
    /* WhatsApp Green */
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ph-avatar {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
}

.ph-info {
    display: flex;
    flex-direction: column;
}

.ph-name {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.ph-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.phone-body {
    padding: 20px;
    background-color: #0b141a;
    /* WhatsApp Dark Mode */
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    height: calc(100% - 70px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.msg {
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 85%;
    font-size: 0.9rem;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
    /* Animation base */
    opacity: 0;
    transform: translateY(10px);
}

.msg-in {
    background: #202c33;
    color: #fff;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.msg-out {
    background: #005c4b;
    color: #fff;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.msg.highlight {
    background: var(--ia-primary);
    box-shadow: 0 0 15px rgba(149, 0, 255, 0.4);
}

.msg .time {
    display: block;
    font-size: 0.65rem;
    text-align: right;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.6);
}

/* Typing Indicator */
.typing-indicator {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    min-width: 60px;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* --- API Simulation Section --- */
.aw-ia-api {
    padding: 100px 0;
    background: #110505;
    position: relative;
}

.aw-ia-api__header h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.aw-ia-api__visual {
    margin-top: 60px;
}

/* Data Flow Graph */
.api-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.api-node {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.api-node.server {
    border-color: var(--ia-primary);
    box-shadow: 0 0 20px rgba(149, 0, 255, 0.2);
}

.api-node.ai {
    border-color: var(--ia-accent);
    box-shadow: 0 0 20px rgba(255, 0, 95, 0.2);
}

.node-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.api-node span {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.flow-line {
    flex: 1;
    max-width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.data-dot {
    position: absolute;
    top: -4px;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--ia-primary);
    border-radius: 50%;
    animation: flowRight 2s infinite linear;
    box-shadow: 0 0 10px var(--ia-primary);
}

.data-dot.delay-1 {
    animation-delay: 1s;
}

@keyframes flowRight {
    0% {
        left: 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Terminal */
.api-terminal {
    max-width: 800px;
    margin: 0 auto;
    background: #0D0505;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    font-family: 'Fira Code', 'Courier New', monospace;
}

.terminal-header {
    background: #1A0B0A;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.dot.red {
    background: #FF5F56;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #27C93F;
}

.terminal-header .title {
    margin-left: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.terminal-body {
    padding: 24px;
    color: #d4d4d4;
    font-size: 0.9rem;
    line-height: 1.6;
    height: 350px;
    overflow-y: auto;
}

.log-line {
    margin-bottom: 8px;
}

.timestamp {
    color: #569CD6;
    margin-right: 8px;
}

.method {
    color: #C586C0;
}

.string {
    color: #CE9178;
}

.info {
    color: #9CDCFE;
}

.success {
    color: #4EC9B0;
}

.dim {
    color: #6A9955;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* --- ROI Calculator Section --- */
.aw-ia-roi {
    padding: 100px 0;
    background: linear-gradient(to top, var(--ia-dark), #100505);
}

.aw-ia-roi__header {
    margin-bottom: 80px;
}

.aw-ia-roi__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.roi-inputs {
    background: var(--ia-glass);
    border: 1px solid var(--ia-border);
    padding: 40px;
    border-radius: 24px;
}

.input-group {
    margin-bottom: 32px;
}

.input-group label {
    display: block;
    margin-bottom: 16px;
    font-weight: 600;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.input-group input[type="range"] {
    width: 100%;
    cursor: pointer;
    accent-color: var(--ia-primary);
}

.roi-results {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.result-card {
    background: var(--ia-glass);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--ia-border);
}

.result-card.projected {
    background: linear-gradient(135deg, rgba(149, 0, 255, 0.1), rgba(255, 0, 95, 0.05));
    border-color: var(--ia-primary);
    box-shadow: 0 10px 40px rgba(149, 0, 255, 0.15);
    transform: scale(1.05);
    /* Highlight projected */
}

.result-card .label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-card .value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.result-card .difference {
    display: block;
    margin-top: 8px;
    color: #00C851;
    font-weight: 600;
    font-size: 1.1rem;
}

.roi-note {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.icon-wrapper {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* --- Timeline Section (Revamped) --- */
.aw-ia-timeline {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: #150808;
}

.timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 80px auto 0;
    padding: 20px 0;
}

/* Vertical Line Background */
.timeline-line-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    z-index: 1;
}

/* Animated Progress Line */
.timeline-line-progress {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    /* Can be controlled via JS scroll */
    background: linear-gradient(to bottom, var(--ia-primary), var(--ia-accent));
    box-shadow: 0 0 20px var(--ia-primary);
    border-radius: 4px;
    z-index: 1;
    max-height: 0;
    /* JS will animate this */
    transition: max-height 1.5s ease-out;
}

.aw-ia-timeline.in-view .timeline-line-progress {
    max-height: 100%;
}

.timeline-item {
    position: relative;
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Icons on the Line */
.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--ia-dark);
    border: 2px solid var(--ia-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(149, 0, 255, 0.4);
    z-index: 3;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: translateX(-50%) scale(1.1);
    background: var(--ia-primary);
    border-color: #fff;
    box-shadow: 0 0 40px var(--ia-primary);
}

/* Content Cards */
.timeline-card {
    width: 45%;
    background: var(--ia-glass);
    border: 1px solid var(--ia-border);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    /* Alternating layout logic */
    margin-left: auto;
    /* Default right */
}

/* Alternating Sides */
.timeline-item:nth-child(even) .timeline-card {
    margin-left: 0;
    margin-right: auto;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-card {
    margin-left: 55%;
    /* Push to right of icon (50% + gap) */
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-card {
    margin-right: 55%;
    /* Push to left of icon */
    margin-left: 0;
}

.timeline-card h3 {
    color: var(--ia-light);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.timeline-card p {
    color: rgba(254, 242, 237, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

.step-number {
    position: absolute;
    top: -20px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
}

.timeline-item:nth-child(odd) .step-number {
    right: 20px;
}

.timeline-item:nth-child(even) .step-number {
    left: 20px;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(149, 0, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.timeline-card:hover {
    transform: translateY(-5px);
    border-color: var(--ia-primary);
}

.timeline-card:hover .card-glow {
    opacity: 1;
}

/* Mobile Responsive Timeline */
@media (max-width: 768px) {

    .timeline-line-bg,
    .timeline-line-progress {
        left: 20px;
        /* Align line to left */
    }

    .timeline-icon {
        left: 20px;
    }

    .timeline-item {
        margin-bottom: 60px;
        justify-content: flex-start;
    }

    .timeline-card {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        /* Always push right of line */
        text-align: left !important;
    }

    .timeline-item:nth-child(even) .timeline-card {
        margin-right: 0;
    }
}

/* --- Comparison Section (Human vs AI) --- */
.aw-ia-comparison {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--ia-dark), #100505);
}

.aw-ia-comparison__header {
    text-align: center;
    margin-bottom: 80px;
}

.aw-ia-comparison__header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.vs-badge {
    background: var(--ia-accent);
    color: #fff;
    padding: 0px 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    font-style: italic;
    transform: skew(-10deg);
}

.aw-ia-comparison__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    background: var(--ia-glass);
    border: 1px solid var(--ia-border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    backdrop-filter: blur(5px);
}

.comparison-card.human {
    border-color: rgba(255, 255, 255, 0.1);
}

.comparison-card.ai {
    background: linear-gradient(145deg, rgba(149, 0, 255, 0.1) 0%, rgba(255, 0, 95, 0.05) 100%);
    border: 1px solid var(--ia-primary);
    box-shadow: 0 0 30px rgba(149, 0, 255, 0.1);
}

.comparison-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
}

.comparison-card .icon-wrapper {
    font-size: 4rem;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.05);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-winner {
    position: absolute;
    top: -55px;
    right: -20px;
    background: #00C851;
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 200, 81, 0.3);
    animation: pulse-glow 2s infinite;
}

.comparison-list {
    list-style: none;
    padding: 0;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.comparison-list .icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.comparison-list .text strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
}

.comparison-list .text span {
    color: rgba(254, 242, 237, 0.7);
    font-size: 0.9rem;
}

.comparison-card.ai .comparison-list li .text strong {
    color: var(--ia-light);
}

/* --- Use Cases Section --- */
.aw-ia-usecases {
    padding: 100px 0;
}

.aw-ia-usecases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.usecase-card {
    background: var(--ia-dark);
    border: 1px solid var(--ia-border);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.usecase-card:hover {
    transform: translateY(-5px);
    border-color: var(--ia-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.usecase-card .bg-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 100%, rgba(149, 0, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.usecase-card:hover .bg-glow {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.niche-icon {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.usecase-card h3 {
    font-size: 1.4rem;
    color: var(--ia-light);
    margin: 0;
}

/* Mini Chat UI */
.mini-chat {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 20px;
    height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
}

.mini-chat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, var(--ia-dark), transparent);
    z-index: 2;
}

.bubble-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-bubble {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    max-width: 90%;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(10px);
    animation: popIn 0.3s forwards;
}

.mini-bubble.in {
    background: #202c33;
    color: #fff;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.mini-bubble.out {
    background: var(--ia-primary);
    color: #fff;
    align-self: flex-end;
    border-top-right-radius: 0;
}

/* Stats */
.card-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

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

.stat strong {
    font-size: 1.1rem;
    color: var(--ia-light);
    font-weight: 700;
}

.stat span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.usecase-card p {
    font-size: 0.95rem;
    color: rgba(254, 242, 237, 0.7);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .aw-ia-usecases__grid {
        grid-template-columns: 1fr;
    }
}


/* --- FAQ Section --- */
.aw-ia-faq {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--ia-dark), #100505);
}

.aw-accordion {
    max-width: 800px;
    margin: 60px auto 0;
}

.aw-accordion__item {
    border-bottom: 1px solid var(--ia-border);
    margin-bottom: 16px;
}

.aw-accordion__header {
    padding: 24px 0;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aw-accordion__header::-webkit-details-marker {
    display: none;
}

.aw-accordion__content {
    padding-bottom: 24px;
    color: rgba(254, 242, 237, 0.8);
    line-height: 1.6;
}

/* --- CTA Section --- */
.aw-ia-cta {
    padding: 120px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(149, 0, 255, 0.15) 0%, var(--ia-dark) 70%);
}

.aw-ia-cta h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .aw-ia-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .aw-ia-hero__content h1 {
        font-size: 2.5rem;
    }

    .aw-ia-hero__desc {
        margin: 0 auto 32px;
    }

    .aw-ia-features__grid {
        grid-template-columns: 1fr;
    }

    .aw-ia-social__grid {
        gap: 20px;
    }

    .aw-ia-chat__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .phone-mockup {
        width: 100%;
        max-width: 320px;
        height: 500px;
    }

    .api-flow {
        flex-direction: column;
        gap: 20px;
    }

    .flow-line {
        width: 2px;
        height: 50px;
        max-width: none;
    }

    @keyframes flowRight {
        0% {
            top: 0;
            opacity: 0;
        }

        20% {
            opacity: 1;
        }

        80% {
            opacity: 1;
        }

        100% {
            top: 100%;
            opacity: 0;
        }
    }

    .data-dot {
        top: 0;
        left: -4px;
        /* Centered on the vertical line */
        animation-name: flowDown;
        /* Define a separate animation for mobile if needed, or reuse logic */
    }

    /* Override animation for mobile vertical flow */
    .data-dot {
        animation: flowDown 2s infinite linear;
    }

    @keyframes flowDown {
        0% {
            top: 0;
            opacity: 0;
        }

        20% {
            opacity: 1;
        }

        80% {
            opacity: 1;
        }

        100% {
            top: 100%;
            opacity: 0;
        }
    }

    /* ROI Grid Mobile */
    .aw-ia-roi__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    .aw-ia-comparison__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .badge-winner {
        top: 20px;
        right: 0;
    }

    .aw-ia-usecases__grid {
        grid-template-columns: 1fr;
    }
}