/* ============================================
   SERVICES PAGE - ENHANCED DESIGN
   Professional, Value-Focused, Conversion-Optimized
   ============================================ */

/* === BASE STYLES === */
.services-page {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.services-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === HERO SECTION === */
.services-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #8B5CF6, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* === COMPETITION BANNER === */
.services-banner {
    margin-bottom: 4rem;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(245, 158, 11, 0.1));
    border: 2px solid var(--border-primary);
    border-radius: 16px;
    flex-wrap: wrap;
}

.banner-icon {
    font-size: 2rem;
    filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.3));
}

.banner-text {
    flex: 1;
    min-width: 300px;
}

.banner-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.banner-text p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.banner-cta {
    padding: 0.75rem 1.5rem;
    background: #F59E0B;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.banner-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
}

/* === FEATURED SERVICE === */
.featured-service {
    margin-bottom: 6rem;
    margin-top: 4rem;
    position: relative;
    padding-top: 1.5rem;
}

.featured-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #F59E0B;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    z-index: 10;
}

.featured-content {
    background: var(--bg-secondary);
    border: 2px solid #F59E0B;
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
}

.featured-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.3));
}

.featured-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.featured-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.featured-meta {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.meta-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.investment-premium {
    color: #F59E0B;
}

.complexity-dots {
    display: flex;
    gap: 0.25rem;
}

.complexity-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-primary);
}

.complexity-dots .dot.filled {
    background: #F59E0B;
    border-color: #F59E0B;
}

.featured-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === ALL SERVICES GRID === */
.all-services {
    margin-bottom: 6rem;
}

.all-services .section-title,
.my-process .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #8B5CF6, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 2rem;
    display: block;
    width: 100%;
}

.all-services .section-title::after,
.my-process .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(139, 92, 246, 0) 0%, 
        rgba(139, 92, 246, 1) 20%, 
        rgba(245, 158, 11, 1) 80%, 
        rgba(245, 158, 11, 0) 100%
    );
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* === SERVICE CARDS === */
.service-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.service-card.popular {
    border-color: #F59E0B;
}

.card-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: #F59E0B;
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(139, 92, 246, 0.3));
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.card-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Card Meta */
.card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-primary);
    align-items: center;
    text-align: center;
}

.card-meta .complexity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin: 0;
}

.card-meta .label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

.card-meta .dots {
    display: flex;
    gap: 0.25rem;
}

.card-meta .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-primary);
}

.card-meta .dot.filled {
    background: #8B5CF6;
    border-color: #8B5CF6;
}

.card-meta .investment {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.badge-premium {
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
    border: 1px solid #F59E0B;
}

.badge-standard {
    background: rgba(139, 92, 246, 0.2);
    color: #8B5CF6;
    border: 1px solid #8B5CF6;
}

.badge-budget {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid #10B981;
}

.card-meta .timeline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.card-meta .timeline::before {
    content: none;
}

.card-meta .icon {
    font-size: 1.125rem;
    line-height: 1;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.card-meta .text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

/* Card Details */
.card-details {
    flex: 1;
    margin-bottom: 1.5rem;
}

.card-details h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.card-details li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.375rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.card-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #F59E0B;
    font-weight: 700;
}

.example-project {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.75rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
}

.example-project .label {
    font-weight: 700;
    color: var(--text-primary);
}

.example-project a {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 600;
}

.example-project a:hover {
    text-decoration: underline;
}

/* Card CTAs */
.card-ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #8B5CF6;
    border: 2px solid #8B5CF6;
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-3px);
}

/* === PRICING NOTE === */
.pricing-note {
    margin-bottom: 6rem;
}

.note-content {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-left: 4px solid #F59E0B;
    border-radius: 12px;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.note-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.note-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.note-disclaimer {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* === WHY CHOOSE ME === */
.why-choose {
    margin-bottom: 6rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.why-item {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.why-item:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(139, 92, 246, 0.3));
}

.why-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.why-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === MY PROCESS === */
.my-process {
    margin-bottom: 6rem;
}

.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: 3rem auto 0;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #8B5CF6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(139, 92, 246, 0.3));
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-connector {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, #8B5CF6, #F59E0B);
    margin-top: 50px;
}

/* === TECH STACK === */
.tech-stack {
    margin-bottom: 6rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.tech-category {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: 16px;
    padding: 2rem;
}

.category-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tech-item {
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8B5CF6;
    color: #8B5CF6;
    transform: translateY(-2px);
}

/* === FINAL CTA === */
.final-cta {
    margin-bottom: 4rem;
}

.final-cta .cta-content {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(245, 158, 11, 0.1));
    border: 2px solid #8B5CF6;
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    color: #F59E0B;
    font-weight: 700;
    font-size: 1.25rem;
}

.feature-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.final-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-location {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === RESPONSIVE === */

/* Tablet (1024px - 1199px) */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (max-width: 1023px) {
    .services-page {
        padding: 3rem 0;
    }
    
    .services-page .container {
        padding: 0 1.5rem;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .featured-content {
        padding: 2rem;
    }
    
    .featured-meta {
        gap: 2rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 3rem;
    }
    
    .process-connector {
        display: none;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .services-page {
        padding: 2rem 0;
    }
    
    .services-page .container {
        padding: 0 1rem;
    }
    
    .services-hero {
        margin-bottom: 3rem;
    }
    
    .services-banner {
        margin-bottom: 3rem;
    }
    
    .banner-content {
        padding: 1.5rem;
    }
    
    .featured-service {
        margin-bottom: 4rem;
    }
    
    .featured-content {
        padding: 2rem 1.5rem;
    }
    
    .featured-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .featured-ctas {
        flex-direction: column;
    }
    
    .featured-ctas .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .card-ctas {
        flex-direction: column;
    }
    
    .card-ctas .btn {
        width: 100%;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .final-cta .cta-content {
        padding: 3rem 2rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .final-cta .cta-buttons {
        flex-direction: column;
    }
    
    .final-cta .btn {
        width: 100%;
    }
}

/* Small Mobile (< 375px) */
@media (max-width: 374px) {
    .services-page .container {
        padding: 0 0.75rem;
    }
    
    .featured-content {
        padding: 1.5rem 1rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
