/* ==========================================================================
   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-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-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
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    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);
}

.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;
    font-weight: 800;
    font-size: 16px;
}

.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 */
.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 */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    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); }
}

/* Mobile Hamburger Button */
.mobile-hamburger-btn {
    display: none;
    background: var(--bg-muted);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 8px;
    cursor: pointer;
    color: var(--text-heading);
    align-items: center;
    justify-content: center;
}

.mobile-hamburger-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
}

/* Mobile Drawer */
.mobile-drawer-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    display: none;
}

.mobile-drawer-backdrop.open {
    display: block;
}

.mobile-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: #ffffff;
    z-index: 9999;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
}

.mobile-drawer-close {
    background: var(--bg-muted);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 15px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-drawer-dollar {
    background: var(--primary-light);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 12.5px;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-drawer-nav a {
    padding: 11px 14px;
    border-radius: var(--radius-md);
    color: var(--text-heading);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.mobile-drawer-nav a:hover {
    background: var(--bg-muted);
}

.mobile-drawer-nav .highlight-link {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    color: var(--primary);
}

.mobile-drawer-nav .highlight-btn {
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    color: #ffffff;
    text-align: center;
    margin-top: 6px;
    box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    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);
}

/* ==========================================================================
   Form & Input Controls
   ========================================================================== */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    width: 100%;
    text-align: right;
}

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

.input-field {
    width: 100%;
    box-sizing: border-box;
    display: block;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-heading);
    outline: none;
    transition: all 0.2s ease;
}

.input-field:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 44px 0 64px;
    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: 20px;
}

.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: 36px;
    font-weight: 900;
    line-height: 1.38;
    color: var(--text-heading);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-highlight-wrap {
    position: relative;
    display: inline-block;
}

.hero-title-underline {
    position: absolute;
    bottom: -12px;
    right: 0;
    width: 100%;
    height: 18px;
    pointer-events: none;
}

.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: 15.5px;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 28px;
}

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

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

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

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

.stat-box-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.stat-icon-mini {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

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

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

/* ==========================================================================
   Hero Live Interactive Widget
   ========================================================================== */
.hero-widget-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-widget-ambient-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(2, 132, 199, 0.1) 50%, transparent 70%);
    top: -20px;
    left: -20px;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

/* Floating Animated Badges */
.floating-badge {
    position: absolute;
    z-index: 10;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-heading);
    pointer-events: none;
}

.badge-top-right {
    top: -18px;
    left: -12px;
    animation: floatBadge1 4s ease-in-out infinite;
}

.badge-bottom-left {
    bottom: -16px;
    right: -12px;
    animation: floatBadge2 4.5s ease-in-out infinite 0.5s;
}

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

@keyframes floatBadge2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(8px) rotate(1deg); }
}

.badge-icon-pulsing {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fef3c7;
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.hero-live-widget {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    padding: 24px;
    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);
}

.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: 16px;
    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;
    transition: opacity 0.3s;
}

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

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

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

.widget-icon-box svg {
    width: 18px;
    height: 18px;
    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: 3px 9px;
    border-radius: var(--radius-full);
}

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

.widget-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 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;
}

.tab-emoji-badge {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

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

.widget-quick-select {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 12px;
    scrollbar-width: none;
}

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

.quick-pill {
    padding: 6px 12px;
    font-size: 11.5px;
    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);
}

.widget-plan-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 18px;
    margin-bottom: 14px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.widget-plan-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #4f46e5, #0284c7, #10b981);
}

.plan-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseDot 1.6s infinite;
}

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

.plan-name {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--text-heading);
}

.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: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border-light);
}

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

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

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

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

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

.widget-cta-btn {
    width: 100%;
    padding: 13px;
    margin-bottom: 12px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.widget-cta-btn::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: rotate(25deg);
    animation: btnShimmer 3.5s infinite;
}

@keyframes btnShimmer {
    0% { transform: translateX(-100%) rotate(25deg); }
    30%, 100% { transform: translateX(100%) rotate(25deg); }
}

.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: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--success);
}

.meter-radar-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    animation: radarPulse 1.8s infinite;
}

@keyframes radarPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 60px;
    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: 12.5px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
}

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

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

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

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

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

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

.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: 30px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

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

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

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

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

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

.feature-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon-box svg {
    width: 22px;
    height: 22px;
    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: 16.5px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 8px;
}

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

/* ==========================================================================
   Catalog & Search
   ========================================================================== */
.catalog-section {
    padding: 20px 0 70px;
}

.catalog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    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: 7px 14px;
    font-size: 12.5px;
    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.active, .cat-pill:hover {
    background: var(--primary);
    color: #ffffff;
}

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

.search-input {
    width: 100%;
    padding: 8px 34px 8px 12px;
    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: 15px;
    height: 15px;
}

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

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

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

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

.prod-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 7px;
    overflow: hidden;
}

.prod-img-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.product-card:hover .prod-img-logo,
.store-card:hover .prod-img-logo {
    transform: scale(1.12);
}

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

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

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

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

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

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

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

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

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

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

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

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

.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: 7px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    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: 22px;
}

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

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

/* Custom Luxury Glassmorphic Dropdown */
.custom-glass-dropdown {
    position: relative;
    width: 100%;
    user-select: none;
}

.dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 11px 16px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.dropdown-trigger:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.custom-glass-dropdown.open .dropdown-trigger {
    border-color: var(--primary);
    box-shadow: 0 0 0 3.5px rgba(79, 70, 229, 0.15);
}

.dropdown-selected-info {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.dropdown-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.dropdown-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-chevron {
    width: 18px;
    height: 18px;
    color: #64748b;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.custom-glass-dropdown.open .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12), 0 0 1px 1px rgba(0, 0, 0, 0.04);
    z-index: 500;
    padding: 10px;
    display: none;
    animation: dropdownFade 0.2s ease-out;
}

.custom-glass-dropdown.open .dropdown-menu {
    display: block;
}

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

.dropdown-search-box {
    margin-bottom: 8px;
}

.dropdown-search-input {
    width: 100%;
    box-sizing: border-box;
    background: #f1f5f9;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 8px 14px;
    font-family: inherit;
    font-size: 12.5px;
    color: var(--text-heading);
    outline: none;
    transition: all 0.2s;
}

.dropdown-search-input:focus {
    background: #ffffff;
    border-color: var(--primary);
}

.dropdown-list {
    max-height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 2px;
}

.dropdown-list::-webkit-scrollbar {
    width: 5px;
}

.dropdown-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: var(--bg-muted);
}

.dropdown-item.selected {
    background: var(--primary-light);
    color: var(--primary);
}

.dropdown-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.dropdown-item-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-heading);
}

.dropdown-item.selected .dropdown-item-name {
    color: var(--primary);
}

.dropdown-item-price {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}

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

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

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

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

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

/* ==========================================================================
   Telegram Stars & Premium Luxury Showcase Section (Light Mode)
   ========================================================================== */
.stars-showcase-section {
    padding: 30px 0 60px;
    position: relative;
}

.stars-lux-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 45%, #f0f7ff 100%);
    border: 1px solid rgba(99, 102, 241, 0.16);
    border-radius: 28px;
    padding: 44px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px -15px rgba(79, 70, 229, 0.09), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.stars-lux-glow-blue {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 70%);
    filter: blur(35px);
    pointer-events: none;
}

.stars-lux-glow-gold {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.16), transparent 70%);
    filter: blur(35px);
    pointer-events: none;
}

.stars-lux-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.stars-badge-lux {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #eff6ff 0%, #fef3c7 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    margin-bottom: 18px;
}

.stars-badge-lux span:first-child {
    font-size: 15px;
}

.stars-badge-lux span:last-child {
    font-size: 12.5px;
    font-weight: 800;
    color: #1e1b4b;
}

.stars-lux-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 14px;
    line-height: 1.4;
    letter-spacing: -0.4px;
}

.stars-title-gradient {
    background: linear-gradient(135deg, #b45309 0%, #d97706 40%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stars-lux-desc {
    font-size: 14.5px;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 24px;
}

.stars-features-grid-lux {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.stars-feature-box-lux {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 13px 15px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.stars-feature-box-lux:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.06);
}

.stars-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.stars-feature-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 2px;
}

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

.stars-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-stars-lux {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.35);
    padding: 13px 26px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-stars-lux:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.45);
}

.btn-stars-outline {
    background: #ffffff;
    color: #0284c7 !important;
    border: 1px solid rgba(2, 132, 199, 0.3);
    padding: 13px 22px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.06);
    transition: all 0.25s ease;
}

.btn-stars-outline:hover {
    background: #f0f9ff;
    border-color: #0284c7;
    transform: translateY(-2px);
}

/* Right Side Showcase Card */
.stars-preview-card-lux {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 40px -10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
    position: relative;
}

.stars-preview-header-lux {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
}

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

.stars-preview-title {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-heading);
}

.stars-preview-online-tag {
    font-size: 11.5px;
    background: #ecfdf5;
    color: #059669;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.stars-preview-list-lux {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stars-preview-item-lux {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
    transition: all 0.2s ease;
}

.stars-preview-item-lux:hover {
    background: #ffffff;
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.07);
    transform: translateX(-2px);
}

.stars-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.stars-item-name {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 2px;
}

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

.stars-item-tag-lux {
    font-size: 12px;
    font-weight: 800;
    color: #0284c7;
    background: #e0f2fe;
    padding: 4px 10px;
    border-radius: 8px;
}

.stars-preview-item-lux.premium-highlight {
    background: linear-gradient(135deg, #faf5ff 0%, #f0f9ff 100%);
    border: 1px solid rgba(168, 85, 247, 0.25);
}

.stars-preview-item-lux.premium-highlight .stars-item-tag-lux {
    background: #f3e8ff;
    color: #7e22ce;
}

.stars-card-footer-note {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
}

/* ==========================================================================
   Warranty & FAQ
   ========================================================================== */
.warranty-section {
    padding: 20px 0 60px;
}

.warranty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

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

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

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

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

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

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

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

.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: 16px 20px;
    font-size: 14.5px;
    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: 17px;
    height: 17px;
}

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

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

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

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

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

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

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

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

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

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

.trust-badges-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.enamad-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 6px 10px;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    cursor: pointer;
}

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

.enamad-box img {
    width: 80px;
    max-width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.shaparak-badge-pill {
    background: var(--bg-muted);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness (UI/UX Pro Max)
   ========================================================================== */

@media (max-width: 900px) {
    .desktop-only { display: none !important; }
    .nav-links { display: none !important; }
    .mobile-hamburger-btn { display: flex !important; }
    .dollar-ticker-pill { display: none !important; }
    .floating-badge { display: none !important; }

    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .stars-lux-grid { grid-template-columns: 1fr; gap: 28px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .calc-card-wrapper { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .navbar { padding: 8px 0; }
    .logo-text { font-size: 19px; }
    .logo-icon { width: 34px; height: 34px; border-radius: 9px; font-size: 13px; }
    .logo-icon svg { width: 18px; height: 18px; }
    
    .nav-cta { gap: 6px; }
    .nav-cta .btn { padding: 6px 10px; font-size: 12px; }
    .nav-cta .btn svg { width: 14px; height: 14px; }

    .desktop-only-br { display: none !important; }

    .hero-section { padding: 14px 0 28px; }
    .hero-badge-tag { font-size: 11px; padding: 5px 12px; margin-bottom: 12px; width: 100%; justify-content: center; }
    .hero-title { font-size: 23px; line-height: 1.42; margin-bottom: 10px; letter-spacing: -0.3px; }
    .hero-desc { font-size: 13px; line-height: 1.75; margin-bottom: 16px; }
    
    /* 2-column actions + catalog link to save 50%+ vertical space on mobile */
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 18px;
    }
    .hero-actions .btn {
        width: 100%;
        padding: 11px 8px;
        font-size: 12.5px;
        border-radius: 12px;
        justify-content: center;
    }
    .hero-actions .btn-catalog-link {
        grid-column: span 2;
        padding: 10px 12px;
        font-size: 12.5px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: #334155;
        font-weight: 700;
        box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    }
    
    .hero-stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding-top: 14px;
    }
    .stat-box {
        padding: 8px 4px;
        border-radius: 10px;
    }
    .stat-box-top {
        justify-content: center;
        gap: 4px;
        margin-bottom: 2px;
    }
    .stat-icon-mini {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
    .stat-box h3 {
        font-size: 13.5px;
    }
    .stat-box p {
        font-size: 9.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-widget-ambient-glow { display: none; }
    .hero-live-widget { padding: 14px 10px; border-radius: var(--radius-lg); }
    .widget-live-activity-bar { font-size: 11px; padding: 6px 10px; }
    .widget-tabs { gap: 3px; padding: 3px; }
    .widget-tab { padding: 6px 4px; font-size: 11px; }
    .widget-plan-card { padding: 12px 10px; }
    .price-main { font-size: 19px; }
    .delivery-meter-bar { font-size: 11px; padding: 7px 9px; }

    /* Stars showcase section on mobile */
    .stars-showcase-section { padding: 16px 0 36px; }
    .stars-lux-container { padding: 24px 18px; border-radius: 20px; }
    .stars-badge-lux { padding: 5px 12px; font-size: 11.5px; }
    .stars-lux-title { font-size: 21px; line-height: 1.4; margin-bottom: 10px; }
    .stars-lux-desc { font-size: 13px; line-height: 1.75; margin-bottom: 18px; }
    .stars-features-grid-lux { grid-template-columns: 1fr; gap: 8px; margin-bottom: 20px; }
    .stars-feature-box-lux { padding: 10px 12px; }
    .stars-cta-group { display: flex; flex-direction: column; width: 100%; gap: 8px; }
    .stars-cta-group .btn { width: 100%; justify-content: center; padding: 11px; font-size: 13px; }
    .stars-preview-card-lux { padding: 16px 14px; border-radius: 18px; }
    .stars-preview-title { font-size: 13.5px; }
    .stars-item-name { font-size: 12.5px; }
    .stars-item-sub { font-size: 10.5px; }
    .stars-item-tag-lux { font-size: 11px; padding: 3px 8px; }

    .marquee-section { padding: 14px 0; margin-bottom: 36px; }
    .brand-marquee-card { padding: 5px 12px; font-size: 11.5px; gap: 5px; }
    .brand-marquee-card svg { width: 13px; height: 13px; }

    .section-header { margin-bottom: 24px; }
    .section-title { font-size: 22px; }
    .section-subtitle { font-size: 12.5px; }

    .features-grid { grid-template-columns: 1fr; gap: 14px; }
    .feature-card { padding: 18px 16px; }
    
    .catalog-controls { padding: 10px; gap: 10px; }
    .category-filter-pills { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
    .category-filter-pills::-webkit-scrollbar { display: none; }
    .cat-pill { padding: 5px 11px; font-size: 11.5px; flex-shrink: 0; }
    .search-box-wrapper { width: 100%; min-width: 100%; }

    .products-grid { grid-template-columns: 1fr; gap: 14px; }
    .product-card { padding: 16px; }

    .calc-card-wrapper { padding: 18px 14px; gap: 18px; }
    .calc-info h2 { font-size: 20px; }
    .calc-info p { font-size: 12.5px; }
    .calc-interactive-box { padding: 14px; }

    .warranty-grid { grid-template-columns: 1fr; gap: 14px; }
    .warranty-card { padding: 18px 16px; }

    .faq-question { padding: 12px 14px; font-size: 13px; }
    .faq-answer { padding: 0 14px 12px; font-size: 12px; }

    .footer { padding: 32px 0 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: right; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
}

@media (max-width: 360px) {
    .hero-title { font-size: 21px; }
    .stat-box h3 { font-size: 12.5px; }
    .nav-cta .btn span { font-size: 11px; }
    .price-main { font-size: 17px; }
}

/* ==========================================================================
   Panel Card Header & SVG Dimension Guard
   ========================================================================== */
.panel-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-card-title svg,
.panel-card-header svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0 !important;
    display: block;
}

.title-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.title-icon-badge svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    stroke-width: 2 !important;
}

.sidebar-brand .logo-icon svg {
    width: 20px !important;
    height: 20px !important;
}
