/* New Service Pages CSS - PulseCode */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Unique Color Palette - Electric Purple & Cyber Green */
    --primary: #8B5CF6;
    --primary-dark: #7C3AED;
    --accent: #10B981;
    --accent-light: #34D399;
    --dark: #0F172A;
    --dark-lighter: #1E293B;
    --gray: #64748B;
    --gray-light: #94A3B8;
    --white: #FFFFFF;
    --bg-dark: #030712;
    --bg-section: #0A0F1C;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #10B981 100%);
    --gradient-dark: linear-gradient(180deg, #0F172A 0%, #030712 100%);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--white);
    text-decoration: none;
}

.logo-accent {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: var(--white) !important;
    font-weight: 600;
    text-decoration: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.nav-cta::after {
    display: none;
}

/* Hero Section */
.service-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient-dark);
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-breadcrumb {
    margin-bottom: 1rem;
    opacity: 0.9;
    color: var(--gray-light);
}

.hero-breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.service-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--gray-light);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    color: var(--gray-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Main Content */
.service-content {
    padding: 80px 0;
    background: var(--bg-dark);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.main-content {
    background: transparent;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.content-section h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.content-section h4 {
    color: var(--accent);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--gray-light);
    line-height: 1.7;
}

.content-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.content-section li {
    margin: 0.5rem 0;
    color: var(--gray-light);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.1);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.feature-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--gray-light);
}

/* Technology Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.tech-item {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    background: rgba(30, 41, 59, 0.8);
}

.pricing-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    margin: 1rem 0;
    position: relative;
    z-index: 1;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    color: var(--gray-light);
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* Highlight Box */
.highlight {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight strong {
    color: var(--white);
}

/* API Examples */
.api-example {
    background: var(--dark-lighter);
    color: var(--gray-light);
    padding: 1.5rem;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Sidebar */
.sidebar {
    background: rgba(30, 41, 59, 0.3);
    padding: 2rem;
    border-radius: 20px;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.cta-box {
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.cta-box h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.contact-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--gray-light);
}

.portfolio-showcase {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.portfolio-showcase h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.showcase-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.showcase-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.showcase-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.showcase-item h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.showcase-item p {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.showcase-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.services-list {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.services-list h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.services-list ul {
    list-style: none;
    padding: 0;
}

.services-list li {
    margin: 0.75rem 0;
}

.services-list a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.services-list a:hover {
    color: var(--accent-light);
}

/* CTA Section */
.service-cta {
    background: var(--bg-section);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--gray-light);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Process Steps */
.process-timeline {
    margin: 3rem 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--gray-light);
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.industry {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.industry:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.industry h4 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.industry p {
    color: var(--gray-light);
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.1);
}

.faq-item h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--gray-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sidebar {
        position: static;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .service-hero {
        padding: 100px 0 60px;
    }

    .service-content {
        padding: 60px 0;
    }

    .service-cta {
        padding: 60px 0;
    }
}