/* ============================================
   MODERN POS SYSTEM - PROFESSIONAL DESIGN
   ============================================ */

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

:root {
    /* Noqtah Brand Colors - ألوان هوية نقطة من الشعار الجديد */
    --primary-color: #008080; /* أزرق بحري/فيروزي داكن - اللون الأساسي */
    --primary-dark: #006666;
    --primary-light: #00A0A0;
    --primary-lighter: #33B3B3;
    --secondary-color: #1A1A2E; /* أسود داكن */
    --accent-color: #A2D75D; /* أخضر ليموني فاتح - لون التمييز */
    --accent-dark: #9CCC4E;
    --accent-light: #B5E07A;
    --success-color: #A2D75D;
    --warning-color: #FFB84D;
    --danger-color: #FF6B6B;
    --brand-blue: #008080;
    --brand-teal: #009688;
    --brand-green: #A2D75D;
    --brand-dark: #1A1A2E;
    --brand-light: #F8FAFC;
    --brand-black: #0F172A;
    --brand-white: #FFFFFF;
    
    /* Neutral Colors */
    --text-dark: #0F172A;
    --text-medium: #475569;
    --text-light: #94A3B8;
    --bg-dark: #0F172A;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Shadows - Modern & Soft (ناعمة ومستديرة) */
    --shadow-xs: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 8px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 20px 0 rgba(0, 0, 0, 0.08), 0 4px 8px 0 rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 30px 0 rgba(0, 0, 0, 0.1), 0 8px 12px 0 rgba(0, 0, 0, 0.05);
    --shadow-2xl: 0 25px 50px 0 rgba(0, 0, 0, 0.15);
    --shadow-colored: 0 20px 40px -12px rgba(0, 128, 128, 0.25);
    --shadow-accent: 0 10px 25px -5px rgba(162, 215, 93, 0.3);
    
    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #fafafa 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    letter-spacing: -0.01em;
}

/* Animated Background with Multiple Layers */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0, 128, 128, 0.08) 0%, transparent 70%);
    border-radius: 50% 30% 60% 40%;
    transform: rotate(25deg);
    animation: organicFloat 20s ease-in-out infinite, pulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(162, 215, 93, 0.08) 0%, transparent 70%);
    border-radius: 40% 60% 30% 50%;
    transform: rotate(-25deg);
    animation: organicFloat 25s ease-in-out infinite reverse, pulse 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Additional Animated Background Elements */
body {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 128, 128, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(162, 215, 93, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 128, 128, 0.04) 0%, transparent 50%);
    background-size: 200% 200%, 150% 150%, 180% 180%;
    animation: backgroundMove 30s ease infinite;
}

@keyframes backgroundMove {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 100% 0%;
    }
}

@keyframes organicFloat {
    0%, 100% {
        transform: rotate(25deg) translate(0, 0) scale(1);
    }
    50% {
        transform: rotate(30deg) translate(15px, -20px) scale(1.05);
    }
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 48px;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: #FFFFFF;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04),
                0 1px 2px rgba(0, 0, 0, 0.03);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 128, 128, 0.1);
    transition: var(--transition-base);
    overflow: hidden;
}

/* Navbar at top */
.navbar.at-top {
    background: #FFFFFF;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04),
                0 1px 2px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 128, 128, 0.1);
}

.navbar.at-top .logo h2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    font-weight: 800;
}

.navbar.at-top .logo-img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    opacity: 1;
}

.navbar.at-top .nav-link {
    color: var(--primary-color);
    text-shadow: none;
    font-weight: 600;
}

.navbar.at-top .nav-link:hover {
    background: rgba(0, 128, 128, 0.08);
    color: var(--primary-dark);
}


.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0, 128, 128, 0.03) 10px, rgba(0, 128, 128, 0.03) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(162, 215, 93, 0.03) 10px, rgba(162, 215, 93, 0.03) 20px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.navbar {
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 128, 128, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(162, 215, 93, 0.05) 0%, transparent 50%);
    background-size: 200% 200%;
    animation: yemeniPatternMove 20s ease infinite;
}

@keyframes yemeniPatternMove {
    0%, 100% {
        background-position: 0% 0%, 100% 100%;
    }
    50% {
        background-position: 100% 100%, 0% 0%;
    }
}

.navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--primary-color) 15%,
        var(--accent-color) 30%,
        var(--primary-color) 45%,
        var(--accent-color) 60%,
        var(--primary-color) 75%,
        var(--accent-color) 90%,
        transparent 100%
    );
    clip-path: polygon(
        0 0, 
        5% 0, 10% 100%, 15% 0, 20% 100%, 25% 0, 30% 100%, 
        35% 0, 40% 100%, 45% 0, 50% 100%, 55% 0, 60% 100%, 
        65% 0, 70% 100%, 75% 0, 80% 100%, 85% 0, 90% 100%, 
        95% 0, 100% 0, 100% 100%, 0 100%
    );
    animation: yemeniBorder 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes yemeniBorder {
    0%, 100% {
        clip-path: polygon(
            0 0, 
            5% 0, 10% 100%, 15% 0, 20% 100%, 25% 0, 30% 100%, 
            35% 0, 40% 100%, 45% 0, 50% 100%, 55% 0, 60% 100%, 
            65% 0, 70% 100%, 75% 0, 80% 100%, 85% 0, 90% 100%, 
            95% 0, 100% 0, 100% 100%, 0 100%
        );
    }
    50% {
        clip-path: polygon(
            0 0, 
            3% 0, 8% 100%, 13% 0, 18% 100%, 23% 0, 28% 100%, 
            33% 0, 38% 100%, 43% 0, 48% 100%, 53% 0, 58% 100%, 
            63% 0, 68% 100%, 73% 0, 78% 100%, 83% 0, 88% 100%, 
            93% 0, 100% 0, 100% 100%, 0 100%
        );
    }
}

@keyframes wavyBorder {
    0%, 100% {
        clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
    }
    50% {
        clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
    }
}

@media (min-width: 768px) {
    .navbar {
        padding: 1.25rem 0;
    }
}

.navbar.scrolled {
    background: #FFFFFF;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05),
                0 1px 2px rgba(0, 0, 0, 0.04);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 128, 128, 0.1);
}


.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 10000;
}

.nav-wrapper .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-wrapper::before {
    content: '◊';
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    font-size: 1.5rem;
    color: rgba(0, 128, 128, 0.2);
    z-index: 0;
    font-family: 'Arial', sans-serif;
}

.nav-wrapper::after {
    content: '✦';
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%) rotate(45deg);
    font-size: 1.2rem;
    color: rgba(162, 215, 93, 0.2);
    z-index: 0;
    animation: yemeniRotate 10s linear infinite;
}

@keyframes yemeniRotate {
    0% {
        transform: translate(50%, -50%) rotate(45deg);
    }
    100% {
        transform: translate(50%, -50%) rotate(405deg);
    }
}

.logo {
    position: relative;
    z-index: 10001;
}

.logo-img {
    width: 50px;
    height: auto;
    margin-left: 0.5rem;
    vertical-align: middle;
    filter: drop-shadow(2px 2px 4px rgba(0, 128, 128, 0.2));
    transition: var(--transition-base);
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo h2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    transition: var(--transition-base);
    position: relative;
    transform: rotate(-2deg);
    filter: drop-shadow(2px 2px 4px rgba(0, 128, 128, 0.2));
    display: inline-block;
    vertical-align: middle;
}

.logo h2::before {
    content: '⚡';
    position: absolute;
    right: -25px;
    top: -5px;
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
    transform: rotate(15deg);
}

@keyframes sparkle {
    0%, 100% {
        transform: rotate(15deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: rotate(25deg) scale(1.2);
        opacity: 0.7;
    }
}

.logo h2:hover {
    transform: rotate(-2deg) scale(1.05);
}

/* Navigation Action Buttons - Icons Only */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 10001;
    margin-right: auto;
    margin-left: 1.5rem;
}

.nav-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-base);
    border: 2px solid rgba(0, 128, 128, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.nav-action-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
    transition: var(--transition-base);
}

.nav-action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    opacity: 0;
}

.nav-action-btn:hover::before {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.nav-action-btn:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-action-btn:hover svg {
    stroke: var(--accent-color);
    transform: scale(1.1);
}

.nav-signup-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: transparent;
}

.nav-signup-btn svg {
    stroke: white;
}

.nav-signup-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.35),
                0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-signup-btn:hover svg {
    stroke: white;
}

/* Navbar at top - Action buttons styling (White background) */
.navbar.at-top .nav-action-btn {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 128, 128, 0.2);
}

.navbar.at-top .nav-action-btn svg {
    stroke: var(--accent-color);
}

.navbar.at-top .nav-signup-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: transparent;
}

.navbar.at-top .nav-signup-btn svg {
    stroke: white;
}

@media (max-width: 768px) {
    .nav-actions {
        margin-left: 1rem;
        gap: 0.5rem;
    }
    
    .nav-action-btn {
        width: 40px;
        height: 40px;
    }
    
    .nav-action-btn svg {
        width: 18px;
        height: 18px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10001;
}

@media (min-width: 768px) {
    .nav-menu {
        gap: 0.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-menu {
        gap: 0.75rem;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition-base);
    padding: 0.5rem 1rem;
    border-radius: 20px 5px 20px 5px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    transform: rotate(-1deg);
}

@media (min-width: 768px) {
    .nav-link {
        font-size: 0.9375rem;
        padding: 0.625rem 1.25rem;
    }
}

@media (min-width: 1024px) {
    .nav-link {
        padding: 0.75rem 1.5rem;
        border-radius: 20px;
    }
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transition: var(--transition-base);
    border-radius: 50px;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.nav-link:hover::after {
    width: 200px;
    height: 200px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 128, 128, 0.1);
    transform: translateY(-2px) rotate(1deg) scale(1.05);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.15);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link.active {
    color: var(--primary-dark);
    background: rgba(0, 128, 128, 0.1);
    box-shadow: 0 2px 6px rgba(0, 128, 128, 0.12);
}

.nav-link.active::before {
    width: 80%;
}

.nav-link.active::after {
    width: 200px;
    height: 200px;
}

.btn-login {
    color: var(--primary-color);
}

.btn-login:hover {
    color: var(--accent-color);
    background: rgba(162, 215, 93, 0.1);
}

.btn-signup {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white !important;
    padding: 0.625rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.3),
                0 2px 8px rgba(162, 215, 93, 0.2);
    border-radius: 30px;
    transform: rotate(-1deg);
}

.btn-signup:hover {
    transform: translateY(-2px) rotate(1deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(162, 215, 93, 0.4),
                0 4px 12px rgba(0, 128, 128, 0.3);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
}

.btn-signup::before {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
    position: relative;
    z-index: 10002;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 8px;
    transition: var(--transition-base);
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.hero-statistics {
    margin-top: 3rem;
    padding-top: 2rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .hero-statistics {
        margin-top: 4rem;
        padding-top: 3rem;
    }
}

.hero-statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.statistics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .statistics-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.stat-card-modern {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 30px 10px 30px 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(-1deg);
    clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
}

.stat-card-modern:nth-child(2) {
    transform: rotate(1deg);
}

.stat-card-modern:nth-child(3) {
    transform: rotate(-0.5deg);
}

@media (min-width: 768px) {
    .stat-card-modern {
        padding: 2rem;
        border-radius: 24px;
    }
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 128, 128, 0.05), transparent 30%);
    animation: rotate 8s linear infinite;
}

.stat-card-modern:hover {
    transform: translateY(-8px) rotate(0deg) scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 128, 128, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.25);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.stat-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .stat-icon-wrapper {
        width: 100px;
        height: 100px;
        margin: 0 auto 1.5rem;
    }
}

.stat-icon {
    font-size: 3rem;
    position: relative;
    z-index: 2;
    animation: statIconFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4));
    transition: var(--transition-base);
}

.stat-card-modern:nth-child(1) .stat-icon {
    animation-delay: 0s;
}

.stat-card-modern:nth-child(2) .stat-icon {
    animation-delay: 0.5s;
}

.stat-card-modern:nth-child(3) .stat-icon {
    animation-delay: 1s;
}

.stat-card-modern:hover .stat-icon {
    animation: statIconBounce 0.8s ease-in-out;
    transform: scale(1.2) translateY(-8px) rotate(10deg);
    filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.6));
}

@keyframes statIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(-10px) rotate(5deg) scale(1.05);
    }
    66% {
        transform: translateY(-5px) rotate(-5deg) scale(1.03);
    }
}

@keyframes statIconBounce {
    0%, 100% {
        transform: scale(1.2) translateY(-8px) rotate(10deg);
    }
    50% {
        transform: scale(1.3) translateY(-12px) rotate(15deg);
    }
}

.geometric-shape {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.shape-1 {
    width: 70px;
    height: 70px;
    border-color: rgba(255, 255, 255, 0.4);
    opacity: 0.5;
    top: 10px;
    right: 10px;
    animation-duration: 15s;
    animation-direction: reverse;
}

.shape-2 {
    width: 50px;
    height: 50px;
    border-color: rgba(255, 255, 255, 0.3);
    opacity: 0.6;
    bottom: 10px;
    left: 10px;
    border-style: dashed;
    animation-duration: 12s;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.5rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .stat-label {
        font-size: 1rem;
    }
}

/* Arabic Geometric Patterns */
.stat-card-modern::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: 
        repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255, 255, 255, 0.1) 5px, rgba(255, 255, 255, 0.1) 10px);
    border-radius: 24px;
    opacity: 0.3;
    z-index: 0;
}

/* Logo Badge */
.logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.1) 0%, rgba(162, 215, 93, 0.1) 100%);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 128, 128, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

.logo-icon {
    font-size: 1.25rem;
    animation: pulse 2s ease-in-out infinite;
}

/* Customer App CTA */
.customer-app-cta {
    text-align: center;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-customer-app {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white !important;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: none;
}

.btn-customer-app:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
}

.btn-icon {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.btn-customer-app .arrow {
    transition: var(--transition-base);
}

.btn-customer-app:hover .arrow {
    transform: translateX(-5px);
}

/* ============================================
   PAGE SECTIONS
   ============================================ */
section[id] {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 0;
    padding-top: 8rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    overflow: hidden;
}

@media (min-width: 768px) {
    section[id] {
        min-height: 100vh;
    }
}

section[id]::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0, 128, 128, 0.05) 0%, transparent 70%);
    border-radius: 50% 30% 60% 40%;
    transform: rotate(45deg);
    animation: backgroundFloat 30s ease-in-out infinite;
    z-index: 0;
    opacity: 1;
    will-change: transform;
}

section[id]::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(162, 215, 93, 0.05) 0%, transparent 70%);
    border-radius: 40% 60% 30% 50%;
    transform: rotate(-45deg);
    animation: backgroundFloat 35s ease-in-out infinite reverse;
    z-index: 0;
    opacity: 1;
    will-change: transform;
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: rotate(45deg) translate(0, 0) scale(1);
    }
    50% {
        transform: rotate(50deg) translate(20px, -25px) scale(1.05);
    }
}

section[id] > .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 0;
    padding-top: 6rem;
    background: linear-gradient(135deg, 
        rgba(162, 215, 93, 0.75) 0%, 
        rgba(181, 224, 122, 0.70) 25%,
        rgba(162, 215, 93, 0.80) 50%,
        rgba(181, 224, 122, 0.70) 75%,
        rgba(162, 215, 93, 0.75) 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    z-index: 1;
}

.hero::before {
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: backgroundFloat 18s ease-in-out infinite;
}

.hero::after {
    background: radial-gradient(ellipse at center, rgba(181, 224, 122, 0.2) 0%, transparent 70%);
    animation: backgroundFloat 22s ease-in-out infinite reverse;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(181, 224, 122, 0.15) 0%, transparent 70%);
    border-radius: 50% 30% 60% 40%;
    transform: rotate(45deg);
    animation: organicFloat 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(162, 215, 93, 0.18) 0%, transparent 70%);
    border-radius: 40% 60% 30% 50%;
    transform: rotate(-30deg);
    animation: organicFloat 25s ease-in-out infinite reverse;
}

@media (min-width: 768px) {
    .hero {
        padding: 6rem 0;
        min-height: 90vh;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 8rem 0;
        min-height: 100vh;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

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

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out;
    transform: rotate(-1deg);
    color: var(--text-dark);
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50% 30% 60% 40%;
    animation: organicFloat 10s ease-in-out infinite;
    z-index: -1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
        margin-bottom: 1.5rem;
        letter-spacing: -1px;
    }
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--text-dark);
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
        line-height: 1.8;
    }
}

@media (min-width: 1024px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 3rem;
    }
}

.btn {
    padding: 0.875rem 1.75rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 768px) {
    .btn {
        padding: 1rem 2rem;
        border-radius: 24px;
        font-size: 1rem;
        width: auto;
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.3),
                0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    transform: rotate(-1deg);
    font-weight: 800;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px) rotate(1deg) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 128, 128, 0.4),
                0 6px 18px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
}

.platform-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@media (min-width: 480px) {
    .platform-logos {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) {
    .platform-logos {
        gap: 1.5rem;
    }
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

.platform-item:hover {
    transform: translateY(-5px);
}

.platform-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
    animation: platformIconFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.2));
}

.platform-item:nth-child(1) .platform-icon {
    animation-delay: 0s;
}

.platform-item:nth-child(2) .platform-icon {
    animation-delay: 0.3s;
}

.platform-item:nth-child(3) .platform-icon {
    animation-delay: 0.6s;
}

.platform-item:nth-child(4) .platform-icon {
    animation-delay: 0.9s;
}

.platform-item:hover .platform-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.2) rotate(10deg) translateY(-5px);
    animation: platformIconBounce 0.6s ease-in-out;
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.4));
}

@keyframes platformIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-8px) rotate(3deg) scale(1.05);
    }
}

@keyframes platformIconBounce {
    0%, 100% {
        transform: scale(1.2) rotate(10deg) translateY(-5px);
    }
    50% {
        transform: scale(1.3) rotate(15deg) translateY(-8px);
    }
}

.hero-image {
    position: relative;
    height: 300px;
    margin-top: 2rem;
    animation: fadeInRight 1s ease-out 0.3s both;
}

@media (min-width: 768px) {
    .hero-image {
        height: 400px;
        margin-top: 0;
    }
}

@media (min-width: 1024px) {
    .hero-image {
        height: 500px;
    }
}

.hero-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    left: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    right: 30%;
    animation-delay: 4s;
}

/* ============================================
   MODERN CARDS - Professional Design
   ============================================ */
.vision-mission {
    padding: 6rem 0;
    background: var(--bg-light);
    position: relative;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .vision-mission-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        padding: 6rem 0;
    }
}

@media (min-width: 768px) {
    .vision-mission-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

.vision-card,
.mission-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.vision-card::before,
.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleY(0);
    transition: var(--transition-base);
}

.vision-card:hover::before,
.mission-card:hover::before {
    transform: scaleY(1);
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: cardIconFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    transition: var(--transition-base);
}

.vision-card .card-icon {
    animation-delay: 0s;
}

.mission-card .card-icon {
    animation-delay: 0.5s;
}

.vision-card:hover .card-icon,
.mission-card:hover .card-icon {
    animation: cardIconSpin 0.8s ease-in-out;
    transform: scale(1.2) rotate(15deg) translateY(-8px);
    filter: drop-shadow(0 8px 20px rgba(0, 102, 255, 0.3));
}

@keyframes cardIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(8deg);
    }
}

@keyframes cardIconSpin {
    0% {
        transform: scale(1.2) rotate(15deg) translateY(-8px);
    }
    50% {
        transform: scale(1.3) rotate(20deg) translateY(-12px);
    }
    100% {
        transform: scale(1.2) rotate(15deg) translateY(-8px);
    }
}

.vision-card h2,
.mission-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vision-card p,
.mission-card p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-medium);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
        padding: 3rem 0;
    }
}

@media (min-width: 1024px) {
    .section-header {
        margin-bottom: 5rem;
        padding: 4rem 0;
    }
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 900;
    letter-spacing: -0.5px;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: clamp(2rem, 4vw, 3rem);
        margin-bottom: 1rem;
        letter-spacing: -1px;
    }
}

.section-header p {
    font-size: 1rem;
    color: var(--text-medium);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .section-header p {
        font-size: 1.125rem;
        max-width: 700px;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .section-header p {
        font-size: 1.25rem;
    }
}

/* ============================================
   CATEGORY CARDS - Modern Grid
   ============================================ */
.target-categories {
    padding: 6rem 0;
    background: white;
}

.target-categories .section-header {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .target-categories .section-header {
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }
}

@media (min-width: 1024px) {
    .target-categories .section-header {
        margin-bottom: 2.5rem;
        padding: 2rem 0;
    }
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 2.5rem;
        padding: 0;
    }
}


.category-card {
    background: white;
    padding: 1.5rem;
    border-radius: 25px 8px 25px 8px;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.1);
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid rgba(0, 102, 255, 0.2);
    position: relative;
    overflow: hidden;
    transform: rotate(calc(var(--i, 0) * 1deg - 1deg));
    clip-path: polygon(0 0, 100% 0, 97% 100%, 3% 100%);
}

.category-card:nth-child(odd) {
    transform: rotate(1deg);
    border-radius: 8px 25px 8px 25px;
}

.category-card:nth-child(even) {
    transform: rotate(-1deg);
}

@media (min-width: 768px) {
    .category-card {
        padding: 2rem;
        border-radius: 20px;
    }
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.category-card:hover::after {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-8px) rotate(0deg) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.25);
    border-color: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}


.category-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition-base);
    animation: iconFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.category-card:nth-child(odd) .category-icon {
    animation-delay: 0.5s;
}

.category-card:nth-child(even) .category-icon {
    animation-delay: 1s;
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(10deg) translateY(-5px);
    animation: iconBounce 0.6s ease-in-out;
    filter: drop-shadow(0 6px 12px rgba(0, 102, 255, 0.3));
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1.2) rotate(10deg) translateY(-5px);
    }
    50% {
        transform: scale(1.3) rotate(15deg) translateY(-8px);
    }
}

.category-card h3 {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */
.experience {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: block;
}

.experience::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50% 30% 60% 40%;
    transform: rotate(45deg);
    animation: organicFloat 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.experience::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 40% 60% 30% 50%;
    transform: rotate(-30deg);
    animation: organicFloat 30s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}


.experience-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.experience-content p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.devices-showcase {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.device-item {
    font-size: 4rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
    animation: deviceIconFloat 3.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.2));
}

.device-item:nth-child(1) {
    animation-delay: 0s;
}

.device-item:nth-child(2) {
    animation-delay: 0.4s;
}

.device-item:nth-child(3) {
    animation-delay: 0.8s;
}

.device-item:hover {
    transform: scale(1.2) rotate(10deg) translateY(-8px);
    background: rgba(255, 255, 255, 0.3);
    animation: deviceIconBounce 0.7s ease-in-out;
    filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.4));
}

.pos-device-item {
    flex-direction: column;
    gap: 0.25rem;
    animation: posFloat 3s ease-in-out infinite;
    animation-delay: 1.2s;
}

.pos-screen {
    width: 70px;
    height: 45px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 8px 8px 4px 4px;
    padding: 6px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(0, 212, 170, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 2px solid rgba(0, 102, 255, 0.4);
}

.pos-screen::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(0, 212, 170, 0.8);
    border-radius: 50%;
    animation: posPulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.6);
}

.pos-display {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.15) 0%, 
        rgba(0, 212, 170, 0.15) 100%
    );
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 3px;
    position: relative;
    overflow: hidden;
}

.pos-display::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.4), 
        transparent
    );
    animation: posScan 3s ease-in-out infinite;
}

.pos-line {
    height: 2.5px;
    background: linear-gradient(90deg, 
        rgba(0, 212, 170, 0.9) 0%, 
        rgba(0, 102, 255, 0.7) 50%,
        rgba(0, 212, 170, 0.9) 100%
    );
    border-radius: 2px;
    animation: posGlow 2s ease-in-out infinite;
}

.pos-line:nth-child(1) {
    width: 100%;
    animation-delay: 0s;
}

.pos-line:nth-child(2) {
    width: 85%;
    animation-delay: 0.3s;
}

.pos-line.short {
    width: 60%;
    animation-delay: 0.6s;
}

.pos-base {
    width: 85px;
    height: 6px;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    border-radius: 4px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(0, 212, 170, 0.3);
    border: 1px solid rgba(0, 102, 255, 0.3);
}

@keyframes posFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes posPulse {
    0%, 100% {
        opacity: 0.8;
        box-shadow: 0 0 6px rgba(0, 212, 170, 0.8);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 14px rgba(0, 212, 170, 1);
    }
}

@keyframes posScan {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes posGlow {
    0%, 100% {
        opacity: 0.7;
        box-shadow: 0 0 4px rgba(0, 212, 170, 0.5);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(0, 212, 170, 1);
    }
}

@keyframes deviceIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-10px) rotate(5deg) scale(1.05);
    }
}

@keyframes deviceIconBounce {
    0%, 100% {
        transform: scale(1.2) rotate(10deg) translateY(-8px);
    }
    50% {
        transform: scale(1.3) rotate(15deg) translateY(-12px);
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 6rem 0;
    background: var(--bg-light);
}

.features .section-header {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .features .section-header {
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }
}

@media (min-width: 1024px) {
    .features .section-header {
        margin-bottom: 2.5rem;
        padding: 2rem 0;
    }
}

.feature-category {
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .feature-category {
        margin-bottom: 3.5rem;
    }
}

.category-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    padding-bottom: 0.75rem;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%) 1;
    font-weight: 800;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2rem;
        padding: 0;
    }
}


.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px 5px 20px 5px;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.08);
    transition: var(--transition-base);
    border: 2px solid rgba(0, 102, 255, 0.15);
    position: relative;
    overflow: hidden;
    transform: rotate(calc(var(--i, 0) * 0.5deg - 0.5deg));
}

.feature-card:nth-child(odd) {
    transform: rotate(0.5deg);
    border-radius: 5px 20px 5px 20px;
}

.feature-card:nth-child(even) {
    transform: rotate(-0.5deg);
}

@media (min-width: 768px) {
    .feature-card {
        padding: 2rem;
        border-radius: 20px;
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: var(--transition-slow);
}

.feature-card:hover::before {
    width: 300px;
    height: 300px;
}

.feature-card:hover {
    transform: translateY(-8px) rotate(0deg) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition-base);
    position: relative;
    z-index: 1;
    animation: iconPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.1));
}

.feature-card:nth-child(odd) .feature-icon {
    animation-delay: 0.3s;
}

.feature-card:nth-child(even) .feature-icon {
    animation-delay: 0.6s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.25) rotate(10deg) translateY(-5px);
    animation: iconSpin 0.8s ease-in-out;
    filter: drop-shadow(0 8px 16px rgba(0, 102, 255, 0.4));
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.05) rotate(3deg);
    }
}

@keyframes iconSpin {
    0% {
        transform: scale(1.25) rotate(10deg) translateY(-5px);
    }
    50% {
        transform: scale(1.3) rotate(15deg) translateY(-8px);
    }
    100% {
        transform: scale(1.25) rotate(10deg) translateY(-5px);
    }
}

.feature-card h4 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ============================================
   CUSTOMER APP SECTION - Stunning Cards
   ============================================ */
.customer-app-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.customer-app-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .customer-app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 3rem 0;
    }
}

@media (min-width: 1024px) {
    .customer-app-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2.5rem;
        padding: 4rem 0;
    }
}

@media (min-width: 640px) {
    .customer-app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .customer-app-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

.app-feature-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: white;
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.app-feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.app-feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.app-feature-card:hover::after {
    transform: scaleX(1);
}

.app-feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.app-feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    animation: iconFloatAdvanced 3s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
    transition: var(--transition-base);
}

.app-feature-card:nth-child(odd) .app-feature-icon {
    animation-delay: 0.4s;
}

.app-feature-card:nth-child(even) .app-feature-icon {
    animation-delay: 0.8s;
}

.app-feature-card:hover .app-feature-icon {
    animation: iconBounceAdvanced 0.6s ease-in-out;
    transform: scale(1.2) translateY(-10px);
    filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.5));
}

@keyframes iconFloatAdvanced {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-8px) rotate(-5deg) scale(1.05);
    }
    50% {
        transform: translateY(-12px) rotate(0deg) scale(1.1);
    }
    75% {
        transform: translateY(-8px) rotate(5deg) scale(1.05);
    }
}

@keyframes iconBounceAdvanced {
    0%, 100% {
        transform: scale(1.2) translateY(-10px) rotate(0deg);
    }
    50% {
        transform: scale(1.3) translateY(-15px) rotate(10deg);
    }
}

.app-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.app-feature-card p {
    position: relative;
    z-index: 1;
    opacity: 0.95;
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ============================================
   MERCHANT ORDERS SECTION
   ============================================ */
.merchant-orders-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, 
        #f093fb 0%, 
        #f5576c 30%,
        #ff6b9d 60%,
        #f5576c 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 16s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
}

.merchant-orders-section .section-header {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .merchant-orders-section .section-header {
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }
}

@media (min-width: 1024px) {
    .merchant-orders-section .section-header {
        margin-bottom: 2.5rem;
        padding: 2rem 0;
    }
}

.merchant-orders-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50% 30% 60% 40%;
    transform: rotate(45deg);
    animation: organicFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.merchant-orders-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 40% 60% 30% 50%;
    transform: rotate(-30deg);
    animation: organicFloat 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

.merchant-orders-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    padding: 0;
}

@media (min-width: 768px) {
    .merchant-orders-content {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

.orders-feature {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.orders-feature::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent 30%);
    animation: rotate 8s linear infinite;
}

.orders-feature:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.orders-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    animation: ordersIconFloat 3.5s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
    transition: var(--transition-base);
}

.orders-feature:nth-child(odd) .orders-icon {
    animation-delay: 0.3s;
}

.orders-feature:nth-child(even) .orders-icon {
    animation-delay: 0.6s;
}

.orders-feature:hover .orders-icon {
    animation: ordersIconBounce 0.7s ease-in-out;
    transform: scale(1.25) translateY(-10px) rotate(10deg);
    filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.5));
}

@keyframes ordersIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-15px) rotate(8deg) scale(1.1);
    }
}

@keyframes ordersIconBounce {
    0%, 100% {
        transform: scale(1.25) translateY(-10px) rotate(10deg);
    }
    50% {
        transform: scale(1.35) translateY(-15px) rotate(15deg);
    }
}

.orders-feature h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* ============================================
   QUICK FEATURES SECTION
   ============================================ */
.quick-features-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, 
        #f8f9fa 0%, 
        #e9ecef 40%,
        #f8f9fa 80%,
        #ffffff 100%
    );
    background-size: 300% 300%;
    animation: gradientShift 24s ease infinite;
    position: relative;
    overflow: hidden;
}

.quick-features-section .section-header {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .quick-features-section .section-header {
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }
}

@media (min-width: 1024px) {
    .quick-features-section .section-header {
        margin-bottom: 2.5rem;
        padding: 2rem 0;
    }
}

.quick-features-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(206, 17, 38, 0.08) 0%, transparent 70%);
    border-radius: 50% 30% 60% 40%;
    transform: rotate(45deg);
    animation: organicFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.quick-features-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 40% 60% 30% 50%;
    transform: rotate(-30deg);
    animation: organicFloat 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

.quick-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    padding: 0;
}

@media (min-width: 768px) {
    .quick-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

.quick-feature-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(206, 17, 38, 0.1);
    text-align: center;
    position: relative;
    transition: var(--transition-base);
    border: 2px solid rgba(0, 102, 255, 0.15);
    overflow: hidden;
}

.quick-feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 102, 255, 0.08), transparent 30%);
    animation: rotate 8s linear infinite;
}

.quick-feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.quick-feature-card:hover::after {
    transform: scaleX(1);
}

.quick-feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.2);
    border-color: var(--primary-color);
}

.quick-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    animation: quickIconFloat 3.5s ease-in-out infinite;
    display: inline-block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    transition: var(--transition-base);
}

.quick-feature-card:nth-child(odd) .quick-icon {
    animation-delay: 0.3s;
}

.quick-feature-card:nth-child(even) .quick-icon {
    animation-delay: 0.6s;
}

.quick-feature-card:hover .quick-icon {
    animation: quickIconBounce 0.7s ease-in-out;
    transform: scale(1.25) rotate(10deg) translateY(-10px);
    filter: drop-shadow(0 8px 20px rgba(0, 102, 255, 0.3));
}

@keyframes quickIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-12px) rotate(6deg) scale(1.08);
    }
}

@keyframes quickIconBounce {
    0%, 100% {
        transform: scale(1.25) rotate(10deg) translateY(-10px);
    }
    50% {
        transform: scale(1.35) rotate(15deg) translateY(-15px);
    }
}

.quick-feature-card h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feature-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--success-color) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    animation: glow 2s ease-in-out infinite;
    z-index: 2;
}

/* ============================================
   PAYMENT SERVICES SECTION
   ============================================ */
.payment-services-section {
    padding: 6rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.payment-services-section .section-header {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .payment-services-section .section-header {
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }
}

@media (min-width: 1024px) {
    .payment-services-section .section-header {
        margin-bottom: 2.5rem;
        padding: 2rem 0;
    }
}

.payment-services-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(79, 172, 254, 0.08) 0%, transparent 70%);
    border-radius: 50% 30% 60% 40%;
    transform: rotate(45deg);
    animation: organicFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.payment-services-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
    border-radius: 40% 60% 30% 50%;
    transform: rotate(-30deg);
    animation: organicFloat 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

.payment-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    padding: 0;
}

.payment-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.payment-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

.payment-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.payment-card:hover::after {
    left: 100%;
}

.payment-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.payment-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    animation: paymentIconFloat 3.5s ease-in-out infinite;
    display: inline-block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
    transition: var(--transition-base);
}

.payment-card:nth-child(odd) .payment-icon {
    animation-delay: 0.2s;
}

.payment-card:nth-child(even) .payment-icon {
    animation-delay: 0.5s;
}

.payment-card:hover .payment-icon {
    animation: paymentIconBounce 0.7s ease-in-out;
    transform: scale(1.25) translateY(-12px) rotate(12deg);
    filter: drop-shadow(0 8px 24px rgba(255, 255, 255, 0.5));
}

@keyframes paymentIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-12px) rotate(6deg) scale(1.08);
    }
}

@keyframes paymentIconBounce {
    0%, 100% {
        transform: scale(1.25) translateY(-12px) rotate(12deg);
    }
    50% {
        transform: scale(1.35) translateY(-18px) rotate(18deg);
    }
}

.payment-card h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* ============================================
   ENHANCED PURCHASES SECTION
   ============================================ */
.enhanced-purchases-section {
    padding: 6rem 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.enhanced-purchases-section .section-header {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .enhanced-purchases-section .section-header {
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }
}

@media (min-width: 1024px) {
    .enhanced-purchases-section .section-header {
        margin-bottom: 2.5rem;
        padding: 2rem 0;
    }
}

.enhanced-purchases-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(206, 17, 38, 0.08) 0%, transparent 70%);
    border-radius: 50% 30% 60% 40%;
    transform: rotate(45deg);
    animation: organicFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.enhanced-purchases-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 40% 60% 30% 50%;
    transform: rotate(-30deg);
    animation: organicFloat 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

.purchases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    padding: 0;
}

.purchase-feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(206, 17, 38, 0.1);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    border: 2px solid rgba(0, 102, 255, 0.15);
    overflow: hidden;
}

.purchase-feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 102, 255, 0.08), transparent 30%);
    animation: rotate 8s linear infinite;
}

.purchase-feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.purchase-feature-card:hover::after {
    transform: scaleX(1);
}

.purchase-feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.2);
    border-color: var(--primary-color);
}

.purchase-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    display: inline-block;
    transition: var(--transition-base);
    animation: purchaseIconFloat 3.5s ease-in-out infinite;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.15));
}

.purchase-feature-card:nth-child(odd) .purchase-icon {
    animation-delay: 0.3s;
}

.purchase-feature-card:nth-child(even) .purchase-icon {
    animation-delay: 0.6s;
}

.purchase-feature-card:hover .purchase-icon {
    animation: purchaseIconBounce 0.7s ease-in-out;
    transform: scale(1.25) rotate(-10deg) translateY(-8px);
    filter: drop-shadow(0 6px 16px rgba(0, 102, 255, 0.3));
}

@keyframes purchaseIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg) scale(1.05);
    }
}

@keyframes purchaseIconBounce {
    0%, 100% {
        transform: scale(1.25) rotate(-10deg) translateY(-8px);
    }
    50% {
        transform: scale(1.35) rotate(-15deg) translateY(-12px);
    }
}

.purchase-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    font-weight: 700;
}

/* ============================================
   INTEGRATIONS SECTION
   ============================================ */
.integrations-section {
    padding: 6rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.integrations-section .section-header {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .integrations-section .section-header {
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }
}

@media (min-width: 1024px) {
    .integrations-section .section-header {
        margin-bottom: 2.5rem;
        padding: 2rem 0;
    }
}

.integrations-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(206, 17, 38, 0.08) 0%, transparent 70%);
    border-radius: 50% 30% 60% 40%;
    transform: rotate(45deg);
    animation: organicFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.integrations-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 40% 60% 30% 50%;
    transform: rotate(-30deg);
    animation: organicFloat 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    padding: 0;
}

.integration-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(206, 17, 38, 0.1);
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid rgba(0, 102, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.integration-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 102, 255, 0.08), transparent 30%);
    animation: rotate 8s linear infinite;
}

.integration-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: var(--transition-base);
    z-index: 1;
}

.integration-card:hover::after {
    transform: scaleX(1);
}

.integration-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.2);
    border-color: var(--primary-color);
}

.integration-logo {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    animation: integrationIconFloat 3.5s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.15));
    transition: var(--transition-base);
}

.integration-card:nth-child(odd) .integration-logo {
    animation-delay: 0.2s;
}

.integration-card:nth-child(even) .integration-logo {
    animation-delay: 0.5s;
}

.integration-card:hover .integration-logo {
    animation: integrationIconBounce 0.7s ease-in-out;
    transform: scale(1.25) rotate(10deg) translateY(-8px);
    filter: drop-shadow(0 6px 16px rgba(0, 102, 255, 0.3));
}

@keyframes integrationIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-10px) rotate(5deg) scale(1.05);
    }
}

@keyframes integrationIconBounce {
    0%, 100% {
        transform: scale(1.25) rotate(10deg) translateY(-8px);
    }
    50% {
        transform: scale(1.35) rotate(15deg) translateY(-12px);
    }
}

.integration-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.integration-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.2);
}

.integration-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 128, 128, 0.3);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.integration-status {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--success-color) 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   DASHBOARD SECTION - Premium Design
   ============================================ */
/* ============================================
   DASHBOARD - Page 6: Dashboard
   ============================================ */
.dashboard-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--primary-light) 20%,
        var(--accent-color) 40%,
        var(--primary-light) 60%,
        var(--primary-color) 80%,
        var(--primary-dark) 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
}

.dashboard-section .section-header {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .dashboard-section .section-header {
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }
}

@media (min-width: 1024px) {
    .dashboard-section .section-header {
        margin-bottom: 2.5rem;
        padding: 2rem 0;
    }
}

.dashboard-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50% 30% 60% 40%;
    transform: rotate(45deg);
    animation: organicFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.dashboard-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 40% 60% 30% 50%;
    transform: rotate(-30deg);
    animation: organicFloat 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

.dashboard-preview {
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .dashboard-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2.5rem;
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .dashboard-grid {
        padding: 5rem 0;
    }
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent 30%);
    animation: rotate 8s linear infinite;
}

.dashboard-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-icon {
    font-size: 3.5rem;
    animation: dashboardIconFloat 3.5s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
    transition: var(--transition-base);
}

.dashboard-card:nth-child(odd) .stat-icon {
    animation-delay: 0.2s;
}

.dashboard-card:nth-child(even) .stat-icon {
    animation-delay: 0.5s;
}

.dashboard-card:hover .stat-icon {
    animation: dashboardIconBounce 0.7s ease-in-out;
    transform: scale(1.2) translateY(-8px) rotate(10deg);
    filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.5));
}

@keyframes dashboardIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-10px) rotate(5deg) scale(1.05);
    }
}

@keyframes dashboardIconBounce {
    0%, 100% {
        transform: scale(1.2) translateY(-8px) rotate(10deg);
    }
    50% {
        transform: scale(1.3) translateY(-12px) rotate(15deg);
    }
}

.stat-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 900;
    opacity: 0.95;
}

.chart-card {
    grid-column: span 2;
}

.chart-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.chart-placeholder {
    height: 220px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 1rem;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    gap: 1rem;
}

.bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px 12px 0 0;
    min-height: 20px;
    animation: growBar 1.2s ease-out;
    transition: var(--transition-base);
    position: relative;
}

.bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    border-radius: 12px 12px 0 0;
}

.bar:hover {
    background: white;
    transform: scaleY(1.15);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
}

.recent-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

.recent-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.recent-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.recent-text {
    flex: 1;
    font-weight: 500;
}

.recent-time {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ============================================
   FOOTER - Modern Design
   ============================================ */
.footer {
    background: linear-gradient(135deg, 
        #1a1a2e 0%, 
        #16213e 30%,
        #0f3460 60%,
        #1a1a2e 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    z-index: 10;
    margin-top: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    border-radius: 50% 30% 60% 40%;
    transform: rotate(45deg);
    animation: organicFloat 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(162, 215, 93, 0.1) 0%, transparent 70%);
    border-radius: 40% 60% 30% 50%;
    transform: rotate(-30deg);
    animation: organicFloat 30s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-logo-img {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.2));
    transition: var(--transition-base);
}

.footer-logo-img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(255, 255, 255, 0.3));
}

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-column h4 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

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

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-base);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: white;
    transform: translateX(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */
.floating-buttons {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 10000;
    pointer-events: none;
}

@media (max-width: 768px) {
    .floating-buttons {
        left: 15px;
        bottom: 15px;
        gap: 0.75rem;
    }
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    background: var(--primary-color);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.3),
                0 4px 12px rgba(0, 0, 0, 0.1),
                0 0 0 2px rgba(0, 128, 128, 0.2);
    transition: var(--transition-base);
    pointer-events: all;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    animation: floatingPulse 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .floating-btn {
        width: 56px;
        height: 56px;
    }
}

.floating-btn:nth-child(1) {
    animation-delay: 0s;
}

.floating-btn:nth-child(2) {
    animation-delay: 0.3s;
}

.floating-btn:nth-child(3) {
    animation-delay: 0.6s;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    opacity: 0;
}

.floating-btn:hover::before {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.floating-btn:hover {
    transform: translateX(5px) scale(1.1);
    box-shadow: 0 12px 35px rgba(162, 215, 93, 0.4),
                0 6px 18px rgba(0, 0, 0, 0.15),
                0 0 0 3px rgba(162, 215, 93, 0.3);
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent-color);
}

.floating-icon {
    width: 28px;
    height: 28px;
    stroke: var(--accent-color);
    fill: none;
    stroke-width: 2.5;
    position: relative;
    z-index: 2;
    transition: var(--transition-base);
    animation: iconRotate 3s ease-in-out infinite;
}

.floating-btn:hover .floating-icon {
    stroke: white;
    animation: iconBounce 0.6s ease-in-out;
    transform: scale(1.15);
}

@keyframes floatingPulse {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 8px 25px rgba(0, 128, 128, 0.3),
                    0 4px 12px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0, 128, 128, 0.4),
                    0 6px 18px rgba(0, 0, 0, 0.15),
                    0 0 20px rgba(0, 128, 128, 0.25);
    }
}

@keyframes iconRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1.2) rotate(10deg);
    }
    50% {
        transform: scale(1.4) rotate(15deg);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Performance optimizations */
* {
    will-change: auto;
}

.hero,
section[id],
.experience {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--secondary-color);
    }
    50% {
        box-shadow: 0 0 20px var(--secondary-color), 0 0 30px var(--secondary-color);
    }
}

@keyframes growBar {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animated-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.animated-card:nth-child(1) { animation-delay: 0.1s; }
.animated-card:nth-child(2) { animation-delay: 0.2s; }
.animated-card:nth-child(3) { animation-delay: 0.3s; }
.animated-card:nth-child(4) { animation-delay: 0.4s; }
.animated-card:nth-child(5) { animation-delay: 0.5s; }
.animated-card:nth-child(6) { animation-delay: 0.6s; }
.animated-card:nth-child(7) { animation-delay: 0.7s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .chart-card {
        grid-column: span 1;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 10001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 80%;
        max-width: 300px;
        height: 100vh;
        padding: 5rem 2rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0.5rem;
        border-left: 2px solid var(--primary-color);
        z-index: 10000;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu .nav-link {
        width: 100%;
        display: block;
        text-align: right;
        padding: 1rem;
        border-radius: 20px;
        transform: none;
        font-size: 1rem;
    }
    
    .nav-menu .nav-link:hover {
        transform: translateX(-5px);
        background: rgba(0, 102, 255, 0.1);
    }
    
    .nav-menu .btn-login,
    .nav-menu .btn-signup {
        margin-top: 1rem;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card-modern {
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }

    .hero {
        padding: 4rem 0;
        min-height: auto;
    }

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

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

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

    .vision-mission-grid,
    .categories-grid,
    .features-grid,
    .customer-app-grid,
    .quick-features-grid,
    .integrations-grid {
        grid-template-columns: 1fr;
    }

    .merchant-orders-content,
    .payment-features,
    .purchases-grid {
        grid-template-columns: 1fr;
    }

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

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

    .platform-logos {
        justify-content: center;
    }

    .vision-card,
    .mission-card {
        padding: 2rem;
    }
    
    .app-feature-card,
    .quick-feature-card,
    .payment-card {
        padding: 2rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.smooth-scroll {
    scroll-behavior: smooth;
}

::selection {
    background: var(--primary-color);
    color: white;
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

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

/* Performance Optimizations - Removed redundant will-change */
.feature-card:hover,
.category-card:hover,
.app-feature-card:hover {
    will-change: transform;
}
