/**
 * CV4SAP - Main Stylesheet
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --secondary: #64748B;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #06B6D4;
    --light: #F8FAFC;
    --dark: #1E293B;
    --white: #FFFFFF;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 0.5rem;
    --box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --box-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.2s ease-in-out;
}

/* ========================================
   Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--gray-100);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.3;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    font-size: 1.25rem;
}

.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.navbar-dark .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ========================================
   Cards
   ======================================== */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: var(--white);
}

.card-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

.card-footer {
    background-color: var(--gray-100);
    border-top: 1px solid var(--gray-200);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-success {
    background-color: var(--success);
    border-color: var(--success);
}

.btn-danger {
    background-color: var(--danger);
    border-color: var(--danger);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

/* ========================================
   Forms
   ======================================== */
.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.375rem;
}

.form-control,
.form-select {
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--danger);
}

.invalid-feedback {
    color: var(--danger);
    font-size: 0.8125rem;
}

.form-text {
    color: var(--gray-500);
    font-size: 0.8125rem;
}

/* Required field indicator */
.required::after {
    content: ' *';
    color: var(--danger);
}

/* ========================================
   Tables
   ======================================== */
.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: var(--gray-100);
    border-bottom: 2px solid var(--gray-200);
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

.table tbody td {
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: var(--gray-100);
}

/* ========================================
   Alerts
   ======================================== */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.alert-info {
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--info);
}

/* ========================================
   Badges
   ======================================== */
.badge {
    font-weight: 500;
    padding: 0.375rem 0.625rem;
    border-radius: 9999px;
}

/* ========================================
   Auth Pages
   ======================================== */
.auth-page {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.auth-wrapper {
    min-height: 100vh;
}

/* ========================================
   Dashboard Stats
   ======================================== */
.stat-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-card .stat-icon.bg-primary-soft {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.stat-card .stat-icon.bg-success-soft {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.stat-card .stat-icon.bg-warning-soft {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.stat-card .stat-icon.bg-danger-soft {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
}

.stat-card .stat-label {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ========================================
   Wizard
   ======================================== */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--gray-200);
    z-index: 0;
}

.wizard-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.wizard-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.wizard-step.active .wizard-step-number {
    background-color: var(--primary);
    color: var(--white);
}

.wizard-step.completed .wizard-step-number {
    background-color: var(--success);
    color: var(--white);
}

.wizard-step-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: center;
}

.wizard-step.active .wizard-step-label {
    color: var(--primary);
    font-weight: 500;
}

/* ========================================
   Link Cards
   ======================================== */
.link-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary);
    margin-bottom: 1rem;
}

.link-card.link-private {
    border-left-color: var(--warning);
}

.link-card .link-url {
    font-family: monospace;
    background-color: var(--gray-100);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

/* ========================================
   CV View
   ======================================== */
.cv-section {
    margin-bottom: 2rem;
}

.cv-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.cv-module-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--gray-100);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin: 0.25rem;
}

.cv-project-item {
    padding: 1rem;
    background-color: var(--gray-100);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.375rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-card .stat-value {
        font-size: 1.5rem;
    }

    .wizard-step-label {
        display: none;
    }

    .btn {
        padding: 0.625rem 1rem;
    }
}

/* ========================================
   Utilities
   ======================================== */
.text-primary {
    color: var(--primary) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-muted {
    color: var(--gray-500) !important;
}

.bg-primary-soft {
    background-color: rgba(37, 99, 235, 0.1) !important;
}

.bg-success-soft {
    background-color: rgba(16, 185, 129, 0.1) !important;
}

.bg-warning-soft {
    background-color: rgba(245, 158, 11, 0.1) !important;
}

.bg-danger-soft {
    background-color: rgba(239, 68, 68, 0.1) !important;
}

.cursor-pointer {
    cursor: pointer;
}

.no-select {
    user-select: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* ========================================
   LANDING PAGE STYLES
   ======================================== */

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.landing-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
    border: none;
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    color: var(--white);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid var(--gray-600);
    color: var(--gray-300);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-hero-outline:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-700);
}

/* Code Window */
.hero-visual {
    position: relative;
}

.code-window {
    background: #1a1a2e;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.code-window:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.code-header {
    background: #16162a;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.code-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.code-title {
    color: var(--gray-500);
    font-size: 0.75rem;
    margin-left: auto;
    font-family: monospace;
}

.code-body {
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
    color: #a8b2c3;
}

.code-body pre {
    margin: 0;
}

.code-body .key {
    color: #7dd3fc;
}

.code-body .string {
    color: #86efac;
}

.code-body .number {
    color: #fbbf24;
}

.code-body .bool {
    color: #c4b5fd;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 0.875rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.25rem;
    color: var(--primary);
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: -15%;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* Features Section */
.section-features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--gray-100);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-highlight {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--gray-900) 0%, #2D3748 100%);
    color: var(--white);
}

.feature-highlight h3 {
    color: var(--white);
}

.feature-highlight p {
    color: var(--gray-400);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-highlight .feature-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.icon-blue {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.icon-purple {
    background: rgba(124, 58, 237, 0.1);
    color: #7C3AED;
}

.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.icon-orange {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.icon-red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.feature-tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    color: var(--gray-400);
}

/* How It Works */
.section-how-it-works {
    background: var(--gray-100);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-item {
    text-align: center;
    max-width: 280px;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.1);
    line-height: 1;
    margin-bottom: -1.5rem;
}

.step-content {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
}

.step-connector {
    width: 100px;
    color: var(--gray-300);
    padding-top: 5rem;
}

/* Modules Cloud */
.section-modules {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

.section-modules .section-title {
    color: var(--white);
}

.section-modules .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
}

.modules-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.module-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.module-tag:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.module-tag.highlight {
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--primary);
    color: var(--primary-light);
}

.module-tag.size-sm {
    font-size: 0.875rem;
}

.module-tag.size-md {
    font-size: 1rem;
}

.module-tag.size-lg {
    font-size: 1.125rem;
    padding: 0.625rem 1.5rem;
}

.module-tag.size-xl {
    font-size: 1.25rem;
    padding: 0.75rem 1.75rem;
}

/* CTA Section */
.section-cta {
    background: var(--white);
    padding: 80px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content .text-gradient {
    background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-content .btn-hero-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-content .btn-hero-primary:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-decoration .deco-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: 10%;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: -20px;
}

/* Companies Section */
.section-companies {
    background: var(--gray-100);
    padding: 80px 0;
}

.companies-card {
    background: var(--white);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.companies-card h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.company-features {
    margin-top: 1.5rem;
}

.cf-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.cf-item i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.companies-illustration {
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.2;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-highlight {
        grid-column: span 1;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .step-connector {
        display: none;
    }

    .cta-card {
        padding: 40px 30px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .companies-card {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .section-title {
        font-size: 1.75rem;
    }

    section {
        padding: 60px 0;
    }
}

/* ========================================
   Dashboard Welcome Hero
   ======================================== */
.welcome-hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #0ea5e9 100%);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
}

.welcome-content {
    position: relative;
    z-index: 2;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    color: white;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.welcome-badge i {
    color: #4ade80;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.welcome-title .text-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.welcome-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-welcome-primary {
    background: white;
    color: #1e40af;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-welcome-primary:hover {
    background: white;
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-welcome-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-welcome-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.welcome-illustration {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
}

/* Decorative circles */
.welcome-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.decoration-circle.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
}

.decoration-circle.circle-2 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: 10%;
}

.decoration-circle.circle-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    left: 5%;
}

/* Responsive */
@media (max-width: 992px) {
    .welcome-hero {
        padding: 2rem;
    }

    .welcome-title {
        font-size: 1.75rem;
    }

    .welcome-actions {
        gap: 0.5rem;
    }

    .btn-welcome-primary,
    .btn-welcome-glass {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .welcome-hero {
        padding: 1.5rem;
    }

    .welcome-title {
        font-size: 1.5rem;
    }

    .welcome-actions {
        flex-direction: column;
    }

    .btn-welcome-primary,
    .btn-welcome-glass {
        width: 100%;
        justify-content: center;
    }
}