/* ========================================
   Arito Approval - HR Document Management Platform
   Modern SaaS, Blue Theme, Light Mode
======================================== */

/* CSS Variables */
:root {
    --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;

    --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;

    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --danger: #ef4444;
    --danger-light: #fee2e2;

    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    --shadow-xl: 0 35px 60px -15px rgb(0 0 0 / 0.2);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;

    /* Extra Icon Colors */
    --accent-indigo: #6366f1;
    --accent-purple: #8b5cf6;
    --accent-teal: #14b8a6;
    --accent-gold: #f59e0b;
    --accent-cyan: #06b6d4;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   Navigation
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 0.5rem;

    color: var(--primary-700);
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--gray-200);
    border-color: var(--primary-200);
}

.lang-btn svg {
    width: 18px;
    height: 18px;
}

#currentLang {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
    overflow: hidden;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: left;
}

.lang-option:hover {
    background: var(--primary-50);
    color: var(--primary-700);
}

.lang-option.active {
    background: var(--primary-100);
    color: var(--primary-700);
    font-weight: 600;
}

.lang-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-outline {
    border-color: var(--primary-600);
    color: var(--primary-600);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-50);
}

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

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

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

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.btn-block {
    width: 100%;
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-200);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-300);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-100);
    top: 50%;
    left: 30%;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -30px) rotate(5deg);
    }

    50% {
        transform: translate(-10px, 20px) rotate(-5deg);
    }

    75% {
        transform: translate(30px, 10px) rotate(3deg);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-700);
    margin-bottom: 1.5rem;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.trust-icon {
    color: var(--success);
    font-weight: bold;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1f2937, #111827);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 2px rgba(255, 255, 255, 0.1) inset;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {

    0%,
    100% {
        transform: translateY(0) rotateY(-5deg) rotateX(5deg);
    }

    50% {
        transform: translateY(-20px) rotateY(5deg) rotateX(-5deg);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: var(--white);
}

.app-logo {
    font-weight: 700;
    font-size: 1rem;
}

.app-status {
    font-size: 0.75rem;
    opacity: 0.9;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.9;
    }

    50% {
        opacity: 0.5;
    }
}

.document-preview {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.doc-header-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-700);
    text-align: center;
    padding: 0.5rem;
    background: var(--primary-50);
    border-radius: var(--radius-sm);
}

.doc-header {
    height: 20px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    width: 60%;
}

.doc-line {
    height: 10px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.doc-line.short {
    width: 40%;
}

.doc-line.medium {
    width: 70%;
}

.signature-area {
    margin-top: auto;
    padding: 1rem;
    border: 2px dashed var(--primary-300);
    border-radius: var(--radius);
    background: var(--primary-50);
    text-align: center;
}

.signature-animation {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signature-svg {
    width: 100%;
    height: 100%;
}

.signature-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawSignature 3s ease-in-out infinite;
}

@keyframes drawSignature {
    0% {
        stroke-dashoffset: 300;
    }

    50% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

.signature-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    display: block;
}

.app-footer {
    padding: 1rem;
}

.sign-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
}

.sign-btn.pulse {
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
}

/* Floating badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    animation: badgeFloat 4s ease-in-out infinite;
}

.badge-1 {
    top: 20%;
    right: -60px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 30%;
    left: -80px;
    animation-delay: 2s;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fb-icon {
    color: var(--success);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
    font-size: 0.8rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-500);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {

    0%,
    100% {
        opacity: 1;
        top: 8px;
    }

    50% {
        opacity: 0.3;
        top: 20px;
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ========================================
   Section Styles
======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-100);
    color: var(--primary-700);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Problem Solution Section - New Design
======================================== */
.problem-solution {
    background: var(--gray-50);
}

/* Problem/Solution Cards Grid */
.ps-cards-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.ps-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ps-column-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 0.5rem;
}

.ps-column-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.problem-header {
    background: var(--danger-light);
    color: var(--danger);
}

.solution-header {
    background: var(--success-light);
    color: var(--success);
}

.ps-icon {
    font-size: 1.5rem;
}

.ps-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.problem-card {
    border-left: 4px solid var(--danger);
}

.solution-card {
    border-left: 4px solid var(--success);
}

.ps-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    transition: var(--transition);
}

.problem-card .ps-card-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.solution-card .ps-card-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.ps-card:hover .ps-card-icon {
    transform: scale(1.1);
}

.ps-card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.ps-card-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Arrow Divider */
.ps-arrow-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.arrow-line {
    width: 3px;
    flex: 1;
    background: linear-gradient(180deg, var(--gray-200), var(--primary-300), var(--gray-200));
}

.arrow-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    transition: var(--transition);
}

.ps-arrow-divider:hover .arrow-icon {
    background: var(--primary-600);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

/* Comparison Table Section - New Image Match Style */
.comparison-section {
    background: transparent;
    padding: 2rem 0;
    box-shadow: none;
    border-radius: 0;
}

.comparison-table-wrapper.simple-style {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow like image */
    overflow: hidden;
    /* For rounded corners on headers */
    padding: 0;
    /* Let table fill */
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

/* Header Styles */
.comparison-table thead {
    background: transparent;
    /* Reset default gradient */
}

.comparison-table th {
    padding: 1.5rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.criteria-header {
    background: var(--gray-50);
    /* Or very light gray to differentiate */
    background: #fdfdfd;
    /* Almost white */
    width: 25%;
}

.traditional-header {
    background: #FEE2E2;
    /* Light Red */
    color: #DC2626;
    /* Red 600 */
    width: 37.5%;
}

.digital-header {
    background: #D1FAE5;
    /* Light Green */
    color: #059669;
    /* Green 600 */
    width: 37.5%;
}

.header-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Body Styles */
.comparison-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    /* Very light gray border */
    vertical-align: middle;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: #fafafa;
    /* Very subtle hover */
}

.criteria-cell {
    font-weight: 700;
    color: var(--gray-800);
    text-align: left;
    padding-left: 2rem;
    /* Indent slightly */
}

.traditional-cell {
    color: var(--gray-500);
    background-color: rgb(255, 200, 200, 0.15);
    text-align: center;
}

.digital-cell {
    color: #10B981;
    /* Green color for text */
    font-weight: 600;
    background-color: rgba(151, 255, 186, 0.15);
    text-align: center;
}

/* ========================================
   Benefits Section
======================================== */
/* Benefits Slider Styles */
.benefits-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px;
}

.benefits-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-slide {
    flex: 0 0 100%;
    padding: 0 1rem;
    opacity: 0.3;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.benefit-slide.active {
    opacity: 1;
    transform: scale(1);
}

.benefit-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(37, 99, 235, 0.1);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    max-width: 700px;
    margin: 0 auto;
}

.benefit-card:hover {
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.08);
}

.benefit-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: var(--white);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
    transition: var(--transition);
}

/* --- Legal & Security Enhancements --- */
.legal-simple-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.legal-simple-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.legal-simple-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.legal-simple-item .legal-icon {
    width: 65px;
    height: 65px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    padding: 10px;
}

.legal-simple-item .legal-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.legal-simple-item:hover .legal-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.5);
}

.legal-item-text h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.legal-item-text p {
    color: var(--primary-200);
    font-size: 0.875rem;
    line-height: 1.5;
    opacity: 0.9;
}

.legal-commitment-box {
    margin-top: 4rem;
    padding: 3.5rem 2rem;
    background: radial-gradient(circle at top left, var(--primary-900), #0a0f1d);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(59, 130, 246, 0.1);
    animation: quoteGlow 6s ease-in-out infinite;
}

.legal-commitment-box::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 3rem;
    color: rgba(59, 130, 246, 0.2);
    opacity: 0.5;
}

.legal-commitment-box::after {
    content: '\f10e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    font-size: 3rem;
    color: rgba(59, 130, 246, 0.2);
    opacity: 0.5;
}

.legal-commitment-box p {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    background: linear-gradient(135deg, #fff 0%, var(--primary-200) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

@keyframes quoteGlow {

    0%,
    100% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(59, 130, 246, 0.1);
    }

    50% {
        box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2), inset 0 0 30px rgba(59, 130, 246, 0.2);
    }
}

/* ========================================
   Pricing Section - Hybrid Tier List
======================================== */
.pricing {
    background: #fcfcfd;
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--gray-100);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* display: flex; */
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.highlight {
    border: 2px solid #8b5cf6;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.08);
}

/* Ribbon Styling */
.ribbon-wrapper {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    top: -5px;
    left: -5px;
    z-index: 10;
}

.ribbon {
    font-weight: 700;
    text-align: center;
    transform: rotate(-45deg);
    position: relative;
    padding: 7px 0;
    left: -50px;
    top: 30px;
    width: 200px;
    background-color: var(--danger);
    color: var(--white);
    font-size: 0.7rem;
    text-transform: uppercase;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.ribbon::before,
.ribbon::after {
    content: "";
    border-top: 3px solid #b91c1c;
    /* Darker red for shadow */
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    position: absolute;
    bottom: -3px;
}

.ribbon::before {
    left: 0;
}

.ribbon::after {
    right: 0;
}

.pricing-card-header {
    margin-bottom: 2rem;
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 12px;
}

.package-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.package-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.package-starter {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
}

.package-professional {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border: 1px solid #ddd6fe;
}

.package-enterprise {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
}

/* Tier Frames inside Cards */
.tier-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.tier-frame {
    background: #f9fafb;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tier-frame:hover {
    background: var(--white);
    border-color: var(--primary-100);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.pricing-card.highlight .tier-frame:hover {
    border-color: #ddd6fe;
}

.tier-name {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.tier-price {
    font-weight: 800;
    color: var(--primary-700);
    font-size: 1rem;
}

.group-cta {
    margin-top: 1.5rem;
}

.group-cta .btn {
    width: 100%;
    padding: 1rem;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* --- Final CTA Enhancements --- */
.cta-trust-markers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.marker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.marker-icon {
    font-size: 1.1rem;
}

.cta-hotline {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Consolidated Pricing Notes */
.pricing-notes {
    text-align: center;
    margin-top: 3rem;
    color: var(--gray-600);
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.pricing-notes p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    margin: 0;
}

.pricing-notes i {
    color: var(--primary-600);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .pricing-category-card.recommended {
        transform: none;
    }
}

.benefit-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.benefit-card p {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-600);
    width: 30px;
    border-radius: var(--radius-full);
}

/* Highlight Row Styles */
.highlight-row-section {
    padding: 60px 0;
    background: var(--primary-900);
    position: relative;
    overflow: hidden;
}

.highlight-row-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.highlight-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.highlight-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    max-width: 900px;
    line-height: 1.6;
    font-style: italic;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
}

/* ========================================
   Features Section - Highlighted Features
======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-300));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-50);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    padding: 12px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.feature-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.features {
    background: var(--white);
    padding: 100px 0 120px;
}

/* Feature Highlight - 2 Column Layout */
.feature-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 6rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: var(--transition);
}

.feature-highlight:last-child {
    margin-bottom: 0;
}

/* Reverse layout for alternating features */
.feature-highlight-reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-highlight-reverse .feature-highlight-content {
    order: 1;
}

.feature-highlight-reverse .feature-highlight-image {
    order: 2;
}

/* Feature Image with Blue Background */
.feature-highlight-image {
    position: relative;
    padding: 3rem;
    background: linear-gradient(135deg, #EBF4FF 0%, #E0EFFE 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-mockup {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: transparent;
    padding: 0;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
}

.feature-mockup img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

/* Feature Content */
.feature-highlight-content {
    padding: 1rem 0;
}

.feature-highlight-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.feature-highlight-content .feature-desc {
    font-size: 1.0625rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Feature List with Arrow Icons */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border-left: none;
    transition: var(--transition);
}

.feature-list li:hover {
    background: transparent;
    transform: translateX(0);
}

.feature-list li:hover .feature-arrow {
    transform: translateX(3px);
}

.feature-arrow {
    color: var(--primary-600);
    font-size: 1.125rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.25rem;
    transition: var(--transition);
}

.feature-list li div {
    flex: 1;
}

.feature-list li strong {
    color: var(--gray-900);
    font-weight: 600;
    display: inline;
    margin-bottom: 0;
}

.feature-list li div {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 968px) {

    .feature-highlight,
    .feature-highlight-reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0;
        margin-bottom: 4rem;
    }

    .feature-highlight-reverse .feature-highlight-content {
        order: 1;
    }

    .feature-highlight-reverse .feature-highlight-image {
        order: 2;
    }

    .feature-highlight-content h3 {
        font-size: 1.75rem;
    }

    .feature-highlight-image {
        padding: 2rem;
    }
}


/* ========================================
   Legal Security Section - Two Column Layout
======================================== */
.legal-security {
    background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
    color: var(--white);
}

.legal-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.legal-text .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.legal-text .section-title {
    color: var(--white);
    text-align: left;
    margin-bottom: 1rem;
}

.legal-desc {
    color: var(--primary-200);
    margin-bottom: 2rem;
}

/* Two Column Legal Items */
.legal-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.legal-column-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.legal-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legal-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.legal-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.legal-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.legal-item h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.legal-item p {
    font-size: 0.8rem;
    color: var(--primary-200);
}

/* Shield Visual */
.shield-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.shield {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-icon {
    font-size: 5rem;
    z-index: 2;
    animation: shieldPulse 3s ease-in-out infinite;
}

@keyframes shieldPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.shield-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

.shield-ring.ring-2 {
    width: 140%;
    height: 140%;
    animation-delay: 1.5s;
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

.compliance-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.compliance-badge {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
}

/* ========================================
   How It Works Section - Step Tags
======================================== */
.how-it-works {
    background: var(--gray-50);
}

.steps-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.steps-line {
    position: absolute;
    top: 40px;
    left: 12.5%;
    width: 75%;
    height: 3px;
    background: var(--gray-200);
}

.steps-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-300));
    animation: lineFill 2s ease-out forwards;
}

@keyframes lineFill {
    to {
        width: 100%;
    }
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--white);
    border: 3px solid var(--primary-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-600);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.step:hover .step-number {
    background: var(--primary-500);
    color: var(--white);
    transform: scale(1.1);
}

.step-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

/* Step Tags */
.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.step-tag {
    padding: 0.25rem 0.75rem;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========================================
   Use Cases Section - 6 Cards Grid
======================================== */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.use-case-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-300);
}

.uc-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.uc-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.use-case-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.use-case-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ========================================
   Social Proof Section - Logo Placeholders
======================================== */
.social-proof {
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--white) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-600);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-500);
}

/* Trusted By Section (New) */
.trusted-by-section {
    padding: 2rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    overflow: hidden;
}

.trusted-title {
    text-align: center;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Success Stories Grid (Static List) */
.success-stories-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.success-stories-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--white);
}

.success-stories-grid a:hover {
    transform: translateY(-5px);
    filter: grayscale(0%);
    opacity: 1;
    box-shadow: var(--shadow-md);
}

.success-stories-grid img {
    max-height: 50px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

/* Logo Carousel */
.logo-slider-container {
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
    position: relative;
    width: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
}

.logo-slider-container::before,
.logo-slider-container::after {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    content: "";
    z-index: 2;
    pointer-events: none;
}

.logo-slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.logo-slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.logo-slide-track {
    display: flex;
    width: calc(200px * 20);
    animation: scroll 50s linear infinite;
}

.logo-slider-container:hover .logo-slide-track {
    animation-play-state: paused;
}

.slide {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.slide img {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.slide img:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move exactly half the track width (10 slides * 200px) */
        transform: translateX(calc(-200px * 10));
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.testimonial-quote {
    font-size: 1rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.author-info strong {
    display: block;
    color: var(--gray-800);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ========================================
   Pricing Section - 3-Category Refined Slider
======================================== */
.pricing {
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--white) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-100) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.5;
    z-index: 0;
}

/* Slider Container */
.pricing-slider-container {
    position: relative;
    max-width: 900px;
    margin: 4rem auto;
    z-index: 2;
}

.pricing-slider-viewport {
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 20px 0;
}

.pricing-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-slide {
    flex: 0 0 100%;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
}

/* Category Card Style */
.pricing-category-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    width: 100%;
    max-width: 700px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    position: relative;
    text-align: center;
}

.pricing-category-card.recommended {
    border: 2px solid var(--primary-500);
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-50) 100%);
    transform: scale(1.02);
}

.recommended-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-purple) 100%);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.category-header i {
    font-size: 3rem;
    color: var(--primary-600);
    margin-bottom: 1.5rem;
}

.category-header h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.category-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
}

/* Package Tiers */
.package-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

.tier-item {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: var(--transition);
}

.tier-item:hover {
    background: var(--white);
    border-color: var(--primary-300);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tier-item span:first-child {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 1rem;
}

.tier-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-600);
}

/* Navigation Buttons */
.pricing-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.pricing-nav-btn:hover {
    background: var(--primary-600);
    color: var(--white);
    border-color: var(--primary-600);
    box-shadow: var(--shadow-lg);
}

.pricing-nav-btn.prev {
    left: -80px;
}

.pricing-nav-btn.next {
    right: -80px;
}

/* Dots Controls */
.pricing-slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.pricing-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.pricing-dot.active {
    background: var(--primary-600);
    width: 32px;
    border-radius: var(--radius-full);
}

/* Notes & Trial */
/* Notes & Trial removed, consolidated above */

.pricing-trial-cta {
    text-align: center;
    margin-top: 4rem;
}

/* ========================================
   Stop Losing Sales Section
======================================== */
.stop-losing-sales {
    margin-top: 8rem;
    text-align: center;
    padding-bottom: 4rem;
}

.sls-inner {
    max-width: 900px;
    margin: 0 auto;
}

.sls-stars {
    color: #ffd700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.sls-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.sls-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
}

.sls-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #fff5f5;
    color: #e53e3e;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
    border: 1px solid #feb2b2;
}

/* Keep old pricing styles for backward compatibility */
.pricing-table-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    text-align: center;
}

.pricing-table-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 2px solid var(--gray-200);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.pricing-table thead {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.pricing-table th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 700;
    color: var(--gray-800);
    font-size: 1.05rem;
    border-bottom: 2px solid var(--gray-200);
}

.pricing-table th:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-table th:nth-child(2) {
    text-align: center;
}

.pricing-table th:last-child {
    text-align: right;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--gray-200);
    transition: background 0.2s ease;
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background: var(--primary-50);
}

.pricing-table td {
    padding: 1rem 1.5rem;
    color: var(--gray-700);
}

.pricing-table td:first-child {
    font-weight: 500;
    color: var(--gray-800);
    border-right: 1px solid var(--gray-100);
}

.pricing-table td:nth-child(2) {
    text-align: center;
    font-weight: 600;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--primary-600);
    border-left: 1px solid var(--gray-100);
}

.pricing-table .highlight-text {
    color: var(--success);
    font-weight: 600;
}

.pricing-table .contact-text {
    text-align: center;
    color: var(--primary-600);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Legacy notes removed */

/* Pricing CTA */
.pricing-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: var(--white);
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

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

.pricing-card.popular {
    border: 2px solid var(--primary-500);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.pricing-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-600);
}

.price-period {
    font-size: 1rem;
    color: var(--gray-500);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-600);
}

.pricing-features .check {
    color: var(--success);
    font-weight: bold;
}

/* Package Recommendations */
.package-recommendations {
    text-align: center;
    margin-bottom: 3rem;
}

.package-recommendations h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 2rem;
}

.recommendation-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.recommendation-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.recommendation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.rec-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.recommendation-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.recommendation-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.recommendation-card strong {
    color: var(--primary-600);
}

/* ========================================
   Final CTA Section
======================================== */
.final-cta {
    position: relative;
    background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
    text-align: center;
    padding: 100px 0;
    overflow: hidden;
}

/* Background Highlight */
.final-cta::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%);
    pointer-events: none;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.35rem;
    color: var(--primary-100);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.cta-hotline {
    border-color: var(--white) !important;
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    animation: hotlinePulse 2s infinite;
}

.cta-hotline:hover {
    background: var(--white) !important;
    color: var(--primary-800) !important;
    transform: scale(1.05) translateY(-2px);
}

@keyframes hotlinePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.cta-note {
    margin-top: 1.5rem;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 100px 0 60px;
    border-top: 1px solid var(--gray-800);
}

.footer .e-con-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Brand Column */
.elementor-element-2fa7f8e {
    flex: 1.2;
    min-width: 260px;
}

/* Inner Columns Container */
.elementor-element-e4893d8 {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 1024px) {
    .elementor-element-e4893d8 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Headings */
.footer .elementor-heading-title {
    color: var(--white) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    position: relative;
    padding-bottom: 0.5rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    /* Ensure margin-bottom works correctly */
}

.footer .elementor-heading-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--primary-500);
    border-radius: var(--radius-full);
}

/* Lists */
.footer .elementor-icon-list-items {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer .elementor-icon-list-item {
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
}

.footer .elementor-icon-list-item a,
.footer .elementor-icon-list-text {
    color: var(--gray-400) !important;
    text-decoration: none !important;
    transition: var(--transition);
    font-size: 0.95rem !important;
    line-height: 1.6;
}

.footer .elementor-icon-list-item a:hover {
    color: var(--white) !important;
    transform: translateX(8px);
    display: inline-block;
}

/* Icons */
.footer .elementor-icon-list-icon {
    color: var(--primary-400) !important;
    margin-right: 1rem !important;
    font-size: 1rem !important;
    display: inline-flex;
    align-items: center;
    width: 20px;
}

/* Logo */
.elementor-element-4224274 img {
    max-width: 200px !important;
    height: auto !important;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    /* Ensure logo is visible on dark background if it's dark */
}

.elementor-element-bdf029a .elementor-heading-title {
    color: var(--white) !important;
    font-size: 1.25rem !important;
    margin-bottom: 1.5rem !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.elementor-element-bdf029a .elementor-heading-title::after {
    display: none;
}

/* New Columns Fix */
.elementor-element-9177002,
.elementor-element-beecc47 {
    flex: 1;
    min-width: 200px;
}

.footer .elementor-icon-list-text {
    white-space: normal;
    word-break: break-word;
}

/* Certification & Social Icons Horizontal Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid var(--gray-800);
    margin-top: 5rem;
    padding-top: 3rem;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-badges {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-badges img {
    height: 40px;
    /* Synchronized with social-icon height */
    width: auto;
    filter: brightness(0.9);
    transition: var(--transition);
}

.footer-badges img:hover {
    filter: brightness(1);
    transform: translateY(-2px);
}

.elementor-social-icons-wrapper {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--gray-700);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icon.linkedin {
    background: #0077b5;
}

.social-icon.facebook {
    background: #3b5998;
}

.social-icon.youtube {
    background: #cd201f;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.copyright {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 991px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
}


/* ========================================
   Animations
======================================== */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

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

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

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo {
    height: auto;
    object-fit: contain;
}

.logos-container .client-logo:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.logos-container a {
    display: inline-block;
    /* Hoặc block */
    line-height: 0;
    /* Loại bỏ khoảng trống dòng */
    vertical-align: middle;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .trust-indicators {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .ps-cards-grid {
        grid-template-columns: 1fr;
    }

    .ps-arrow-divider {
        flex-direction: row;
        padding: 1rem 0;
    }

    .arrow-line {
        height: 3px;
        width: 100%;
    }

    .benefits-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-content {
        grid-template-columns: 1fr;
    }

    .legal-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .legal-columns {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-line {
        display: none;
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-info-cards,
    .recommendation-cards {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .benefits-grid,
    .features-grid,
    .use-cases-grid,
    .recommendation-cards {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    .price-range {
        font-size: 0.9rem;
    }

    .footer .e-con-inner {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }

    .elementor-element-e4893d8 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer .elementor-heading-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer .elementor-icon-list-item {
        justify-content: center;
        display: flex;
    }

    .footer .elementor-icon-list-text {
        text-align: center;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .floating-badge,
    .hero-visual {
        display: none;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }

    .criteria-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    /* Pricing Slider - Responsiveness */
    .pricing-slider-container {
        padding: 0 1rem;
    }

    .pricing-category-card {
        padding: 2.5rem 1.5rem;
    }

    .package-tiers {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pricing-nav-btn {
        width: 48px;
        height: 48px;
    }

    .pricing-nav-btn.prev {
        left: -20px;
    }

    .pricing-nav-btn.next {
        right: -20px;
    }

    .pricing-notes {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========================================
   Contact Form Modal
======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    width: 100%;
    max-width: 550px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition-slow);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--gray-100);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.required {
    color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--gray-900);
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-50);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
    font-size: 0.75rem;
}

.form-group select {
    appearance: none;
    width: 100%;
}

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--primary-900);
    font-style: italic;
    text-align: center;
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .modal-container {
        padding: 1.5rem;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   Font Awesome Icon Refinements & Colors
======================================== */
.trust-icon i,
.fb-icon i,
.ps-icon i,
.ps-card-icon i,
.benefit-icon i,
.feature-icon i,
.step-icon i,
.uc-icon i,
.legal-icon i,
.shield-icon i,
.feature-arrow i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.btn i {
    margin-left: 0.75rem;
    font-size: 0.9em;
}

.benefit-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: 50%;
    font-size: 0.8rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Specific Section Colors */

/* Hero Trust Icons */
.trust-item:nth-child(1) .trust-icon {
    color: var(--primary-500);
}

.trust-item:nth-child(2) .trust-icon {
    color: var(--success);
}

/* Floating Badges */
.badge-1 .fb-icon {
    color: var(--success);
}

.badge-2 .fb-icon {
    color: var(--accent-cyan);
}

/* Section Headers & Dividers */
.problem-header .ps-icon {
    color: var(--danger);
}

.solution-header .ps-icon {
    color: var(--success);
}

.ps-arrow-divider .arrow-icon {
    color: var(--primary-400);
}

/* Problem Cards */
.problem-column .ps-card:nth-child(2) .ps-card-icon {
    color: var(--accent-gold);
    background: #fffbeb;
}

.problem-column .ps-card:nth-child(3) .ps-card-icon {
    color: var(--warning);
    background: #fff7ed;
}

.problem-column .ps-card:nth-child(4) .ps-card-icon {
    color: var(--danger);
    background: #fef2f2;
}

.problem-column .ps-card:nth-child(5) .ps-card-icon {
    color: var(--gray-500);
    background: var(--gray-100);
}

.problem-column .ps-card:nth-child(6) .ps-card-icon {
    color: var(--danger);
    background: #fef2f2;
}

/* Solution Cards */
.solution-column .ps-card:nth-child(2) .ps-card-icon {
    color: var(--primary-600);
    background: var(--primary-50);
}

.solution-column .ps-card:nth-child(3) .ps-card-icon {
    color: var(--accent-teal);
    background: #f0fdfa;
}

.solution-column .ps-card:nth-child(4) .ps-card-icon {
    color: var(--success);
    background: #f0fdf4;
}

.solution-column .ps-card:nth-child(5) .ps-card-icon {
    color: var(--accent-indigo);
    background: #f5f3ff;
}

.solution-column .ps-card:nth-child(6) .ps-card-icon {
    color: var(--accent-purple);
    background: #faf5ff;
}

/* Benefits Icons */
.benefit-card:nth-child(1) .benefit-icon {
    color: var(--accent-gold);
    background: #fffbeb;
}

.benefit-card:nth-child(2) .benefit-icon {
    color: var(--accent-cyan);
    background: #ecfeff;
}

.benefit-card:nth-child(3) .benefit-icon {
    color: var(--accent-indigo);
    background: #f5f3ff;
}

.benefit-card:nth-child(4) .benefit-icon {
    color: var(--success);
    background: #ecfdf5;
}

.benefit-card:nth-child(5) .benefit-icon {
    color: var(--primary-500);
    background: var(--primary-50);
}

.benefit-card:nth-child(6) .benefit-icon {
    color: var(--accent-purple);
    background: #faf5ff;
}

/* Features Icons */
.feature-item .feature-icon {
    color: var(--primary-600);
}

.feature-item:nth-child(2n) .feature-icon {
    color: var(--accent-indigo);
}

/* How it works */
.step-icon {
    color: var(--primary-600);
}

.step:nth-child(2) .step-icon {
    color: var(--primary-600);
}

.step:nth-child(3) .step-icon {
    color: var(--accent-teal);
}

.step:nth-child(4) .step-icon {
    color: var(--accent-indigo);
}

.step:nth-child(5) .step-icon {
    color: var(--accent-purple);
}

/* Use Cases */
.use-case-card:nth-child(1) .uc-icon {
    color: var(--accent-cyan);
}

.use-case-card:nth-child(2) .uc-icon {
    color: var(--accent-gold);
}

.use-case-card:nth-child(3) .uc-icon {
    color: var(--accent-teal);
}

.use-case-card:nth-child(4) .uc-icon {
    color: var(--accent-indigo);
}

.use-case-card:nth-child(5) .uc-icon {
    color: var(--accent-purple);
}

.use-case-card:nth-child(6) .uc-icon {
    color: var(--primary-500);
}

/* Legal Icons */
.legal-icon {
    color: var(--primary-600);
}

.legal-column:nth-child(2) .legal-icon {
    color: var(--success);
}

.shield-icon {
    color: var(--success);
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    /* Above Chatbot */
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-600);
    color: var(--white);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    bottom: 110px;
    /* Slight lift when appearing */
}

.back-to-top:hover {
    background: var(--primary-700);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}


/* ========================================
   Contact Page V2 Styles
======================================== */
.contact-page {
    background-color: #fdfdff;
}

.contact-hero-v2 {
    padding: 100px 0 20px;
    background: transparent;
    color: var(--gray-900);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-header {
    position: relative;
    z-index: 2;
}

.badge-v2 {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--primary-50);
    border: none;
    color: var(--primary-600);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.main-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #111827;
    letter-spacing: -0.02em;
}

.main-subtitle {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content-v2 {
    padding: 40px 0 80px;
    position: relative;
    z-index: 10;
}

.contact-grid-v2 {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2.5rem;
}

/* Sidebar Info */
.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card-v2 {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    gap: 1.25rem;
    box-shadow: 0 2px 10px rgba(10, 104, 255, 0.1);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.info-card-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(10, 104, 255, 0.1);
    border-color: var(--primary-200);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Custom Card Icons base colors */
.info-sidebar .info-card-v2:nth-child(1) .card-icon {
    background: #fee2e2;
    color: #ef4444;
}

.info-sidebar .info-card-v2:nth-child(2) .card-icon {
    background: #f3e8ff;
    color: #9333ea;
}

.info-sidebar .info-card-v2:nth-child(3) .card-icon {
    background: #e0f2fe;
    color: #3b82f6;
}

.info-sidebar .info-card-v2:nth-child(4) .card-icon {
    background: #f1f5f9;
    color: #64748b;
}

.card-text h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.card-text p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}

.map-card-v2 {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--gray-100);
    height: 250px;
}

/* Form Card */
.form-card-v2 {
    background: var(--white);
    padding: 2.5rem 3rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 2px 10px rgba(10, 104, 255, 0.1);
    border: 1px solid #e2e8f0;
}

.form-header-v2 {
    margin-bottom: 2rem;
}

.form-header-v2 h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.form-header-v2 p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.contact-form-v2 {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group-v2 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-v2 label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group-v2 label span {
    color: #ef4444;
}

.form-group-v2 input,
.form-group-v2 select,
.form-group-v2 textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: #fdfdfd;
}

.form-group-v2 select {
    appearance: none;
    width: 100%;
}

.form-group-v2 input:focus,
.form-group-v2 select:focus,
.form-group-v2 textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: var(--white);
}

.error-msg {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    height: 1rem;
}

.submit-btn-v2 {
    background: var(--primary-600);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    width: 100%;
}

.submit-btn-v2:hover {
    background: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.submit-btn-v2:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Success State */
.contact-success {
    text-align: center;
    padding: 3rem 0;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.contact-success h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.contact-success p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.reset-btn-v2 {
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.reset-btn-v2:hover {
    background: var(--gray-200);
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid-v2 {
        grid-template-columns: 1fr;
    }

    .info-sidebar {
        order: 2;
    }

    .form-card-v2 {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-hero-v2 {
        padding: 80px 0 20px;
    }

    .main-title {
        font-size: 2.25rem;
    }

    .form-row-v2 {
        grid-template-columns: 1fr;
    }

    .form-card-v2 {
        padding: 1.5rem;
    }
}