﻿/* ==============================================================
   Unified Service Pages CSS
   Modern, elegant, highly responsive UI/UX
============================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #eff6ff;
    --secondary-color: #10b981;
    --dark-color: #0f172a;
    --light-bg: #f8fafc;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
}

/* ---------------- Hero Section ---------------- */
.csc-hero {
    position: relative;
    padding: 160px 0 100px;
    background: var(--dark-color);
    overflow: hidden;
}

.csc-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.4) 0%, transparent 50%),
                      radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.4) 0%, transparent 50%);
    z-index: 1;
}

.csc-hero-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 2;
}

.csc-hero .csc-container {
    position: relative;
    z-index: 10;
}

.csc-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.csc-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.csc-hero-title {
    font-size: 56px;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
}

.csc-gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.csc-hero-desc {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.6;
}

.csc-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-csc-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
.btn-csc-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    color: #fff;
}
.btn-csc-primary i { margin-left: 8px; }

.btn-csc-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-csc-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* ---------------- Counters Section ---------------- */
.csc-counters-wrap {
    margin-top: -50px;
    position: relative;
    z-index: 20;
}

.csc-counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.csc-counter-box {
    text-align: center;
    border-right: 1px solid var(--border-color);
}
.csc-counter-box:last-child { border-right: none; }

.csc-counter-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 8px;
    line-height: 1;
}

.csc-counter-text {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* ---------------- Shared Section Styles ---------------- */
.csc-section {
    padding: 100px 0;
}

.csc-section-bg {
    background: var(--light-bg);
}

.csc-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.csc-section-title {
    font-size: 40px;
    margin-bottom: 16px;
}

.csc-section-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.6;
}

/* ---------------- About Service ---------------- */
.csc-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.csc-about-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.csc-about-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
    border-radius: 20px;
}

.csc-about-content h3 {
    font-size: 32px;
    margin-bottom: 24px;
}

.csc-about-content p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.csc-about-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.csc-about-list li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 500;
    font-size: 16px;
}

.csc-about-list li i {
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 12px;
}

/* ---------------- Service Features Grid ---------------- */
.csc-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.csc-feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: left;
}

.csc-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.csc-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.csc-feature-card:hover .csc-feature-icon {
    background: var(--primary-color);
    color: #fff;
}

.csc-feature-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.csc-feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ---------------- Pricing Card ---------------- */
.csc-pricing-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
}

.csc-pricing-left {
    padding: 50px 40px;
    background: var(--light-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.csc-pricing-left h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.csc-pricing-left p.csc-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.csc-price-box {
    margin-bottom: 30px;
}

.csc-price-original {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.csc-price-strike {
    color: #ef4444;
    text-decoration: line-through;
    font-size: 16px;
}

.csc-price-discount {
    color: #ef4444;
    font-weight: 700;
    font-size: 14px;
    background: #fef2f2;
    padding: 4px 8px;
    border-radius: 4px;
}

.csc-price-current {
    font-size: 48px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--dark-color);
    line-height: 1;
    display: flex;
    align-items: baseline;
}

.csc-price-currency {
    font-size: 24px;
    margin-right: 4px;
}

.csc-price-period {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 8px;
}

.csc-pricing-right {
    padding: 50px 40px;
}

.csc-pricing-right h4 {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--dark-color);
}

.csc-pricing-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.csc-pricing-features li {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    color: #475569;
    font-weight: 500;
}

.csc-pricing-features li i {
    color: var(--secondary-color);
    margin-right: 12px;
    margin-top: 4px;
}

/* ---------------- Tech Stack ---------------- */
.csc-tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.csc-tech-item {
    text-align: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.csc-tech-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-3px);
}

.csc-tech-item i {
    font-size: 48px;
    margin-bottom: 8px;
    display: block;
}

.csc-tech-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
}

/* ---------------- Quick Contact & FAQ ---------------- */
.csc-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.csc-contact-card {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.csc-contact-card i {
    font-size: 48px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.csc-contact-card h3 {
    color: #fff;
    margin-bottom: 16px;
}

.csc-contact-card p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-csc-white {
    background: #fff;
    color: var(--primary-dark);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
.btn-csc-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.csc-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.csc-faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.csc-faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--dark-color);
    cursor: pointer;
    transition: background 0.3s;
}

.csc-faq-question:hover {
    background: var(--light-bg);
}

.csc-faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.csc-faq-item.active .csc-faq-question i {
    transform: rotate(180deg);
}

.csc-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.csc-faq-answer-inner {
    padding: 0 24px 24px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------------- Customer Reviews ---------------- */
.csc-reviews-wrap {
    overflow: hidden;
    padding: 20px 0;
}
.csc-reviews-track {
    display: flex;
    gap: 24px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.csc-reviews-track:hover {
    animation-play-state: paused;
}

.csc-review-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    width: 350px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.csc-review-stars {
    color: #f59e0b;
    margin-bottom: 16px;
    font-size: 14px;
}

.csc-review-text {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.csc-reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.csc-reviewer-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--light-bg);
}

.csc-reviewer-info h5 {
    margin: 0 0 4px;
    font-size: 15px;
}

.csc-reviewer-info span {
    font-size: 13px;
    color: var(--text-muted);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-350px * 4 - 24px * 4)); }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
    .csc-counters-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px; }
    .csc-counter-box { border-right: none; }
    
    .csc-about-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .csc-features-grid { grid-template-columns: repeat(2, 1fr); }
    
    .csc-pricing-card { grid-template-columns: 1fr; }
    .csc-pricing-left { border-right: none; border-bottom: 1px solid var(--border-color); }
    
    .csc-bottom-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .csc-hero { padding: 120px 0 80px; }
    .csc-hero-title { font-size: 40px; }
    
    .csc-features-grid { grid-template-columns: 1fr; }
    
    .csc-pricing-features { grid-template-columns: 1fr; }
    .csc-pricing-left, .csc-pricing-right { padding: 30px 20px; }
}


/* ---------------- Global Overrides (1400px Width & UI UX Gradient) ---------------- */
body {
    background: linear-gradient(135deg, #f5f7fc 0%, #eef2fa 50%, #ffffff 100%) !important;
    background-attachment: fixed !important;
}

.csc-container {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* Make alternating sections glassmorphic so body gradient shows */
[class$="-section-bg"] {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

/* Ensure pricing cards have a glass effect too */
[class$="-pricing-card"] {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(12px) !important;
}

