/* ========================================
   Version C / Final: Color Scheme Override
   Match the WashMinder octopus logo
   ======================================== */
:root {
    --accent: #3AE35A;
    --accent-hover: #2FCC4E;
    --accent-dark: #28B445;
    --border-hover: rgba(58, 227, 90, 0.2);
    --shadow-glow: 0 0 30px rgba(58, 227, 90, 0.08);
    --color-blue: #4A9FE5;
    --color-blue-light: #7BC4F5;
}

/* ========================================
   Version C: Bento Overview + Detail Sections
   ======================================== */

/* Feature detail sections (below bento grid) */
.feature-detail {
    position: relative;
    padding: 80px 0;
    background: var(--bg-primary);
}

.feature-detail:nth-child(even) {
    background: var(--bg-secondary);
}

.feature-detail-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.feature-detail:nth-child(even) .feature-detail-inner {
    direction: rtl;
}

.feature-detail:nth-child(even) .feature-detail-inner > * {
    direction: ltr;
}

.feature-detail-text {
    display: flex;
    flex-direction: column;
}

.feature-detail-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(58, 227, 90, 0.1);
    border: 1px solid rgba(58, 227, 90, 0.15);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
}

.feature-detail-text h3 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.feature-detail-text .detail-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.detail-bullets {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.detail-bullets li svg {
    flex-shrink: 0;
}

.feature-detail-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-detail-img img:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

/* ========================================
   Animated Dashboard Mockup Cards
   ======================================== */
.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dash-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.dash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.dash-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.dash-card-subtitle {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.dash-time-badge {
    font-size: 0.6rem;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(58, 227, 90, 0.1);
    border: 1px solid rgba(58, 227, 90, 0.15);
    color: var(--accent);
    font-weight: 600;
}

/* ---- Chemical Usage Card ---- */
.chem-bay-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.chem-bay-tab {
    font-size: 0.55rem;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
}

.chem-bay-tab.active {
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 600;
}

.chem-table { width: 100%; font-size: 0.6rem; }

.chem-table-header {
    display: grid;
    grid-template-columns: 70px 1fr 1fr 1fr 1fr;
    gap: 4px;
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.5rem;
    letter-spacing: 0.3px;
}

.chem-table-row {
    display: grid;
    grid-template-columns: 70px 1fr 1fr 1fr 1fr;
    gap: 4px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    color: var(--text-secondary);
    font-size: 0.6rem;
}

@keyframes chemRowFade {
    0%, 100% { opacity: 0.5; }
    30%, 70% { opacity: 1; }
}

.chem-table-row { animation: chemRowFade 4s ease-in-out infinite; }
.chem-table-row:nth-child(2) { animation-delay: 0.3s; }
.chem-table-row:nth-child(3) { animation-delay: 0.6s; }
.chem-table-row:nth-child(4) { animation-delay: 0.9s; }
.chem-table-row:nth-child(5) { animation-delay: 1.2s; }

.chem-val-good { color: #4CAF50; font-weight: 600; }
.chem-val-warn { color: #FFC107; font-weight: 600; }
.chem-val-bad { color: #FF4D4D; font-weight: 600; }
.chem-name { color: var(--text-primary); font-weight: 600; }

/* ---- Features Pitch Section ---- */
.features-pitch {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pitch-questions {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    opacity: 0.85;
}

.pitch-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(186, 255, 48, 0.2));
    border-radius: 2px;
    margin: 24px auto;
}

.pitch-answers {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.8;
    font-weight: 500;
}

.pitch-tagline {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
    margin-top: 20px;
}

/* ---- Animated Screenshot Zoom/Pan ---- */
.animated-screenshot {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.animated-screenshot:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.animated-screenshot img {
    width: 100%;
    display: block;
    border-radius: 0;
    border: none;
    box-shadow: none;
    animation: screenshotZoomPan 18s ease-in-out infinite;
    transform-origin: center center;
}

.animated-screenshot img:hover {
    transform: none;
    box-shadow: none;
}

@keyframes screenshotZoomPan {
    0% {
        transform: scale(1) translate(0, 0);
    }
    20% {
        transform: scale(2.5) translate(0%, 22%);
    }
    50% {
        transform: scale(2.5) translate(0%, 22%);
    }
    70% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

/* Divider between bento and detail sections */
.features-detail-header {
    padding: 80px 0 40px;
    background: var(--bg-primary);
    position: relative;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-detail-text h3 {
        font-size: 1.4rem;
    }

    .feature-detail-inner {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .feature-detail {
        padding: 60px 0;
    }

    .feature-detail-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .feature-detail:nth-child(even) .feature-detail-inner {
        direction: ltr;
    }

    .feature-detail-img {
        order: -1;
    }

    .feature-detail-text h3 {
        font-size: 1.3rem;
    }
}
