/* ================================================
   SERVICE PAGE STYLES
   Following /goodweb principles & 8-point grid
   ================================================ */

/* ===== Service Hero ===== */
.service-hero {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: stretch;
    padding-top: var(--nav-height);
    background-color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.service-hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 100%;
    width: 100%;
    padding-top: 8vh;
    padding-bottom: 8vh;
}

.service-hero__eyebrow {
    display: inline-block;
    padding: var(--space-8) var(--space-24);
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-24);
    opacity: 0;
    animation: fadeInUp 600ms ease forwards;
    animation-delay: 1125ms;
}

.service-hero__title {
    font-size: var(--text-4xl);
    margin: 0;
    color: var(--color-secondary);
}

.service-hero__description {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: #1a1a1a;
    max-width: 65ch;
    margin: 0 auto;
}

.service-hero__actions {
    display: flex;
    justify-content: center;
    gap: var(--space-16);
    margin: 0;
    position: relative;
    z-index: 3;
}

/* Fade in animation for hero content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Why Choose Section ===== */
.why-choose {
    padding: var(--space-96) 0;
    background-color: var(--color-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-32);
}

/* Mobile horizontal scroll for features */
@media (max-width: 768px) {
    .features-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: var(--space-16);
        padding: var(--space-8) var(--space-16) var(--space-32);
        touch-action: pan-x;
        margin-bottom: var(--space-32);
    }

    .feature-card {
        flex: 0 0 85vw;
        scroll-snap-align: center;
    }

    /* Add dots container after features grid */
    .features-grid-wrapper {
        position: relative;
    }

    .features-dots {
        display: flex;
        justify-content: center;
        gap: var(--space-8);
        padding: var(--space-16) 0;
    }

    .features-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all var(--transition-fast);
    }

    .features-dot.active {
        background: var(--color-accent);
        transform: scale(1.3);
    }
}

/* Desktop - hide dots */
.features-dots {
    display: none;
}

@media (max-width: 768px) {
    .features-dots {
        display: flex;
    }
}

.feature-card {
    padding: var(--space-32);
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    border: 2px solid var(--color-gray-light);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    width: var(--space-40);
    height: var(--space-40);
    color: var(--color-accent);
    margin-bottom: var(--space-16);
}

.feature-card__icon svg {
    width: 100%;
    height: 100%;
}

.feature-card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-16);
    color: var(--color-secondary);
}

.feature-card__text {
    color: var(--color-gray);
    line-height: var(--leading-relaxed);
}

/* ===== Service Process ===== */
.service-process {
    padding: var(--space-96) 0;
    background-color: var(--color-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-32);
    max-width: 1200px;
    margin: 0 auto;
}

.process-step-card {
    padding: var(--space-32);
    background-color: var(--color-primary);
    border-radius: var(--radius-md);
    border: 2px solid var(--color-gray-light);
    transition: all var(--transition-base);
}

.process-step-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.process-step-card__number {
    width: var(--space-48);
    height: var(--space-48);
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-16);
}

.process-step-card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-16);
    color: var(--color-secondary);
}

.process-step-card__text {
    color: var(--color-gray);
    line-height: var(--leading-relaxed);
}

/* ===== Specialties Section ===== */
.specialties {
    padding: var(--space-96) 0;
    background-color: var(--color-primary);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-24);
    max-width: 900px;
    margin: 0 auto;
}

.specialty-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-16);
    padding: var(--space-24);
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    border: 2px solid var(--color-gray-light);
    transition: all var(--transition-base);
}

.specialty-item:hover {
    border-color: var(--color-accent);
    transform: translateX(4px);
}

.specialty-item svg {
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 2px;
}

.specialty-item span {
    font-size: var(--text-lg);
    color: var(--color-secondary);
    line-height: var(--leading-relaxed);
}

/* ===== Team Quote Section ===== */
.team-quote {
    padding: var(--space-96) 0;
    background-color: var(--color-primary);
}

.team-quote__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-64);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.team-quote__content {
    text-align: left;
}

.team-quote__title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-32);
    color: var(--color-secondary);
    line-height: 1.2;
}

.team-quote__text {
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
    color: var(--color-gray);
    margin-bottom: var(--space-24);
}

.team-quote__highlight {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-secondary);
}

.team-quote__link {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--color-accent);
    transition: all var(--transition-fast);
}

.team-quote__link:hover {
    color: var(--color-secondary);
    border-bottom-color: var(--color-secondary);
}

.team-quote__image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    height: 350px;
}

.team-quote__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    object-fit: cover;
    object-position: top;
    transition: transform 3s ease-in-out;
    transform: translateY(0);
}

.team-quote__image:hover img {
    transform: translateY(calc(-100% + 350px));
}

/* ===== Service CTA Section ===== */
.service-cta {
    padding: var(--space-96) 0;
    background: linear-gradient(135deg,
        var(--color-secondary) 0%,
        #2a3544 100%);
    text-align: center;
}

.service-cta__title {
    font-size: var(--text-4xl);
    color: var(--color-white);
    margin-bottom: var(--space-24);
}

.service-cta__text {
    font-size: var(--text-xl);
    color: rgba(255,255,255,0.9);
    max-width: 65ch;
    margin: 0 auto var(--space-40);
    line-height: var(--leading-relaxed);
}

/* ===== Consultancy Message Demo ===== */
.message-demo {
    position: relative;
    width: 90%;
    max-width: 400px;
    z-index: 10;
    margin: 2% auto;
    padding: 2%;
}

.consultancy-cta-button {
    position: relative;
    z-index: 11;
    text-align: center;
}

.message-demo__phone {
    background: #1a1a1a;
    border-radius: 30px;
    padding: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.message-demo__screen {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    min-height: 300px;
}

.message-demo__header {
    background: #f9f9f9;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
}

.message-demo__contact {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.message-demo__messages {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 250px;
    position: relative;
}

.message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(10px);
    text-align: left;
}

.message-bubble p {
    margin: 0;
    text-align: left;
}

.message-bubble--typing-client {
    background: #e5e5ea;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    padding: 12px 20px;
    opacity: 0;
    position: absolute;
    animation: showTyping 1.5s ease forwards;
    animation-delay: 0.5s;
}

.message-bubble--client {
    background: #e5e5ea;
    color: #1a1a1a;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    opacity: 0;
    animation: fadeInMessage 0.4s ease forwards;
    animation-delay: 2s;
}

.message-bubble--typing-nick {
    background: #00AEEF;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    padding: 12px 20px;
    opacity: 0;
    animation: showTyping 1.5s ease forwards;
    animation-delay: 3.5s;
}

.message-bubble--nick {
    background: #00AEEF;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    opacity: 0;
    margin-top: -32px;
    animation: fadeInMessage 0.4s ease forwards;
    animation-delay: 5s;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #8e8e93;
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.typing-indicator--nick span {
    background: #ffffff;
}

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

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

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

@keyframes showTyping {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    20% {
        opacity: 1;
        transform: translateY(0);
    }
    80% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .service-hero {
        min-height: 100vh;
        padding-top: var(--nav-height);
        padding-bottom: var(--space-48);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-hero--web-design {
        min-height: 70vh !important;
    }

    .service-hero--wordpress {
        min-height: 60vh !important;
    }

    .service-hero--shopify {
        min-height: 60vh !important;
    }

    .service-hero--consultancy {
        min-height: 100vh;
    }

    .service-hero--consultancy .service-hero__content {
        order: 1;
    }

    .service-hero--consultancy .message-demo {
        order: 2;
    }

    .service-hero--consultancy .consultancy-cta-button {
        order: 3;
    }

    .why-choose,
    .service-process,
    .specialties,
    .team-quote,
    .service-cta {
        padding: var(--space-48) 0;
    }

    .features-grid,
    .process-steps,
    .specialties-grid {
        gap: var(--space-24);
    }

    .service-hero__content {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        gap: var(--space-24);
    }

    .service-hero__title {
        font-size: var(--text-4xl);
    }

    .service-hero__description {
        font-size: var(--text-lg);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        display: flex;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: var(--space-16);
        padding: var(--space-8) var(--space-16) var(--space-32);
        touch-action: pan-x;
        margin-bottom: var(--space-32);
    }

    .process-step-card {
        flex: 0 0 85vw;
        scroll-snap-align: center;
    }

    /* Process dots */
    .process-dots {
        display: flex;
        justify-content: center;
        gap: var(--space-8);
        padding: var(--space-16) 0;
    }

    .process-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all var(--transition-fast);
    }

    .process-dot.active {
        background: var(--color-accent);
        transform: scale(1.3);
    }
}

    .specialties-grid {
        grid-template-columns: 1fr;
    }

    .team-quote__grid {
        grid-template-columns: 1fr;
        gap: var(--space-48);
    }

    .team-quote__title {
        font-size: var(--text-3xl);
    }

    .service-cta__title {
        font-size: var(--text-3xl);
    }
}

/* ===== WordPress Page Waves ===== */
.service-hero--wordpress {
    position: relative;
    overflow: hidden;
}

.service-hero__waves {
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 200px;
    z-index: 0;
    pointer-events: none;
}

.wave {
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.wave-1 {
    animation: wave-animation-1 12s infinite;
}

.wave-2 {
    animation: wave-animation-2 15s infinite;
}

.wave-3 {
    animation: wave-animation-3 18s infinite;
}

@keyframes wave-animation-1 {
    0%, 100% {
        transform: translateX(0%) translateZ(0) scaleY(1);
    }
    50% {
        transform: translateX(-25%) translateZ(0) scaleY(0.95);
    }
}

@keyframes wave-animation-2 {
    0%, 100% {
        transform: translateX(0%) translateZ(0) scaleY(1);
    }
    50% {
        transform: translateX(-15%) translateZ(0) scaleY(1.1);
    }
}

@keyframes wave-animation-3 {
    0%, 100% {
        transform: translateX(0%) translateZ(0) scaleY(1);
    }
    50% {
        transform: translateX(-20%) translateZ(0) scaleY(1.05);
    }
}

/* ===== Web Design, WordPress, Shopify - Compact spacing ===== */
.service-hero--web-design .service-hero__content,
.service-hero--wordpress .service-hero__content,
.service-hero--shopify .service-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-40);
    padding-top: 5vh;
    padding-bottom: 5vh;
}

/* ===== Consultancy - Vertical layout with animation ===== */
.service-hero--consultancy {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.service-hero--consultancy .service-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-40);
    padding-top: 5vh;
    padding-bottom: 0;
}

/* ===== Shopify Product Dock ===== */
.service-hero--shopify {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 75vh;
}

.service-hero--shopify .service-hero__content {
    padding-top: 5vh;
    flex: 0 0 auto;
}

.product-dock {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: visible;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 10;
}

.product-dock__track {
    display: flex;
    gap: 16px;
    animation: scroll-products 40s linear infinite;
    padding: 0 20px;
}

.product-dock__track:hover {
    animation-play-state: paused;
}

.product-dock__item {
    flex-shrink: 0;
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom center;
}

.product-dock__image {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid #f0f0f0;
}

.product-dock__label {
    font-size: 10px;
    color: var(--color-secondary);
    margin-top: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    display: none;
}

/* Mac OS Dock Magnification Effect */
.product-dock__item:hover {
    transform: scale(1.5) translateY(-10px) !important;
}

.product-dock__item:hover .product-dock__image {
    box-shadow: 0 8px 24px rgba(0,174,239,0.3);
}

.product-dock__item:hover .product-dock__label {
    opacity: 1;
}

/* Neighboring items scale effect */
.product-dock__item:hover + .product-dock__item,
.product-dock__item:has(+ .product-dock__item:hover) {
    transform: scale(1.25) translateY(-5px);
}

.product-dock__item:hover + .product-dock__item + .product-dock__item,
.product-dock__item:has(+ .product-dock__item + .product-dock__item:hover) {
    transform: scale(1.1) translateY(-2px);
}

@keyframes scroll-products {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 3));
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .product-dock {
        height: 100px;
        bottom: 10px;
    }

    .product-dock__item {
        width: 70px;
    }

    .product-dock__image {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }

    .product-dock__item:hover {
        transform: scale(1.3) translateY(-8px);
    }
}

/* ===== SEO Search Demo ===== */
.service-hero--seo {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 100vh;
    padding: 5vh 0;
}

.service-hero--seo .service-hero__content {
    display: contents;
}

.service-hero--seo .service-hero__title {
    margin-bottom: var(--space-8);
}

.service-hero--seo .service-hero__description {
    margin-bottom: 0;
}

.service-hero--seo .service-hero__description {
    margin: 0;
}

.service-hero--seo .service-hero__actions {
    margin: 0;
}

.search-demo {
    position: relative;
    width: 90%;
    max-width: 600px;
    z-index: 10;
    margin: 2%;
    padding: 2%;
}

.seo-cta-button {
    position: relative;
    z-index: 11;
    text-align: center;
}

.search-demo__bar {
    background: white;
    border-radius: 24px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    min-height: 48px;
}

.search-demo__icon {
    flex-shrink: 0;
}

.search-demo__query {
    font-size: 16px;
    color: #202124;
    font-family: var(--font-sans);
    flex: 1;
}

.search-demo__cursor {
    color: #4285f4;
    animation: blink 1s infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.search-demo__results {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 12px 12px 24px 12px;
    min-height: 120px;
    overflow: hidden;
    position: relative;
}

.search-demo__result {
    padding: 8px;
    padding-left: 40px;
    opacity: 0;
    transform: translateY(20px);
    position: absolute;
    width: calc(100% - 24px);
    filter: blur(4px);
    transition: all 0.3s ease;
    text-align: left;
}

.search-demo__result.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    position: relative;
}

.search-demo__result.scrolling {
    animation: scroll-result 0.4s ease-out;
}

@keyframes scroll-result {
    0% {
        transform: translateY(60px);
        opacity: 0;
        filter: blur(8px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
        filter: blur(4px);
    }
}

.search-demo__rank {
    position: absolute;
    left: 8px;
    top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #5f6368;
    min-width: 24px;
}

.search-demo__result--winner .search-demo__rank {
    color: #00AEEF;
    font-size: 14px;
}

.search-demo__title {
    font-size: 14px;
    color: #1a0dab;
    margin-bottom: 2px;
    font-weight: 400;
    cursor: pointer;
}

.search-demo__result--winner .search-demo__title {
    font-weight: 600;
    color: #00AEEF;
}

.search-demo__url {
    font-size: 12px;
    color: #006621;
    margin-bottom: 2px;
}

.search-demo__snippet {
    font-size: 12px;
    color: #4d5156;
    line-height: 1.4;
    display: none;
}

.search-demo__result.active .search-demo__snippet {
    display: block;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .search-demo {
        width: 95%;
        bottom: 15px;
    }

    .search-demo__bar {
        padding: 10px 16px;
        min-height: 44px;
    }

    .search-demo__query {
        font-size: 14px;
    }

    .search-demo__title {
        font-size: 13px;
    }

    .search-demo__results {
        min-height: 80px;
        padding: 8px 8px 16px 8px;
    }

    .search-demo__snippet {
        font-size: 11px;
        line-height: 1.3;
    }
}

/* ===== PPC Platform Icons ===== */
.platform-icons {
    display: flex;
    justify-content: center;
    gap: var(--space-48);
    margin: var(--space-32) 0 var(--space-40);
}

.platform-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-12);
    animation: platformPulse 3s ease-in-out infinite;
}

.platform-icon[data-platform="google"] {
    animation-delay: 0s;
}

.platform-icon[data-platform="meta"] {
    animation-delay: 1s;
}

.platform-icon[data-platform="linkedin"] {
    animation-delay: 2s;
}

.platform-icon svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform var(--transition-base);
}

.platform-icon:hover svg {
    transform: scale(1.1);
}

.platform-icon span {
    display: none;
}

@keyframes platformPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

/* ===== PPC Dashboard Metrics ===== */
/* ===== PPC Dashboard ===== */
.service-hero--ppc {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 90vh;
    padding: 5vh 0;
}

.service-hero--ppc .container {
    display: contents;
}

.service-hero--ppc .service-hero__title {
    font-size: var(--text-3xl);
    margin: 0;
}

.service-hero--ppc .service-hero__description {
    font-size: var(--text-base);
    max-width: 750px;
    margin: 0;
}

.ppc-dashboard {
    display: flex;
    justify-content: center;
    gap: var(--space-16);
    width: 100%;
    max-width: 750px;
}

.dashboard-metric {
    flex: 1;
    max-width: 220px;
    text-align: center;
    position: relative;
    padding: var(--space-24) var(--space-16);
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.03) 0%, rgba(0, 174, 239, 0.08) 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 174, 239, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.metric-label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-grey-600);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-8);
}

.metric-value {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--space-12);
    font-variant-numeric: tabular-nums;
    position: relative;
    z-index: 1;
}

.metric-chart {
    height: 60px;
    opacity: 1;
    margin-top: var(--space-8);
    position: relative;
    width: 100%;
    z-index: 1;
}

.metric-chart svg {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.chart-area {
    opacity: 0.3;
}

.chart-line-animated {
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
}

.dashboard-metric:nth-child(1) .chart-line-animated {
    animation-duration: 1.5s;
}

.dashboard-metric:nth-child(2) .chart-line-animated {
    animation-duration: 1.8s;
}

.dashboard-metric:nth-child(3) .chart-line-animated {
    animation-duration: 1.6s;
}

@keyframes dashAnimation {
    to {
        stroke-dashoffset: -16;
    }
}

@media (max-width: 768px) {
    .platform-icons {
        gap: var(--space-32);
    }

    .platform-icon svg {
        width: 36px;
        height: 36px;
    }

    .ppc-dashboard {
        flex-direction: column;
        gap: var(--space-16);
        justify-content: center;
    }

    .dashboard-metric {
        max-width: 100%;
        padding: var(--space-24);
    }

    /* Hide CVR and CPA on mobile, show only ROAS */
    .dashboard-metric:nth-child(2),
    .dashboard-metric:nth-child(3) {
        display: none;
    }

    .dashboard-metric:first-child {
        max-width: 85vw;
        margin: 0 auto;
    }

    .metric-chart {
        height: 60px;
    }
}

@media (max-width: 375px) {
    .service-hero__title {
        font-size: var(--text-3xl);
    }

    .team-quote__title {
        font-size: var(--text-2xl);
    }

    .service-cta__title {
        font-size: var(--text-2xl);
    }
}