/* FixiBo Landing Page - Professional Color System */

:root {
    /* === PROFESSIONAL COLOR PALETTE === */
    /* Primary Colors - Deep Tech Blue Family */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    --primary-950: #172554;
    
    /* Secondary Colors - Rich Purple Family */
    --secondary-50: #f5f3ff;
    --secondary-100: #ede9fe;
    --secondary-200: #ddd6fe;
    --secondary-300: #c4b5fd;
    --secondary-400: #a78bfa;
    --secondary-500: #8b5cf6;
    --secondary-600: #7c3aed;
    --secondary-700: #6d28d9;
    --secondary-800: #5b21b6;
    --secondary-900: #4c1d95;
    --secondary-950: #2e1065;
    
    /* Success Colors - Vibrant Teal Family */
    --success-50: #f0fdfa;
    --success-100: #ccfbf1;
    --success-200: #99f6e4;
    --success-300: #5eead4;
    --success-400: #2dd4bf;
    --success-500: #14b8a6;
    --success-600: #0d9488;
    --success-700: #0f766e;
    --success-800: #115e59;
    --success-900: #134e4a;
    --success-950: #042f2e;
    
    /* Warning Colors - Amber Family */
    --warning-50: #fffbeb;
    --warning-100: #fef3c7;
    --warning-200: #fde68a;
    --warning-300: #fcd34d;
    --warning-400: #fbbf24;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    --warning-700: #b45309;
    --warning-800: #92400e;
    --warning-900: #78350f;
    --warning-950: #451a03;
    
    /* Error Colors - Rose Family */
    --error-50: #fff1f2;
    --error-100: #ffe4e6;
    --error-200: #fecdd3;
    --error-300: #fda4af;
    --error-400: #fb7185;
    --error-500: #f43f5e;
    --error-600: #e11d48;
    --error-700: #be123c;
    --error-800: #9f1239;
    --error-900: #881337;
    --error-950: #4c0519;
    
    /* Info Colors - Sky Family */
    --info-50: #f0f9ff;
    --info-100: #e0f2fe;
    --info-200: #bae6fd;
    --info-300: #7dd3fc;
    --info-400: #38bdf8;
    --info-500: #0ea5e9;
    --info-600: #0284c7;
    --info-700: #0369a1;
    --info-800: #075985;
    --info-900: #0c4a6e;
    --info-950: #082f49;
    
    /* Neutral Colors - Slate Family */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    --neutral-950: #020617;
    
    /* === SEMANTIC COLOR ASSIGNMENTS === */
    --primary-color: var(--primary-600);
    --primary-color-hover: var(--primary-700);
    --primary-color-active: var(--primary-800);
    --primary-color-disabled: var(--primary-300);
    --primary-color-light: var(--primary-50);
    --primary-color-dark: var(--primary-900);
    
    --secondary-color: var(--secondary-600);
    --secondary-color-hover: var(--secondary-700);
    --secondary-color-active: var(--secondary-800);
    --secondary-color-disabled: var(--secondary-300);
    --secondary-color-light: var(--secondary-50);
    --secondary-color-dark: var(--secondary-900);
    
    --success-color: var(--success-600);
    --success-color-hover: var(--success-700);
    --success-color-active: var(--success-800);
    --success-color-disabled: var(--success-300);
    --success-color-light: var(--success-50);
    --success-color-dark: var(--success-900);
    
    --info-color: var(--info-600);
    --info-color-hover: var(--info-700);
    --info-color-active: var(--info-800);
    --info-color-disabled: var(--info-300);
    --info-color-light: var(--info-50);
    --info-color-dark: var(--info-900);
    
    --warning-color: var(--warning-600);
    --warning-color-hover: var(--warning-700);
    --warning-color-active: var(--warning-800);
    --warning-color-disabled: var(--warning-300);
    --warning-color-light: var(--warning-50);
    --warning-color-dark: var(--warning-900);
    
    --danger-color: var(--error-600);
    --danger-color-hover: var(--error-700);
    --danger-color-active: var(--error-800);
    --danger-color-disabled: var(--error-300);
    --danger-color-light: var(--error-50);
    --danger-color-dark: var(--error-900);
    
    --dark-color: var(--neutral-900);
    --light-color: var(--neutral-50);
    
    /* === PROFESSIONAL GRADIENTS === */
    --primary-gradient: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 50%, var(--primary-800) 100%);
    --secondary-gradient: linear-gradient(135deg, var(--secondary-600) 0%, var(--secondary-700) 50%, var(--secondary-800) 100%);
    --success-gradient: linear-gradient(135deg, var(--success-600) 0%, var(--success-700) 50%, var(--success-800) 100%);
    --info-gradient: linear-gradient(135deg, var(--info-600) 0%, var(--info-700) 50%, var(--info-800) 100%);
    --warning-gradient: linear-gradient(135deg, var(--warning-600) 0%, var(--warning-700) 50%, var(--warning-800) 100%);
    --error-gradient: linear-gradient(135deg, var(--error-600) 0%, var(--error-700) 50%, var(--error-800) 100%);
    --dark-gradient: linear-gradient(135deg, var(--neutral-800) 0%, var(--neutral-900) 100%);
    --light-bg: linear-gradient(135deg, var(--neutral-50) 0%, var(--neutral-100) 100%);
    --hero-gradient: linear-gradient(135deg, var(--primary-700) 0%, var(--secondary-700) 50%, var(--primary-800) 100%);
    
    /* === ACCESSIBILITY-COMPLIANT SHADOWS === */
    --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 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* === ENHANCED DESIGN TOKENS === */
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --border-radius-2xl: 24px;
    --border-radius-full: 9999px;
    
    /* === PROFESSIONAL TRANSITIONS === */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* === CONTRAST RATIOS (WCAG AA/AAA COMPLIANT) === */
    --contrast-primary: #ffffff;
    --contrast-secondary: #ffffff;
    --contrast-success: #ffffff;
    --contrast-warning: #000000;
    --contrast-error: #ffffff;
    --contrast-info: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* === HERO SECTION === */
.hero-section {
    background: var(--hero-gradient);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)" /><stop offset="100%" style="stop-color:rgba(255,255,255,0)" /></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)" /><circle cx="800" cy="300" r="150" fill="url(%23a)" /><circle cx="400" cy="700" r="120" fill="url(%23a)" /></svg>');
    animation: float 6s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content h1 {
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.hero-stats .stat-item h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Image Placeholders - Now Transparent */
.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent !important;
    border: 2px dashed rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: 1;
}

.image-placeholder:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.placeholder-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: var(--dark-color);
}

.placeholder-content i {
    color: var(--primary-color);
    opacity: 0.6;
    margin-bottom: 1rem;
}

.placeholder-content p {
    font-size: 0.9rem;
    color: var(--dark-color);
    opacity: 0.7;
}

/* === SECTION STYLES === */
.features-section, .benefits-section, .process-section {
    padding: 6rem 0;
}

.features-section {
    background: var(--light-color);
}

.benefits-section {
    background: var(--neutral-50);
}

.process-section {
    background-color: var(--neutral-100);
}

.cta-section {
    padding: 6rem 0;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    z-index: -1;
    animation: wave 15s infinite linear;
    opacity: 0.9;
}

@keyframes wave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Cards */
.feature-card {
    background-color: #ffffff;
    border: 1px solid var(--neutral-200);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2), transparent);
    transform: scale(0);
    transition: transform 0.5s ease-out;
    z-index: 0;
}

.feature-card:hover::before {
    transform: scale(2);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    color: var(--contrast-primary);
    font-size: 1.75rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.feature-card h4 {
    font-weight: 700;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--neutral-600);
}

/* Process Steps */
.process-step {
    position: relative;
    transition: var(--transition);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--neutral-200);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
    border: 3px solid var(--neutral-200);
}

.step-number {
    position: absolute;
    top: -15px;
    right: 35%;
    transform: translateX(50%);
    background: var(--primary-color);
    color: var(--contrast-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 3px solid white;
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: translateX(50%) scale(1.1);
    background: var(--primary-color-hover);
}

.process-step:hover .step-icon {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.process-step h4 {
    font-weight: 700;
    color: var(--dark-color);
}

.process-step p {
    color: var(--neutral-600);
}

/* === PROFESSIONAL BUTTON SYSTEM === */
.btn {
    border-radius: var(--border-radius-full);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.8rem 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    transition: var(--transition-fast);
    transform: translateZ(0); /* For hardware acceleration */
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: right;
}

.btn > * {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--contrast-primary);
    box-shadow: var(--shadow-md);
}

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

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-outline-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: none;
}

.btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-outline-primary:active {
    transform: scale(0.98);
}

.btn-light {
    background: var(--light-bg);
    color: var(--dark-color);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    color: var(--dark-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-light:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-success {
    background: var(--success-gradient);
    color: var(--contrast-success);
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    color: var(--contrast-success);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-success:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-xl {
    padding: 1.2rem 3rem;
    font-size: 1.25rem;
}

.btn:disabled {
    background: var(--neutral-200);
    color: var(--neutral-400);
    box-shadow: none;
    cursor: not-allowed;
}

.btn:focus-visible {
    outline: 3px solid var(--primary-400);
    outline-offset: 2px;
}

/* Benefits Section */
.benefit-content {
    padding: 2rem 0;
}

.benefit-content h3 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.benefit-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.benefit-content .lead {
    color: var(--neutral-600);
    font-size: 1.1rem;
}

.benefit-content ul li {
    font-size: 1.1rem;
    color: var(--neutral-700);
    display: flex;
    align-items: flex-start;
}

.benefit-content ul li i {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    margin-top: 5px;
}

.benefit-content ul li strong {
    color: var(--dark-color);
    font-weight: 600;
}

/* Footer */
.footer-section {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding: 4rem 0;
    font-size: 0.9rem;
}

.footer-section h5 {
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--neutral-300);
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

/* Staggered Animations */
.feature-card:nth-child(1) { animation: fadeInUp 0.8s ease-out 0.1s both; }
.feature-card:nth-child(2) { animation: fadeInUp 0.8s ease-out 0.2s both; }
.feature-card:nth-child(3) { animation: fadeInUp 0.8s ease-out 0.3s both; }

.process-step:nth-child(1) { animation: fadeInUp 0.8s ease-out 0.1s both; }
.process-step:nth-child(2) { animation: fadeInUp 0.8s ease-out 0.2s both; }
.process-step:nth-child(3) { animation: fadeInUp 0.8s ease-out 0.3s both; }
.process-step:nth-child(4) { animation: fadeInUp 0.8s ease-out 0.4s both; }

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .benefit-content {
        text-align: left;
        margin-bottom: 3rem;
    }
    
    .benefit-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats .row {
        text-align: center;
    }
    
    .hero-stats .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .placeholder-content {
        padding: 1rem;
    }
    
    .placeholder-content i {
        font-size: 3rem;
    }
    
    .placeholder-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .hero-stats {
        padding: 1rem;
    }
    
    .hero-stats .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

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

/* High contrast mode */
@media (prefers-contrast: high) {
    .image-placeholder {
        border-color: currentColor;
    }
    
    .feature-card {
        border-color: currentColor;
    }
} 