/* ============================================
   SERVICES PAGE - Ajans Premium Design
   BEM Class Names matching hizmetler.php
   ============================================ */

/* ============================================
   SHARED: PAGE HERO
   ============================================ */
.page-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.page-hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.page-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
}

.page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.page-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 24px;
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    display: inline-block;
}

.page-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.page-hero__desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 550px;
}

/* ============================================
   SHARED: SECTION TAG & TEXT GRADIENT
   ============================================ */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-tag__dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    display: inline-block;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-list {
    padding: 80px 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ============================================
   SERVICE CARD (BEM)
   ============================================ */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-button);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card--featured {
    border-color: rgba(0, 102, 255, 0.2);
}

.service-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.service-card__num {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
    font-family: monospace;
}

.service-card__badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    background: var(--accent-muted);
    color: var(--accent);
}

.service-card__content {
    flex: 1;
}

.service-card__content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card__short {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.service-card__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Service Card Features List */
.service-card__features {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.service-card__features li svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Service Card Footer */
.service-card__footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s var(--ease);
}

.service-card__cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease);
}

.service-card__cta:hover {
    color: var(--accent);
}

.service-card__cta:hover svg {
    transform: translate(3px, -3px);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.services-process {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.process-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.process-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 102, 255, 0.08) 0%, transparent 60%);
}

.services-process .container > .process-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.services-process h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.services-process p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.process-step {
    position: relative;
    text-align: center;
}

.process-step__num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 102, 255, 0.15);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.process-step__content {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    padding: 24px;
    transition: all 0.3s var(--ease);
}

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

.process-step__content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step__content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-step__line {
    display: none;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.services-pricing {
    padding: 100px 0;
    background: var(--bg-primary);
}

.services-pricing .pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-pricing h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.services-pricing p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 32px;
    position: relative;
    transition: all 0.4s var(--ease);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 255, 0.3);
}

.pricing-card--popular {
    border-color: var(--accent);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pricing-card__header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.pricing-card__header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-card__header p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.price-period {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.price-custom {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.pricing-card__features li svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.pricing-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease);
}

.pricing-card__cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease);
}

.pricing-card__cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.pricing-card__cta:hover svg {
    transform: translate(3px, -3px);
}

.pricing-card--popular .pricing-card__cta {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.services-faq {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    transition: border-color 0.3s var(--ease);
}

.faq-item:hover {
    border-color: rgba(0, 102, 255, 0.3);
}

.faq-item--active {
    border-color: var(--accent);
}

.faq-item__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}

.faq-item__question {
    font-size: 1rem;
    font-weight: 600;
}

.faq-item__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}

.faq-item__icon svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease);
}

.faq-item--active .faq-item__icon {
    background: var(--accent);
    border-color: var(--accent);
}

.faq-item--active .faq-item__icon svg {
    transform: rotate(45deg);
    color: var(--bg-primary);
}

.faq-item__content {
    display: none;
    padding: 0 24px 20px;
}

.faq-item__content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 24px;
    }
}
