/**
 * CV4SAP - Professional Corporate Landing Page Styles
 * SAP-style clean, trustworthy design
 */

/* ========================================
   PROFESSIONAL DESIGN SYSTEM
   ======================================== */

:root {
    /* SAP-inspired Professional Colors */
    --sap-blue: #0070F2;
    --sap-blue-dark: #0058C6;
    --sap-blue-light: #E8F4FF;
    --sap-navy: #1B2559;
    --sap-gold: #E9730C;

    /* Neutral Palette */
    --white: #FFFFFF;
    --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 */
    --success: #059669;
    --success-light: #D1FAE5;

    /* Shadows */
    --shadow-sm: 0 1px 2px 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);
}

/* ========================================
   BASE STYLES
   ======================================== */

.pro-landing {
    background: var(--white);
    color: var(--gray-800);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
}

.pro-landing main {
    overflow-x: hidden;
}

/* ========================================
   NAVIGATION
   ======================================== */

.pro-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s;
}

.pro-nav.scrolled {
    box-shadow: var(--shadow-md);
}

.pro-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.pro-nav .nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--sap-navy);
}

.pro-nav .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--sap-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.125rem;
}

.pro-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.pro-nav .nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

.pro-nav .nav-links a:hover {
    color: var(--sap-blue);
}

.pro-nav .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pro-nav .btn-login {
    color: var(--sap-blue);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 10px 20px;
    border: 1.5px solid var(--sap-blue);
    border-radius: 8px;
    transition: all 0.2s;
}

.pro-nav .btn-login:hover {
    background: var(--sap-blue);
    color: var(--white);
}

.pro-nav .btn-register {
    background: var(--sap-blue);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.2s;
}

.pro-nav .btn-register:hover {
    background: var(--sap-blue-dark);
    color: var(--white);
}

.pro-nav .nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gray-700);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.lang-switcher:hover {
    color: var(--sap-blue);
    border-color: var(--sap-blue);
    background: var(--sap-blue-light);
}

/* ========================================
   HERO SECTION
   ======================================== */

.pro-hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.pro-hero .hero-content {
    max-width: 640px;
}

.pro-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sap-blue-light);
    color: var(--sap-blue);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.pro-hero .hero-badge i {
    font-size: 1rem;
}

.pro-hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--sap-navy);
    margin-bottom: 24px;
}

.pro-hero h1 .highlight {
    color: var(--sap-blue);
}

.pro-hero .hero-desc {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.pro-hero .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sap-blue);
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--sap-blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--gray-700);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--gray-800);
}

/* Trust Stats */
.pro-hero .trust-stats {
    display: flex;
    gap: 48px;
}

.pro-hero .stat-item {
    text-align: left;
}

.pro-hero .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sap-navy);
}

.pro-hero .stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Hero Visual */
.pro-hero .hero-visual {
    position: relative;
}

.cv-preview-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-xl);
}

.cv-preview-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.cv-avatar {
    width: 56px;
    height: 56px;
    background: var(--sap-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.cv-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.cv-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 4px 0 0;
}

.cv-modules-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.module-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.module-tag.primary {
    background: var(--sap-blue-light);
    color: var(--sap-blue);
}

.cv-stats-preview {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 8px;
}

.cv-stat {
    text-align: center;
}

.cv-stat .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.cv-stat .label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Floating badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.floating-badge i {
    font-size: 1.125rem;
}

.floating-badge.success i {
    color: var(--success);
}

.floating-badge.primary i {
    color: var(--sap-blue);
}

.fb-1 {
    top: 20px;
    right: -30px;
}

.fb-2 {
    bottom: 40px;
    left: -40px;
}

/* ========================================
   MODULES BAR
   ======================================== */

.modules-bar {
    padding: 24px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    overflow-x: hidden;
}

.modules-bar .label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 24px;
}

.modules-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.modules-list .module {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-600);
}

.modules-list .dot {
    color: var(--gray-300);
    font-size: 0.5rem;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.pro-features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header .overline {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--sap-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sap-navy);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--sap-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--sap-blue-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sap-blue);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   HOW IT WORKS
   ======================================== */

.pro-process {
    padding: 100px 0;
    background: var(--gray-50);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.67% + 24px);
    right: calc(16.67% + 24px);
    height: 2px;
    background: var(--gray-200);
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--sap-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sap-blue);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--sap-blue-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sap-blue);
    font-size: 1.25rem;
    margin: 0 auto 16px;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */

.pro-cta {
    padding: 100px 0;
}

.cta-box {
    background: var(--sap-navy);
    border-radius: 24px;
    padding: 80px;
    text-align: center;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box .btn-primary {
    background: var(--white);
    color: var(--sap-navy);
}

.cta-box .btn-primary:hover {
    background: var(--gray-100);
    color: var(--sap-navy);
}

/* ========================================
   CORPORATE SECTION
   ======================================== */

.pro-corporate {
    padding: 100px 0;
    background: var(--gray-50);
}

.corporate-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 64px;
}

.corporate-box .overline {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--sap-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.corporate-box h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sap-navy);
    margin-bottom: 16px;
}

.corporate-box>p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.corporate-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.corp-type {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 12px;
}

.corp-type-icon {
    width: 48px;
    height: 48px;
    background: var(--sap-blue-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sap-blue);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.corp-type h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 4px;
}

.corp-type p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* ========================================
   FOOTER
   ======================================== */

.pro-footer {
    padding: 40px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.pro-footer .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.pro-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--gray-700);
}

.pro-footer .footer-brand .brand-icon {
    width: 28px;
    height: 28px;
    background: var(--sap-blue);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.875rem;
}

.pro-footer .footer-text {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.pro-footer .footer-links {
    display: flex;
    gap: 24px;
}

.pro-footer .footer-links a {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s;
}

.pro-footer .footer-links a:hover {
    color: var(--sap-blue);
}

/* ========================================
   MOBILE MENU
   ======================================== */

.pro-mobile-menu {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px;
    z-index: 999;
    display: none;
}

.pro-mobile-menu.active {
    display: block;
}

.pro-mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100);
}

.pro-mobile-menu a:last-child {
    border-bottom: none;
}

.pro-mobile-menu .btn-register-mobile {
    display: block;
    background: var(--sap-blue);
    color: var(--white);
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    border-bottom: none;
}

.pro-mobile-menu .btn-login-mobile {
    display: block;
    background: var(--sap-navy);
    color: var(--white);
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    border-bottom: none;
}

.pro-mobile-menu .btn-login-mobile:hover {
    background: #0d1f3c;
    color: var(--white);
}

.mobile-auth-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.mobile-auth-btns a {
    border-bottom: none !important;
}

/* Language accordion */
.mobile-lang-accordion {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-lang-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    border: none;
    background: none;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
}

.mobile-lang-toggle:hover {
    color: var(--sap-blue);
}

.mobile-lang-chevron {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.mobile-lang-toggle[aria-expanded="true"] .mobile-lang-chevron {
    transform: rotate(180deg);
}

.mobile-lang-options {
    display: none;
    padding-bottom: 8px;
}

.mobile-lang-options.open {
    display: block;
}

.mobile-lang-options a {
    display: block;
    padding: 10px 12px !important;
    color: var(--gray-600);
    border-radius: 6px;
    border-bottom: none !important;
    font-size: 0.9rem;
}

.mobile-lang-options a:hover,
.mobile-lang-options a.active {
    background: var(--sap-blue-light);
    color: var(--sap-blue);
}

/* Remove old classes */
.mobile-lang-switcher {
    display: none;
}

.mobile-lang-btn {
    display: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    .pro-nav .nav-links {
        display: none;
    }

    .pro-nav .nav-actions {
        display: none;
    }

    .pro-nav .nav-toggle {
        display: block;
    }

    .pro-hero .hero-visual {
        display: none;
    }

    .fb-1,
    .fb-2 {
        display: none;
    }

    img,
    video,
    iframe {
        max-width: 100%;
    }

    .cv-preview-card {
        max-width: 100%;
        overflow: hidden;
    }

    section {
        overflow-x: hidden;
    }

    .pro-hero h1 {
        font-size: 2.5rem;
    }

    .pro-hero .hero-visual {
        margin-top: 48px;
    }

    .floating-badge {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .process-steps::before {
        display: none;
    }

    .corporate-types {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 48px 24px;
    }

    .corporate-box {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .pro-hero {
        padding: 100px 0 60px;
    }

    .pro-hero .hero-visual {
        display: none;
    }

    .pro-hero h1 {
        font-size: 2rem;
    }

    .pro-hero .hero-desc {
        font-size: 1rem;
    }

    .pro-hero .hero-actions {
        flex-direction: column;
    }

    .pro-hero .hero-actions a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .pro-hero .trust-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px 32px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }

    .pro-footer .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}