/*
    Theme Name: White Plains Local
    Theme URI: https://whiteplainslocal.com/
    Author: dortiz
    Author URI: https://whiteplainslocal.com/
    Description: White Plains Local Wordpress Theme.
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: whiteplainslocal
*/

:root {
    --primary: #000000;
    --secondary: #3d3d3d;
    --accent: #595959;
    --light: #f4f4f4;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

header {
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.logo-text span {
    font-weight: 300;
    color: var(--accent);
}

.menu {
    display: flex;
    gap: 2.5rem;
}

.menu a {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    color: var(--secondary);
    cursor: pointer;
    padding: 10px 0;
}

.menu a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, var(--gray-100) 0%, var(--white) 70%);
    padding-top: 90px;
    position: relative;
    overflow: hidden;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1.2;
    z-index: 2;
}

.hero-graphic {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -3px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.hero p {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 2.5rem;
    max-width: 550px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

.hero-btns {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
}

.map-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 0.8s;
}

.map-grid {
    stroke: var(--gray-200); stroke-width: 1.5;
}

.map-road {
    stroke: var(--gray-100); stroke-width: 15; stroke-linecap: round;
}

.map-pin { 
    fill: var(--primary); 
    opacity: 0;
    transform-origin: bottom center;
    animation: pinDrop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 1.5s;
}

.pin-shadow {
    fill: rgba(0,0,0,0.1);
    opacity: 0;
    animation: fadeIn 0.4s ease forwards;
    animation-delay: 1.8s;
}

.map-pulse {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    opacity: 0;
    animation: pulseCircle 2s infinite;
    animation-delay: 2.2s;
}

@keyframes pinDrop {
    0% { transform: translateY(-300px) scale(0.5); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes pulseCircle {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

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

.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    border: 2px solid var(--primary);
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.btn:hover { background: transparent; color: var(--primary); }
.btn-outline { background: transparent; color: var(--primary); margin-left: 1rem; }
.btn-outline:hover { background: var(--primary); color: var(--white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    padding: 4rem 3rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--primary);
    background: var(--gray-100);
    transform: translateY(-5px);
    cursor: pointer;
}

.service-card h3 {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--primary);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box svg { fill: var(--white); width: 24px; }

.ai-section {
    background-color: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-content h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.ai-feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ai-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-feature-icon svg {
    width: 20px;
    fill: var(--primary);
}

.ai-feature-text h4 {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.ai-feature-text p {
    font-size: 0.95rem;
    color: var(--accent);
}

.ai-chat-interface {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: #111;
    padding: 1rem;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.chat-header-text { color: #1f1f; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.chat-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-msg {
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.5;
    border-radius: 4px;
    padding: 0.8rem 1.2rem;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
}

.msg-user {
    align-self: flex-end;
    background: #222;
    color: #fff;
    border-bottom-right-radius: 0;
}

.msg-ai {
    align-self: flex-start;
    background: transparent;
    color: #ccc;
    border-left: 2px solid #333;
    padding-left: 1.5rem;
}

.typing-indicator {
    display: flex;
    padding: 1rem;
    gap: 4px;
    opacity: 0;
}

.typing-indicator span {
    width: 4px;
    height: 4px;
    background: #1f1f;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.show-msg {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.market-success-wrapper {
    position: relative;
    margin-top: 4rem;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 2rem;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.35rem);
    padding: 3rem;
    border: 1px solid var(--gray-200);
    background: var(--white);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-author::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--primary);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.nav-btn svg {
    width: 20px;
    fill: currentColor;
}

.faq-section {
    background-color: var(--gray-100);
}

.faq-list {
    max-width: 800px;
    margin: 4rem auto 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem 0;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    padding: 10px 0;
    outline: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    transition: var(--transition);
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: var(--primary);
    transition: var(--transition);
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding-top: 1rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--secondary);
    line-height: 1.6;
}

.nap-section { background: var(--primary); color: var(--white); }
.nap-content { display: flex; align-items: center; justify-content: space-between; gap: 4rem; flex-wrap: wrap; }
.nap-text { flex: 1; min-width: 300px; }
.nap-text h2 { font-size: 3.5rem; margin-bottom: 1.5rem; line-height: 1.1; letter-spacing: -2px; }

.sync-list li {
    margin-bottom: 1.2rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 1px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sync-list li.synced {
    opacity: 1;
    transform: translateX(0);
    color: var(--white);
}

.nap-image { 
    flex: 1; 
    min-width: 300px; 
    height: 450px; 
    background: #111; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 1px solid #333;
    overflow: hidden;
    position: relative;
}

.globe-icon {
    transition: all 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.globe-icon.spinning {
    animation: rotateGlobe 15s linear infinite;
}

@keyframes rotateGlobe {
    from { transform: rotate(0deg) scale(1.1); }
    to { transform: rotate(360deg) scale(1.1); }
}

.contact-flex { display: flex; gap: 4rem; margin-top: 4rem; }

.contact-info { flex: 1; }

.contact-form { flex: 2; }

.form-group { margin-bottom: 1.5rem; }

.form-group label { display: block; margin-bottom: 0.6rem; font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }

input, textarea { width: 100%; padding: 1.2rem; border: 1px solid var(--gray-200); background: var(--gray-100); outline: none; font-size: 1rem; transition: var(--transition); }

input:focus, textarea:focus { border-color: var(--primary); background: var(--white); }

footer {
    padding: 60px 0 50px 0;
    background: var(--white);
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary);
    border-radius: 2px;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.copyright-text {
    font-size: 0.65rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.footer-logo-main {
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .hero-flex { flex-direction: column; text-align: center; }
    .hero-content { order: 2; }
    .hero-graphic { order: 1; width: 100%; margin-bottom: 2rem; }
    .hero p { margin-left: auto; margin-right: auto; }
    .ai-grid { grid-template-columns: 1fr; text-align: center; }
    .ai-feature { flex-direction: column; align-items: center; }
    .btn-outline { margin-left: 0; margin-top: 1rem; display: block; }
    .contact-flex { flex-direction: column; }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .menu { 
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        border-bottom: 1px solid var(--gray-200);
        text-align: center;
        z-index: 1001;
        gap: 1.5rem;
    }

    .menu.active {
        display: flex;
    }

    .mobile-menu-btn { display: flex; }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .nap-text h2 {
        font-size: 2.5rem;
    }
}

#form-message {
    display: none;
    padding: 1.5rem;
    margin-top: 1.5rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}



/* SERVICES */

/* HERO SECTION */

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    z-index: 2;
}

.hero-visual {
    flex: 1.2;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); 
    line-height: 1.1; 
    font-weight: 900;
    margin-bottom: 1.5rem; 
    letter-spacing: -2px; 
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero p {
    font-size: 1.1rem; 
    color: var(--secondary); 
    margin-bottom: 2rem;
    opacity: 0; 
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
    max-width: 550px;
}

/* Hero Graphic Animations - Network Flow */
.infrastructure-svg { 
    width: 100%; 
    max-width: 600px; 
    height: auto; 
    overflow: visible; 
}

.net-line { stroke: #e9ecef; stroke-width: 1.5; }

.net-flow { 
    stroke: #000; 
    stroke-width: 2; 
    stroke-dasharray: 6 150; 
    stroke-linecap: round; 
    animation: flow 2s linear infinite; 
    opacity: 0.8;
}

/* Fixed Node Animation Logic: Apply transform to inner group */
.node-rect { fill: #fff; stroke: #000; stroke-width: 2; transition: all 0.3s ease; }
.node-text { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 800; fill: #000; transition: all 0.3s ease; }

.node-group { cursor: pointer; }
.node-group:hover .node-rect { fill: #000; transform: scale(1.05); transform-origin: center; }
.node-group:hover .node-text { fill: #fff; }
.node-group:hover .node-dot { fill: #fff; }

.node-dot { fill: #000; transition: all 0.3s ease; }

.float-1 { animation: hover-1 5s ease-in-out infinite; }
.float-2 { animation: hover-2 6s ease-in-out infinite; animation-delay: 1s; }
.float-3 { animation: hover-1 7s ease-in-out infinite; animation-delay: 2s; }

.pulse-core {
    transform-origin: center;
    animation: pulse 3s infinite;
}

/* --- KEYFRAMES --- */
@keyframes fadeInUp { 
    to { opacity: 1; transform: translateY(0); } 
}

@keyframes flow { 
    from { stroke-dashoffset: 156; } 
    to { stroke-dashoffset: 0; } 
}

@keyframes hover-1 { 
    0%,100%{transform:translateY(0)} 
    50%{transform:translateY(-10px)} 
}

@keyframes hover-2 { 
    0%,100%{transform:translateY(0)} 
    50%{transform:translateY(10px)} 
}

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

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-text { order: 2; }
    .hero-visual { order: 1; margin-bottom: 3rem; width: 100%; }
    .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
}



/* --- 1. FEATURE SECTION CSS --- */
.feature-section {
    --primary: #000000;
    --secondary: #3d3d3d;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 80px 0;
    font-family: 'Inter', sans-serif;
    color: var(--primary);
    overflow: hidden;
}

.feature-section .container { width: 90%; max-width: 1200px; margin: 0 auto; }
.feature-section .mb-2 { margin-bottom: 2rem; }

.feature-row { display: flex; align-items: center; gap: 4rem; margin-bottom: 6rem; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row:nth-child(even) { flex-direction: row-reverse; }

.feature-content { flex: 1; }
.feature-visual { flex: 1; display: flex; justify-content: center; }
.feature-visual svg { width: 100%; max-width: 400px; height: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1)); }

.feature-content h2 { font-size: 2rem; text-transform: uppercase; font-weight: 900; letter-spacing: -1px; margin-bottom: 1.5rem; margin-top: 0; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; font-weight: 600; color: var(--secondary); font-size: 0.9rem; }
.feature-list li::before { content: ''; width: 6px; height: 6px; background: var(--primary); display: block; }

/* --- 2. ANIMATION CSS --- */
.anim-fade { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }

/* Map Strategy Animation */
.map-search { transform-origin: center top; opacity: 0; transform: scaleX(0.9); }
.map-listing { opacity: 0; transform: translateY(20px); }
.active-view .map-search { animation: searchAppear 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.active-view .map-listing { animation: slideInList 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: var(--delay); }
.active-view .map-listing.winner { animation: slideInList 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards, pulseWinner 2s infinite 1.5s; animation-delay: var(--delay); }

@keyframes searchAppear { to { opacity: 1; transform: scaleX(1); } }
@keyframes slideInList { to { opacity: 1; transform: translateY(0); } }
@keyframes pulseWinner { 0% { transform: scale(1); } 50% { transform: scale(1.02); } 100% { transform: scale(1); } }

/* Reputation & Review Animation */
.review-bubble { transform-origin: center bottom; transform: scale(0); opacity: 0; }
.active-view .pop-1 { animation: popInSpring 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 0.3s; }
.active-view .pop-2 { animation: popInSpring 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 0.7s; }
.active-view .pop-3 { animation: popInSpring 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 1.1s; }
.active-view .bubble-float { animation: gentleFloat 4s ease-in-out infinite; }
.active-view .pop-2 .bubble-float { animation-delay: 1.5s; }
.active-view .pop-3 .bubble-float { animation-delay: 2.5s; }

@keyframes popInSpring { 0% { transform: scale(0) translateY(20px); opacity: 0; } 100% { transform: scale(1) translateY(0); opacity: 1; } }
@keyframes gentleFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Responsive */
@media (max-width: 992px) {
    .feature-row { flex-direction: column !important; text-align: center; gap: 2rem; }
    .feature-list { display: inline-block; text-align: left; }
}

/* --- 1. APPROACH SECTION CSS --- */
#approach {
    --primary: #000000;
    --secondary: #3d3d3d;
    --accent: #595959;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --transition: all 0.3s ease;
    
    background: var(--gray-100);
    padding: 80px 0;
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--primary);
}

#approach .container { width: 90%; max-width: 1200px; margin: 0 auto; }
#approach .text-center { text-align: center; }
#approach * { box-sizing: border-box; }

/* --- 2. PROTOCOL GRID CSS --- */
.protocol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.protocol-card {
    background: var(--white);
    padding: 2.5rem;
    border-top: 4px solid var(--primary);
    position: relative;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.protocol-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 1.5rem;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    opacity: 0.5;
    z-index: 1;
}

.protocol-card h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-right: 2rem;
    position: relative;
    z-index: 2;
}

.protocol-card p {
    font-size: 0.9rem;
    color: var(--secondary);
    line-height: 1.7;
    position: relative;
    z-index: 2;
    margin: 0;
}