/* ========================================
   POS + E-Commerce System Page
   ProgMaker - Professional Design
   ======================================== */

:root {
    --primary-color: #00d85a;
    --primary-dark: #00b84a;
    --primary-light: #4ee88a;
    --primary-glow: rgba(0, 216, 90, 0.3);
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    --gradient-glow: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px var(--primary-glow);
    
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    --font-family: 'Tajawal', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.sync-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 40px;
    color: var(--primary-color);
}

.sync-icon > i:first-child,
.sync-icon > i:last-child {
    animation: pulse-icon 1.5s ease-in-out infinite;
}

.sync-arrows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.arrow-left, .arrow-right {
    font-size: 20px;
    animation: arrow-bounce 1s ease-in-out infinite;
}

.arrow-right {
    animation-delay: 0.5s;
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(10px); opacity: 0.5; }
}

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

.prog-text {
    color: var(--text-white);
    font-weight: 700;
}

.prog-text span {
    color: var(--primary-color);
}

.loading-text {
    color: var(--text-light);
    font-size: 14px;
}

/* Navbar */
#mainNavbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background: transparent;
}

#mainNavbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.navbar-brand {
    padding: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-svg {
    animation: float 3s ease-in-out infinite;
}

.logo-svg .orbit {
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white);
}

#mainNavbar.scrolled .logo-text {
    color: var(--text-primary);
}

.logo-text .prog {
    color: var(--text-white);
}

#mainNavbar.scrolled .logo-text .prog {
    color: var(--text-primary);
}

.logo-text .maker {
    color: var(--primary-color);
}

.nav-link {
    color: var(--text-white);
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 4px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

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

#mainNavbar.scrolled .nav-link {
    color: var(--text-primary);
}

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

.btn-demo {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-white);
    padding: 10px 25px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 216, 90, 0.3);
    color: var(--text-white);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -200px;
    right: -100px;
    animation: orb-float 8s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #3b82f6;
    bottom: -150px;
    left: -100px;
    animation: orb-float 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #8b5cf6;
    top: 50%;
    left: 30%;
    animation: orb-float 12s ease-in-out infinite;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 216, 90, 0.1);
    border: 1px solid rgba(0, 216, 90, 0.3);
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 25px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-description strong {
    color: var(--primary-color);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-white);
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 216, 90, 0.4);
    color: var(--text-white);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--text-white);
    color: var(--bg-dark);
    border-color: var(--text-white);
}

/* System Showcase */
.hero-visual {
    position: relative;
    z-index: 2;
}

.system-showcase {
    position: relative;
    padding: 20px;
}

.dashboard-mockup {
    background: rgba(15, 23, 42, 0.8);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.window-controls {
    display: flex;
    gap: 6px;
}

.window-controls span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.window-controls span:nth-child(1) { background: #ff5f56; }
.window-controls span:nth-child(2) { background: #ffbd2e; }
.window-controls span:nth-child(3) { background: #27c93f; }

.window-title {
    color: var(--text-light);
    font-size: 12px;
}

.mockup-body {
    padding: 20px;
}

/* Dash Stats */
.dash-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.dash-stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.dash-stat i {
    font-size: 24px;
    color: var(--primary-color);
}

.dash-stat.highlight {
    background: rgba(0, 216, 90, 0.2);
}

.dash-stat.highlight i {
    animation: pulse 2s ease-in-out infinite;
}

.stat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stat-value {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.1rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 11px;
}

/* Sync Animation */
.sync-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
}

.sync-node {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    min-width: 120px;
    position: relative;
}

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

.sync-node span {
    display: block;
    color: var(--text-white);
    font-size: 12px;
    font-weight: 600;
}

.node-status {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-white);
    animation: pulse 2s ease-in-out infinite;
}

.sync-connector {
    position: relative;
    flex: 1;
    max-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.sync-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    position: relative;
}

.sync-pulse {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: sync-pulse 2s linear infinite;
}

@keyframes sync-pulse {
    0% { left: 0; opacity: 1; }
    100% { left: calc(100% - 10px); opacity: 0; }
}

.sync-data {
    margin-top: 10px;
    text-align: center;
}

.sync-data i {
    color: var(--primary-color);
    font-size: 16px;
}

.sync-data span {
    display: block;
    color: var(--text-light);
    font-size: 10px;
    margin-top: 5px;
}

/* Live Activity */
.live-activity {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    padding: 15px;
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 12px;
}

.activity-header i {
    animation: pulse 1s ease-in-out infinite;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 11px;
    flex-wrap: wrap;
}

.activity-time {
    color: var(--primary-color);
    font-weight: 600;
    min-width: 60px;
}

.activity-text {
    color: var(--text-light);
    flex: 1;
}

.activity-amount {
    color: var(--primary-color);
    font-weight: 700;
}

.activity-sync i {
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    padding: 12px 15px;
    box-shadow: var(--shadow-lg);
    animation: float-card 3s ease-in-out infinite;
}

.card-notification {
    top: 10%;
    left: -10%;
    display: flex;
    align-items: center;
    gap: 10px;
    animation-delay: 0s;
}

.card-notification i {
    color: #f59e0b;
    font-size: 20px;
}

.notification-content {
    display: flex;
    flex-direction: column;
}

.notif-title {
    font-weight: 700;
    font-size: 12px;
    color: var(--text-primary);
}

.notif-text {
    font-size: 10px;
    color: var(--text-secondary);
}

.card-sale {
    top: 40%;
    right: -5%;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    animation-delay: 1s;
}

.card-sync {
    bottom: 15%;
    left: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    animation-delay: 2s;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 12px;
    z-index: 2;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

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

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

.section-subtitle {
    display: inline-block;
    background: rgba(0, 216, 90, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Problem/Solution Section */
.problem-solution-section {
    background: var(--bg-secondary);
}

.comparison-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
}

.comparison-card.before {
    border-top: 4px solid #ef4444;
}

.comparison-card.after {
    border-top: 4px solid var(--primary-color);
}

.card-header {
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-card.before .card-header i {
    color: #ef4444;
    font-size: 30px;
}

.comparison-card.after .card-header i {
    color: var(--primary-color);
    font-size: 30px;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.card-body {
    padding: 25px;
}

.problem-list,
.solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.problem-list li,
.solution-list li {
    display: flex;
    gap: 15px;
}

.problem-list li > i {
    color: #ef4444;
    font-size: 20px;
    margin-top: 3px;
}

.solution-list li > i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 3px;
}

.problem-list li div strong,
.solution-list li div strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.problem-list li div p,
.solution-list li div p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Features Section */
.features-section {
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card.large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.feature-visual {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 20px;
}

.inventory-demo {
    background: var(--bg-dark);
    border-radius: var(--radius);
    overflow: hidden;
}

.inv-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-white);
    font-size: 12px;
}

.sync-badge {
    background: var(--primary-color);
    padding: 4px 10px;
    border-radius: var(--radius-xl);
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sync-badge i {
    animation: spin 2s linear infinite;
}

.inv-products {
    padding: 15px;
}

.inv-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.inv-product:last-child {
    margin-bottom: 0;
}

.prod-img {
    width: 40px;
    height: 40px;
    background: rgba(0, 216, 90, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.prod-info {
    flex: 1;
}

.prod-name {
    display: block;
    color: var(--text-white);
    font-size: 12px;
    font-weight: 600;
}

.prod-stock {
    color: var(--text-light);
    font-size: 11px;
}

.prod-stock strong {
    color: var(--primary-color);
}

.prod-stock.warning strong {
    color: #f59e0b;
}

.prod-channels {
    display: flex;
    gap: 8px;
}

.channel {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.channel.active {
    background: var(--primary-color);
    color: var(--text-white);
}

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

.feature-icon i {
    font-size: 24px;
    color: var(--text-white);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.feature-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-points li i {
    color: var(--primary-color);
    font-size: 12px;
}

/* Feature Preview */
.feature-preview {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.order-source {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.order-item.online .order-source {
    background: #3b82f6;
    color: var(--text-white);
}

.order-item.pos .order-source {
    background: var(--primary-color);
    color: var(--text-white);
}

.order-id {
    flex: 1;
    color: var(--text-primary);
    font-weight: 600;
}

.order-amount {
    color: var(--primary-color);
    font-weight: 700;
}

.customer-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.cust-avatar {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 18px;
}

.cust-info {
    flex: 1;
}

.cust-name {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
}

.cust-purchases {
    color: var(--text-secondary);
    font-size: 12px;
}

.cust-channels {
    display: flex;
    gap: 8px;
}

.cust-channels i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--primary-color);
    color: var(--text-white);
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    height: 80px;
}

.chart-bar {
    width: 40px;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5px;
    position: relative;
}

.chart-bar span {
    color: var(--text-white);
    font-size: 11px;
    font-weight: 700;
}

.chart-bar::before {
    content: attr(data-label);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--text-secondary);
}

.click-collect-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

.flow-step i {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    color: var(--text-white);
    font-size: 16px;
}

.flow-step span {
    font-size: 11px;
    color: var(--text-secondary);
}

.flow-arrow {
    color: var(--primary-color);
    font-size: 14px;
}

.branches-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.branch-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.branch-item i {
    color: var(--primary-color);
}

.branch-stock {
    margin-right: auto;
    background: rgba(0, 216, 90, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: var(--radius-xl);
    font-weight: 600;
}

/* How It Works Section */
.how-it-works-section {
    background: var(--bg-secondary);
}

.steps-container {
    position: relative;
}

.step-line {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    z-index: 0;
}

.step-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
    height: 100%;
    transition: all 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-glow);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 216, 90, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 25px;
}

.step-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Calculator Section */
.calculator-section {
    background: var(--bg-primary);
}

.calculator-content {
    padding-left: 30px;
}

.calculator-form {
    margin-top: 40px;
}

.calc-group {
    margin-bottom: 30px;
}

.calc-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.calc-range {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--bg-secondary);
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow-glow);
}

.calc-value {
    display: block;
    margin-top: 10px;
    color: var(--primary-color);
    font-weight: 700;
}

.savings-card {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--text-white);
}

.savings-card h3 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-align: center;
}

.saving-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.saving-item:last-of-type {
    border-bottom: none;
    margin-bottom: 30px;
}

.saving-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 216, 90, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.saving-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.saving-info {
    flex: 1;
}

.saving-label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}

.saving-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.total-savings {
    background: var(--gradient-primary);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.total-savings span:first-child {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.total-value {
    font-size: 1.5rem;
    font-weight: 800;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-secondary);
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
    position: relative;
}

.testimonial-card.featured {
    border: 2px solid var(--primary-color);
}

.testimonial-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 20px;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--text-primary);
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.testimonial-stats {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

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

.t-value {
    display: block;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.2rem;
}

.t-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Pricing Section */
.pricing-section {
    background: var(--bg-primary);
}

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

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

.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 0 0 var(--radius) var(--radius);
    font-size: 12px;
    font-weight: 600;
}

.pricing-header {
    padding: 40px 30px 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

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

.period {
    color: var(--text-secondary);
}

.pricing-body {
    padding: 30px;
    flex: 1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

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

.pricing-features li.disabled {
    color: var(--text-light);
}

.pricing-features li.disabled i {
    color: var(--text-light);
}

.pricing-footer {
    padding: 0 30px 30px;
}

.pricing-footer .btn {
    width: 100%;
    padding: 12px;
    font-weight: 600;
}

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

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

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: var(--text-white);
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 36px;
    animation: pulse 2s ease-in-out infinite;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-form {
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-form .form-control {
    border: none;
    padding: 15px 20px;
    border-radius: var(--radius);
}

.cta-form .btn-light {
    background: var(--text-white);
    color: var(--primary-color);
    padding: 15px 40px;
    font-weight: 700;
}

.cta-form .btn-light:hover {
    background: var(--bg-dark);
    color: var(--text-white);
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.trust-item i {
    font-size: 18px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 80px 0 0;
}

.footer-about {
    padding-left: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: var(--text-white);
}

.footer-about p {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.footer-contact p i {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.footer-bottom {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 216, 90, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 216, 90, 0.5);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card.large {
        grid-column: span 2;
    }
    
    .step-line {
        display: none;
    }
    
    .calculator-content {
        padding-left: 0;
        margin-bottom: 40px;
    }
    
    .float-card {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card.large {
        grid-template-columns: 1fr;
        grid-column: span 1;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .sync-animation {
        flex-direction: column;
    }
    
    .sync-connector {
        transform: rotate(90deg);
        margin: 20px 0;
    }
}

@media (max-width: 575px) {
    section {
        padding: 70px 0;
    }

    .savings-card {
        padding: 24px;
    }

    .step-card {
        padding: 30px 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .dash-stats {
        flex-direction: column;
    }
    
    .cta-trust {
        flex-direction: column;
        gap: 15px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
