/* ============================================
   PROFESSIONAL DESIGN SYSTEM
   Built with 15+ years of experience
   ============================================ */

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Professional Color Palette */
    --primary-50: #EEF2FF;
    --primary-100: #E0E7FF;
    --primary-500: #6366F1;
    --primary-600: #4F46E5;
    --primary-700: #4338CA;
    --primary-900: #312E81;
    
    --accent-pink: #EC4899;
    --accent-amber: #F59E0B;
    --accent-teal: #14B8A6;
    --accent-purple: #8B5CF6;
    
    /* Neutral Scale */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-tertiary: var(--gray-500);
    --bg-primary: #FFFFFF;
    --bg-secondary: var(--gray-50);
    --bg-tertiary: var(--gray-100);
    
    /* Shadows - Professional Depth System */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-colored: 0 20px 25px -5px rgba(99, 102, 241, 0.1), 0 8px 10px -6px rgba(99, 102, 241, 0.1);
    
    /* Gradients - Professional */
    --gradient-primary: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-secondary: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
    --gradient-accent: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
    --gradient-hero: linear-gradient(135deg, #667EEA 0%, #764BA2 50%, #F093FB 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.1) 0px, transparent 50%),
                      radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.1) 0px, transparent 50%),
                      radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
                      radial-gradient(at 0% 100%, rgba(20, 184, 166, 0.1) 0px, transparent 50%);
    
    /* Spacing System */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions - Smooth & Professional */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* ============================================
   BASE STYLES - Professional Foundation
   ============================================ */

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

/* ============================================
   TYPOGRAPHY - Professional Hierarchy
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ============================================
   LAYOUT - Professional Container System
   ============================================ */

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

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

/* ============================================
   NAVIGATION - Sleek & Professional
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    padding: var(--space-lg) 0;
    transition: all var(--transition-base);
}

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

.nav-brand a {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: all var(--transition-base);
    position: relative;
}

.nav-brand a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-2xl);
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-fast);
    padding: var(--space-xs) 0;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-menu a:hover {
    color: var(--primary-600);
}

.nav-menu a:hover::before {
    width: 100%;
}

/* ============================================
   HERO SECTION - Stunning First Impression
   ============================================ */

.hero {
    position: relative;
    padding: var(--space-4xl) 0;
    text-align: center;
    overflow: hidden;
    background: var(--gradient-hero);
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

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

.hero h1 {
    position: relative;
    z-index: 1;
    color: white;
    margin-bottom: var(--space-xl);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    position: relative;
    z-index: 1;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* ============================================
   CARDS - Professional & Interactive
   ============================================ */

.industry-card,
.blog-card,
.stat-card,
.testimonial-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

.industry-card:hover::before,
.blog-card:hover::before {
    transform: scaleX(1);
}

.industry-card:hover,
.blog-card:hover,
.stat-card:hover,
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-500);
}

/* ============================================
   BUTTONS - Professional CTA System
   ============================================ */

.cta-button,
.submit-btn {
    display: inline-block;
    padding: var(--space-md) var(--space-2xl);
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-colored);
    transition: all var(--transition-base);
}

.cta-button::before,
.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before,
.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.cta-button:active,
.submit-btn:active {
    transform: translateY(0);
}

/* ============================================
   SECTIONS - Professional Spacing
   ============================================ */

.industries-showcase,
.stats-section,
.testimonials-section,
.blog-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section-heading {
    text-align: center;
    margin-bottom: var(--space-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
    font-size: 1.125rem;
}

/* ============================================
   GRIDS - Professional Layout System
   ============================================ */

.industries-grid,
.blog-grid,
.testimonials-grid,
.stats-grid {
    display: grid;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.industries-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   ICONS & VISUALS - Professional Polish
   ============================================ */

.industry-icon,
.stat-icon,
.blog-placeholder {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
    display: inline-block;
    transition: transform var(--transition-bounce);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.industry-card:hover .industry-icon,
.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ============================================
   STATS - Professional Data Display
   ============================================ */

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    font-family: var(--font-display);
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ============================================
   TESTIMONIALS - Professional Social Proof
   ============================================ */

.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary-500);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.testimonial-author {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-200);
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   BLOG CARDS - Professional Content Display
   ============================================ */

.blog-image {
    width: 100%;
    height: 220px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.blog-content {
    padding: var(--space-xl);
}

.blog-content h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.blog-date {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.read-more,
.industry-link {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.read-more::after,
.industry-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.read-more:hover,
.industry-link:hover {
    color: var(--primary-700);
    gap: var(--space-md);
}

.read-more:hover::after,
.industry-link:hover::after {
    transform: translateX(4px);
}

/* ============================================
   CONTENT PAGES - Professional Typography
   ============================================ */

.page-header {
    padding: var(--space-4xl) 0;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.content-section {
    padding: var(--space-4xl) 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--gray-200);
}

.content-wrapper h3 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    color: var(--primary-600);
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: var(--space-2xl);
}

.benefits-list {
    list-style: none;
    margin: var(--space-xl) 0;
}

.benefits-list li {
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-500);
    transition: all var(--transition-base);
}

.benefits-list li:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-600);
}

.benefits-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================
   FOOTER - Professional Closure
   ============================================ */

.footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: white;
    padding: var(--space-4xl) 0 var(--space-xl);
    margin-top: var(--space-4xl);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--accent-pink);
}

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

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE - Mobile-First Professional
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        gap: var(--space-lg);
        font-size: 0.9rem;
    }
    
    .hero {
        padding: var(--space-3xl) 0;
    }
    
    .industries-grid,
    .blog-grid,
    .testimonials-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .section-heading {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .nav-menu {
        gap: var(--space-md);
        font-size: 0.85rem;
    }
    
    .industry-card,
    .blog-card,
    .stat-card {
        padding: var(--space-lg);
    }
}

/* ============================================
   UTILITY CLASSES - Professional Helpers
   ============================================ */

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

/* Smooth scroll behavior */
html {
    scroll-padding-top: 100px;
}

/* Focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}
