/* ==========================================
   Krooz.ai Professional Landing Page
   Brand Colors: Purple-Blue (#2e3192) Primary, Green (#8dc63f) Accent
   Target: HR Managers, CEOs, Decision Makers
   ========================================== */

/* ==========================================
   CSS Variables & Professional Theme
   ========================================== */
:root {
    /* Krooz Brand Colors */
    --primary-purple: #2e3192;
    --primary-dark: #1f2266;
    --primary-light: #4a4db8;
    
    /* Krooz Accent Colors */
    --accent-green: #8dc63f;
    --accent-green-dark: #7ab030;
    --accent-green-light: #a3d05f;
    
    /* Professional Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-gray: #F3F4F6;
    --bg-dark: #1a1a2e;
    
    /* Text Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #4A5568;
    --text-light: #718096;
    --text-white: #FFFFFF;
    
    /* Corporate Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.12);
    --shadow-2xl: 0 16px 32px rgba(0, 0, 0, 0.15);
    
    /* Professional Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;
    --spacing-3xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Typography */
    --font-arabic: 'IBM Plex Sans Arabic', sans-serif;
    --font-english: 'Inter', sans-serif;
}

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

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

body {
    font-family: var(--font-arabic), var(--font-english);
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==========================================
   Professional Typography
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ==========================================
   Professional Buttons
   ========================================== */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-align: center;
    line-height: 1.5;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-green);
}

.btn-primary:hover {
    background: var(--accent-green-dark);
    border-color: var(--accent-green-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

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

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

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

.btn-large {
    padding: 1.25rem 2.75rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   Professional Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    gap: 2rem;
    flex-direction: row-reverse;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-image {
    height: 45px;
    max-width: 160px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-primary);
    position: relative;
}

.nav-links a:hover:not(.btn-primary) {
    color: var(--primary-purple);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
    z-index: 1001;
}

/* ==========================================
   Professional Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: var(--primary-purple);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-purple);
    opacity: 0.6;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-badge i {
    font-size: 1.1rem;
}

.hero-title {
    margin-bottom: 1.75rem;
}

.arabic-title {
    display: block;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.english-title {
    display: block;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 600;
    opacity: 0.9;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
    margin: 3rem auto;
    max-width: 800px;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: #ffffff;
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* ==========================================
   Trusted By Section with Slider
   ========================================== */
.trusted-by {
    padding: 3rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid #E2E8F0;
    overflow: hidden;
}

.trusted-title {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trusted-logos-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logos-track {
    display: flex;
    gap: 4rem;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.logos-track:hover {
    animation-play-state: paused;
}

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

.logo-item {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-item:hover {
    opacity: 1;
}

/* ==========================================
   Problem Section
   ========================================== */
.problem-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(46, 49, 146, 0.08);
    color: var(--primary-purple);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
}

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

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

.problem-card {
    background: var(--bg-white);
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid #E2E8F0;
    text-align: center;
    transition: all 0.3s ease;
}

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

.problem-card.highlight {
    background: var(--primary-purple);
    color: var(--text-white);
    border-color: var(--primary-purple);
}

.problem-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(46, 49, 146, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--primary-purple);
}

.problem-card.highlight .problem-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.problem-number {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.375rem;
    line-height: 1;
}

.problem-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.problem-desc {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.5;
}

.problem-image {
    margin-top: 3rem;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.problem-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==========================================
   Solution Section
   ========================================== */
.solution-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-light);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.solution-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

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

.solution-icon {
    width: 4.5rem;
    height: 4.5rem;
    background: rgba(141, 198, 63, 0.12);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    font-size: 2rem;
    color: var(--accent-green);
}

.solution-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   Stats Highlight Section
   ========================================== */
.stats-section {
    padding: 5rem 0;
    background: var(--primary-purple);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.stats-content {
    position: relative;
    z-index: 1;
}

.stats-header {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-white);
}

.stats-header h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.stats-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    text-align: center;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(141, 198, 63, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--accent-green);
}

.stat-value {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.375rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.875rem;
    color: #ffffff;
    opacity: 0.9;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* ==========================================
   How It Works Section
   ========================================== */
.how-it-works-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step-card {
    background: var(--bg-light);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-xl);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-green);
}

.step-number {
    position: absolute;
    top: -1.5rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--accent-green);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 4.5rem;
    height: 4.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    font-size: 2rem;
    color: var(--primary-purple);
    box-shadow: var(--shadow-sm);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.step-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.step-features {
    list-style: none;
}

.step-features li {
    padding: 0.625rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-features li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.125rem;
}

/* ==========================================
   Vision 2030 Section
   ========================================== */
.vision-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-light);
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.vision-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.vision-stat-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

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

.vision-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.vision-stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.vision-features {
    list-style: none;
    margin-top: 2rem;
}

.vision-features li {
    padding: 1rem 0;
    font-size: 1.0625rem;
    color: var(--text-primary);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 1px solid #E2E8F0;
}

.vision-features li:last-child {
    border-bottom: none;
}

.vision-features li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.vision-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.vision-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==========================================
   Success Stories Section
   ========================================== */
.success-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-white);
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Compact Success Card Styles */
.success-card-compact,
.success-card-simple {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    border: 2px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
}

.success-card-compact:hover,
.success-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-purple);
}

/* Simple success card - minimal style with just company and metrics */
.success-card-simple .success-company {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1.25rem;
    text-align: center;
}

.success-brief {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
}

.success-improvements {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.success-improvements li {
    position: relative;
    padding-right: 2rem;
    margin-bottom: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.success-improvements li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.25rem;
}

.success-card-simple .success-metrics {
    border-top: 2px solid #E2E8F0;
    padding-top: 1.5rem;
}

.success-header {
    margin-bottom: 1.25rem;
}

.success-company {
    font-size: 0.875rem;
    color: var(--primary-purple);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.success-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.success-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.success-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #E2E8F0;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    line-height: 1;
    display: block;
}

.metric-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.success-features-compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-item i {
    color: var(--accent-green);
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.feature-item i.fa-arrow-left {
    color: var(--primary-purple);
}

.feature-item i.fa-exclamation-circle {
    color: #e53e3e;
}

.success-section-compact {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E2E8F0;
}

.success-section-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.success-value {
    margin-top: 1.75rem;
    padding: 1.25rem;
    background: rgba(141, 198, 63, 0.08);
    border-radius: var(--radius-lg);
    border-right: 4px solid var(--accent-green);
}

.success-value p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 0;
}

.success-value strong {
    color: var(--primary-purple);
    font-weight: 700;
}

/* Old success card styles (keeping for backward compatibility) */
.success-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.success-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-green);
}

/* ==========================================
   Testimonial Section
   ========================================== */
.testimonial-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.testimonial-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3.5rem 3rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 2px solid var(--primary-light);
}

.testimonial-quote {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-purple);
    font-size: 1.0625rem;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    padding: var(--spacing-2xl) 0;
    background: var(--primary-purple);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.cta-content h2 {
    color: var(--text-white);
    margin-bottom: 1.25rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.cta-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 600;
    color: var(--text-white);
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-green);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(141, 198, 63, 0.2);
}

.form-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.form-feature {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--text-white);
}

.form-feature i {
    color: var(--accent-green);
    font-size: 1.125rem;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 2.5rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-green);
    transform: translateY(-2px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent-green);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

/* ==========================================
   Modal
   ========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-2xl);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-2xl);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    width: 5rem;
    height: 5rem;
    background: rgba(141, 198, 63, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--accent-green);
}

.modal-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.modal-close {
    background: var(--accent-green);
    color: var(--text-white);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--accent-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================
   Responsive Design - Tablet
   ========================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .vision-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .vision-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    /* Typography */
    html {
        font-size: 15px;
    }
    
    /* Logo Slider - Mobile Optimization */
    .trusted-logos-slider {
        overflow: hidden;
        position: relative;
        width: 100%;
        padding: 1rem 0;
    }
    
    .logos-track {
        gap: 3rem;
    }
    
    .logo-item {
        font-size: 1rem;
        min-width: 180px;
    }
    
    /* Navigation */
    .logo-image {
        height: 38px;
        max-width: 140px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        box-shadow: var(--shadow-xl);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        font-size: 1.25rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Hero */
    .hero {
        padding: 7rem 0 4rem;
        min-height: auto;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    /* Sections */
    .problem-grid,
    .solution-grid,
    .steps-grid,
    .success-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-stats {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .form-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .cta-form-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Base */
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    /* Logo Slider - Small Mobile */
    .logos-track {
        gap: 2.5rem;
    }
    
    .logo-item {
        font-size: 0.9rem;
        min-width: 150px;
    }
    
    /* Logo */
    .logo-image {
        height: 32px;
        max-width: 120px;
    }
    
    /* Hero */
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-badge {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .btn-large {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }
    
    /* Cards */
    .problem-card,
    .solution-card,
    .step-card,
    .success-card {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .success-metrics {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 2.5rem 1.75rem;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================
   Utility Classes
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--accent-green);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: var(--accent-green-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.back-to-top.show {
    display: flex;
}

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

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

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

/* ==========================================
   Print Styles
   ========================================== */
@media print {
    .navbar,
    .mobile-menu-btn,
    .hero-cta,
    .cta-section,
    .footer {
        display: none;
    }
}
