/**
 * Dev Solutions - Premium Frontend Styles
 * Modern, Minimal, Professional Design System
 * @version 2.0.0
 */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    /* Primary Palette - Elegant Indigo */
    --ds-primary: #4f46e5;
    --ds-primary-hover: #4338ca;
    --ds-primary-light: #eef2ff;
    --ds-primary-dark: #3730a3;
    --ds-primary-rgb: 79, 70, 229;
    
    /* Secondary Accents */
    --ds-accent: #06b6d4;
    --ds-accent-light: #ecfeff;
    
    /* Status Colors */
    --ds-success: #059669;
    --ds-success-light: #d1fae5;
    --ds-success-dark: #047857;
    --ds-error: #dc2626;
    --ds-error-light: #fef2f2;
    --ds-warning: #d97706;
    --ds-warning-light: #fffbeb;
    --ds-sale: #e11d48;
    
    /* Neutral Palette - Refined Slate */
    --ds-white: #ffffff;
    --ds-gray-25: #fcfcfd;
    --ds-gray-50: #f8fafc;
    --ds-gray-100: #f1f5f9;
    --ds-gray-200: #e2e8f0;
    --ds-gray-300: #cbd5e1;
    --ds-gray-400: #94a3b8;
    --ds-gray-500: #64748b;
    --ds-gray-600: #475569;
    --ds-gray-700: #334155;
    --ds-gray-800: #1e293b;
    --ds-gray-900: #0f172a;
    --ds-gray-950: #020617;
    
    /* Typography */
    --ds-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ds-font-mono: 'JetBrains Mono', 'SF Mono', 'Monaco', monospace;
    
    /* Font Sizes - Fluid Scale */
    --ds-text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
    --ds-text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
    --ds-text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
    --ds-text-lg: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --ds-text-xl: clamp(1.15rem, 1.05rem + 0.5vw, 1.25rem);
    --ds-text-2xl: clamp(1.4rem, 1.2rem + 1vw, 1.5rem);
    --ds-text-3xl: clamp(1.7rem, 1.4rem + 1.5vw, 1.875rem);
    
    /* Border Radius - Soft Curves */
    --ds-radius-sm: 8px;
    --ds-radius: 12px;
    --ds-radius-lg: 16px;
    --ds-radius-xl: 20px;
    --ds-radius-2xl: 24px;
    --ds-radius-full: 9999px;
    
    /* Shadows - Layered Depth */
    --ds-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.03);
    --ds-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06);
    --ds-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --ds-shadow-md: 0 8px 16px -4px rgb(0 0 0 / 0.08), 0 4px 6px -2px rgb(0 0 0 / 0.03);
    --ds-shadow-lg: 0 16px 32px -8px rgb(0 0 0 / 0.1), 0 8px 16px -4px rgb(0 0 0 / 0.04);
    --ds-shadow-xl: 0 24px 48px -12px rgb(0 0 0 / 0.15);
    --ds-shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.04);
    --ds-shadow-glow: 0 0 0 4px rgb(79 70 229 / 0.15);
    
    /* Transitions - Smooth Motion */
    --ds-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ds-ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ds-ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ds-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ds-duration-fast: 150ms;
    --ds-duration: 200ms;
    --ds-duration-slow: 300ms;
    
    /* Spacing Scale */
    --ds-space-1: 4px;
    --ds-space-2: 8px;
    --ds-space-3: 12px;
    --ds-space-4: 16px;
    --ds-space-5: 20px;
    --ds-space-6: 24px;
    --ds-space-8: 32px;
    --ds-space-10: 40px;
    --ds-space-12: 48px;
}

/* Load Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Border Radius Variants */
.dev-solutions-catalog[data-radius="none"] { --ds-radius-sm: 0; --ds-radius: 0; --ds-radius-lg: 0; --ds-radius-xl: 0; }
.dev-solutions-catalog[data-radius="small"] { --ds-radius-sm: 4px; --ds-radius: 6px; --ds-radius-lg: 8px; --ds-radius-xl: 12px; }
.dev-solutions-catalog[data-radius="large"] { --ds-radius-sm: 12px; --ds-radius: 16px; --ds-radius-lg: 20px; --ds-radius-xl: 28px; }

/* ============================================
   BASE RESET & GLOBAL STYLES
   ============================================ */
.dev-solutions-catalog {
    font-family: var(--ds-font-sans);
    font-size: var(--ds-text-base);
    line-height: 1.6;
    color: var(--ds-gray-800);
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--ds-space-6);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv11', 'ss01';
}

.dev-solutions-catalog *,
.dev-solutions-catalog *::before,
.dev-solutions-catalog *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.dev-solutions-catalog svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.dev-solutions-catalog input,
.dev-solutions-catalog textarea,
.dev-solutions-catalog button,
.dev-solutions-catalog select {
    font-family: inherit;
    font-size: inherit;
}

.dev-solutions-catalog input[type="text"],
.dev-solutions-catalog input[type="email"],
.dev-solutions-catalog input[type="tel"],
.dev-solutions-catalog textarea {
    -webkit-appearance: none;
    appearance: none;
}

/* Focus Styles - Accessibility */
.dev-solutions-catalog :focus-visible {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

/* ============================================
   SERVICES GRID - Premium Cards
   ============================================ */
.dev-services-grid {
    display: grid;
    gap: var(--ds-space-5);
    margin-bottom: var(--ds-space-8);
}

.dev-services-grid.cols-1 { grid-template-columns: 1fr; }
.dev-services-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.dev-services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.dev-services-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Service Card - Refined */
/* Service Card - Premium Modern Design */
.dev-service-card {
    display: flex;
    align-items: center;
    gap: var(--ds-space-5);
    padding: var(--ds-space-5) var(--ds-space-6);
    background: var(--ds-white);
    border: 1.5px solid var(--ds-gray-200);
    border-radius: var(--ds-radius-xl);
    cursor: pointer;
    position: relative;
    outline: none;
    overflow: hidden;
    transition: all 0.3s var(--ds-ease);
}

/* Gradient accent line */
.dev-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ds-primary) 0%, var(--ds-accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ds-ease);
}

/* Subtle background gradient on hover */
.dev-service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--ds-primary-rgb), 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s var(--ds-ease);
    pointer-events: none;
    z-index: 0;
}

.dev-service-card > * {
    position: relative;
    z-index: 1;
}

.dev-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--ds-primary-rgb), 0.3);
    box-shadow: 
        0 12px 40px -12px rgba(var(--ds-primary-rgb), 0.2),
        0 4px 16px rgba(0, 0, 0, 0.06);
}

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

.dev-service-card:hover::after {
    opacity: 1;
}

.dev-service-card:focus-visible {
    border-color: var(--ds-primary);
    box-shadow: 0 0 0 4px rgba(var(--ds-primary-rgb), 0.15);
}

.dev-service-card.selected {
    border-color: var(--ds-primary);
    background: linear-gradient(135deg, rgba(var(--ds-primary-rgb), 0.04) 0%, var(--ds-white) 100%);
    box-shadow: 
        0 0 0 3px rgba(var(--ds-primary-rgb), 0.12),
        0 8px 24px rgba(var(--ds-primary-rgb), 0.15);
}

.dev-service-card.selected::before {
    transform: scaleX(1);
}

.dev-service-card.selected::after {
    opacity: 0;
}

/* Service Icon - Premium Gradient Design */
.dev-service-card .service-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--ds-radius);
    background: linear-gradient(145deg, var(--ds-gray-50) 0%, var(--ds-gray-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: all 0.35s var(--ds-ease);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.8);
}

.dev-service-card .service-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: var(--ds-primary);
    transition: all 0.3s var(--ds-ease);
}

.dev-service-card:hover .service-icon,
.dev-service-card.selected .service-icon {
    background: linear-gradient(145deg, var(--ds-primary) 0%, var(--ds-primary-dark) 100%);
    box-shadow: 
        0 6px 20px rgba(var(--ds-primary-rgb), 0.35),
        inset 0 1px 1px rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.dev-service-card:hover .service-icon .dashicons,
.dev-service-card.selected .service-icon .dashicons {
    color: var(--ds-white);
    transform: scale(1.1);
}

/* Service Content */
.dev-service-card .service-content {
    flex: 1;
    min-width: 0;
}

.dev-service-card .service-title {
    font-size: var(--ds-text-lg);
    font-weight: 600;
    color: var(--ds-gray-900);
    margin: 0 0 4px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.dev-service-card .service-description {
    font-size: var(--ds-text-sm);
    color: var(--ds-gray-500);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Service Price */
.dev-service-card .service-price {
    text-align: right;
    flex-shrink: 0;
}

.dev-service-card .service-price .price-from {
    display: block;
    font-size: var(--ds-text-xs);
    color: var(--ds-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.dev-service-card .service-price .price-value {
    display: block;
    font-size: var(--ds-text-xl);
    font-weight: 700;
    color: var(--ds-primary);
    letter-spacing: -0.02em;
}

/* Selection Check */
.dev-service-card .service-check {
    position: absolute;
    top: var(--ds-space-3);
    right: var(--ds-space-3);
    width: 26px;
    height: 26px;
    border-radius: var(--ds-radius-full);
    background: linear-gradient(135deg, var(--ds-success) 0%, var(--ds-success-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all var(--ds-duration-slow) var(--ds-ease-bounce);
    box-shadow: 0 2px 8px rgb(5 150 105 / 0.3);
}

.dev-service-card .service-check svg {
    width: 14px;
    height: 14px;
    color: var(--ds-white);
}

.dev-service-card.selected .service-check {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   FORM CONTAINER - Glass Morphism
   ============================================ */
.dev-solutions-form {
    background: var(--ds-white);
    border-radius: var(--ds-radius-2xl);
    box-shadow: var(--ds-shadow-xl);
    overflow: hidden;
    border: 1px solid var(--ds-gray-100);
    position: relative;
}

.dev-solutions-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ds-primary), var(--ds-accent), var(--ds-success));
}

/* ============================================
   PROGRESS BAR - Modern Stepper
   ============================================ */
.dev-solutions-catalog .dev-form-progress {
    padding: var(--ds-space-8) var(--ds-space-8);
    background: linear-gradient(180deg, var(--ds-gray-25) 0%, var(--ds-white) 100%);
    border-bottom: 1px solid var(--ds-gray-100);
}

.dev-solutions-catalog .progress-container {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.dev-solutions-catalog .progress-track {
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--ds-gray-200);
    border-radius: var(--ds-radius-full);
    z-index: 0;
}

.dev-solutions-catalog .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ds-primary), var(--ds-success));
    border-radius: var(--ds-radius-full);
    width: 0%;
    transition: width var(--ds-duration-slow) var(--ds-ease);
}

.dev-solutions-catalog .progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

/* Progress Step - Modern Pill Design */
.dev-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ds-space-2);
    position: relative;
}

.step-dot {
    width: 44px;
    height: 44px;
    border-radius: var(--ds-radius-full);
    background: var(--ds-white);
    border: 2px solid var(--ds-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ds-ease);
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.step-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--ds-gray-400);
    transition: all 0.3s var(--ds-ease);
}

.step-check {
    position: absolute;
    width: 20px;
    height: 20px;
    color: var(--ds-white);
    opacity: 0;
    transform: scale(0) rotate(-45deg);
    transition: all 0.4s var(--ds-ease-bounce);
}

.step-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ds-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s var(--ds-ease);
    white-space: nowrap;
}

/* Active State */
.dev-progress-step.active .step-dot {
    background: linear-gradient(145deg, var(--ds-primary) 0%, var(--ds-primary-dark) 100%);
    border-color: transparent;
    box-shadow: 
        0 0 0 4px rgba(var(--ds-primary-rgb), 0.15),
        0 4px 12px rgba(var(--ds-primary-rgb), 0.3);
    transform: scale(1.08);
}

.dev-progress-step.active .step-num {
    color: var(--ds-white);
}

.dev-progress-step.active .step-label {
    color: var(--ds-primary);
    font-weight: 700;
}

/* Completed State */
.dev-progress-step.completed .step-dot {
    background: linear-gradient(145deg, var(--ds-success) 0%, var(--ds-success-dark) 100%);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.dev-progress-step.completed .step-num {
    opacity: 0;
    transform: scale(0);
}

.dev-progress-step.completed .step-check {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.dev-progress-step.completed .step-label {
    color: var(--ds-success);
}

/* Modern Layout */
.dev-solutions-catalog .dev-form-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    min-height: 450px;
}

.dev-solutions-catalog .dev-form-steps {
    border-right: 1px solid var(--ds-gray-100);
}

/* Decorative pattern overlay */
/* Classic tier cards - horizontal emphasis */
/* Line connector between dots */
/* Minimal tier cards - borderless */
/* Minimal add-ons - simple list */
/* Floating card for each step */
/* Card tier layout - stacked */
/* Card add-ons */
/* ============================================
   FORM STEPS
   ============================================ */
.dev-form-step {
    display: none;
    opacity: 0;
}

.dev-form-step.active {
    display: block;
    opacity: 1;
    animation: stepFadeIn var(--ds-duration-slow) var(--ds-ease) forwards;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content {
    padding: var(--ds-space-8);
}

.step-header {
    margin-bottom: var(--ds-space-6);
    text-align: center;
}

.step-header h2 {
    font-size: var(--ds-text-2xl);
    font-weight: 700;
    color: var(--ds-gray-900);
    margin: 0 0 var(--ds-space-2);
    letter-spacing: -0.02em;
}

.step-header p {
    font-size: var(--ds-text-base);
    color: var(--ds-gray-500);
    margin: 0;
}

/* Empty State */
/* Empty State - Animated Design */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--ds-space-12) var(--ds-space-6);
    text-align: center;
}

.empty-icon {
    width: 88px;
    height: 88px;
    border-radius: var(--ds-radius-full);
    background: linear-gradient(145deg, var(--ds-gray-50) 0%, var(--ds-gray-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--ds-space-5);
    position: relative;
    animation: emptyPulse 3s ease-in-out infinite;
}

@keyframes emptyPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(var(--ds-primary-rgb), 0.1);
    }
    50% {
        box-shadow: 0 0 0 16px rgba(var(--ds-primary-rgb), 0);
    }
}

.empty-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px dashed var(--ds-gray-200);
    animation: emptyRotate 20s linear infinite;
}

@keyframes emptyRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.empty-icon svg {
    width: 36px;
    height: 36px;
    color: var(--ds-gray-400);
}

.empty-state p {
    font-size: 15px;
    color: var(--ds-gray-500);
    margin: 0;
    max-width: 280px;
    line-height: 1.5;
}

/* ============================================
   TIER CARDS - Premium Pricing
   ============================================ */
.dev-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--ds-space-5);
}

/* Tier Cards - Premium Glass Design */
.dev-tier-card {
    background: var(--ds-white);
    border: 1.5px solid var(--ds-gray-200);
    border-radius: var(--ds-radius-xl);
    padding: var(--ds-space-6) var(--ds-space-5);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    transition: all 0.35s var(--ds-ease);
    overflow: hidden;
}

/* Subtle gradient overlay */
.dev-tier-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(var(--ds-primary-rgb), 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s var(--ds-ease);
    pointer-events: none;
}

.dev-tier-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--ds-primary-rgb), 0.3);
    box-shadow: 
        0 16px 40px -12px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(var(--ds-primary-rgb), 0.08);
}

.dev-tier-card:hover::before {
    opacity: 1;
}

.dev-tier-card.selected {
    border-color: var(--ds-primary);
    background: linear-gradient(180deg, rgba(var(--ds-primary-rgb), 0.04) 0%, var(--ds-white) 100%);
    box-shadow: 
        0 0 0 3px rgba(var(--ds-primary-rgb), 0.12),
        0 12px 32px rgba(var(--ds-primary-rgb), 0.18);
}

.dev-tier-card.popular {
    border-color: var(--ds-warning);
    box-shadow: 
        0 0 0 2px rgba(217, 119, 6, 0.1),
        0 8px 24px rgba(217, 119, 6, 0.12);
}

.dev-tier-card.popular::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ds-warning), #f59e0b);
}

.dev-tier-card .tier-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--ds-warning), #b45309);
    color: var(--ds-white);
    font-size: 10px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--ds-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.dev-tier-card .tier-sale-badge {
    position: absolute;
    top: var(--ds-space-3);
    right: var(--ds-space-3);
    background: linear-gradient(135deg, var(--ds-sale), #be123c);
    color: var(--ds-white);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--ds-radius-sm);
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.3);
}

.dev-tier-card .tier-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--ds-gray-800);
    margin: var(--ds-space-4) 0 var(--ds-space-3);
    letter-spacing: -0.01em;
}

.dev-tier-card .tier-price-wrapper {
    margin-bottom: var(--ds-space-2);
}

.dev-tier-card .tier-original-price {
    font-size: 14px;
    color: var(--ds-gray-400);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.dev-tier-card .tier-price {
    font-size: 40px;
    font-weight: 800;
    color: var(--ds-gray-900);
    line-height: 1;
    letter-spacing: -0.03em;
    font-feature-settings: 'tnum';
}

.dev-tier-card.on-sale .tier-price {
    color: var(--ds-sale);
}

.dev-tier-card .tier-billing {
    font-size: 13px;
    color: var(--ds-gray-500);
    margin-bottom: var(--ds-space-4);
}

.dev-tier-card .tier-features {
    flex: 1;
    list-style: none;
    padding: var(--ds-space-5) 0 0;
    margin: 0;
    text-align: left;
    border-top: 1px solid var(--ds-gray-100);
}

.dev-tier-card .tier-features li {
    font-size: 13px;
    color: var(--ds-gray-600);
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.dev-tier-card .tier-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, var(--ds-success) 0%, var(--ds-success-dark) 100%);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.dev-tier-card .select-tier-btn {
    width: 100%;
    padding: 14px var(--ds-space-4);
    margin-top: var(--ds-space-5);
    background: transparent;
    border: 2px solid var(--ds-primary);
    border-radius: var(--ds-radius);
    color: var(--ds-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--ds-ease);
    position: relative;
    overflow: hidden;
}

.dev-tier-card .select-tier-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ds-primary) 0%, var(--ds-primary-dark) 100%);
    opacity: 0;
    transition: opacity 0.25s var(--ds-ease);
    z-index: 0;
}

.dev-tier-card .select-tier-btn span {
    position: relative;
    z-index: 1;
}

.dev-tier-card .select-tier-btn:hover,
.dev-tier-card.selected .select-tier-btn {
    color: var(--ds-white);
    border-color: var(--ds-primary);
    box-shadow: 0 4px 12px rgba(var(--ds-primary-rgb), 0.3);
}

.dev-tier-card .select-tier-btn:hover::before,
.dev-tier-card.selected .select-tier-btn::before {
    opacity: 1;
}

/* ============================================
   ADD-ONS - Modern Toggle Design
   ============================================ */
.dev-addons-list {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-3);
}

.dev-addon-item {
    display: flex;
    align-items: center;
    gap: var(--ds-space-4);
    padding: var(--ds-space-4) var(--ds-space-5);
    background: var(--ds-white);
    border: 1.5px solid var(--ds-gray-200);
    border-radius: var(--ds-radius-lg);
    cursor: pointer;
    transition: all 0.25s var(--ds-ease);
    position: relative;
}

.dev-addon-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--ds-success) 0%, var(--ds-success-dark) 100%);
    border-radius: 0 4px 4px 0;
    transition: height 0.25s var(--ds-ease);
}

.dev-addon-item:hover {
    border-color: rgba(var(--ds-primary-rgb), 0.4);
    background: var(--ds-gray-50);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.dev-addon-item.selected {
    border-color: var(--ds-success);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.04) 0%, var(--ds-white) 100%);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.08);
}

.dev-addon-item.selected::before {
    height: 60%;
}

/* Custom Checkbox Toggle */
.dev-addon-checkbox {
    width: 24px;
    height: 24px;
    accent-color: var(--ds-success);
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid var(--ds-gray-300);
    border-radius: 6px;
    background: var(--ds-white);
    transition: all 0.2s var(--ds-ease);
    position: relative;
}

.dev-addon-checkbox:checked {
    background: linear-gradient(135deg, var(--ds-success) 0%, var(--ds-success-dark) 100%);
    border-color: var(--ds-success);
}

.dev-addon-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.dev-addon-checkbox:hover {
    border-color: var(--ds-success);
}

.dev-addon-item .addon-info {
    flex: 1;
    min-width: 0;
}

.dev-addon-item .addon-name {
    font-size: var(--ds-text-base);
    font-weight: 600;
    color: var(--ds-gray-800);
    margin: 0 0 2px;
}

.dev-addon-item .addon-description {
    font-size: var(--ds-text-sm);
    color: var(--ds-gray-500);
    margin: 0;
}

.dev-addon-item .addon-price {
    font-size: var(--ds-text-lg);
    font-weight: 700;
    color: var(--ds-primary);
    flex-shrink: 0;
}

.dev-no-items {
    padding: var(--ds-space-10);
    text-align: center;
    color: var(--ds-gray-400);
    background: var(--ds-gray-50);
    border: 2px dashed var(--ds-gray-200);
    border-radius: var(--ds-radius);
}

/* ============================================
   FORM FIELDS - Refined Inputs
   ============================================ */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-5);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ds-space-5);
    margin-bottom: var(--ds-space-4);
}

.field-row:last-child {
    margin-bottom: 0;
}

.field-wrap.field-full {
    grid-column: 1 / -1;
}

/* Field Group (Label + Input + Error) */
.field-group {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-2);
    flex: 1;
    min-width: 0;
}

.field-group.field-full {
    flex: 1 1 100%;
}

/* Field Label */
.field-label {
    display: flex;
    align-items: center;
    gap: var(--ds-space-1);
    font-size: 14px;
    font-weight: 500;
    color: var(--ds-gray-700);
}

.field-required {
    color: var(--ds-error);
    font-weight: 600;
}

.field-optional {
    font-size: 12px;
    font-weight: 400;
    color: var(--ds-gray-400);
}

/* Field Wrap (Icon + Input + Status) */
.field-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.field-icon svg {
    width: 18px;
    height: 18px;
    color: var(--ds-gray-400);
    transition: color var(--ds-duration) var(--ds-ease);
}

/* Field Status Icon (Valid/Error) */
.field-status {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--ds-duration) var(--ds-ease);
    pointer-events: none;
}

.field-wrap.is-valid .field-status {
    opacity: 1;
}

.field-wrap.is-valid .field-status::before {
    content: '';
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
}

.field-wrap.has-error .field-status {
    opacity: 1;
}

.field-wrap.has-error .field-status::before {
    content: '';
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.5'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E") center/contain no-repeat;
}

/* Field Error Message */
.field-error-msg {
    font-size: 12px;
    color: var(--ds-error);
    min-height: 16px;
    display: none;
}

.field-error-msg.visible {
    display: block;
    animation: fadeIn 0.2s var(--ds-ease);
}

.field-required-top {
    top: 18px;
    transform: none;
}

.field-input,
.field-textarea {
    width: 100%;
    padding: 12px 44px 12px 44px;
    border: 1.5px solid var(--ds-gray-200);
    border-radius: var(--ds-radius);
    font-size: 15px;
    color: var(--ds-gray-800);
    background: var(--ds-white);
    transition: all var(--ds-duration) var(--ds-ease);
    outline: none;
}

.field-input::placeholder,
.field-textarea::placeholder {
    color: var(--ds-gray-400);
    font-weight: 400;
}

.field-input:hover,
.field-textarea:hover {
    border-color: var(--ds-gray-300);
    background: var(--ds-gray-50);
}

.field-input:focus,
.field-textarea:focus {
    border-color: var(--ds-primary);
    background: var(--ds-white);
    box-shadow: 0 0 0 3px rgba(var(--ds-primary-rgb), 0.1);
}

.field-wrap:focus-within .field-icon svg {
    color: var(--ds-primary);
}

/* Valid State */
.field-wrap.is-valid .field-input,
.field-wrap.is-valid .field-textarea {
    border-color: var(--ds-success);
    padding-right: 44px;
}

.field-wrap.is-valid .field-icon svg {
    color: var(--ds-success);
}

/* Error State */
.field-wrap.has-error .field-input,
.field-wrap.has-error .field-textarea {
    border-color: var(--ds-error);
    background: rgba(220, 38, 38, 0.02);
    padding-right: 44px;
}

.field-wrap.has-error .field-icon svg {
    color: var(--ds-error);
}

.field-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
    padding: 14px 16px 14px 16px;
}

/* Textarea doesn't need icon */
.field-textarea-wrap .field-icon {
    display: none;
}

/* Radio Buttons */
.field-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--ds-space-4);
    margin-top: var(--ds-space-2);
}

.contact-method {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-2);
}

.option-label {
    font-size: var(--ds-text-sm);
    font-weight: 500;
    color: var(--ds-gray-600);
}

.radio-group {
    display: flex;
    gap: var(--ds-space-2);
}

.radio-option {
    cursor: pointer;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-2);
    padding: var(--ds-space-2) var(--ds-space-4);
    background: var(--ds-gray-100);
    border: 2px solid transparent;
    border-radius: var(--ds-radius);
    font-size: var(--ds-text-sm);
    font-weight: 500;
    color: var(--ds-gray-600);
    transition: all var(--ds-duration) var(--ds-ease);
}

.radio-btn svg {
    width: 16px;
    height: 16px;
}

.radio-option:hover .radio-btn {
    background: var(--ds-gray-200);
}

.radio-option input:checked + .radio-btn {
    background: var(--ds-primary-light);
    border-color: var(--ds-primary);
    color: var(--ds-primary);
}

/* Terms Checkbox */
.terms-check {
    display: flex;
    align-items: center;
    gap: var(--ds-space-3);
    cursor: pointer;
    font-size: var(--ds-text-sm);
    color: var(--ds-gray-600);
}

.terms-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check-box {
    width: 24px;
    height: 24px;
    border: 2px solid var(--ds-gray-300);
    border-radius: var(--ds-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--ds-duration) var(--ds-ease);
}

.check-box svg {
    width: 14px;
    height: 14px;
    color: var(--ds-white);
    opacity: 0;
    transform: scale(0);
    transition: all var(--ds-duration) var(--ds-ease-bounce);
}

.terms-check:hover .check-box {
    border-color: var(--ds-primary);
}

.terms-check input:checked + .check-box {
    background: var(--ds-primary);
    border-color: var(--ds-primary);
}

.terms-check input:checked + .check-box svg {
    opacity: 1;
    transform: scale(1);
}

.terms-text a {
    color: var(--ds-primary);
    text-decoration: none;
    font-weight: 500;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* ============================================
   ORDER SIDEBAR - Summary Card
   ============================================ */
/* Order Sidebar - Premium Glass Effect */
.dev-order-sidebar {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.9) 100%);
    backdrop-filter: blur(8px);
    padding: var(--ds-space-6);
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-4);
}

.sidebar-card {
    background: var(--ds-white);
    border-radius: var(--ds-radius-xl);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: var(--ds-space-3);
    padding: 16px 20px;
    background: linear-gradient(145deg, var(--ds-gray-900) 0%, var(--ds-gray-800) 100%);
    color: var(--ds-white);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.sidebar-header svg {
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

.dev-summary-content {
    padding: var(--ds-space-5);
}

.dev-summary-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--ds-space-8) var(--ds-space-4);
    color: var(--ds-gray-400);
    text-align: center;
}

.dev-summary-empty svg {
    width: 48px;
    height: 48px;
    margin-bottom: var(--ds-space-3);
    opacity: 0.4;
}

.dev-summary-empty span {
    font-size: var(--ds-text-sm);
}

.dev-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--ds-space-3) 0;
    border-bottom: 1px solid var(--ds-gray-100);
    font-size: var(--ds-text-sm);
    gap: var(--ds-space-3);
}

.dev-summary-item:last-of-type {
    border-bottom: none;
}

.dev-summary-item .item-label {
    color: var(--ds-gray-500);
    font-weight: 500;
}

.dev-summary-item .item-value {
    font-weight: 600;
    color: var(--ds-gray-800);
    text-align: right;
}

.dev-summary-item .item-value .original-price {
    text-decoration: line-through;
    color: var(--ds-gray-400);
    font-size: var(--ds-text-xs);
    font-weight: 400;
    margin-right: var(--ds-space-2);
}

.dev-summary-item .item-value .sale-price {
    color: var(--ds-sale);
}

.dev-summary-item.discount .item-label,
.dev-summary-item.discount .item-value {
    color: var(--ds-success);
}

.dev-summary-addons {
    font-size: var(--ds-text-xs);
    color: var(--ds-gray-400);
    padding-bottom: var(--ds-space-3);
    line-height: 1.5;
}

.dev-summary-total {
    padding: var(--ds-space-4) var(--ds-space-5);
    background: var(--ds-gray-50);
    border-top: 1px solid var(--ds-gray-100);
}

.dev-summary-item.total {
    padding: 0;
    border: none;
}

.dev-summary-item.total .item-label {
    font-size: var(--ds-text-sm);
    font-weight: 600;
    color: var(--ds-gray-700);
}

.dev-summary-item.total .item-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--ds-primary);
    letter-spacing: -0.02em;
}

/* Coupon Section */
.dev-coupon-section {
    padding: var(--ds-space-4) var(--ds-space-5);
    border-top: 1px dashed var(--ds-gray-200);
}

.coupon-input-wrap {
    display: flex;
    gap: var(--ds-space-2);
}

.coupon-field {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.coupon-field svg {
    position: absolute;
    left: var(--ds-space-3);
    width: 16px;
    height: 16px;
    color: var(--ds-gray-400);
}

.coupon-field input {
    width: 100%;
    padding: var(--ds-space-3) var(--ds-space-3) var(--ds-space-3) var(--ds-space-10);
    border: 1px solid var(--ds-gray-200);
    border-radius: var(--ds-radius);
    font-size: var(--ds-text-sm);
    font-family: var(--ds-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--ds-duration) var(--ds-ease);
    outline: none;
}

.coupon-field input:focus {
    border-color: var(--ds-primary);
    box-shadow: var(--ds-shadow-glow);
}

.coupon-apply-btn {
    padding: var(--ds-space-3) var(--ds-space-4);
    background: var(--ds-gray-800);
    border: none;
    border-radius: var(--ds-radius);
    color: var(--ds-white);
    font-size: var(--ds-text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ds-duration) var(--ds-ease);
    white-space: nowrap;
}

.coupon-apply-btn:hover {
    background: var(--ds-gray-900);
}

.coupon-message {
    margin-top: var(--ds-space-2);
    font-size: var(--ds-text-xs);
    padding: var(--ds-space-2) var(--ds-space-3);
    border-radius: var(--ds-radius-sm);
    display: none;
}

.coupon-message:not(:empty) {
    display: block;
}

.coupon-message.success {
    background: var(--ds-success-light);
    color: var(--ds-success);
}

.coupon-message.error {
    background: var(--ds-error-light);
    color: var(--ds-error);
}

.coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ds-space-3);
    background: var(--ds-success-light);
    border: 1px solid var(--ds-success);
    border-radius: var(--ds-radius);
    margin-top: var(--ds-space-2);
}

.coupon-tag {
    display: flex;
    align-items: center;
    gap: var(--ds-space-2);
    font-family: var(--ds-font-mono);
    font-size: var(--ds-text-xs);
    font-weight: 700;
    color: var(--ds-success);
    text-transform: uppercase;
}

.coupon-tag svg {
    width: 14px;
    height: 14px;
}

.coupon-remove {
    background: none;
    border: none;
    font-size: var(--ds-text-lg);
    color: var(--ds-gray-400);
    cursor: pointer;
    padding: 0 var(--ds-space-1);
    line-height: 1;
    transition: color var(--ds-duration) var(--ds-ease);
}

.coupon-remove:hover {
    color: var(--ds-error);
}

.coupon-savings {
    font-size: var(--ds-text-xs);
    font-weight: 600;
    color: var(--ds-success);
}

/* Trust Badges */
/* Trust Badges - Modern Pill Design */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(145deg, var(--ds-white) 0%, var(--ds-gray-50) 100%);
    border-radius: var(--ds-radius-lg);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    border: 1px solid var(--ds-gray-100);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--ds-white);
    border-radius: var(--ds-radius-full);
    font-size: 11px;
    font-weight: 600;
    color: var(--ds-gray-600);
    border: 1px solid var(--ds-gray-100);
    transition: all 0.2s var(--ds-ease);
}

.trust-badge:hover {
    border-color: var(--ds-success);
    color: var(--ds-success);
}

.trust-badge svg {
    width: 14px;
    height: 14px;
    color: var(--ds-success);
}

/* ============================================
   NAVIGATION BUTTONS
   ============================================ */
/* Form Navigation - Premium Design */
.dev-form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ds-space-5) var(--ds-space-6);
    background: linear-gradient(180deg, var(--ds-gray-25) 0%, var(--ds-gray-50) 100%);
    border-top: 1px solid var(--ds-gray-100);
}

/* Premium Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--ds-radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ds-ease);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ds-ease);
}

/* Back Button - Subtle Style */
.btn-back {
    background: var(--ds-white);
    border: 2px solid var(--ds-gray-200);
    color: var(--ds-gray-600);
}

.btn-back:hover {
    background: var(--ds-gray-50);
    border-color: var(--ds-gray-300);
    color: var(--ds-gray-700);
}

.btn-back:hover svg {
    transform: translateX(-3px);
}

/* Primary Button - Premium Gradient */
.btn-primary {
    background: linear-gradient(145deg, var(--ds-primary) 0%, var(--ds-primary-dark) 100%);
    color: var(--ds-white);
    box-shadow: 
        0 4px 14px rgba(var(--ds-primary-rgb), 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s var(--ds-ease);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(var(--ds-primary-rgb), 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(var(--ds-primary-rgb), 0.4);
}

.btn-primary:focus-visible {
    box-shadow: 
        0 0 0 3px rgba(var(--ds-primary-rgb), 0.3),
        0 4px 14px rgba(var(--ds-primary-rgb), 0.4);
}

/* Submit Button Loading State */
.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: flex;
    align-items: center;
    gap: var(--ds-space-2);
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgb(255 255 255 / 0.3);
    border-top-color: var(--ds-white);
    border-radius: var(--ds-radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   ERROR & VALIDATION
   ============================================ */
.field-error {
    display: block;
    margin-top: var(--ds-space-1);
    font-size: var(--ds-text-xs);
    color: var(--ds-error);
    font-weight: 500;
}

.dev-error-message {
    padding: var(--ds-space-3) var(--ds-space-4);
    background: var(--ds-error-light);
    border: 1px solid var(--ds-error);
    border-radius: var(--ds-radius);
    color: var(--ds-error);
    font-size: var(--ds-text-sm);
    font-weight: 500;
    margin-bottom: var(--ds-space-4);
}

/* Loading Overlay */
.dev-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgb(255 255 255 / 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: var(--ds-radius-2xl);
    gap: var(--ds-space-4);
    backdrop-filter: blur(4px);
}

.dev-loading-overlay .dev-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid var(--ds-gray-200);
    border-top-color: var(--ds-primary);
    border-radius: var(--ds-radius-full);
    animation: spin 0.8s linear infinite;
}

.dev-loading-text {
    font-size: var(--ds-text-sm);
    color: var(--ds-gray-600);
    margin: 0;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--ds-gray-100) 25%,
        var(--ds-gray-200) 50%,
        var(--ds-gray-100) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--ds-radius-sm);
}

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

/* Hidden Fields */
.dev-hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .dev-services-grid.cols-3,
    .dev-services-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dev-solutions-catalog .dev-form-layout {
        grid-template-columns: 1fr;
    }
    
    .dev-solutions-catalog .dev-form-steps {
        border-right: none;
        border-bottom: 1px solid var(--ds-gray-100);
    }
    
    .dev-order-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--ds-space-4);
    }
    
    .sidebar-card {
        flex: 2;
        min-width: 280px;
    }
    
    .trust-badges {
        flex: 1;
        min-width: 180px;
        flex-direction: column;
        gap: var(--ds-space-2);
    }
}

@media (max-width: 768px) {
    .dev-solutions-catalog {
        padding: var(--ds-space-4);
    }
    
    .dev-services-grid {
        grid-template-columns: 1fr !important;
    }
    
    .dev-service-card {
        padding: var(--ds-space-4);
    }
    
    .dev-service-card .service-icon {
        width: 48px;
        height: 48px;
    }
    
    .dev-service-card .service-icon .dashicons {
        font-size: 22px;
        width: 22px;
        height: 22px;
    }
    
    .dev-solutions-catalog .progress-track {
        display: none;
    }
    
    .step-dot {
        width: 38px;
        height: 38px;
    }
    
    .step-num {
        font-size: var(--ds-text-sm);
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .step-content {
        padding: var(--ds-space-5);
    }
    
    .step-header h2 {
        font-size: var(--ds-text-xl);
    }
    
    .dev-tiers-grid {
        grid-template-columns: 1fr;
    }
    
    .field-row {
        grid-template-columns: 1fr;
    }
    
    .field-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .radio-group {
        flex-wrap: wrap;
    }
    
    .dev-order-sidebar {
        flex-direction: column;
        padding: var(--ds-space-4);
    }
    
    .trust-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dev-form-nav {
        padding: var(--ds-space-4) var(--ds-space-5);
        flex-wrap: wrap;
        gap: var(--ds-space-3);
    }
    
    .btn {
        padding: var(--ds-space-3) var(--ds-space-5);
        font-size: var(--ds-text-sm);
    }
    
    .btn-back {
        order: 2;
        flex: 0 0 auto;
    }
    
    .btn-primary {
        order: 1;
        flex: 1;
    }
}

@media (max-width: 480px) {
    .dev-solutions-catalog {
        padding: var(--ds-space-3);
    }
    
    .dev-solutions-catalog .dev-form-progress {
        padding: var(--ds-space-5) var(--ds-space-4);
    }
    
    .step-header {
        margin-bottom: var(--ds-space-5);
    }
    
    .step-header h2 {
        font-size: var(--ds-text-lg);
    }
    
    .step-header p {
        font-size: var(--ds-text-sm);
    }
    
    .dev-tier-card .tier-price {
        font-size: 30px;
    }
    
    .sidebar-header {
        padding: var(--ds-space-3) var(--ds-space-4);
        font-size: var(--ds-text-sm);
    }
    
    .dev-summary-content {
        padding: var(--ds-space-4);
    }
    
    .dev-summary-item.total .item-value {
        font-size: 22px;
    }
    
    .trust-badges {
        gap: var(--ds-space-3);
        padding: var(--ds-space-3);
    }
    
    .trust-badge {
        font-size: 10px;
    }
    
    .trust-badge svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   STYLE-SPECIFIC RESPONSIVE RULES
   ============================================ */

/* Classic Style - Mobile */
@media (max-width: 768px) {
    }

/* Minimal Style - Mobile */
@media (max-width: 768px) {
    }

/* Card Style - Mobile */
@media (max-width: 768px) {
    }

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .dev-solutions-catalog {
        padding: 0;
        max-width: none;
    }
    
    .dev-form-progress,
    .dev-form-nav,
    .trust-badges,
    .dev-coupon-section {
        display: none !important;
    }
    
    .dev-solutions-form {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .dev-solutions-form::before {
        display: none;
    }
}

/* ============================================
   WEBSITE REQUEST FORM
   ============================================ */
.dev-website-request {
    --ds-primary: #4f46e5;
    --ds-primary-hover: #4338ca;
    --ds-primary-light: #eef2ff;
    --ds-primary-rgb: 79, 70, 229;
    --ds-success: #059669;
    --ds-success-light: #d1fae5;
    --ds-error: #dc2626;
    --ds-error-light: #fef2f2;
    --ds-gray-25: #fcfcfd;
    --ds-gray-50: #f8fafc;
    --ds-gray-100: #f1f5f9;
    --ds-gray-200: #e2e8f0;
    --ds-gray-300: #cbd5e1;
    --ds-gray-400: #94a3b8;
    --ds-gray-500: #64748b;
    --ds-gray-600: #475569;
    --ds-gray-700: #334155;
    --ds-gray-800: #1e293b;
    --ds-gray-900: #0f172a;
    --ds-white: #ffffff;
    --ds-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ds-radius: 12px;
    --ds-radius-lg: 16px;
    --ds-radius-xl: 20px;
    --ds-shadow-lg: 0 16px 32px -8px rgb(0 0 0 / 0.1);
    --ds-shadow-xl: 0 24px 48px -12px rgb(0 0 0 / 0.15);
    --ds-duration: 200ms;
    --ds-ease: cubic-bezier(0.4, 0, 0.2, 1);
    
    font-family: var(--ds-font-sans);
    max-width: 700px;
    margin: 0 auto;
    padding: var(--ds-space-5);
    -webkit-font-smoothing: antialiased;
}

.dev-website-request *,
.dev-website-request *::before,
.dev-website-request *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.dwr-card {
    background: var(--ds-white);
    border-radius: var(--ds-radius-xl);
    box-shadow: var(--ds-shadow-xl);
    overflow: hidden;
    border: 1px solid var(--ds-gray-100);
    position: relative;
}

.dwr-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ds-primary), #06b6d4, var(--ds-success));
}

/* Header */
.dwr-header {
    background: linear-gradient(135deg, var(--ds-gray-900), var(--ds-gray-800));
    padding: var(--ds-space-10) var(--ds-space-8);
    text-align: center;
    color: var(--ds-white);
    position: relative;
    overflow: hidden;
}

.dwr-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, rgb(79 70 229 / 0.15), transparent);
    transform: rotate(-15deg);
}

.dwr-header h1 {
    font-size: clamp(1.5rem, 4vw, 1.75rem);
    font-weight: 700;
    margin: 0 0 var(--ds-space-2);
    line-height: 1.3;
    letter-spacing: -0.02em;
    position: relative;
}

.dwr-header p {
    font-size: var(--ds-text-base);
    opacity: 0.75;
    margin: 0;
    position: relative;
}

/* Progress */
.dwr-progress {
    display: flex;
    justify-content: space-between;
    padding: var(--ds-space-8) var(--ds-space-10);
    background: var(--ds-gray-25);
    border-bottom: 1px solid var(--ds-gray-100);
    position: relative;
}

.dwr-progress-track {
    position: absolute;
    top: 50%;
    left: 70px;
    right: 70px;
    height: 3px;
    background: var(--ds-gray-200);
    transform: translateY(-50%);
    margin-top: -14px;
    border-radius: 2px;
}

.dwr-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ds-primary), var(--ds-success));
    border-radius: 2px;
    width: 0%;
    transition: width 0.4s ease;
}

.dwr-progress-steps {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
}

.dwr-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ds-space-3);
}

.dwr-step .step-dot {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ds-white);
    border: 2px solid var(--ds-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--ds-gray-400);
    transition: all var(--ds-duration) var(--ds-ease);
    box-shadow: var(--ds-shadow-sm);
    position: relative;
}

.dwr-step .step-num {
    font-size: 15px;
    transition: all var(--ds-duration) var(--ds-ease);
}

.dwr-step .step-check {
    position: absolute;
    width: 20px;
    height: 20px;
    color: var(--ds-white);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dwr-step .step-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ds-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--ds-duration) var(--ds-ease);
}

.dwr-step.active .step-dot {
    background: linear-gradient(135deg, var(--ds-primary), #4338ca);
    border-color: transparent;
    box-shadow: 0 0 0 4px var(--ds-primary-light), var(--ds-shadow);
}

.dwr-step.active .step-num {
    color: var(--ds-white);
}

.dwr-step.active .step-label {
    color: var(--ds-primary);
}

.dwr-step.completed .step-dot {
    background: linear-gradient(135deg, var(--ds-success), #047857);
    border-color: transparent;
}

.dwr-step.completed .step-num {
    opacity: 0;
    transform: scale(0);
}

.dwr-step.completed .step-check {
    opacity: 1;
    transform: scale(1);
}

.dwr-step.completed .step-label {
    color: var(--ds-success);
}

/* Form Steps */
.dwr-steps-container {
    padding: var(--ds-space-10) var(--ds-space-10);
}

.dwr-form-step {
    display: none;
    animation: dwrFadeIn 0.4s ease;
}

.dwr-form-step.active {
    display: block;
}

@keyframes dwrFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.dwr-form-step .step-header {
    text-align: center;
    margin-bottom: var(--ds-space-8);
}

.dwr-form-step .step-header h2 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--ds-gray-900);
    margin: 0 0 var(--ds-space-2);
    letter-spacing: -0.02em;
}

.dwr-form-step .step-header p {
    font-size: var(--ds-text-base);
    color: var(--ds-gray-500);
    margin: 0;
}

/* Fields */
.dwr-fields {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-5);
}

.dwr-fields .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ds-space-5);
}

.dwr-fields .field-row.single {
    grid-template-columns: 1fr;
}

/* DWR Field Group - inherit from main styles */
.dwr-fields .field-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ds-gray-700);
}

.dwr-fields .field-group label .req {
    color: var(--ds-error);
    margin-left: 2px;
}

.dwr-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--ds-gray-200);
    border-radius: var(--ds-radius);
    font-size: 15px;
    font-family: var(--ds-font-sans);
    color: var(--ds-gray-800);
    background: var(--ds-white);
    transition: all var(--ds-duration) var(--ds-ease);
    outline: none;
}

.dwr-input:hover {
    border-color: var(--ds-gray-300);
    background: var(--ds-gray-50);
}

.dwr-input:focus {
    border-color: var(--ds-primary);
    background: var(--ds-white);
    box-shadow: 0 0 0 3px rgba(var(--ds-primary-rgb), 0.1);
}

.dwr-input::placeholder {
    color: var(--ds-gray-400);
    font-weight: 400;
}

.dwr-input.error {
    border-color: var(--ds-error);
    background: rgba(220, 38, 38, 0.02);
}

.dwr-input.valid {
    border-color: var(--ds-success);
}

textarea.dwr-input {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

select.dwr-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
    -webkit-appearance: none;
    appearance: none;
}

.field-hint {
    font-size: var(--ds-text-xs);
    color: var(--ds-gray-500);
}

.field-error {
    font-size: var(--ds-text-xs);
    color: var(--ds-error);
    display: none;
}

.dwr-input.error + .field-error {
    display: block;
}

/* Radio Cards */
.radio-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ds-space-4);
}

.radio-card {
    position: relative;
    padding: var(--ds-space-5) var(--ds-space-4);
    background: var(--ds-gray-25);
    border: 1px solid var(--ds-gray-200);
    border-radius: var(--ds-radius);
    text-align: center;
    cursor: pointer;
    transition: all var(--ds-duration) var(--ds-ease);
}

.radio-card:hover {
    border-color: var(--ds-primary);
    background: var(--ds-white);
    box-shadow: var(--ds-shadow);
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-card.selected {
    border-color: var(--ds-primary);
    background: var(--ds-primary-light);
    box-shadow: 0 0 0 3px rgb(79 70 229 / 0.15);
}

.radio-card .card-icon {
    font-size: 28px;
    display: block;
    margin-bottom: var(--ds-space-2);
}

.radio-card .card-label {
    font-size: var(--ds-text-sm);
    font-weight: 600;
    color: var(--ds-gray-800);
    display: block;
}

.radio-card .card-desc {
    font-size: var(--ds-text-xs);
    color: var(--ds-gray-500);
    margin-top: var(--ds-space-1);
    display: block;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ds-space-3);
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: var(--ds-space-3);
    padding: var(--ds-space-4) var(--ds-space-4);
    background: var(--ds-gray-25);
    border: 1px solid var(--ds-gray-200);
    border-radius: var(--ds-radius);
    cursor: pointer;
    transition: all var(--ds-duration) var(--ds-ease);
}

.checkbox-item:hover {
    border-color: var(--ds-primary);
    background: var(--ds-white);
}

.checkbox-item input {
    width: 20px;
    height: 20px;
    accent-color: var(--ds-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-item.selected {
    border-color: var(--ds-primary);
    background: var(--ds-primary-light);
}

.checkbox-item span {
    font-size: var(--ds-text-sm);
    font-weight: 500;
    color: var(--ds-gray-700);
}

/* Navigation */
.dwr-nav {
    display: flex;
    justify-content: space-between;
    padding: var(--ds-space-5) var(--ds-space-10) var(--ds-space-8);
    border-top: 1px solid var(--ds-gray-100);
    background: var(--ds-gray-25);
}

.dwr-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-2);
    padding: var(--ds-space-4) var(--ds-space-8);
    border-radius: var(--ds-radius);
    font-size: var(--ds-text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ds-duration) var(--ds-ease);
    border: 2px solid transparent;
    outline: none;
    font-family: var(--ds-font-sans);
}

.dwr-btn svg {
    width: 18px;
    height: 18px;
}

.dwr-btn-back {
    background: var(--ds-white);
    border-color: var(--ds-gray-200);
    color: var(--ds-gray-600);
}

.dwr-btn-back:hover {
    background: var(--ds-gray-50);
    border-color: var(--ds-gray-300);
}

.dwr-btn-primary {
    background: linear-gradient(135deg, var(--ds-primary), #4338ca);
    color: var(--ds-white);
    box-shadow: 0 4px 14px rgb(79 70 229 / 0.4);
}

.dwr-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(79 70 229 / 0.5);
}

.dwr-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Success */
.dwr-success .success-content {
    text-align: center;
    padding: var(--ds-space-10) var(--ds-space-6);
    animation: successSlideUp 0.5s var(--ds-ease-out-back);
}

.dwr-success .success-animation {
    margin-bottom: var(--ds-space-6);
}

.dwr-success .success-circle {
    width: 88px;
    height: 88px;
    margin: 0 auto;
}

.dwr-success .success-circle svg {
    width: 100%;
    height: 100%;
}

.dwr-success .success-circle-bg {
    stroke: var(--ds-success);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: successCircle 0.6s var(--ds-ease) 0.2s forwards;
}

.dwr-success .success-check-path {
    stroke: var(--ds-success);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: successCheck 0.4s var(--ds-ease) 0.7s forwards;
}

.dwr-success h2 {
    font-size: clamp(1.5rem, 4vw, 1.75rem);
    font-weight: 700;
    color: var(--ds-gray-900);
    margin: 0 0 var(--ds-space-3);
    letter-spacing: -0.02em;
}

.dwr-success .success-message {
    font-size: var(--ds-text-base);
    color: var(--ds-gray-500);
    margin: 0 0 var(--ds-space-8);
}

.dwr-success .success-next-steps {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-3);
    margin-bottom: var(--ds-space-8);
    text-align: left;
}

.dwr-success .next-step {
    display: flex;
    align-items: center;
    gap: var(--ds-space-4);
    padding: var(--ds-space-4);
    background: var(--ds-gray-50);
    border-radius: var(--ds-radius);
    transition: all var(--ds-duration) var(--ds-ease);
}

.dwr-success .next-step:hover {
    background: var(--ds-gray-100);
}

.dwr-success .next-step .step-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ds-primary-light);
    border-radius: var(--ds-radius);
    flex-shrink: 0;
}

.dwr-success .next-step .step-icon svg {
    width: 20px;
    height: 20px;
    color: var(--ds-primary);
}

.dwr-success .next-step .step-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dwr-success .next-step .step-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--ds-gray-800);
}

.dwr-success .next-step .step-text span {
    font-size: 13px;
    color: var(--ds-gray-500);
}

.dwr-success .success-actions {
    display: flex;
    justify-content: center;
}

.dwr-success .success-actions .dwr-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-2);
}

.dwr-success .success-actions .dwr-btn svg {
    width: 18px;
    height: 18px;
}

/* Honeypot & Loading */
.dwr-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.dwr-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgb(255 255 255 / 0.3);
    border-top-color: var(--ds-white);
    border-radius: 50%;
    animation: dwrSpin 0.8s linear infinite;
}

@keyframes dwrSpin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .dev-website-request {
        padding: var(--ds-space-4);
    }
    
    .dwr-header {
        padding: var(--ds-space-8) var(--ds-space-6);
    }
    
    .dwr-progress {
        padding: var(--ds-space-6) var(--ds-space-6);
    }
    
    .dwr-progress-track {
        left: 50px;
        right: 50px;
    }
    
    .dwr-step .step-dot {
        width: 40px;
        height: 40px;
    }
    
    .dwr-step .step-num {
        font-size: 14px;
    }
    
    .dwr-step .step-label {
        font-size: 10px;
    }
    
    .dwr-steps-container {
        padding: var(--ds-space-8) var(--ds-space-6);
    }
    
    .dwr-fields .field-row {
        grid-template-columns: 1fr;
    }
    
    .radio-cards {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .dwr-nav {
        padding: var(--ds-space-4) var(--ds-space-6) var(--ds-space-6);
        flex-direction: column-reverse;
        gap: var(--ds-space-3);
    }
    
    .dwr-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .dwr-progress {
        padding: var(--ds-space-5);
    }
    
    .dwr-progress-track {
        display: none;
    }
    
    .dwr-step .step-label {
        display: none;
    }
    
    .dwr-step .step-dot {
        width: 36px;
        height: 36px;
    }
}

/* ============================================
   FORM PERSISTENCE - RESTORE PROMPT
   ============================================ */
.dev-restore-prompt {
    background: linear-gradient(135deg, var(--ds-primary-light) 0%, var(--ds-white) 100%);
    border: 1px solid rgba(var(--ds-primary-rgb), 0.2);
    border-radius: var(--ds-radius-lg);
    padding: var(--ds-space-4) var(--ds-space-5);
    margin-bottom: var(--ds-space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ds-space-4);
    box-shadow: 0 4px 20px rgba(var(--ds-primary-rgb), 0.1);
    animation: slideDown 0.3s var(--ds-ease-out);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.restore-content {
    display: flex;
    align-items: center;
    gap: var(--ds-space-3);
}

.restore-icon {
    font-size: 24px;
    line-height: 1;
}

.restore-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--ds-gray-700);
}

.restore-actions {
    display: flex;
    gap: var(--ds-space-2);
    flex-shrink: 0;
}

.restore-btn {
    padding: var(--ds-space-2) var(--ds-space-4);
    border-radius: var(--ds-radius-md);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--ds-duration) var(--ds-ease);
    border: none;
}

.restore-btn.restore-yes {
    background: var(--ds-primary);
    color: var(--ds-white);
}

.restore-btn.restore-yes:hover {
    background: var(--ds-primary-hover);
    transform: translateY(-1px);
}

.restore-btn.restore-no {
    background: var(--ds-gray-100);
    color: var(--ds-gray-600);
}

.restore-btn.restore-no:hover {
    background: var(--ds-gray-200);
}

/* ============================================
   WELCOME OFFER / FIRST-TIME CUSTOMER
   ============================================ */
.dev-welcome-offer {
    background: linear-gradient(135deg, var(--ds-success-light) 0%, #ecfdf5 100%);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: var(--ds-radius-lg);
    padding: var(--ds-space-4) var(--ds-space-5);
    margin-bottom: var(--ds-space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ds-space-3);
    animation: slideDown 0.3s var(--ds-ease-out);
}

.offer-content {
    display: flex;
    align-items: center;
    gap: var(--ds-space-3);
}

.offer-icon {
    font-size: 24px;
    line-height: 1;
}

.offer-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--ds-success-dark);
}

.offer-dismiss {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.1);
    border: none;
    color: var(--ds-success);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ds-duration) var(--ds-ease);
    flex-shrink: 0;
}

.offer-dismiss:hover {
    background: rgba(5, 150, 105, 0.2);
}

/* ============================================
   SKELETON LOADING STATES
   ============================================ */
.dev-tier-skeleton,
.dev-addon-skeleton,
.dev-service-skeleton {
    background: var(--ds-white);
    border: 1px solid var(--ds-gray-200);
    border-radius: var(--ds-radius-lg);
    padding: var(--ds-space-5);
    overflow: hidden;
}

.skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, var(--ds-gray-100) 25%, var(--ds-gray-200) 50%, var(--ds-gray-100) 75%);
    background-size: 200% 100%;
    border-radius: var(--ds-radius-sm);
    margin-bottom: var(--ds-space-3);
    animation: shimmer 1.5s infinite;
}

.skeleton-short {
    width: 40%;
}

.skeleton-medium {
    width: 60%;
}

.skeleton-long {
    width: 80%;
}

.skeleton-full {
    width: 100%;
}

.skeleton-header {
    margin-bottom: var(--ds-space-4);
}

.skeleton-price {
    margin-bottom: var(--ds-space-4);
}

.skeleton-price .skeleton-line {
    height: 24px;
}

.skeleton-features {
    margin-bottom: var(--ds-space-4);
}

.skeleton-button .skeleton-line {
    height: 40px;
}

.skeleton-checkbox {
    width: 20px;
    height: 20px;
    background: var(--ds-gray-100);
    border-radius: var(--ds-radius-sm);
    flex-shrink: 0;
}

.skeleton-icon {
    width: 48px;
    height: 48px;
    background: var(--ds-gray-100);
    border-radius: var(--ds-radius-md);
    margin-bottom: var(--ds-space-4);
}

/* Skeleton Grid Layouts */
.dev-tier-skeleton {
    display: flex;
    flex-direction: column;
}

.dev-addon-skeleton {
    display: flex;
    align-items: flex-start;
    gap: var(--ds-space-4);
}

.dev-addon-skeleton .skeleton-content {
    flex: 1;
}

.dev-addon-skeleton .skeleton-price {
    width: 60px;
    flex-shrink: 0;
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible styles */
.dev-service-card:focus-visible,
.dev-tier-card:focus-visible,
.dev-addon-item:focus-visible {
    outline: 2px solid var(--ds-primary);
    outline-offset: 2px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .dev-service-card,
    .dev-tier-card,
    .field-input,
    .field-textarea {
        border-width: 2px;
    }
    
    .dev-service-card.selected,
    .dev-tier-card.selected {
        outline: 3px solid;
    }
}

/* ============================================
   VALIDATION STATES - Consolidated
   ============================================ */
/* Validation focus states */
.field-wrap.is-valid .field-input:focus,
.field-wrap.is-valid .field-textarea:focus {
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.field-wrap.has-error .field-input:focus,
.field-wrap.has-error .field-textarea:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* ============================================
   QUOTE SUMMARY DOWNLOAD
   ============================================ */
.dev-quote-actions {
    display: flex;
    gap: var(--ds-space-3);
    margin-top: var(--ds-space-4);
    padding-top: var(--ds-space-4);
    border-top: 1px solid var(--ds-gray-200);
}

.btn-download-quote {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-2);
    padding: var(--ds-space-2) var(--ds-space-4);
    background: var(--ds-gray-50);
    border: 1px solid var(--ds-gray-200);
    border-radius: var(--ds-radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--ds-gray-600);
    cursor: pointer;
    transition: all var(--ds-duration) var(--ds-ease);
}

.btn-download-quote:hover {
    background: var(--ds-gray-100);
    color: var(--ds-gray-700);
    border-color: var(--ds-gray-300);
}

.btn-download-quote svg {
    width: 16px;
    height: 16px;
}

/* Quote validity notice */
.quote-validity {
    font-size: 12px;
    color: var(--ds-gray-500);
    margin-top: var(--ds-space-3);
    display: flex;
    align-items: center;
    gap: var(--ds-space-2);
}

.quote-validity svg {
    width: 14px;
    height: 14px;
    color: var(--ds-gray-400);
}

/* ============================================
   TIME ESTIMATE INDICATOR
   ============================================ */
.dev-time-estimate {
    display: flex;
    align-items: center;
    gap: var(--ds-space-2);
    font-size: 12px;
    color: var(--ds-gray-500);
    padding: var(--ds-space-2) var(--ds-space-3);
    background: var(--ds-gray-50);
    border-radius: var(--ds-radius-full);
}

.dev-time-estimate svg {
    width: 14px;
    height: 14px;
    color: var(--ds-gray-400);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS FOR NEW COMPONENTS
   ============================================ */
@media (max-width: 640px) {
    .dev-restore-prompt {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--ds-space-3);
    }
    
    .restore-actions {
        width: 100%;
    }
    
    .restore-btn {
        flex: 1;
        text-align: center;
    }
    
    .dev-welcome-offer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--ds-space-3);
    }
    
    .offer-dismiss {
        position: absolute;
        top: var(--ds-space-3);
        right: var(--ds-space-3);
    }
    
    .dev-welcome-offer {
        position: relative;
        padding-right: var(--ds-space-10);
    }
}

/* ============================================
   FORM SUCCESS STATE
   ============================================ */
.dev-form-success {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    animation: successFadeIn 0.4s var(--ds-ease);
}

@keyframes successFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.success-container {
    max-width: 520px;
    padding: var(--ds-space-8);
    text-align: center;
    animation: successSlideUp 0.5s var(--ds-ease-out-back);
}

@keyframes successSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Success Animation Circle */
.success-animation {
    margin-bottom: var(--ds-space-6);
}

.success-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.success-circle svg {
    width: 100%;
    height: 100%;
}

.success-circle-bg {
    stroke: var(--ds-success);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: successCircle 0.6s var(--ds-ease) 0.2s forwards;
}

@keyframes successCircle {
    to {
        stroke-dashoffset: 0;
    }
}

.success-check-path {
    stroke: var(--ds-success);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: successCheck 0.4s var(--ds-ease) 0.7s forwards;
}

@keyframes successCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.success-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--ds-gray-900);
    margin: 0 0 var(--ds-space-3);
    letter-spacing: var(--ds-letter-spacing-tight);
}

.success-message {
    font-size: 16px;
    color: var(--ds-gray-600);
    line-height: 1.6;
    margin: 0 0 var(--ds-space-6);
}

/* Success Details */
.success-details {
    display: flex;
    justify-content: center;
    gap: var(--ds-space-6);
    margin-bottom: var(--ds-space-8);
    padding: var(--ds-space-5);
    background: var(--ds-gray-50);
    border-radius: var(--ds-radius-lg);
}

.success-detail-item {
    text-align: center;
}

.success-detail-item .detail-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--ds-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--ds-space-1);
}

.success-detail-item .detail-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--ds-gray-900);
    font-family: var(--ds-font-mono);
}

/* Next Steps */
.success-next-steps {
    text-align: left;
    margin-bottom: var(--ds-space-8);
}

.success-next-steps h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ds-gray-800);
    margin: 0 0 var(--ds-space-4);
    text-align: center;
}

.next-steps-list {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-3);
}

.next-step {
    display: flex;
    align-items: center;
    gap: var(--ds-space-4);
    padding: var(--ds-space-4);
    background: var(--ds-white);
    border: 1px solid var(--ds-gray-200);
    border-radius: var(--ds-radius);
    transition: all var(--ds-duration) var(--ds-ease);
}

.next-step:hover {
    border-color: var(--ds-primary);
    box-shadow: 0 2px 8px rgba(var(--ds-primary-rgb), 0.1);
}

.next-step .step-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ds-primary-light);
    border-radius: var(--ds-radius);
    flex-shrink: 0;
}

.next-step .step-icon svg {
    width: 20px;
    height: 20px;
    color: var(--ds-primary);
}

.next-step .step-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.next-step .step-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--ds-gray-800);
}

.next-step .step-text span {
    font-size: 13px;
    color: var(--ds-gray-500);
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: var(--ds-space-3);
}

.success-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--ds-space-2);
}

.success-actions .btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   FORM ERROR DISPLAY
   ============================================ */
.dev-form-error {
    position: fixed;
    bottom: var(--ds-space-6);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    max-width: 90%;
    animation: errorSlideUp 0.3s var(--ds-ease-out-back);
}

@keyframes errorSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.error-content {
    display: flex;
    align-items: center;
    gap: var(--ds-space-3);
    padding: var(--ds-space-4) var(--ds-space-5);
    background: var(--ds-error);
    color: var(--ds-white);
    border-radius: var(--ds-radius-lg);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
}

.error-content svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.error-content span {
    font-size: 14px;
    font-weight: 500;
}

.error-dismiss {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--ds-white);
    font-size: 20px;
    cursor: pointer;
    transition: background var(--ds-duration) var(--ds-ease);
    flex-shrink: 0;
}

.error-dismiss:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   CHARACTER COUNTER
   ============================================ */
.field-textarea-wrap {
    position: relative;
}

.field-counter {
    display: flex;
    align-items: center;
    gap: var(--ds-space-1);
    padding: var(--ds-space-2) 0;
    font-size: 12px;
    color: var(--ds-gray-400);
}

.counter-current {
    font-weight: 600;
    color: var(--ds-gray-600);
    font-family: var(--ds-font-mono);
    font-size: 11px;
}

.counter-max {
    font-family: var(--ds-font-mono);
    font-size: 11px;
}

.counter-hint {
    margin-left: auto;
    font-size: 11px;
    color: var(--ds-gray-400);
    text-transform: lowercase;
}

/* Counter states */
.field-counter.near-limit .counter-current {
    color: var(--ds-warning);
}

.field-counter.at-limit .counter-current {
    color: var(--ds-error);
}

.field-counter.valid .counter-hint {
    color: var(--ds-success);
}

.field-counter.valid .counter-hint::before {
    content: '✓ ';
}

/* ============================================
   STICKY SIDEBAR (DESKTOP)
   ============================================ */
@media (min-width: 1024px) {
    .dev-order-sidebar {
        position: sticky;
        top: var(--ds-space-6);
        max-height: calc(100vh - var(--ds-space-12));
        overflow-y: auto;
    }
    
    /* Custom scrollbar for sidebar */
    .dev-order-sidebar::-webkit-scrollbar {
        width: 4px;
    }
    
    .dev-order-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .dev-order-sidebar::-webkit-scrollbar-thumb {
        background: var(--ds-gray-300);
        border-radius: 4px;
    }
    
    .dev-order-sidebar::-webkit-scrollbar-thumb:hover {
        background: var(--ds-gray-400);
    }
}

/* ============================================
   ENHANCED FORM FIELD STATES
   ============================================ */
/* Validation states are now handled in the main field styles above */

/* ============================================
   STEP TRANSITIONS
   ============================================ */
.dev-form-step {
    display: none;
    animation: stepFadeIn 0.3s var(--ds-ease);
}

.dev-form-step.active {
    display: block;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* When going back, animate from left */
.dev-form-step.active.from-left {
    animation: stepFadeInLeft 0.3s var(--ds-ease);
}

@keyframes stepFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   LOADING OVERLAY
   ============================================ */
.dev-form-loading {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--ds-gray-200);
    border-top-color: var(--ds-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================
   MOBILE FORM ENHANCEMENTS
   ============================================ */
@media (max-width: 768px) {
    .success-container {
        padding: var(--ds-space-5);
    }
    
    .success-details {
        flex-direction: column;
        gap: var(--ds-space-4);
    }
    
    .success-circle {
        width: 80px;
        height: 80px;
    }
    
    .success-title {
        font-size: 1.5rem;
    }
    
    .next-step {
        padding: var(--ds-space-3);
    }
    
    .next-step .step-icon {
        width: 36px;
        height: 36px;
    }
    
    .dev-form-error {
        bottom: var(--ds-space-4);
        left: var(--ds-space-4);
        right: var(--ds-space-4);
        transform: none;
        max-width: none;
    }
    
    @keyframes errorSlideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ============================================
   TOUCH-FRIENDLY ENHANCEMENTS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets */
    .dev-service-card,
    .dev-tier-card,
    .dev-addon-item {
        min-height: 48px;
    }
    
    .btn {
        min-height: 48px;
        padding-left: var(--ds-space-5);
        padding-right: var(--ds-space-5);
    }
    
    .radio-option,
    .terms-check {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    /* Remove hover effects on touch */
    .dev-service-card:hover,
    .dev-tier-card:hover,
    .dev-addon-item:hover {
        transform: none;
    }
    
    /* Active states instead */
    .dev-service-card:active,
    .dev-tier-card:active,
    .dev-addon-item:active {
        transform: scale(0.98);
    }
}
