/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Purple Theme */
    --primary: #7C3AED;
    --primary-dark: #5B21B6;
    --primary-light: #8B5CF6;
    --secondary: #EC4899;
    --accent: #F59E0B;
    
    /* Neutral Colors */
    --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;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    --gradient-secondary: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-hero: linear-gradient(135deg, rgba(124, 58, 237, 0.95) 0%, rgba(236, 72, 153, 0.95) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --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);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.logo h2 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-actions .btn {
    white-space: nowrap;
}

#loginBtn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#loginBtn i {
    margin-left: 0.25rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-800);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

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

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

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Button Icons - Better Visibility */
.btn i,
.btn svg {
    color: inherit;
    opacity: 1;
}

.btn-primary i,
.btn-primary svg {
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.btn-secondary i,
.btn-secondary svg {
    color: var(--primary);
    transition: color 0.3s ease;
}

.btn-secondary:hover i,
.btn-secondary:hover svg {
    color: white;
}

/* Retail Health Check Promo (Homepage) */
.retail-health-section {
    padding: 60px 0 40px;
    background: var(--gray-50);
}

.retail-health-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 32px 28px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.retail-health-title {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.retail-health-subtext {
    max-width: 640px;
    color: var(--gray-600);
    font-size: 1rem;
}

.retail-health-highlights {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.retail-health-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.retail-health-highlight-icon {
    font-size: 1rem;
}

.retail-health-highlight-label {
    white-space: nowrap;
}

.retail-health-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .retail-health-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }

    .retail-health-title {
        font-size: 1.4rem;
    }

    .retail-health-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Assessment Page (Retail Health Check) */
.assessment-page {
    padding-top: 88px;
    padding-bottom: 80px;
    background: var(--gray-50);
}

.assessment-hero {
    padding: 40px 0 10px;
}

.assessment-hero-inner {
    max-width: 840px;
}

.assessment-title {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.assessment-intro {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.assessment-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.assessment-hero-meta span i {
    margin-right: 0.35rem;
    color: var(--primary);
}

.assessment-wizard {
    padding: 10px 0 0;
}

.assessment-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 24px 22px;
    margin-top: 20px;
}

.assessment-progress-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.assessment-rating-guide {
    border-radius: 12px;
    border: 1px dashed var(--gray-300);
    background: var(--gray-50);
    padding: 10px 12px;
    margin-bottom: 12px;
}

.assessment-rating-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.assessment-rating-rows {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.assessment-rating-row {
    display: flex;
    gap: 0.4rem;
}

.assessment-rating-score {
    font-weight: 600;
    color: var(--gray-800);
}

.assessment-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 16px;
}

.assessment-tab {
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    color: var(--gray-700);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.assessment-tab span.assessment-tab-label {
    white-space: nowrap;
}

.assessment-tab .assessment-tab-score {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.assessment-tab.active {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.08);
    color: var(--primary-dark);
}

.assessment-tab.completed {
    border-color: #16A34A;
    background: #16A34A;
    color: #ECFDF3;
}

.assessment-tab.completed .assessment-tab-score {
    color: #DCFCE7;
}

.assessment-body {
    border-top: 1px solid var(--gray-200);
    padding-top: 16px;
}

.assessment-questions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 12px;
    transition: opacity 0.2s ease;
}

.assessment-question-card {
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    padding: 12px 14px;
    background: var(--gray-50);
}

.assessment-question-label {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.assessment-question-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 4px;
}

.assessment-question-input-row input[type="number"] {
    width: 80px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    font-size: 0.95rem;
}

.assessment-question-input-row input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.25);
}

.assessment-score-hint {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Assessment Slider - Purple Gradient */
.assessment-question-input-row input[type="range"] {
    flex: 1;
    --slider-fill: 0%;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: transparent;
}

.assessment-question-input-row input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(to right, #7C3AED 0%, #A855F7 var(--slider-fill), #E5E7EB var(--slider-fill), #E5E7EB 100%);
}

.assessment-question-input-row input[type="range"]:not(.assessment-slider-touched)::-webkit-slider-runnable-track {
    background: #E5E7EB;
}

.assessment-question-input-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #7C3AED;
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.assessment-question-input-row input[type="range"]::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(to right, #7C3AED 0%, #A855F7 var(--slider-fill), #E5E7EB var(--slider-fill), #E5E7EB 100%);
}

.assessment-question-input-row input[type="range"]:not(.assessment-slider-touched)::-moz-range-track {
    background: #E5E7EB;
}

.assessment-question-input-row input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #7C3AED;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.assessment-live-score {
    margin-top: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.assessment-error {
    min-height: 1.2rem;
    font-size: 0.85rem;
    color: #B91C1C;
    margin-bottom: 6px;
}

.assessment-nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 4px;
}

.assessment-nav-buttons .btn {
    min-width: 130px;
    justify-content: center;
}

.assessment-section-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.assessment-lead-intro {
    font-size: 0.98rem;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.assessment-lead-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.assessment-lead-form .form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.assessment-lead-form .form-group input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    font-size: 0.95rem;
}

.assessment-lead-form .form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.25);
}

.assessment-lead-form .field-error {
    margin-top: 4px;
    font-size: 0.8rem;
    color: #B91C1C;
}

.assessment-overall {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.overall-score-block {
    flex: 1 1 220px;
}

.overall-score-value {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.overall-progress-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: var(--gray-200);
    overflow: hidden;
}

.overall-progress-fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
}

.overall-status-block {
    flex: 0 0 220px;
}

.overall-status-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* Results layout cards */
.assessment-results {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.assessment-results-section {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
}

.assessment-results-section + .assessment-results-section {
    margin-top: 0;
}

.assessment-results-section h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.parameter-breakdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
}

.parameter-breakdown-list li {
    font-size: 0.95rem;
    color: var(--gray-800);
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.parameter-breakdown-label {
    flex: 1;
}

.parameter-breakdown-score {
    font-weight: 600;
    color: var(--gray-900);
}

.parameter-breakdown-status {
    font-size: 0.8rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    background: var(--gray-50);
}

.overall-insights-text {
    font-size: 0.98rem;
    color: var(--gray-700);
}

.improvement-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.improvement-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid #FCA5A5;
    background: #FEF2F2;
    color: #B91C1C;
    font-size: 0.9rem;
    font-weight: 500;
}

.improvement-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 999px;
    background: #FCA5A5;
    color: #fff;
    font-size: 0.8rem;
}

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

.assessment-cta h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #166534;
}

.assessment-cta .btn-primary {
    background: #16A34A;
    border-color: #16A34A;
    box-shadow: 0 8px 18px rgba(22, 163, 74, 0.28);
}

.assessment-cta .btn-primary:hover {
    background: #15803D;
    border-color: #15803D;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .assessment-questions {
        grid-template-columns: 1fr;
    }

    .parameter-breakdown-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .assessment-page {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .assessment-card {
        padding: 18px 16px;
    }

    .assessment-tabs {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .assessment-tabs::-webkit-scrollbar {
        height: 4px;
    }

    .assessment-tabs::-webkit-scrollbar-thumb {
        background: var(--gray-300);
        border-radius: 999px;
    }

    .assessment-lead-grid {
        grid-template-columns: 1fr;
    }

    .assessment-overall {
        flex-direction: column;
    }
}

.btn-outline i,
.btn-outline svg {
    color: var(--primary);
    transition: color 0.3s ease;
}

.btn-outline:hover i,
.btn-outline:hover svg {
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.stat-item p {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 6px;
    color: var(--gray-800);
}

.stat-item small {
    display: block;
    font-size: 0.85rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    margin-top: 4px;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-offer {
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-offer i {
    margin-right: 8px;
}

/* Social Proof */
.social-proof {
    background: var(--gray-50);
    padding: 40px 0;
}

.proof-content {
    text-align: center;
}

.proof-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 20px;
}

.proof-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.proof-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.proof-stat i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Problem/Solution Section */
.problem-solution {
    background: white;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 40px;
}

.problem-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.cost-alert {
    background: var(--primary-light);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1rem;
}

.solution {
    background: var(--gray-50);
    padding: 10px 0 30px 0 !important;
}

.solution-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 0.25rem;
}

.solution-title {
    font-family: var(--font-secondary);
    font-size: 2.75rem;
    text-align: center;
    color: var(--gray-900);
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.solution-logo {
    margin: 0.15rem auto;
    padding: 0;
}

.solution-description {
    text-align: center;
    color: var(--gray-600);
    line-height: 1.8;
    max-width: 760px;
    margin: 0.35rem auto 1.5rem;
    padding: 0;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.solution-card {
    background: white;
    border-radius: 14px;
    padding: 1.75rem;
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.solution-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
}

.solution-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    color: var(--gray-900);
}

.solution-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.solution-card:hover h4 {
    color: var(--primary);
}

.solution-card:hover .solution-icon {
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.solution-card i {
    color: var(--primary);
}

.why-choose-block {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.why-choose-block h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.why-choose-block ul {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.why-choose-block li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    color: var(--gray-700);
}

.why-choose-block li i {
    color: var(--primary);
    font-size: 1.25rem;
}

.problem-icon i {
    color: var(--primary);
}

/* Features Section */
.features-detail {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.feature-card ul {
    list-style: none;
}

.feature-card ul li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 1.5rem;
}

.feature-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Benefits Section */
.benefits {
    background: var(--gray-50);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-header i {
    font-size: 2rem;
    color: var(--primary);
}

.category-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
}

.benefit-category ul {
    list-style: none;
}

.benefit-category ul li {
    padding: 0.75rem 0;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-200);
}

.benefit-category ul li:last-child {
    border-bottom: none;
}

/* Target Market Section */
.target-market {
    background: white;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.market-card {
    background: var(--gradient-primary);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
}

.market-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.market-card ul {
    list-style: none;
}

.market-card ul li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
}

/* Pricing Section */
.pricing {
    background: var(--gray-50);
}

.pricing .container {
    max-width: 1400px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 40px;
    align-items: stretch;
    max-width: 100%;
    overflow: visible;
}

@media (min-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
        align-items: stretch;
    }
}

@media (min-width: 1400px) {
    .pricing-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.25rem;
        align-items: stretch;
    }
}

.pricing-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    border: 2px solid transparent;
    padding-bottom: 140px;
    box-sizing: border-box;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.2);
}

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

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

.pricing-card.featured:hover {
    transform: translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 0 20px 0 8px;
    z-index: 10;
}

.pricing-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.pricing-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.2rem;
}

.amount {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0.25rem;
}

.enterprise-card .amount {
    font-size: 1.8rem;
}

.period {
    font-size: 1rem;
    opacity: 0.9;
}

.plan-desc {
    font-size: 0.95rem;
    opacity: 0.95;
}

.price-usd {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 0.5rem;
}

.pricing-features {
    padding: 1.5rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.pricing-features h4 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.pricing-features ul {
    list-style: none;
}

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

.pricing-features ul li i {
    color: var(--primary);
}

/* Plan features list (Starter, Growth, Pro, Chain+) - matches enterprise card */
.plan-features {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.plan-features ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.plan-features ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.plan-features ul li i {
    color: var(--primary);
    flex-shrink: 0;
}

.pricing-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 140px;
    height: 140px;
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: white;
    box-sizing: border-box;
}

/* All pricing card buttons same size */
.pricing-footer .btn-pricing {
    width: 160px !important;
    height: 52px !important;
    padding: 12px 20px !important;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

/* Upgrade note - subtle text below button */
.upgrade-note {
    margin: 0.75rem 0 0 0;
    padding: 0;
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: center;
    line-height: 1.4;
    min-height: 2.5rem;
}

.upgrade-note i {
    color: var(--gray-400);
    margin-right: 0.25rem;
}

.pricing-offer {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.pricing-offer h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.pricing-offer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-offer ul li {
    font-size: 1.1rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-offer ul li i {
    color: var(--primary);
}

/* New Pricing Model Styles */

.pricing-limits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    align-items: start;
}

/* New Innovative Badge Layout */
.limit-badge {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    min-height: 85px;
    width: 100%;
}

.limit-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.limit-badge:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
    transform: translateX(4px);
}

.limit-badge:hover::before {
    transform: scaleY(1);
}

.limit-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.limit-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    width: 100%;
    overflow: visible;
    justify-content: flex-start;
}

.limit-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 0.3rem;
    white-space: nowrap;
}

.limit-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.4;
    display: block;
    width: 100%;
    word-spacing: 0.05em;
}

.limit-label .limit-period {
    margin-left: 0.1rem;
    font-size: 0.75rem;
}

.limit-period {
    font-size: 0.8rem;
    color: var(--gray-500);
    white-space: nowrap;
    display: inline;
}

.enterprise-badge .limit-icon {
    background: linear-gradient(135deg, var(--gray-700) 0%, var(--gray-900) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.enterprise-badge .limit-value {
    font-size: 1.8rem;
    color: var(--primary);
}

/* Legacy limit-item styles for backward compatibility */
.limit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    min-width: 0;
}

.limit-item i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.limit-item span {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 0;
}

.upgrade-trigger {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    margin-top: auto;
    min-height: 60px;
}

.upgrade-trigger i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.upgrade-trigger small {
    color: var(--gray-700);
    font-size: 0.85rem;
    line-height: 1.4;
    padding-left: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 0;
}

.enterprise-card .pricing-header {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
}

.enterprise-features {
    margin-top: 1.5rem;
    flex: 1;
    min-height: 0;
}

.enterprise-card .pricing-limits {
    margin-bottom: 1.5rem;
}

.enterprise-features ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.enterprise-features ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.enterprise-features ul li i {
    color: var(--primary);
}

/* Pricing Add-Ons */
.pricing-addons {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.pricing-addons h3 {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.addon-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.addon-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.addon-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.addon-item h4 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.addon-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

/* Upgrade Info Section */
.pricing-upgrade-info {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    margin: 2rem 0;
    border: 2px solid rgba(124, 58, 237, 0.1);
}

.pricing-upgrade-info h3 {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--gray-900);
}

.upgrade-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.upgrade-info-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.upgrade-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.upgrade-info-item h4 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.upgrade-info-item p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Pricing Updates */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

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

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .limit-badge {
        padding: 0.875rem;
        gap: 0.75rem;
    }

    .limit-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .limit-value {
        font-size: 1.3rem;
    }

    .limit-label {
        font-size: 0.8rem;
    }

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

    .upgrade-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Section */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.testimonial-rating {
    color: var(--accent);
    margin-bottom: 1rem;
}

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

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

.author-info h4 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.testimonial-results {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.result-badge {
    background: var(--primary-light);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Technical Section */
.technical {
    background: var(--gray-50);
}

.technical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.technical-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.technical-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.technical-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.technical-card ul {
    list-style: none;
}

.technical-card ul li {
    padding: 0.75rem 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 1.5rem;
}

.technical-card ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Implementation Section */
.implementation {
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 40px;
}

.process-step {
    text-align: center;
}

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

.process-step h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.guarantee-banner {
    background: var(--gradient-primary);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
}

.guarantee-banner h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.guarantee-banner ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.guarantee-banner ul li {
    padding-left: 2rem;
    position: relative;
}

.guarantee-banner ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* About Us Section */
.about-us {
    background: white;
    padding: 5rem 0;
}

.about-tabs {
    margin-top: 3rem;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 1rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px 8px 0 0;
}

.tab-btn:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.tab-btn.active {
    color: var(--primary);
    background: white;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px 3px 0 0;
}

.tab-content-wrapper {
    min-height: 400px;
}

/* Ensure consistent top alignment across all tabs - no content shift when switching */
.tab-content:not(#about-us) .about-content {
    padding-top: 2rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: flex-start;
}

.about-content--text {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.about-content h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: left;
}

.about-content .vision-icon + h3,
.about-content .mission-icon + h3 {
    text-align: center;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
}

/* Policy tabs: left-aligned text, no indentation on second/subsequent lines */
.tab-content .about-content p,
.tab-content .about-content ul,
.tab-content .about-content li,
.tab-content .about-content .encryption-list li,
.tab-content .about-content .encryption-details p,
.tab-content .about-content .encryption-details h4 {
    text-align: left;
    text-indent: 0;
}

.tab-content .about-content p {
    padding-left: 0;
    margin-left: 0;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.highlight-item i {
    color: var(--primary);
    font-size: 1.25rem;
}

.vision-icon,
.mission-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.vision-icon i,
.mission-icon i {
    color: var(--primary);
}

.vision-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.pillar {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pillar:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.pillar h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-secondary);
    color: var(--gray-900);
}

.mission-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.mission-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.mission-list li i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.values-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 2rem;
    max-width: 800px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    padding: 2rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.value-card p {
    color: var(--gray-600);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 12px;
}

.team-avatar i {
    color: var(--primary);
}

.team-member h4 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--gray-800);
}

.team-member p {
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .tab-buttons {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.5rem;
    }
    
    .vision-pillars,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .solution-title {
        font-size: 2.2rem;
        text-align: left;
    }

    .solution-description {
        text-align: left;
    }

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

    .why-choose-block {
        text-align: left;
    }

    .why-choose-block li {
        justify-content: flex-start;
    }
}

/* Contact Section */
.contact {
    background: var(--gray-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
}

.contact-info h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.5rem;
}

.contact-item h4 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--gray-600);
}

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

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-left: 0;
    padding-left: 0;
}

.form-consent input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-left: 0;
    margin-right: 0;
}

.form-consent label {
    display: block;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    text-align: left;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

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

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

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-400);
}

/* Responsive Design */
.mobile-login {
    display: none;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-login {
        display: block;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-login {
        display: block;
        padding: 1rem 2rem;
    }

    .mobile-login .btn {
        width: 100%;
    }

    .nav-actions .btn-secondary {
        display: none;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
        justify-content: center;
    }

    .stat-item {
        min-width: 140px;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .stat-item p {
        font-size: 0.95rem;
    }

    .stat-item small {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.9);
    }

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

    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

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

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

/* Google Reviews Section */
.google-reviews {
    background: var(--gray-50);
    padding: 60px 0;
}

.reviews-embed {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.google-reviews-widget {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.google-reviews-widget p {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.reviews-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--gray-600);
    font-style: italic;
}

/* Demo Video Section */
.demo-video {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-2xl);
    background: var(--gray-900);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.placeholder-content {
    text-align: center;
    padding: 2rem;
}

.placeholder-content i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.placeholder-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
}

.placeholder-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.video-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.8;
    font-style: italic;
}

/* Solution Logo */
.solution-logo {
    text-align: center;
    margin: 2rem 0;
}

.affino-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Vision Pillars Inline */
.vision-pillars-inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.vision-intro {
    font-size: 1.2rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pillar {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pillar:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 2px solid var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.pillar:hover .pillar-icon {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.pillar h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.pillar p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-700);
}

/* Mission Cards */
.mission-intro {
    font-size: 1.2rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

@media (max-width: 1024px) {
    .mission-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.mission-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.mission-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.mission-card:hover .mission-card-icon {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.mission-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 2px solid var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary);
    font-size: 1.8rem;
}

.mission-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

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

/* Encryption Details */
.encryption-details {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 12px;
}

.encryption-details h4 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.encryption-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.encryption-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.encryption-list li i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.encryption-list li strong {
    color: var(--gray-900);
}

/* Value Cards - Smaller and Consistent */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.value-card {
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

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

/* Process Grid - 6 Items */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Line of Business Select */
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--gray-800);
    background: white;
    transition: all 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group select option {
    padding: 0.5rem;
}

/* Login Modal */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.login-modal.active {
    display: flex;
}

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

.login-modal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-2xl);
    animation: slideUp 0.3s ease;
}

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

.login-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gray-100);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

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

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

.login-modal-header h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.login-modal-header p {
    color: var(--gray-600);
    font-size: 1rem;
}

.login-form {
    display: grid;
    gap: 1.5rem;
}

.login-form .form-group {
    display: grid;
    gap: 0.5rem;
}

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

.login-form input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.login-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.login-form-options a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.login-form-options a:hover {
    text-decoration: underline;
}

.login-form-submit {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.login-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.login-modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.login-modal-footer p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.login-modal-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.login-modal-footer a:hover {
    text-decoration: underline;
}

.login-redirect-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

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

/* Social Links */
.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Back to Top Button Icon */
.back-to-top {
    color: white !important;
}

.back-to-top i {
    color: white !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Responsive Updates */
@media (max-width: 768px) {
    .vision-pillars-inline {
        grid-template-columns: 1fr;
    }

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

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

    .login-modal-content {
        padding: 2rem 1.5rem;
    }

    .video-wrapper {
        border-radius: 12px;
    }
}

