/**
 * Routewix Modern Design System
 * Version: 2.0
 * Based on Nosi_Servis login page modern design
 */

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
    /* Primary Colors - Routewix Blue */
    --primary-50: #e6f7ff;
    --primary-100: #bae7ff;
    --primary-200: #91d5ff;
    --primary-300: #69c0ff;
    --primary-400: #40a9ff;
    --primary-500: #1f7bcd;
    --primary-600: #096dd9;
    --primary-700: #0050b3;
    --primary-800: #003a8c;
    --primary-900: #002766;

    /* Accent Green - Routewix Brand */
    --accent-green: #7ab929;
    --accent-green-light: #9dd35a;
    --accent-green-dark: #5a9a10;

    /* Secondary Teal */
    --secondary-50: #e6fffb;
    --secondary-100: #b5f5ec;
    --secondary-200: #87e8de;
    --secondary-300: #5cdbd3;
    --secondary-400: #36cfc9;
    --secondary-500: #3AAFA9;
    --secondary-600: #08979c;
    --secondary-700: #006d75;
    --secondary-800: #00474f;
    --secondary-900: #002329;

    /* Neutral Colors */
    --neutral-50: #f9fafb;
    --neutral-100: #f3f4f6;
    --neutral-200: #e5e7eb;
    --neutral-300: #d1d5db;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;

    /* Semantic Colors */
    --success: #44c785;
    --warning: #f59e0b;
    --danger: #ff6b6b;
    --info: #2E86C1;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1f7bcd 0%, #0050b3 50%, #002766 100%);
    --gradient-hero: linear-gradient(135deg, #0050b3 0%, #002766 100%);
    --gradient-accent: linear-gradient(135deg, #7ab929 0%, #5a9a10 100%);
    --gradient-dark: linear-gradient(180deg, #1f2937 0%, #111827 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 30px rgba(31, 123, 205, 0.3);
    --shadow-glow-green: 0 0 30px rgba(122, 185, 41, 0.3);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Typography - 35% smaller sizes */
    --font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-size-xs: 0.59rem;       /* 9.4px */
    --font-size-sm: 0.675rem;      /* 10.8px */
    --font-size-base: 0.76rem;     /* 12.2px */
    --font-size-lg: 0.844rem;      /* 13.5px */
    --font-size-xl: 1.013rem;      /* 16.2px */
    --font-size-2xl: 1.181rem;     /* 18.9px */
    --font-size-3xl: 1.519rem;     /* 24.3px */
    --font-size-4xl: 1.856rem;     /* 29.7px */
    --font-size-5xl: 2.363rem;     /* 37.8px */
    --font-size-6xl: 3.038rem;     /* 48.6px */

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ============================================
   Base Reset & Typography
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

body.modern-design {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Modern Header / Navigation
   ============================================ */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.modern-header .header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.modern-header .logo img {
    height: 40px;
    width: auto;
    transition: transform var(--transition-base);
}

.modern-header .logo:hover img {
    transform: scale(1.05);
}

.modern-nav {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.modern-nav .nav-link {
    display: inline-flex;
    align-items: center;
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.modern-nav .nav-link:hover {
    color: #096dd9;
    background: #e6f7ff;
}

.modern-nav .nav-link.active {
    color: #096dd9;
    background: #e6f7ff;
}

/* Header Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-lg);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-modern-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    color: white;
}

.btn-modern-accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-modern-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-green);
    color: white;
}

.btn-modern-outline {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-200);
}

.btn-modern-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary-400);
    color: var(--primary-700);
}

.btn-modern-ghost {
    background: transparent;
    color: var(--neutral-700);
}

.btn-modern-ghost:hover {
    background: var(--neutral-100);
    color: var(--neutral-900);
}

/* ============================================
   Hero Section
   ============================================ */
.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-24) var(--space-6);
    padding-top: calc(72px + var(--space-16));
    background: var(--gradient-hero);
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(122, 185, 41, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(87, 243, 234, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(31, 123, 205, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.modern-hero .hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--space-6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-xl);
    font-weight: 700;
    letter-spacing: 0.1em;
    background: rgba(122, 185, 41, 0.25);
    border: 2px solid rgba(122, 185, 41, 0.5);
    box-shadow: 0 0 30px rgba(122, 185, 41, 0.3);
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-2xl);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-8);
    max-width: 600px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
}

.hero-feature .check-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Floating Stats Cards */
.floating-stats {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-6);
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.6s ease forwards;
}

.stat-card .stat-value {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--primary-600);
}

.stat-card .stat-label {
    font-size: var(--font-size-sm);
    color: var(--neutral-600);
}

/* ============================================
   Features Section
   ============================================ */
.modern-features {
    padding: var(--space-24) var(--space-6);
    background: white;
}

.modern-features .container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--radius-full);
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--neutral-900);
    margin-bottom: var(--space-5);
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--neutral-600);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.feature-card {
    position: relative;
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    font-size: 28px;
    color: white;
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-4);
}

.feature-card p {
    font-size: var(--font-size-lg);
    color: var(--neutral-600);
    line-height: 1.8;
}

/* ============================================
   Content Sections (Grow Sections)
   ============================================ */
.modern-content-section {
    padding: var(--space-24) var(--space-6);
}

.modern-content-section.alt-bg {
    background: var(--neutral-50);
}

.modern-content-section.dark-bg {
    background: var(--gradient-dark);
    color: white;
}

.modern-content-section.dark-bg .section-title,
.modern-content-section.dark-bg h3,
.modern-content-section.dark-bg .content-text h3 {
    color: white !important;
}

.modern-content-section.dark-bg p,
.modern-content-section.dark-bg .content-text p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.modern-content-section.dark-bg .content-list li {
    color: rgba(255, 255, 255, 0.9) !important;
}

.modern-content-section.dark-bg .content-badge {
    background: var(--accent-green);
    color: white;
}

/* App Download Section - Blue gradient */
.app-download-section {
    background: linear-gradient(135deg, #1f7bcd 0%, #0050b3 100%) !important;
    color: white;
}

.app-download-section h3 {
    color: white !important;
}

.app-download-section p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.content-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-image {
    position: relative;
}

.content-image img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.content-text h3 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--neutral-900);
    margin-bottom: var(--space-5);
}

.content-text .content-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--accent-green);
    color: white;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-5);
}

.content-text p {
    font-size: var(--font-size-xl);
    color: var(--neutral-600);
    margin-bottom: var(--space-6);
    line-height: 1.8;
}

.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.content-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--font-size-lg);
    color: var(--neutral-700);
}

.content-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--accent-green);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ============================================
   References / Logos Section
   ============================================ */
.modern-references {
    padding: var(--space-24) var(--space-6);
    background: var(--gradient-dark);
}

.modern-references .container {
    max-width: 1400px;
    margin: 0 auto;
}

.modern-references .section-title {
    color: white;
}

.modern-references .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.logo-item {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo-item:hover {
    background: white;
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.logo-item img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    opacity: 0.85;
    transition: all var(--transition-base);
}

.logo-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* ============================================
   CTA Section
   ============================================ */
.modern-cta {
    padding: var(--space-24) var(--space-6);
    background: white;
}

.cta-card {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    padding: var(--space-16);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(122, 185, 41, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-5);
}

.cta-card p {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: white;
    color: var(--primary-700);
    padding: var(--space-5) var(--space-10);
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.btn-cta-primary:hover {
    background: var(--neutral-100);
    color: var(--primary-800);
}

.btn-cta-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: var(--space-5) var(--space-10);
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* ============================================
   Modern Footer
   ============================================ */
.modern-footer {
    background: var(--neutral-900);
    color: white;
    padding: var(--space-16) var(--space-6);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand img {
    height: 40px;
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: var(--neutral-400);
    font-size: var(--font-size-sm);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--neutral-800);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-400);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-600);
    color: white;
}

.footer-column h4 {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: var(--space-3);
}

.footer-column a {
    color: var(--neutral-400);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: var(--space-8);
    border-top: 1px solid var(--neutral-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom p {
    color: var(--neutral-500);
    font-size: var(--font-size-sm);
}

.footer-bottom a {
    color: var(--neutral-400);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--neutral-700);
    transition: all var(--transition-fast);
}

/* ============================================
   App Store Buttons
   ============================================ */
.app-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    background: var(--neutral-900);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.app-btn:hover {
    background: var(--neutral-800);
    transform: translateY(-2px);
    color: white;
}

.app-btn i {
    font-size: 24px;
}

.app-btn .text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-btn .text .small {
    font-size: var(--font-size-xs);
    opacity: 0.8;
}

.app-btn .text .large {
    font-size: var(--font-size-base);
    font-weight: 600;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logos-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .modern-hero .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .content-grid.reverse {
        direction: ltr;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }
}

@media (max-width: 768px) {
    .modern-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-card {
        padding: var(--space-10);
    }

    .cta-card h2 {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 576px) {
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn-modern {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn-modern {
        width: 100%;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Preloader Override */
.modern-design .preloader {
    background: var(--gradient-primary);
}

/* ============================================
   Press/News Section
   ============================================ */
.modern-press {
    padding: var(--space-24) var(--space-6);
    background: var(--neutral-50);
}

.press-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.press-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--neutral-200);
}

.press-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.press-card img {
    height: 32px;
    margin-bottom: var(--space-4);
}

.press-card p {
    font-size: var(--font-size-lg);
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.press-card a {
    color: var(--primary-600);
    font-weight: 600;
    text-decoration: none;
}

.press-card a:hover {
    text-decoration: underline;
}

/* ============================================
   Modern Image Effects - Showcase Images
   ============================================ */

/* 3D Perspective Container */
.modern-image-showcase {
    position: relative;
    perspective: 1500px;
}

/* Floating 3D Image Effect */
.floating-3d-image {
    position: relative;
    transform-style: preserve-3d;
    animation: float3D 8s ease-in-out infinite;
}

.floating-3d-image img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.floating-3d-image:hover img {
    transform: rotateY(-5deg) rotateX(5deg) scale(1.02);
    box-shadow:
        0 35px 60px -15px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

@keyframes float3D {
    0%, 100% {
        transform: translateY(0) rotateX(2deg) rotateY(-2deg);
    }
    25% {
        transform: translateY(-15px) rotateX(-2deg) rotateY(2deg);
    }
    50% {
        transform: translateY(-10px) rotateX(2deg) rotateY(3deg);
    }
    75% {
        transform: translateY(-20px) rotateX(-1deg) rotateY(-3deg);
    }
}

/* Glassmorphism Frame */
.glass-frame {
    position: relative;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: calc(var(--radius-2xl) + 8px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass-frame img {
    width: 100%;
    border-radius: var(--radius-2xl);
    display: block;
}

/* Gradient Glow Effect */
.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg,
        rgba(31, 123, 205, 0.4) 0%,
        rgba(122, 185, 41, 0.3) 50%,
        rgba(31, 123, 205, 0.4) 100%);
    border-radius: calc(var(--radius-2xl) + 20px);
    filter: blur(30px);
    opacity: 0.6;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.95); }
    50% { opacity: 0.7; transform: scale(1.02); }
}

/* Device Mockup Frame */
.device-frame {
    position: relative;
    background: linear-gradient(180deg, #2d3748 0%, #1a202c 100%);
    border-radius: 20px;
    padding: 12px 12px 24px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.device-frame::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #4a5568;
    border-radius: 2px;
}

.device-frame img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* Laptop Mockup */
.laptop-frame {
    position: relative;
    padding: 20px 30px 0;
    background: linear-gradient(180deg, #374151 0%, #1f2937 100%);
    border-radius: 16px 16px 0 0;
    box-shadow:
        0 -2px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.laptop-frame::after {
    content: '';
    display: block;
    height: 16px;
    background: linear-gradient(180deg, #4b5563 0%, #374151 100%);
    border-radius: 0 0 8px 8px;
    margin: 0 -30px;
    margin-top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.laptop-frame img {
    width: 100%;
    border-radius: 4px 4px 0 0;
    display: block;
}

/* Stacked Images Effect */
.stacked-images {
    position: relative;
    padding: 30px;
}

.stacked-images::before,
.stacked-images::after {
    content: '';
    position: absolute;
    background: linear-gradient(135deg, rgba(31, 123, 205, 0.1) 0%, rgba(122, 185, 41, 0.1) 100%);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(31, 123, 205, 0.2);
}

.stacked-images::before {
    top: 0;
    left: 0;
    right: 30px;
    bottom: 30px;
    transform: rotate(-3deg);
}

.stacked-images::after {
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    transform: rotate(-1.5deg);
}

.stacked-images img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

/* Floating Decorative Elements */
.image-with-decorations {
    position: relative;
}

.image-with-decorations::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-light) 100%);
    border-radius: 50%;
    top: -20px;
    right: -20px;
    opacity: 0.3;
    animation: floatBubble 6s ease-in-out infinite;
}

.image-with-decorations::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-300) 100%);
    border-radius: 50%;
    bottom: -10px;
    left: -10px;
    opacity: 0.4;
    animation: floatBubble 5s ease-in-out infinite reverse;
}

@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10px, -15px) scale(1.1); }
}

/* Gradient Border Effect */
.gradient-border {
    position: relative;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--accent-green) 50%, var(--primary-500) 100%);
    border-radius: calc(var(--radius-2xl) + 4px);
    animation: borderRotate 4s linear infinite;
    background-size: 200% 200%;
}

@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-border img {
    width: 100%;
    border-radius: var(--radius-2xl);
    display: block;
}

/* Hero Image Enhanced */
.hero-image-enhanced {
    position: relative;
}

.hero-image-enhanced::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    right: -5%;
    bottom: -10%;
    background: radial-gradient(ellipse at center, rgba(31, 123, 205, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.hero-image-enhanced img {
    width: 100%;
    max-width: 650px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
    animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }
    25% {
        transform: translateY(-20px) rotate(0.5deg);
    }
    50% {
        transform: translateY(-15px) rotate(1deg);
    }
    75% {
        transform: translateY(-25px) rotate(-0.5deg);
    }
}

/* Mobile Phone Mockup */
.phone-frame {
    position: relative;
    display: inline-block;
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border-radius: 36px;
    padding: 12px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 12px;
    z-index: 10;
}

.phone-frame img {
    width: 100%;
    border-radius: 24px;
    display: block;
}

/* Reflection Effect */
.with-reflection {
    position: relative;
}

.with-reflection::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: 5%;
    right: 5%;
    height: 50%;
    background: inherit;
    transform: scaleY(-1);
    opacity: 0.15;
    filter: blur(8px);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 100%);
    border-radius: var(--radius-2xl);
}

/* Image Hover Lift */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-lift:hover {
    transform: translateY(-12px) scale(1.02);
}

.hover-lift:hover img {
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(31, 123, 205, 0.15);
}

/* Parallax Image Container */
.parallax-image {
    overflow: hidden;
    border-radius: var(--radius-2xl);
}

.parallax-image img {
    width: 110%;
    margin-left: -5%;
    transition: transform 0.5s ease;
}

.parallax-image:hover img {
    transform: scale(1.05);
}

/* Animated Dots Background for Images */
.dots-background {
    position: relative;
}

.dots-background::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(var(--primary-300) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.5;
    z-index: -1;
}

.dots-background::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--accent-green) 2px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0.4;
    z-index: -1;
}

/* ============================================
   Additional Styles for Home Page
   ============================================ */

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--space-10);
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat .stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--accent-green);
}

.hero-stat .stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* Button Sizes */
.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-xl);
}

.btn-modern-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-modern-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 6px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 3px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.5; transform: translateY(12px); }
    100% { opacity: 0; transform: translateY(20px); }
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: var(--space-6);
    box-shadow: var(--shadow-xl);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.mobile-nav-link {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--neutral-700);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
    background: var(--primary-50);
    color: var(--primary-600);
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--neutral-200);
}

.mobile-nav-buttons .btn-modern {
    width: 100%;
    justify-content: center;
}

/* Mobile Menu Toggle Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Who Section Grid */
.who-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.who-card {
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.who-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.who-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.who-content {
    padding: var(--space-8);
}

.who-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-4);
}

.who-content p {
    font-size: var(--font-size-lg);
    color: var(--neutral-600);
    margin-bottom: var(--space-5);
}

.who-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.who-tags .tag {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--primary-50);
    color: var(--primary-700);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.content-list.compact li {
    font-size: var(--font-size-base);
}

/* Content Columns */
.content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 100;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* Footer Contact List */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    color: var(--neutral-400);
    font-size: var(--font-size-sm);
}

.footer-contact li i {
    color: var(--primary-400);
    margin-top: 3px;
}

.footer-contact li a {
    color: var(--neutral-400);
    text-decoration: none;
}

.footer-contact li a:hover {
    color: white;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: var(--space-6);
}

.footer-links a {
    color: var(--neutral-400);
    text-decoration: none;
    font-size: var(--font-size-sm);
}

.footer-links a:hover {
    color: white;
}

/* Section Badge Light Variant */
.section-badge.light {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .who-grid {
        grid-template-columns: 1fr;
    }

    .content-columns {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    .hero-stats {
        justify-content: center;
    }

    .hero-stat {
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   4-Column Features Grid
   ============================================ */
.features-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.features-grid-4 .feature-card {
    padding: var(--space-6);
}

.features-grid-4 .feature-card h3 {
    font-size: var(--font-size-lg);
}

.features-grid-4 .feature-card p {
    font-size: var(--font-size-sm);
}

.features-grid-4 .feature-icon {
    width: 48px;
    height: 48px;
    font-size: var(--font-size-xl);
}

@media (max-width: 1200px) {
    .features-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .features-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Sectors Section
   ============================================ */
.modern-sectors {
    padding: var(--space-24) var(--space-6);
    background: linear-gradient(180deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
}

.modern-sectors .section-header {
    color: white;
}

.modern-sectors .section-title {
    color: white;
}

.modern-sectors .section-subtitle {
    color: var(--neutral-300);
}

.modern-sectors .section-badge {
    background: rgba(122, 185, 41, 0.2);
    color: var(--accent-green);
}

.sectors-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.sector-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
}

.sector-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-green);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.sector-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.sector-icon i {
    font-size: 28px;
    color: white;
}

.sector-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-3);
}

.sector-card > p {
    font-size: var(--font-size-base);
    color: var(--neutral-300);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.sector-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sector-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--neutral-400);
    margin-bottom: var(--space-2);
}

.sector-features li i {
    color: var(--accent-green);
    font-size: var(--font-size-xs);
}

@media (max-width: 992px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Demo Banner Section
   ============================================ */
.demo-banner {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    padding: var(--space-10) var(--space-6);
    position: relative;
    overflow: hidden;
}

.demo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.demo-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.demo-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    position: relative;
    z-index: 1;
}

.demo-banner-content {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.demo-banner-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-banner-icon i {
    font-size: 32px;
    color: white;
}

.demo-banner-text h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: white;
    margin: 0 0 var(--space-2) 0;
}

.demo-banner-text p {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.demo-banner-actions {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-shrink: 0;
}

.demo-banner-actions .btn-modern-accent {
    background: white;
    color: var(--accent-green-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.demo-banner-actions .btn-modern-accent:hover {
    background: var(--neutral-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.demo-banner-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.demo-banner-features span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.demo-banner-features i {
    color: white;
    font-size: var(--font-size-sm);
}

@media (max-width: 992px) {
    .demo-banner-container {
        flex-direction: column;
        text-align: center;
    }

    .demo-banner-content {
        flex-direction: column;
    }

    .demo-banner-actions {
        flex-direction: column;
    }

    .demo-banner-features {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
    }
}

@media (max-width: 576px) {
    .demo-banner-text h3 {
        font-size: var(--font-size-xl);
    }

    .demo-banner-features {
        flex-direction: column;
    }
}

/* ============================================
   FAQ Section
   ============================================ */
.modern-faq {
    padding: var(--space-24) var(--space-6);
    background: var(--neutral-50);
}

.faq-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.faq-item.active {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-400);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--neutral-50);
}

.faq-question span {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--neutral-800);
    line-height: 1.5;
}

.faq-question i {
    font-size: var(--font-size-sm);
    color: var(--primary-500);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-question span {
    color: var(--primary-600);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--space-6) var(--space-5);
    font-size: var(--font-size-base);
    color: var(--neutral-600);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MODERNIZED IMAGE EFFECTS v2.0
   Enhanced visual treatments for all images
   ============================================ */

/* Base Image Container Enhancement */
.content-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: visible;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Neon Glow Border Animation */
.neon-glow {
    position: relative;
}

.neon-glow::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg,
        var(--primary-500),
        var(--accent-green),
        var(--primary-300),
        var(--accent-green-light),
        var(--primary-500));
    background-size: 400% 400%;
    border-radius: calc(var(--radius-2xl) + 3px);
    z-index: -1;
    animation: neonBorderRotate 6s linear infinite;
    filter: blur(8px);
    opacity: 0.7;
}

.neon-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: var(--radius-2xl);
    z-index: 0;
}

@keyframes neonBorderRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Morphing Shadow Effect */
.morphing-shadow {
    position: relative;
}

.morphing-shadow img {
    box-shadow:
        0 20px 40px rgba(31, 123, 205, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.morphing-shadow:hover img {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 35px 60px rgba(31, 123, 205, 0.25),
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 60px rgba(122, 185, 41, 0.15);
}

/* Tilt 3D Effect on Hover */
.tilt-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.tilt-3d img {
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}

.tilt-3d:hover img {
    transform: rotateY(-8deg) rotateX(5deg) scale(1.05);
}

/* Glassmorphism Card Frame */
.glass-card-frame {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: calc(var(--radius-2xl) + 12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.glass-card-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 100%);
    border-radius: calc(var(--radius-2xl) + 12px) calc(var(--radius-2xl) + 12px) 0 0;
    pointer-events: none;
}

.glass-card-frame img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Floating Particles Background */
.particles-bg {
    position: relative;
    overflow: visible;
}

.particles-bg::before,
.particles-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

.particles-bg::before {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-200) 100%);
    top: -25px;
    right: -25px;
    opacity: 0.4;
    animation-delay: 0s;
}

.particles-bg::after {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-light) 100%);
    bottom: -15px;
    left: -15px;
    opacity: 0.5;
    animation-delay: -4s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(15px, -20px) rotate(90deg) scale(1.1);
        opacity: 0.6;
    }
    50% {
        transform: translate(5px, -10px) rotate(180deg) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translate(-10px, -25px) rotate(270deg) scale(1.05);
        opacity: 0.5;
    }
}

/* Spotlight Effect */
.spotlight-effect {
    position: relative;
    overflow: hidden;
}

.spotlight-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.spotlight-effect:hover::before {
    opacity: 1;
    animation: spotlightMove 3s ease-in-out infinite;
}

@keyframes spotlightMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20%, 20%); }
}

/* Layered Cards Effect */
.layered-cards {
    position: relative;
    padding: 40px 0 0 40px;
}

.layered-cards::before,
.layered-cards::after {
    content: '';
    position: absolute;
    border-radius: var(--radius-2xl);
    transition: all 0.4s ease;
}

.layered-cards::before {
    top: 0;
    left: 0;
    right: 40px;
    bottom: 40px;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 100%);
    border: 2px solid var(--primary-200);
    transform: rotate(-4deg);
}

.layered-cards::after {
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--accent-green-light) 0%, rgba(122, 185, 41, 0.1) 100%);
    border: 2px solid rgba(122, 185, 41, 0.3);
    transform: rotate(-2deg);
}

.layered-cards:hover::before {
    transform: rotate(-6deg) translateX(-5px);
}

.layered-cards:hover::after {
    transform: rotate(-3deg) translateX(-3px);
}

.layered-cards img {
    position: relative;
    z-index: 2;
}

/* Pulse Ring Effect */
.pulse-ring {
    position: relative;
}

.pulse-ring::before,
.pulse-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--radius-2xl);
    border: 2px solid var(--primary-400);
    opacity: 0;
    animation: pulseRing 3s ease-out infinite;
}

.pulse-ring::after {
    animation-delay: 1.5s;
}

@keyframes pulseRing {
    0% {
        width: 90%;
        height: 90%;
        opacity: 0.8;
    }
    100% {
        width: 110%;
        height: 110%;
        opacity: 0;
    }
}

/* Geometric Pattern Background */
.geometric-bg {
    position: relative;
}

.geometric-bg::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background:
        linear-gradient(30deg, var(--primary-100) 12%, transparent 12.5%, transparent 87%, var(--primary-100) 87.5%, var(--primary-100)),
        linear-gradient(150deg, var(--primary-100) 12%, transparent 12.5%, transparent 87%, var(--primary-100) 87.5%, var(--primary-100)),
        linear-gradient(30deg, var(--primary-100) 12%, transparent 12.5%, transparent 87%, var(--primary-100) 87.5%, var(--primary-100)),
        linear-gradient(150deg, var(--primary-100) 12%, transparent 12.5%, transparent 87%, var(--primary-100) 87.5%, var(--primary-100)),
        linear-gradient(60deg, var(--primary-50) 25%, transparent 25.5%, transparent 75%, var(--primary-50) 75%, var(--primary-50)),
        linear-gradient(60deg, var(--primary-50) 25%, transparent 25.5%, transparent 75%, var(--primary-50) 75%, var(--primary-50));
    background-size: 40px 70px;
    background-position: 0 0, 0 0, 20px 35px, 20px 35px, 0 0, 20px 35px;
    border-radius: calc(var(--radius-2xl) + 10px);
    opacity: 0.5;
    z-index: -1;
}

/* Browser Window Frame */
.browser-frame {
    background: linear-gradient(180deg, #e8e8e8 0%, #d8d8d8 100%);
    border-radius: 12px 12px 0 0;
    padding-top: 32px;
    position: relative;
    box-shadow: var(--shadow-2xl);
}

.browser-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 15px;
    width: 12px;
    height: 12px;
    background: #ff5f57;
    border-radius: 50%;
    box-shadow:
        20px 0 0 #febc2e,
        40px 0 0 #28c840;
}

.browser-frame::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 80px;
    right: 80px;
    height: 20px;
    background: white;
    border-radius: 4px;
}

.browser-frame img {
    border-radius: 0 0 8px 8px;
    display: block;
}

/* Reveal on Scroll Enhanced */
.reveal-image {
    position: relative;
    overflow: hidden;
}

.reveal-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2;
}

.reveal-image.revealed::before {
    transform: scaleX(0);
}

/* Zoom Container */
.zoom-container {
    overflow: hidden;
    border-radius: var(--radius-2xl);
}

.zoom-container img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.zoom-container:hover img {
    transform: scale(1.1);
}

/* Split Reveal Effect */
.split-reveal {
    position: relative;
    overflow: hidden;
}

.split-reveal::before,
.split-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--primary-600);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2;
}

.split-reveal::before {
    left: 0;
    transform-origin: left;
}

.split-reveal::after {
    right: 0;
    transform-origin: right;
}

.split-reveal:hover::before {
    transform: scaleX(0);
}

.split-reveal:hover::after {
    transform: scaleX(0);
}

/* Soft Shadow with Color */
.colored-shadow {
    position: relative;
}

.colored-shadow img {
    box-shadow:
        0 20px 40px -10px rgba(31, 123, 205, 0.35),
        0 10px 20px -5px rgba(0, 39, 102, 0.2);
}

.colored-shadow:hover img {
    box-shadow:
        0 30px 60px -10px rgba(31, 123, 205, 0.45),
        0 15px 30px -5px rgba(0, 39, 102, 0.25),
        0 0 0 1px rgba(31, 123, 205, 0.1);
}

/* Accent Corner Decorations */
.corner-accents {
    position: relative;
    padding: 15px;
}

.corner-accents::before,
.corner-accents::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--accent-green);
}

.corner-accents::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-radius: var(--radius-lg) 0 0 0;
}

.corner-accents::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-radius: 0 0 var(--radius-lg) 0;
}

/* Animated Underline Effect */
.underline-reveal {
    position: relative;
    padding-bottom: 8px;
}

.underline-reveal::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--accent-green));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.underline-reveal:hover::after {
    transform: scaleX(1);
}

/* Image Badge Overlay */
.image-badge {
    position: relative;
}

.image-badge::after {
    content: 'NEW';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-green);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 700;
    padding: 6px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(122, 185, 41, 0.4);
}

/* Dark Mode Content Section Images */
.dark-bg .content-image img {
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.dark-bg .glow-effect::before {
    opacity: 0.8;
}

/* Apply Effects to Home Page Images */
.modern-content-section:nth-child(odd) .content-image {
    animation: floatSoft 6s ease-in-out infinite;
}

.modern-content-section:nth-child(even) .content-image {
    animation: floatSoft 6s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes floatSoft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Who Section Image Enhancements */
.who-image {
    position: relative;
    overflow: hidden;
}

.who-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.who-card:hover .who-image::before {
    opacity: 1;
}

.who-image img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.who-card:hover .who-image img {
    transform: scale(1.08);
}

/* Press Card Image Effects */
.press-card img {
    transition: all 0.3s ease;
    filter: grayscale(30%);
}

.press-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Logo Item Enhancements */
.logo-item {
    position: relative;
    overflow: hidden;
}

.logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.logo-item:hover::before {
    left: 100%;
}

/* Responsive Adjustments for Image Effects */
@media (max-width: 768px) {
    .layered-cards {
        padding: 20px 0 0 20px;
    }

    .layered-cards::before {
        right: 20px;
        bottom: 20px;
    }

    .particles-bg::before {
        width: 50px;
        height: 50px;
        top: -15px;
        right: -15px;
    }

    .particles-bg::after {
        width: 30px;
        height: 30px;
        bottom: -10px;
        left: -10px;
    }

    .corner-accents {
        padding: 10px;
    }

    .corner-accents::before,
    .corner-accents::after {
        width: 25px;
        height: 25px;
        border-width: 2px;
    }
}
