/* ==============================================================
   Custom Web Development CSS
   Massive Redesign: 1400px Container, 2-Col Hero, 20 Features, 30 Tech Icons
============================================================== */
@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: rgba(255, 255, 255, 0.4);
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.4);
    --border-color: rgba(226, 232, 240, 0.6);
    --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: linear-gradient(135deg, #f5f7fc 0%, #eef2fa 50%, #ffffff 100%) !important;
    background-attachment: fixed !important;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
}

/* ---------------- Layout & Container ---------------- */
.cwd-section {
    width: 100% !important;
    padding: 100px 0;
}

.cwd-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);
}

.cwd-container {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 20px;
    padding-right: 20px;
}

.cwd-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.cwd-section-title { font-size: 40px; margin-bottom: 16px; }
.cwd-section-subtitle { color: var(--text-muted); font-size: 18px; line-height: 1.6; }


/* ---------------- Hero Section (2-Column) ---------------- */
.cwd-hero {
    position: relative;
    width: 100%;
    padding: 140px 0 100px;
    background: var(--dark-color);
    overflow: hidden;
}

.cwd-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.2;
    background-image: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.6) 0%, transparent 50%),
                      radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.6) 0%, transparent 50%);
    z-index: 1;
}

.cwd-hero-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 2;
}

.cwd-hero-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cwd-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;
}

.cwd-hero-title {
    font-size: 52px;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
}

.cwd-gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.cwd-hero-desc {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cwd-hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-cwd-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-cwd-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    color: #fff;
}
.btn-cwd-primary i { margin-left: 8px; }

.btn-cwd-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-cwd-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.cwd-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cwd-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Right Side Image */
.cwd-hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.cwd-image-glow {
    position: absolute;
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    background: var(--gradient-primary);
    filter: blur(40px);
    opacity: 0.3;
    z-index: 1;
    border-radius: 50%;
}

.cwd-hero-image {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cwd-floating-node {
    position: absolute;
    z-index: 3;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
}

.cwd-node-1 { top: -20px; left: -20px; animation-delay: 0s; }
.cwd-node-2 { bottom: 40px; right: -30px; animation-delay: 2s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}


/* ---------------- Counters Section ---------------- */
.cwd-counters-wrap {
    margin-top: -50px;
    position: relative;
    z-index: 20;
}

.cwd-counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.cwd-counter-box {
    text-align: center;
    border-right: 1px solid rgba(0,0,0,0.05);
}
.cwd-counter-box:last-child { border-right: none; }

.cwd-counter-number {
    font-size: 44px;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 8px;
    line-height: 1;
}

.cwd-counter-text {
    color: var(--dark-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}


/* ---------------- About Service ---------------- */
.cwd-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cwd-about-img-wrap {
    position: relative;
}

.cwd-about-img {
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.cwd-about-img-wrap::before {
    content: '';
    position: absolute;
    top: -20px; left: -20px;
    width: 100%; height: 100%;
    background: var(--gradient-primary);
    border-radius: 24px;
    opacity: 0.1;
    z-index: 1;
}

.cwd-about-content h3 { font-size: 36px; margin-bottom: 24px; }
.cwd-about-content p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.cwd-about-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cwd-about-list li {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-color);
}

.cwd-about-list li i {
    width: 28px;
    height: 28px;
    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;
}


/* ---------------- Features Grid (5 Cols x 4 Rows = 20) ---------------- */
.cwd-features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.cwd-feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.cwd-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    background: #fff;
}

.cwd-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.cwd-feature-card:hover .cwd-feature-icon {
    background: var(--gradient-primary);
    color: #fff;
}

.cwd-feature-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.cwd-feature-card p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}


/* ---------------- Technology Carousel (30 Items) ---------------- */
.cwd-tech-carousel-wrap {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.cwd-tech-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll-tech 40s linear infinite;
}

.cwd-tech-track:hover {
    animation-play-state: paused;
}

.cwd-tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.cwd-tech-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px) scale(1.1);
}

.cwd-tech-item i {
    font-size: 40px;
    margin-bottom: 12px;
}

.cwd-tech-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-color);
}

@keyframes scroll-tech {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-140px * 30)); } /* Width + Gap * Items */
}


/* ---------------- Premium Pricing Card ---------------- */
.cwd-pricing-card {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.5);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    overflow: hidden;
}

.cwd-pricing-left {
    padding: 60px 50px;
    background: linear-gradient(135deg, rgba(245,247,252,0.9), rgba(238,242,250,0.9));
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cwd-pricing-left h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.cwd-pricing-left p.cwd-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.cwd-price-original {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cwd-price-strike {
    color: #ef4444;
    text-decoration: line-through;
    font-size: 16px;
}

.cwd-price-discount {
    color: #ef4444;
    font-weight: 700;
    font-size: 14px;
    background: #fef2f2;
    padding: 4px 10px;
    border-radius: 50px;
}

.cwd-price-current {
    font-size: 56px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--dark-color);
    line-height: 1;
    display: flex;
    align-items: baseline;
    margin-bottom: 30px;
}

.cwd-price-currency { font-size: 28px; margin-right: 4px; }
.cwd-price-period { font-size: 16px; color: var(--text-muted); font-weight: 500; margin-left: 8px; }

.cwd-pricing-right {
    padding: 60px 50px;
}

.cwd-pricing-right h4 {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.cwd-pricing-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cwd-pricing-features li {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    color: var(--dark-color);
    font-weight: 500;
}

.cwd-pricing-features li i {
    color: var(--secondary-color);
    margin-right: 14px;
    margin-top: 4px;
    font-size: 18px;
}


/* ---------------- Quick Contact & FAQ ---------------- */
.cwd-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.cwd-contact-card {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 50px 40px;
    color: #fff;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.4);
}

.cwd-contact-card i { font-size: 56px; margin-bottom: 24px; opacity: 0.9; }
.cwd-contact-card h3 { color: #fff; margin-bottom: 16px; font-size: 28px; }
.cwd-contact-card p { color: rgba(255,255,255,0.9); margin-bottom: 30px; line-height: 1.6; }

.btn-cwd-white {
    background: #fff;
    color: var(--primary-dark);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.btn-cwd-white:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }

.cwd-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cwd-faq-item {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.cwd-faq-item:hover { background: #fff; }

.cwd-faq-question {
    width: 100%;
    text-align: left;
    padding: 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;
}

.cwd-faq-question i { transition: transform 0.3s ease; color: var(--primary-color); }
.cwd-faq-item.active .cwd-faq-question i { transform: rotate(180deg); }
.cwd-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.cwd-faq-answer-inner { padding: 0 24px 24px; color: var(--text-muted); line-height: 1.7; }


/* ---------------- Customer Reviews ---------------- */
.cwd-reviews-wrap {
    overflow: hidden;
    padding: 20px 0;
}
.cwd-reviews-track {
    display: flex;
    gap: 30px;
    animation: scroll-reviews 40s linear infinite;
    width: max-content;
}
.cwd-reviews-track:hover { animation-play-state: paused; }

.cwd-review-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    padding: 40px;
    width: 400px;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.cwd-review-stars { color: #f59e0b; margin-bottom: 20px; font-size: 16px; }
.cwd-review-text { color: var(--dark-color); font-size: 16px; line-height: 1.7; margin-bottom: 30px; font-style: italic; }
.cwd-reviewer { display: flex; align-items: center; gap: 16px; }
.cwd-reviewer-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.cwd-reviewer-info h5 { margin: 0 0 6px; font-size: 16px; }
.cwd-reviewer-info span { font-size: 14px; color: var(--text-muted); }

@keyframes scroll-reviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-400px * 4 - 30px * 4)); }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1200px) {
    .cwd-features-grid { grid-template-columns: repeat(4, 1fr); }
    .cwd-hero-container { grid-template-columns: 1fr; text-align: center; }
    .cwd-hero-buttons, .cwd-hero-tags { justify-content: center; }
}

@media (max-width: 1024px) {
    .cwd-counters-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px; }
    .cwd-counter-box { border-right: none; }
    .cwd-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .cwd-features-grid { grid-template-columns: repeat(3, 1fr); }
    .cwd-pricing-card { grid-template-columns: 1fr; }
    .cwd-pricing-left { border-right: none; border-bottom: 1px solid var(--border-color); }
    .cwd-bottom-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .cwd-hero { padding: 120px 0 80px; }
    .cwd-hero-title { font-size: 40px; }
    .cwd-features-grid { grid-template-columns: repeat(2, 1fr); }
    .cwd-pricing-features { grid-template-columns: 1fr; }
    .cwd-pricing-left, .cwd-pricing-right { padding: 30px 20px; }
}

@media (max-width: 480px) {
    .cwd-features-grid { grid-template-columns: 1fr; }
}
