/* Professional Typography and Visual Hierarchy */

/* Enhanced Typography System */
:root {
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Type Scale - Professional Ratios */
    --text-xs: clamp(0.75rem, 1.5vw, 0.875rem);
    --text-sm: clamp(0.875rem, 2vw, 1rem);
    --text-base: clamp(1rem, 2.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 3vw, 1.25rem);
    --text-xl: clamp(1.25rem, 3.5vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 4vw, 2rem);
    --text-3xl: clamp(2rem, 5vw, 2.5rem);
    --text-4xl: clamp(2.5rem, 6vw, 3rem);
    --text-5xl: clamp(3rem, 7vw, 4rem);
    
    /* Professional Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Professional Colors */
    --color-primary: #3b82f6;
    --color-primary-dark: #1d4ed8;
    --color-secondary: #64748b;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-bg: #f1f5f9;
    --color-white: #ffffff;
    --color-success: #10b981;
    --color-error: #ef4444;
    
    /* Shadows - More refined */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* Professional Text Hierarchy */
.text-display {
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-heading-1 {
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.text-heading-2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.3;
}

.text-heading-3 {
    font-size: var(--text-2xl);
    font-weight: 600;
    line-height: 1.4;
}

.text-body-large {
    font-size: var(--text-lg);
    line-height: 1.7;
}

.text-body {
    font-size: var(--text-base);
    line-height: 1.6;
}

.text-small {
    font-size: var(--text-sm);
    line-height: 1.5;
}

/* Professional Layout Improvements */
.section {
    padding: var(--space-4xl) 0;
}

.section__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.section__title {
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.section__subtitle {
    color: var(--color-text-light);
    font-size: var(--text-lg);
    line-height: 1.7;
}

/* Professional Card Enhancements */
.card {
    background: var(--color-white);
    border-radius: 16px;
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Professional Button Styles */
.btn {
    font-weight: 600;
    border-radius: 12px;
    transition: all var(--transition-base);
    text-transform: none;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
}

.btn:hover::before {
    transform: translateX(0);
}

/* Enhanced Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid rgba(148, 163, 184, 0.12);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.service-card__header {
    position: relative;
    z-index: 1;
}

.service-card__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
}

.service-card__description {
    font-size: var(--text-base);
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.service-card__features {
    margin-bottom: var(--space-2xl);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.feature-bullet {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.feature-bullet::before {
    content: '✓';
}

/* Professional Form Styling */
.form__group {
    margin-bottom: var(--space-xl);
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: var(--text-base);
    transition: all var(--transition-base);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form__label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    display: block;
}

/* Professional Hero Section */
.hero__title {
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-xl);
}

.hero__subtitle {
    font-size: var(--text-xl);
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
}

/* Professional Stats */
.stat-card {
    text-align: center;
    padding: var(--space-xl);
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-top: var(--space-sm);
}

/* Professional Process Steps */
.step-card {
    padding: var(--space-2xl);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.step-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-primary);
}

.step-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.step-description {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Professional FAQ */
.faq-item {
    margin-bottom: var(--space-lg);
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.faq-item.active {
    border-color: var(--color-primary);
}

.faq-question {
    padding: var(--space-xl);
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin: 0;
}

.faq-answer {
    padding: 0 var(--space-xl) var(--space-xl);
    font-size: var(--text-base);
    line-height: 1.6;
}

/* Professional Footer */
.footer {
    background: var(--color-text);
    color: var(--color-white);
    padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer__title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-base);
}

.footer__link:hover {
    color: var(--color-primary);
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-scale {
    animation: scaleIn 0.5s ease-out forwards;
}

/* Professional Responsive Adjustments */
@media (max-width: 768px) {
    :root {
        --space-4xl: 3rem;
        --space-3xl: 2rem;
    }
    
    .section {
        padding: var(--space-3xl) 0;
    }
    
    .card {
        padding: var(--space-xl);
    }
}

/* Professional Loading States */
.loading {
    position: relative;
    color: transparent;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Professional Focus States */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Professional Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .section {
        page-break-inside: avoid;
    }
}
