/* ==========================================================================
   Digital Ads Redesign Styles (The Performance Catalyst)
   ========================================================================== */

/* Variables / Theme overrides for this section */
:root {
    --da-accent-glow: rgba(0, 0, 0, 0.05);
    --da-accent-color: #0a0a0a; /* Sitenin ana siyah rengi */
    --da-text-slate: #475569;
}

/* Service Detail Wrapper */
.da-page {
    background-color: #ffffff;
    color: var(--color-text-primary);
    overflow: hidden;
    padding-top: 80px; /* Header spacing */
}

.da-section {
    padding: 6rem 0;
    position: relative;
}

/* Section Headers */
.da-section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
}

.da-section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 0.75rem;
}

.da-section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: #0a0a0a;
    letter-spacing: -0.01em;
}

/* ==========================================================================
   1. HERO SECTION & DEVICE MOCKUP
   ========================================================================== */
.da-hero {
    background: radial-gradient(circle at 90% 10%, rgba(0, 0, 0, 0.02) 0%, transparent 60%);
    padding: 6rem 0 8rem;
}

.da-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.da-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f1f3f5;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.da-hero__badge i {
    color: var(--da-accent-color);
}

.da-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: #0a0a0a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.da-hero__title span {
    background: linear-gradient(135deg, #0a0a0a 30%, var(--da-text-slate) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.da-hero__desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    max-width: 580px;
    margin-bottom: 2.5rem;
}

.da-hero__actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.da-hero__btn--primary {
    background: #0a0a0a;
    color: #ffffff;
}

.da-hero__btn--primary:hover {
    background: #27272a;
    transform: translateY(-2px);
}

.da-hero__btn--outline {
    border-color: rgba(0,0,0,0.12);
    color: #0a0a0a;
}

.da-hero__btn--outline:hover {
    background: rgba(0,0,0,0.03);
    transform: translateY(-2px);
}

/* Device Mockup (Laptop Frame) */
.da-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.da-device-mockup {
    width: 100%;
    max-width: 460px;
    perspective: 1000px;
}

.da-device-mockup__screen {
    width: 100%;
    height: 280px;
    background: #0d0d0d;
    border-radius: 16px 16px 0 0;
    border: 8px solid #2d2d2d;
    border-bottom: none;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.da-device-mockup__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.da-device-mockup__base {
    width: 110%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 0 0 12px 12px;
    margin-left: -5%;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.da-device-mockup__base::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: #cbd5e1;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 4px 4px;
}

/* Fallback placeholder styling */
.da-placeholder-card {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: var(--color-text-muted);
}

.da-placeholder-card i {
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.da-placeholder-card span {
    font-size: 0.8rem;
    font-weight: 600;
}

.da-placeholder-card code {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.7rem;
    color: #475569;
    background: rgba(0,0,0,0.05);
    padding: 2px 6px;
    border-radius: 4px;
    word-break: break-all;
}

/* ==========================================================================
   2. WHY US SECTION (BENTO GRID)
   ========================================================================== */
.da-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.da-bento__card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    gap: 1.75rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.01);
    position: relative;
    overflow: hidden;
}

.da-bento__card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.04), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.4s ease;
}

.da-bento__card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

.da-bento__card:hover::before {
    background: linear-gradient(135deg, var(--da-accent-color), transparent 60%);
}

.da-bento__icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #0a0a0a;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

.da-bento__card:hover .da-bento__icon {
    background: #0a0a0a;
    color: #ffffff;
}

.da-bento__info {
    display: flex;
    flex-direction: column;
}

.da-bento__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.65rem;
}

.da-bento__desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

/* ==========================================================================
   3. AD CREATIVE SHOWCASE
   ========================================================================== */
.da-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.da-showcase-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.da-showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
}

.da-showcase-card__visual {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.da-showcase-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.da-showcase-card:hover .da-showcase-card__img {
    transform: scale(1.04);
}

.da-showcase-card__content {
    padding: 2rem;
}

.da-showcase-card__tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.da-showcase-card__title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a0a0a;
}

/* Google Search Mockup layout inside Showcase */
.da-google-search-mockup {
    width: 85%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    text-align: left;
}

.da-google-search-url {
    font-size: 0.72rem;
    color: #202124;
    display: block;
    margin-bottom: 0.25rem;
}

.da-google-search-title {
    font-size: 1rem;
    color: #1a0dab;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.da-google-search-desc {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #4d5156;
    margin: 0;
}

.da-google-search-desc strong {
    color: #202124;
}

/* ==========================================================================
   4. PLATFORM TABS
   ========================================================================== */
.da-tabs__nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.da-tabs__btn {
    padding: 0.85rem 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.da-tabs__btn:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.da-tabs__btn.is-active {
    background: #0a0a0a;
    color: #ffffff;
    border-color: #0a0a0a;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.da-tabs__btn.is-active i {
    color: #ffffff !important;
}

.da-tabs__content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.da-tabs__content.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.da-platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.da-platform-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.da-platform-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, 0.1);
}

.da-platform-card__icon {
    font-size: 1.4rem;
    color: #0a0a0a;
    margin-bottom: 1.5rem;
}

.da-platform-card__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.da-platform-card__desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

/* ==========================================================================
   5. SSS / FAQ SECTION
   ========================================================================== */
.da-faq__container {
    max-width: 800px;
    margin: 0 auto;
}

.da-faq__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.da-faq__item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: #0a0a0a;
    list-style: none;
}

.da-faq__item summary::-webkit-details-marker {
    display: none;
}

.da-faq__arrow {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.da-faq__item[open] .da-faq__arrow {
    transform: rotate(180deg);
}

.da-faq__answer {
    padding: 0 0 1.75rem;
}

.da-faq__answer p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin: 0;
}

/* ==========================================================================
   6. PREMIUM FREE AUDIT CTA
   ========================================================================== */
.da-cta__wrapper {
    background: #0a0a0a;
    border-radius: 32px;
    padding: 5rem 4rem;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.da-cta__glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.da-cta__content {
    position: relative;
    z-index: 2;
}

.da-cta__tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-bottom: 1rem;
}

.da-cta__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.da-cta__desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.da-cta__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.da-cta__list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
}

.da-cta__list li i {
    color: #ffffff;
}

.da-cta__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.da-cta__btn--primary {
    background: #ffffff;
    color: #0a0a0a;
}

.da-cta__btn--primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.da-cta__btn--outline {
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.da-cta__btn--outline:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Floating Mock graphics inside CTA */
.da-cta__visual {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.da-cta__float {
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.da-cta__float--1 {
    top: 15px;
    right: 130px;
    transform: rotate(-3deg);
    z-index: 3;
}

.da-cta__float--1:hover {
    transform: rotate(-1deg) translateY(-5px);
}

.da-cta__float--2 {
    top: 135px;
    right: 60px;
    transform: rotate(4deg);
    z-index: 2;
}

.da-cta__float--2:hover {
    transform: rotate(2deg) translateY(-5px);
}

/* Mock Card layouts */
.da-cta__mock {
    width: 220px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 1rem;
    color: #0a0a0a;
    text-align: left;
}

.da-cta__mock-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.da-cta__mock-title i {
    font-size: 0.85rem;
}

.da-cta__mock-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.da-cta__mock-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.da-cta__mock-stat strong {
    font-size: 0.95rem;
    font-weight: 700;
}

.da-cta__mock-stat span {
    font-size: 0.68rem;
    color: #666;
}

.da-cta__mock-metric {
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.da-cta__mock-metric:last-child {
    margin-bottom: 0;
}

.da-cta__mock-metric span:last-child {
    font-size: 0.68rem;
    color: #666;
}

.da-cta__progress-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 100px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.da-cta__progress-bar span {
    display: block;
    height: 100%;
    background: #0a0a0a;
    border-radius: 100px;
    transition: width 0.3s ease;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 991px) {
    .da-hero__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .da-hero__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .da-hero__actions {
        justify-content: center;
    }

    .da-hero__visual {
        min-height: 300px;
    }

    .da-device-mockup {
        margin-left: auto;
        margin-right: auto;
    }

    .da-bento {
        grid-template-columns: 1fr;
    }

    .da-showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .da-platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .da-cta__wrapper {
        grid-template-columns: 1fr;
        padding: 4rem 2.5rem;
        text-align: center;
        gap: 3rem;
    }

    .da-cta__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .da-cta__list {
        align-items: center;
    }

    .da-cta__actions {
        justify-content: center;
    }

    .da-cta__visual {
        min-height: 240px;
    }

    .da-cta__float--1 {
        right: 140px;
    }

    .da-cta__float--2 {
        right: 40px;
    }
}

@media (max-width: 576px) {
    .da-platforms-grid {
        grid-template-columns: 1fr;
    }

    .da-cta__float {
        position: static;
        transform: none !important;
        margin-bottom: 1rem;
    }

    .da-cta__visual {
        flex-direction: column;
        min-height: auto;
        gap: 1rem;
    }
}
