/* ==========================================================================
   Accountic.ir - Ultra-Modern Light Mode Fintech Stylesheet (UI/UX Pro Max)
   Fonts: IranYekanX FaNum & Anjoman FaNum
   ========================================================================== */

@font-face {
    font-family: 'IranYekanX';
    src: url('/static/fonts/iranyekanxfanum-regular.woff2') format('woff2'),
         url('../fonts/iranyekanxfanum-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekanX';
    src: url('/static/fonts/iranyekanxfanum-medium.woff2') format('woff2'),
         url('../fonts/iranyekanxfanum-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekanX';
    src: url('/static/fonts/iranyekanxfanum-demibold.woff2') format('woff2'),
         url('../fonts/iranyekanxfanum-demibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekanX';
    src: url('/static/fonts/iranyekanxfanum-bold.woff2') format('woff2'),
         url('../fonts/iranyekanxfanum-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekanX';
    src: url('/static/fonts/iranyekanxfanum-extrabold.woff2') format('woff2'),
         url('../fonts/iranyekanxfanum-extrabold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekanX';
    src: url('/static/fonts/iranyekanxfanum-black.woff2') format('woff2'),
         url('../fonts/iranyekanxfanum-black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Anjoman';
    src: url('/static/fonts/anjoman-fanum-extrabold.woff2') format('woff2'),
         url('../fonts/anjoman-fanum-extrabold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Light Theme Core */
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-muted: #f1f5f9;
    --bg-subtle: #e2e8f0;

    /* Accents */
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --primary-glow: rgba(79, 70, 229, 0.18);

    --secondary: #0284c7;
    --secondary-light: #e0f2fe;
    --accent: #ec4899;
    --accent-light: #fdf2f8;
    
    --success: #059669;
    --success-light: #ecfdf5;
    --warning: #d97706;
    --warning-light: #fffbeb;
    --danger: #dc2626;

    /* Typography */
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;

    /* Borders & Shadows */
    --border-light: #e2e8f0;
    --border-card: rgba(0, 0, 0, 0.06);
    --border-focus: #6366f1;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --shadow-float: 0 25px 50px -12px rgba(79, 70, 229, 0.12);

    /* Fonts */
    --font-main: 'IranYekanX', -apple-system, BlinkMacSystemFont, Tahoma, sans-serif;
    --font-heading: 'Anjoman', 'IranYekanX', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --radius-full: 9999px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-page);
    color: var(--text-body);
    overflow-x: hidden;
    line-height: 1.7;
    min-height: 100vh;
    background-image: 
        radial-gradient(at 85% 10%, rgba(79, 70, 229, 0.05) 0px, transparent 50%),
        radial-gradient(at 15% 45%, rgba(2, 132, 199, 0.05) 0px, transparent 50%),
        radial-gradient(at 80% 80%, rgba(236, 72, 153, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Header / Navbar (Fixed & Clean)
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 12px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #0284c7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.25);
    transition: transform 0.2s;
}

.logo-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.2;
}

.nav-brand:hover .logo-icon {
    transform: scale(1.05) rotate(4deg);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.5px;
}

.logo-badge {
    font-size: 10.5px;
    font-weight: 800;
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(79, 70, 229, 0.15);
}

/* Nav Links - Strictly 1 Line (No Wrap) */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: all 0.2s;
}

.nav-links a svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-links a:hover svg {
    color: var(--primary);
}

/* Nav Actions - Sleek & Compact */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.dollar-ticker-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--success-light);
    border: 1px solid rgba(5, 150, 105, 0.2);
    color: var(--success);
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.dollar-ticker-pill .pulse {
    width: 7px;
    height: 7px;
    background: var(--success);
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn svg {
    width: 17px;
    height: 17px;
    stroke-width: 2;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
    background: linear-gradient(135deg, #4338ca 0%, #2563eb 100%);
}

.btn-telegram {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
}

.btn-outline {
    background: #ffffff;
    color: var(--text-heading);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background: var(--bg-muted);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 7px 14px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15.5px;
    border-radius: var(--radius-md);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 50px 0 70px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.98fr;
    gap: 48px;
    align-items: center;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(79, 70, 229, 0.2);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 22px;
}

.hero-badge-tag .pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    line-height: 1.35;
    color: var(--text-heading);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 40%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 16.5px;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

/* Hero Stats Row */
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.stat-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.stat-box:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 70, 229, 0.3);
}

.stat-box h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2px;
}

.stat-box p {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   Hero Live Interactive Widget (Left Side - Ultra Creative & Animated)
   ========================================================================== */
.hero-widget-wrapper {
    position: relative;
}

.hero-widget-ambient-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(2, 132, 199, 0.08) 50%, transparent 70%);
    top: -30px;
    left: -30px;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: floatAmbient 8s ease-in-out infinite alternate;
}

@keyframes floatAmbient {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 20px) scale(1.1); }
}

.hero-live-widget {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    padding: 26px;
    box-shadow: var(--shadow-float);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-live-widget::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #0284c7, #ec4899);
}

/* Live Order Activity Ticker */
.widget-live-activity-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    color: var(--text-body);
    margin-bottom: 18px;
    overflow: hidden;
}

.live-badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #dcfce7;
    color: #15803d;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    font-size: 10.5px;
    flex-shrink: 0;
}

.activity-text-marquee {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: fadeInText 0.5s ease;
}

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

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.widget-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-icon-box svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
}

.widget-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--success-light);
    color: var(--success);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* Widget Tabs */
.widget-tabs {
    display: flex;
    gap: 6px;
    background: var(--bg-muted);
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.widget-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.widget-tab svg {
    width: 14px;
    height: 14px;
}

.widget-tab.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Quick Select Pills */
.widget-quick-select {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 14px;
    scrollbar-width: none;
}

.widget-quick-select::-webkit-scrollbar {
    display: none;
}

.quick-pill {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: #ffffff;
    color: var(--text-body);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.quick-pill.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.25);
}

/* Plan Card Inside Widget */
.widget-plan-card {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.plan-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.plan-name {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-badge {
    font-size: 11px;
    font-weight: 700;
    background: #dbeafe;
    color: #1e40af;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.plan-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-light);
}

.price-main {
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 900;
    color: var(--primary);
}

.price-usd {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.plan-features-mini {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-body);
}

.plan-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-feature-item svg {
    color: var(--success);
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

/* Live Delivery Meter */
.delivery-meter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--success-light);
    border: 1px solid rgba(5, 150, 105, 0.15);
    padding: 9px 14px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 700;
    color: var(--success);
}

/* ==========================================================================
   Infinite Continuous Marquee / Brand Carousel (Moving Smoothly)
   ========================================================================== */
.marquee-section {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 22px 0;
    margin-bottom: 60px;
    overflow: hidden;
    position: relative;
}

.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    right: 0;
    background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.marquee-section::after {
    left: 0;
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.marquee-header-label {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.marquee-track-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
    user-select: none;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: scrollMarquee 30s linear infinite;
    flex-shrink: 0;
}

.marquee-track-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

.brand-marquee-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-heading);
    transition: all 0.2s;
    white-space: nowrap;
}

.brand-marquee-card:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.brand-marquee-card svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   Section Headers & Bento Features Grid
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 44px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.section-tag svg {
    width: 14px;
    height: 14px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.8;
}

.features-section {
    padding: 20px 0 70px;
}

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

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.3);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-icon-box svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.2;
}

.icon-blue { background: #dbeafe; color: #1d4ed8; }
.icon-emerald { background: #d1fae5; color: #047857; }
.icon-purple { background: #ede9fe; color: #6d28d9; }
.icon-amber { background: #fef3c7; color: #b45309; }

.feature-card h3 {
    font-size: 17.5px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ==========================================================================
   Live Instant Product Catalog
   ========================================================================== */
.catalog-section {
    padding: 20px 0 80px;
}

.catalog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    box-shadow: var(--shadow-sm);
}

.category-filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    background: var(--bg-muted);
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.2s;
}

.cat-pill svg {
    width: 15px;
    height: 15px;
}

.cat-pill.active, .cat-pill:hover {
    background: var(--primary);
    color: #ffffff;
}

.cat-pill.active svg, .cat-pill:hover svg {
    color: #ffffff;
}

.search-box-wrapper {
    position: relative;
    min-width: 250px;
}

.search-input {
    width: 100%;
    padding: 9px 36px 9px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: var(--bg-page);
    font-size: 13px;
    color: var(--text-heading);
    outline: none;
    transition: all 0.2s;
}

.search-input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.search-icon svg {
    width: 16px;
    height: 16px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 70, 229, 0.35);
    box-shadow: var(--shadow-xl);
}

.prod-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.prod-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 1px solid var(--border-light);
}

.stock-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-full);
}

.stock-in { background: var(--success-light); color: var(--success); }
.stock-out { background: #fee2e2; color: #b91c1c; }

.prod-title {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.prod-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.prod-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
}

.price-sub-usd {
    font-size: 11px;
    color: var(--text-muted);
}

/* ==========================================================================
   Interactive Calculator Section
   ========================================================================== */
.calculator-section {
    padding: 20px 0 70px;
}

.calc-card-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

.calc-info h2 {
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.calc-info p {
    font-size: 14.5px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 20px;
}

.rate-badge-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
}

.calc-interactive-box {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.custom-select {
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-heading);
    outline: none;
    transition: border-color 0.2s;
}

.custom-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.breakdown-row b {
    color: var(--text-heading);
}

.breakdown-row.total {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-heading);
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
}

.breakdown-row.total span:last-child {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 19px;
}

/* ==========================================================================
   Warranty Terms Section (NW vs FW)
   ========================================================================== */
.warranty-section {
    padding: 20px 0 70px;
}

.warranty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.warranty-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.warranty-card.nw { border-top: 4px solid #f59e0b; }
.warranty-card.fw { border-top: 4px solid #10b981; }

.warranty-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.warranty-card.nw .warranty-badge { background: #fef3c7; color: #b45309; }
.warranty-card.fw .warranty-badge { background: #d1fae5; color: #047857; }

.warranty-card h3 {
    font-size: 18.5px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.warranty-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 20px 0 80px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s;
}

.faq-question {
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-heading);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-icon {
    display: flex;
    align-items: center;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-icon svg {
    width: 18px;
    height: 18px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 22px 18px;
    font-size: 13.5px;
    color: var(--text-body);
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================================================
   Modern Footer
   ========================================================================== */
.footer {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 50px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-top: 12px;
    margin-bottom: 18px;
}

.footer-col h4 {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .calc-card-wrapper { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .nav-links { display: none; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 28px; }
    .features-grid { grid-template-columns: 1fr; }
    .warranty-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats-row { grid-template-columns: 1fr; }
    .dollar-ticker-pill { display: none; }
}
