/* ========================================
   Rising Moon Services - 2026 Premium Design
   Modern, Sophisticated, Conversion-Optimized
   ======================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Color Palette - Professional & Modern */
    --primary-slate: #0f172a;
    --primary-blue: #1e40af;
    --primary-indigo: #4f46e5;
    --accent-cyan: #06b6d4;
    --accent-violet: #7c3aed;
    --accent-emerald: #10b981;
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    --white: #ffffff;
    
    /* Gradient System */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #1e40af 0%, #4f46e5 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --gradient-warm: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.2) 0, transparent 50%),
                     radial-gradient(at 100% 0%, rgba(124, 58, 237, 0.15) 0, transparent 50%),
                     radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.2) 0, transparent 50%),
                     radial-gradient(at 0% 100%, rgba(79, 70, 229, 0.15) 0, transparent 50%);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
    --font-display: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', monospace;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    /* Shadows - Modern Depth System */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3);
    --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.4);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--neutral-900);
    line-height: 1.6;
    background: var(--neutral-50);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-2xl);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    color: var(--neutral-900);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: var(--space-lg);
    color: var(--neutral-700);
    font-size: 1.125rem;
    line-height: 1.7;
}

a {
    color: var(--primary-indigo);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--accent-cyan);
}

/* Modern Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-indigo);
    border-color: var(--neutral-200);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--neutral-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-indigo);
    color: var(--primary-indigo);
}

.btn-outline {
    background: transparent;
    color: var(--primary-indigo);
    border-color: var(--primary-indigo);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--primary-indigo);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Section Styles */
section {
    padding: var(--space-5xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary-indigo);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.section-title {
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--neutral-700);
}

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

/* Navigation - Glass Morphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--neutral-200);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neutral-900);
    text-decoration: none;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 900;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--neutral-700);
    font-weight: 500;
    transition: color var(--transition-base);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-indigo);
}

.nav-link:hover::after {
    width: 100%;
}

/* Navigation Button Styling */
.nav-links .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.nav-links .btn i {
    font-size: 0.875rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--neutral-900);
    border-radius: 2px;
    transition: all var(--transition-base);
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-2xl);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-base);
        border-bottom: 1px solid var(--neutral-200);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Hero Section - Modern & Dynamic */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--white) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.6;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-full);
    color: var(--primary-indigo);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--neutral-700);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--neutral-200);
}

@media (max-width: 768px) {
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

.badge-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.badge-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.badge-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.badge-item div {
    display: flex;
    flex-direction: column;
}

.badge-item strong {
    font-size: 1.5rem;
    color: var(--neutral-900);
    font-weight: 800;
}

.badge-item span {
    font-size: 0.875rem;
    color: var(--neutral-700);
}

/* Modern Code Window */
.hero-visual {
    position: relative;
}

.code-window {
    background: var(--neutral-900);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    overflow: hidden;
    border: 1px solid rgba(79, 70, 229, 0.2);
    animation: float-slow 8s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

.window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.window-title {
    color: var(--neutral-300);
    font-size: 0.875rem;
    font-family: var(--font-mono);
    font-weight: 500;
}

.window-content {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(6, 182, 212, 0.05));
}

.window-content pre {
    margin: 0;
}

.window-content code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--neutral-300);
}

.code-keyword { color: #c792ea; }
.code-class { color: #82aaff; }
.code-function { color: #7fdbca; }
.code-string { color: #c3e88d; }
.code-number { color: #f78c6c; }
.code-property { color: #89ddff; }

/* Social Proof Section */
.social-proof {
    padding: var(--space-4xl) 0;
    background: var(--white);
    border-top: 1px solid var(--neutral-200);
    border-bottom: 1px solid var(--neutral-200);
}

.logo-wall {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-3xl);
    align-items: center;
    justify-items: center;
}

@media (max-width: 968px) {
    .logo-wall {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .logo-wall {
        grid-template-columns: repeat(2, 1fr);
    }
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.5;
    transition: all var(--transition-base);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}

.logo-item:hover {
    opacity: 1;
    transform: translateY(-5px);
    background: var(--neutral-50);
}

.logo-item-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--neutral-100), var(--neutral-200));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-indigo);
    font-size: 1.75rem;
}

.logo-item span {
    font-weight: 600;
    color: var(--neutral-900);
    font-size: 0.875rem;
}

/* Feature Cards - Premium Design */
.why-choose {
    background: var(--neutral-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    position: relative;
    padding: var(--space-3xl);
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

.feature-card.featured {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(6, 182, 212, 0.05));
    border-color: var(--primary-indigo);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.feature-card.featured::before {
    transform: scaleX(1);
}

.popular-badge {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: var(--space-lg);
    font-size: 1.75rem;
}

.feature-card p {
    margin-bottom: var(--space-lg);
    color: var(--neutral-700);
}

.feature-stats {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.stat {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary-indigo);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

/* Bento Grid - Modern Layout System */
.services {
    background: var(--white);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-xl);
}

.bento-item {
    grid-column: span 4;
    background: var(--neutral-50);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.bento-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: var(--white);
    border-color: transparent;
}

.bento-item:hover::after {
    transform: scaleX(1);
}

.bento-item.large {
    grid-column: span 8;
}

.bento-item.urgent {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(124, 58, 237, 0.05));
    border: 2px solid var(--accent-violet);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 968px) {
    .bento-item,
    .bento-item.large {
        grid-column: span 12;
    }
}

.urgent-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--gradient-warm);
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.bento-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.bento-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-indigo);
}

.bento-item h3 {
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.service-features li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    padding: 0.625rem 0;
    color: var(--neutral-700);
}

.service-features svg {
    width: 20px;
    height: 20px;
    color: var(--accent-emerald);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tags span {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary-indigo);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

/* Case Studies - Premium Layout */
.portfolio {
    background: var(--neutral-50);
}

.case-studies {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.case-study {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-3xl);
    padding: var(--space-3xl);
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.case-study::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition-base);
}

.case-study:hover::before {
    transform: scaleY(1);
}

.case-study:hover {
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
    transform: translateY(-5px);
}

.case-study.featured {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03), rgba(6, 182, 212, 0.03));
    border-color: var(--primary-indigo);
    box-shadow: var(--shadow-xl);
}

.case-study.featured::before {
    transform: scaleY(1);
}

@media (max-width: 968px) {
    .case-study {
        grid-template-columns: 1fr;
    }
}

.case-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.case-study h3 {
    margin-bottom: var(--space-lg);
    font-size: 2rem;
}

.case-client {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(6, 182, 212, 0.05));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.case-client svg {
    width: 28px;
    height: 28px;
    color: var(--primary-indigo);
}

.case-client span {
    font-weight: 600;
    color: var(--neutral-900);
}

.case-challenge,
.case-solution,
.case-results {
    margin-bottom: var(--space-xl);
}

.case-challenge h4,
.case-solution h4,
.case-results h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
    font-size: 1.125rem;
    color: var(--neutral-900);
}

.case-challenge h4 svg { color: #ef4444; }
.case-solution h4 svg { color: var(--accent-cyan); }
.case-results h4 svg { color: var(--accent-emerald); }

.result-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.metric {
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(6, 182, 212, 0.05));
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--neutral-700);
    margin-top: 0.5rem;
}

.case-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: var(--space-xl);
}

.tech-badge {
    padding: 0.625rem 1.25rem;
    background: var(--neutral-900);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.case-study-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.visual-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.visual-placeholder p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
}

/* Technology Stack - Modern Grid */
.tech-stack {
    background: var(--white);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-3xl);
}

.tech-category h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    color: var(--neutral-900);
}

.tech-category h3 svg {
    width: 28px;
    height: 28px;
    color: var(--primary-indigo);
}

.tech-items {
    display: grid;
    gap: var(--space-md);
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: var(--space-lg);
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
    cursor: pointer;
}

.tech-item:hover {
    background: var(--white);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-indigo);
}

.tech-item svg,
.tech-item i {
    width: 32px;
    height: 32px;
    color: var(--primary-indigo);
    flex-shrink: 0;
    font-size: 1.75rem;
}

.tech-item span {
    font-weight: 600;
    color: var(--neutral-900);
    flex: 1;
}

.tech-item small {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: var(--radius-full);
}

/* Pricing - Premium Design */
.pricing {
    background: var(--neutral-50);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 968px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    position: relative;
    padding: var(--space-3xl);
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

.pricing-card.featured {
    border-color: var(--primary-indigo);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03), rgba(6, 182, 212, 0.03));
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pricing-icon svg {
    width: 36px;
    height: 36px;
    color: var(--white);
}

.pricing-header h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.875rem;
}

.pricing-subtitle {
    color: var(--neutral-700);
    margin-bottom: var(--space-xl);
}

.pricing-features ul {
    list-style: none;
    margin-bottom: var(--space-2xl);
}

.pricing-features li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    padding: 0.875rem 0;
    color: var(--neutral-700);
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--accent-emerald);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.pricing-note {
    text-align: center;
    margin-top: var(--space-3xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(6, 182, 212, 0.05));
    border-radius: var(--radius-xl);
    color: var(--neutral-700);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.pricing-note svg {
    display: inline;
    width: 20px;
    height: 20px;
    color: var(--primary-indigo);
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Process Steps */
.process {
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

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

.process-step {
    position: relative;
    padding: var(--space-3xl);
    background: var(--neutral-50);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

.process-step:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.step-number {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.step-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.step-content h3 {
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
}

/* About Section */
.about {
    background: var(--neutral-50);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
    align-items: start;
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

.about-image {
    position: sticky;
    top: 120px;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.image-placeholder svg {
    width: 128px;
    height: 128px;
    color: var(--white);
    opacity: 0.9;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.credential-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

.credential-badge:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-indigo);
}

.credential-badge svg {
    width: 24px;
    height: 24px;
    color: var(--primary-indigo);
}

.credential-badge span {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--neutral-900);
}

.about-role {
    font-size: 1.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: var(--space-xl);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
}

@media (max-width: 768px) {
    .about-highlights {
        grid-template-columns: 1fr;
    }
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-item svg {
    width: 32px;
    height: 32px;
    color: var(--primary-indigo);
    flex-shrink: 0;
}

.highlight-item div {
    display: flex;
    flex-direction: column;
}

.highlight-item strong {
    font-size: 1.5rem;
    color: var(--neutral-900);
}

.highlight-item span {
    font-size: 0.875rem;
    color: var(--neutral-700);
}

.about-education,
.about-publications {
    margin-bottom: var(--space-3xl);
}

.about-education h4,
.about-publications h4 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--space-xl);
    color: var(--neutral-900);
}

.about-education h4 svg,
.about-publications h4 svg {
    width: 24px;
    height: 24px;
    color: var(--primary-indigo);
}

.education-item {
    padding: var(--space-lg);
    background: var(--white);
    border-left: 4px solid var(--primary-indigo);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.education-item strong {
    display: block;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.education-item span {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-publications ul {
    list-style: none;
}

.about-publications li {
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

.about-publications li:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
    border-color: var(--primary-indigo);
}

.about-publications li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-indigo);
    margin-bottom: 0.5rem;
}

.about-publications li svg {
    width: 16px;
    height: 16px;
}

.about-links {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background: var(--white);
    color: var(--neutral-900);
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-indigo);
    color: var(--white);
    border-color: var(--primary-indigo);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-4xl);
}

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.contact-info h3 {
    margin-bottom: var(--space-xl);
    color: var(--neutral-900);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.contact-method {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.contact-method svg {
    width: 28px;
    height: 28px;
    color: var(--primary-indigo);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-method div {
    flex: 1;
}

.contact-method strong {
    display: block;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
}

.response-time {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(79, 70, 229, 0.1));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.response-time svg {
    width: 40px;
    height: 40px;
    color: var(--accent-violet);
}

.response-time strong {
    display: block;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

/* Contact Form */
.contact-form {
    padding: var(--space-3xl);
    background: var(--neutral-50);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
}

.form-group {
    margin-bottom: var(--space-xl);
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--neutral-900);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-indigo);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-xl);
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.form-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(79, 70, 229, 0.05);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    color: var(--neutral-700);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.form-note svg {
    width: 20px;
    height: 20px;
    color: var(--primary-indigo);
    flex-shrink: 0;
}

.form-message {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-top: var(--space-lg);
    font-weight: 600;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    border: 2px solid var(--accent-emerald);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 2px solid #ef4444;
}

/* Footer */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.footer-logo .logo-icon {
    box-shadow: var(--shadow-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary-indigo);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    font-size: 1.125rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: var(--space-md);
}

.footer-col a {
    color: var(--neutral-300);
    transition: color var(--transition-base);
}

.footer-col a:hover {
    color: var(--accent-cyan);
}

.footer-col li svg {
    display: inline;
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    color: var(--primary-indigo);
    vertical-align: middle;
}

.footer-bottom {
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-certifications {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-certifications span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-certifications svg {
    width: 16px;
    height: 16px;
    color: var(--accent-cyan);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-2xl), var(--shadow-glow-cyan);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    background-size: 1000px 100%;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.pt-0 { padding-top: 0; }
.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }
.pt-xl { padding-top: var(--space-xl); }

.pb-0 { padding-bottom: 0; }
.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }
.pb-xl { padding-bottom: var(--space-xl); }