/**
 * 1NDYGO AI Master Design System
 * Version: 2.0
 * Last Updated: 2025-06-07
 * 
 * This is the master design system based on the AI Development Services page.
 * All pages should use these standards for consistency.
 */

/* ===================================
   CSS VARIABLES - BRAND COLORS
   =================================== */
:root {
    /* Primary Brand Colors */
    --brand-gold: #D4AF37;
    --brand-gold-dark: #C5A028;
    --brand-gold-light: #E5C158;
    
    /* Navy/Slate Colors */
    --brand-navy: #0F172A;
    --brand-navy-light: #1E293B;
    --brand-slate: #334155;
    --brand-slate-light: #475569;
    
    /* Blue Accent */
    --brand-blue: #12468B;
    --brand-blue-light: #1E5BB8;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: rgba(255, 255, 255, 0.95);
    --gray-100: rgba(255, 255, 255, 0.9);
    --gray-200: rgba(255, 255, 255, 0.8);
    --gray-300: rgba(255, 255, 255, 0.7);
    --gray-400: rgba(255, 255, 255, 0.6);
    --gray-500: rgba(255, 255, 255, 0.5);
    
    /* Background Gradients */
    --gradient-primary: linear-gradient(135deg, #0F172A 0%, #12468B 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #C5A028 100%);
    --gradient-glass: linear-gradient(135deg, rgba(45, 53, 69, 0.95) 0%, rgba(50, 59, 76, 0.92) 100%);
    --gradient-glass-light: linear-gradient(135deg, rgba(45, 53, 69, 0.85) 0%, rgba(50, 59, 76, 0.80) 100%);
    --gradient-section: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(30, 41, 59, 0.3) 100%);
    --gradient-text-gold: linear-gradient(135deg, #FFFFFF 0%, #D4AF37 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 20px 40px rgba(212, 175, 55, 0.2);
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* ===================================
   GLASS-MORPHISM COMPONENTS
   =================================== */

/* Standard Glass Card */
.expert-glass-card,
.service-card {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
    transition: var(--transition-normal);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.expert-glass-card:hover,
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 12px 48px rgba(212, 175, 55, 0.25), 0 0 40px rgba(212, 175, 55, 0.15);
}

/* Light Glass Card (for nested elements) */
.glass-card-light {
    background: var(--gradient-glass-light);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

/* ===================================
   BUTTONS & CTAs
   =================================== */

/* Primary Button (Gold Gradient) */
.expert-btn-primary,
.cta-primary {
    background: var(--gradient-gold);
    color: var(--brand-navy);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.025em;
}

.expert-btn-primary:hover,
.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    filter: brightness(1.1);
}

/* Secondary Button (Outline) */
.expert-btn-secondary,
.cta-secondary {
    background: transparent;
    color: var(--brand-gold);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--brand-gold);
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.expert-btn-secondary:hover,
.cta-secondary:hover {
    background: var(--gradient-gold);
    color: var(--brand-navy);
    transform: translateY(-2px);
}

/* Small CTA Button */
.cta-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

/* ===================================
   BADGES & LABELS
   =================================== */

/* Category Badge (Gold) */
.category-badge {
    background: var(--gradient-gold);
    color: var(--brand-navy);
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
}

/* Status Badge */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.status-badge-success {
    background: rgba(34, 197, 94, 0.2);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge-warning {
    background: rgba(234, 179, 8, 0.2);
    color: #EAB308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.status-badge-info {
    background: rgba(212, 175, 55, 0.2);
    color: var(--brand-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* ===================================
   FEATURE ICONS
   =================================== */

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    color: var(--brand-gold);
    font-size: 1.5rem;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
}

.feature-icon-large i {
    font-size: 2rem;
}

/* ===================================
   STAT BOXES
   =================================== */

.stat-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--brand-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* ===================================
   NAVIGATION STYLES
   =================================== */

.nav-link-master {
    color: var(--gray-300);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition-fast);
    text-decoration: none;
    position: relative;
}

.nav-link-master:hover {
    color: var(--white);
}

.nav-link-master.active {
    color: var(--brand-gold);
}

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

.nav-link-master:hover::after,
.nav-link-master.active::after {
    width: 80%;
}

/* ===================================
   TYPOGRAPHY UTILITIES
   =================================== */

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

.heading-1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.heading-2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
}

.heading-3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
}

.heading-4 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.body-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--gray-300);
}

.body-text-large {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--gray-200);
}

/* ===================================
   SECTION BACKGROUNDS
   =================================== */

.section-primary-bg {
    background: var(--gradient-primary);
}

.section-glass-bg {
    background: var(--gradient-section);
}

.section-dark-bg {
    background: var(--brand-navy);
}

/* ===================================
   ANIMATED BACKGROUNDS
   =================================== */

.animated-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, 20px);
    }
}

.animated-bg-orb-gold {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

.animated-bg-orb-blue {
    background: radial-gradient(circle, rgba(18, 70, 139, 0.12) 0%, transparent 70%);
}

/* ===================================
   HOVER EFFECTS
   =================================== */

.hover-lift {
    transition: var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-glow {
    transition: var(--transition-normal);
}

.hover-glow:hover {
    box-shadow: var(--shadow-gold);
}

.hover-scale {
    transition: var(--transition-normal);
}

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

/* ===================================
   LOADING STATES
   =================================== */

.skeleton-loader {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

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

/* ===================================
   RESPONSIVE UTILITIES
   =================================== */

@media (max-width: 768px) {
    .expert-glass-card,
    .service-card {
        padding: 1.5rem;
    }
    
    .stat-box {
        padding: 1.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .expert-btn-primary,
    .cta-primary,
    .expert-btn-secondary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

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

/* Focus styles for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--brand-gold);
    outline-offset: 2px;
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .expert-glass-card,
    .service-card {
        background: white;
        border: 1px solid #ccc;
    }
    
    .animated-bg-orb {
        display: none;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-gold { color: var(--brand-gold); }
.text-white { color: var(--white); }
.bg-gold { background: var(--gradient-gold); }
.bg-glass { background: var(--gradient-glass); }
.border-gold { border-color: var(--brand-gold); }

/* Spacing utilities */
.p-card { padding: 2rem; }
.m-section { margin: 4rem 0; }
.gap-cards { gap: 2rem; }

/* Display utilities */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* ===================================
   END OF DESIGN SYSTEM
   =================================== */
