/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00ff88;
    --primary-dark: #00cc6a;
    --secondary: #667eea;
    --accent: #f093fb;
    --dark: #1a1a2e;
    --light: #ffffff;
    --gray: #f8f9fa;
    --gray-dark: #6c757d;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* === NAVIGATION === */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
}

.logo i {
    color: var(--primary);
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    border-radius: 12px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.3);
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    opacity: 0.95;
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-item strong {
    font-size: 32px;
    font-weight: 800;
    display: block;
}

.stat-item span {
    font-size: 14px;
    opacity: 0.9;
}

/* === SECTIONS === */
.products-section {
    padding: 80px 0;
}

.products-section.alt-bg {
    background: var(--gray);
}

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

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.section-header h2 i {
    color: var(--primary);
}

.section-header p {
    font-size: 18px;
    color: var(--gray-dark);
}

/* === PRODUCT GRID === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-trending {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.badge-top-rated {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.badge-new {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.badge-best-deal {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
    color: white;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-view {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.3);
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 255, 136, 0.4);
}

.product-info {
    padding: 24px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #feca57;
    font-size: 14px;
}

.product-rating span {
    color: var(--dark);
    font-weight: 600;
    margin-left: 4px;
}

.product-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.product-description {
    font-size: 14px;
    color: var(--gray-dark);
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-category {
    font-size: 12px;
    color: var(--gray-dark);
    background: var(--gray);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* === PAGE HERO === */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.95;
}

/* === SECTION CTA === */
.section-cta {
    text-align: center;
    margin-top: 48px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: white;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* === FOOTER === */
.main-footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 24px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section h4 i {
    color: var(--primary);
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

.modal-product-info {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--gray);
}

.modal-product-info img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.modal-product-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-price {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.modal-category {
    display: inline-block;
    background: var(--gray);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* === FORMS === */
.order-form .form-group,
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group label i {
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 255, 136, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-message i {
    font-size: 64px;
    color: var(--primary);
    margin-bottom: 20px;
}

.success-message h4 {
    font-size: 24px;
    margin-bottom: 12px;
}

.success-message p {
    color: var(--gray-dark);
}

/* === ADMIN STYLES === */
.admin-body {
    background: #f5f7fa;
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: white;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-header {
    padding: 32px 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.sidebar-header i {
    font-size: 28px;
}

.sidebar-header h3 {
    font-size: 20px;
    font-weight: 800;
}

.sidebar-nav {
    padding: 24px 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    margin: 4px 12px;
    border-radius: 12px;
}

.sidebar-nav a i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    transform: translateX(4px);
}

.sidebar-nav a.logout {
    color: #f5576c;
    margin-top: 20px;
}

.sidebar-nav a.logout:hover {
    background: #f5576c;
    color: white;
}

.admin-content {
    margin-left: 280px;
    flex: 1;
    padding: 40px;
}

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

.admin-header h1 {
    font-size: 36px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-header h1 i {
    color: var(--primary);
}

.admin-header p {
    color: var(--gray-dark);
    margin-top: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.4);
}

/* === LOGIN === */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.login-box {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 420px;
    width: 100%;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 16px;
}

.login-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.login-header p {
    color: var(--gray-dark);
}

.login-form .form-group {
    margin-bottom: 24px;
}

/* === ALERTS === */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.alert i {
    font-size: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* === KPI CARDS === */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.kpi-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.kpi-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.kpi-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.kpi-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.kpi-label {
    font-size: 13px;
    color: var(--gray-dark);
}

/* === DASHBOARD GRID === */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 24px;
}

.dashboard-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.dashboard-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-card h3 i {
    color: var(--primary);
}

.dashboard-card canvas {
    height: 300px !important;
}

/* === PIPELINE STATS === */
.pipeline-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pipeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pipeline-label {
    width: 140px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.pipeline-bar {
    flex: 1;
    height: 32px;
    background: var(--gray);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.pipeline-fill {
    height: 100%;
    transition: width 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 12px;
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.pipeline-count {
    width: 48px;
    text-align: right;
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
}

/* === REVENUE STATS === */
.revenue-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.revenue-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gray);
    border-radius: 12px;
}

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

.revenue-item span {
    font-size: 13px;
    color: var(--gray-dark);
    display: block;
}

.revenue-item strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    display: block;
}

/* === DATA TABLES === */
.filters-bar {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.filter-form {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.filter-group select {
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    min-width: 180px;
}

.data-table-container {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.data-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

.data-table tbody tr:hover {
    background: var(--gray);
}

.table-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.badge-category {
    display: inline-block;
    padding: 6px 12px;
    background: var(--gray);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #feca57;
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-new {
    background: #cce5ff;
    color: #004085;
}

.status-contacted {
    background: #e7d4ff;
    color: #5a1a8f;
}

.status-interested {
    background: #d1ecf1;
    color: #0c5460;
}

.status-purchased {
    background: #d4edda;
    color: #155724;
}

.status-repeat {
    background: #ffe4e6;
    color: #990000;
}

.btn-icon {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    margin: 0 4px;
}

.btn-edit {
    background: #e3f2fd;
    color: #1976d2;
}

.btn-edit:hover {
    background: #1976d2;
    color: white;
}

.btn-delete {
    background: #ffebee;
    color: #c62828;
}

.btn-delete:hover {
    background: #c62828;
    color: white;
}

.btn-view {
    background: #f3e5f5;
    color: #7b1fa2;
}

.btn-view:hover {
    background: #7b1fa2;
    color: white;
}

.status-select,
.card-status-select {
    padding: 6px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

/* === ADMIN FORMS === */
.admin-form .form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.form-actions button {
    flex: 1;
}

/* === BLURRED TEXT === */
.blurred-text {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    color: var(--gray-dark);
}

.country-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--gray);
    border-radius: 20px;
    font-weight: 600;
}

.orders-count {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 20px;
    font-weight: 700;
}

/* === CLIENT MODAL === */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item label {
    font-size: 13px;
    color: var(--gray-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.order-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-item {
    padding: 16px;
    background: var(--gray);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* === KANBAN PIPELINE === */
.pipeline-stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.pipeline-stat {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.pipeline-stat strong {
    font-size: 28px;
    font-weight: 800;
    display: block;
}

.pipeline-stat span {
    font-size: 13px;
    color: var(--gray-dark);
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.kanban-column {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    min-width: 280px;
}

.kanban-header {
    padding: 20px;
    border-bottom: 3px solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kanban-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.kanban-count {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.kanban-cards {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
}

.kanban-card {
    background: var(--gray);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

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

.card-header strong {
    font-size: 15px;
    font-weight: 700;
}

.card-date {
    font-size: 12px;
    color: var(--gray-dark);
}

.card-body {
    font-size: 13px;
    margin-bottom: 12px;
}

.card-email,
.card-country,
.card-product {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.card-product {
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.card-product strong {
    color: var(--primary);
}

.card-footer {
    margin-top: 12px;
}

.status-form {
    width: 100%;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    
    .admin-content {
        margin-left: 0;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
    
    .kanban-board {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 4px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-content {
        padding: 20px;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group select {
        width: 100%;
    }
    
    .data-table-container {
        overflow-x: auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .modal-product-info {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
}

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

.product-card,
.kpi-card,
.dashboard-card {
    animation: fadeIn 0.5s ease-out;
}

/* === PRINT STYLES === */
@media print {
    .admin-sidebar,
    .admin-header button,
    .btn-icon,
    .filters-bar {
        display: none !important;
    }
    
    .admin-content {
        margin-left: 0;
    }
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 60px;
    padding: 20px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.pagination-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.pagination-number:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.pagination-number.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.3);
}

.pagination-dots {
    color: var(--gray-dark);
    font-weight: 700;
    padding: 0 8px;
}

/* === LEGAL PAGES === */
.legal-section {
    padding: 60px 0 80px;
    background: white;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 48px 0 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--dark);
}

.legal-content p {
    margin-bottom: 20px;
    color: #333;
    font-size: 16px;
}

.legal-content ul {
    margin: 16px 0 24px 24px;
    list-style: disc;
}

.legal-content ul li {
    margin-bottom: 12px;
    color: #333;
    font-size: 16px;
    line-height: 1.7;
}

.legal-content strong {
    font-weight: 600;
    color: var(--dark);
}

.legal-footer {
    margin-top: 60px;
    padding: 32px;
    background: var(--gray);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.legal-footer p {
    margin-bottom: 12px;
    font-size: 15px;
}

.legal-footer p:last-child {
    margin-bottom: 0;
    font-weight: 600;
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* === PAGINATION RESPONSIVE === */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
    }
    
    .pagination-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .pagination-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .pagination-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }
}

@media (max-width: 576px) {
    .legal-content {
        padding: 0 16px;
    }
    
    .legal-content h2 {
        font-size: 24px;
    }
    
    .legal-content h3 {
        font-size: 20px;
    }
    
    .legal-content p,
    .legal-content ul li {
        font-size: 15px;
    }
}
/* ============================================
   PRODUCT MODAL WITH COMMENTS
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    z-index: 999;
}

.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.product-modal.active {
    display: flex;
}

.product-modal.active ~ .modal-overlay {
    display: block;
}

.modal-container {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-radius: 20px 20px 0 0;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #667eea;
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

/* Product Details Section */
.modal-product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.modal-product-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-product-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.modal-product-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-product-name {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.modal-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-product-rating .star {
    font-size: 20px;
}

.rating-number {
    font-size: 18px;
    font-weight: 600;
    color: #667eea;
    margin-left: 5px;
}

.modal-product-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 10px 0;
}

.modal-product-price {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 10px 0;
}

.modal-product-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.modal-product-tags .tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.btn-interest {
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-interest:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Comments Section */
.product-comments {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: #f5f5f5;
    transform: translateX(5px);
}

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

.comment-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-flag {
    font-size: 20px;
}

.comment-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 16px;
}

.comment-rating {
    font-size: 16px;
}

.comment-text {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
    margin: 10px 0;
}

.comment-date {
    color: #999;
    font-size: 13px;
    margin-top: 8px;
}

/* Leave a Comment Section */
.leave-comment-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.leave-comment-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.leave-comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.leave-comment-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit-comment {
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-submit-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.form-note {
    color: #999;
    font-size: 13px;
    font-style: italic;
    margin-top: 5px;
}

/* Interest Form Overlay */
.interest-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.interest-form-overlay.active {
    display: flex;
}

.interest-form-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.form-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.form-close:hover {
    background: #667eea;
    color: white;
    transform: rotate(90deg);
}

.interest-form-container h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.interest-form-container .form-group {
    margin-bottom: 20px;
}

.interest-form-container label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.interest-form-container input,
.interest-form-container select,
.interest-form-container textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.interest-form-container input:focus,
.interest-form-container select:focus,
.interest-form-container textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-container {
        max-height: 95vh;
        border-radius: 15px;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-product-details {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .modal-product-name {
        font-size: 22px;
    }

    .modal-product-price {
        font-size: 28px;
    }

    .comments-title,
    .leave-comment-title {
        font-size: 20px;
    }

    .comment-item {
        padding: 15px;
    }

    .interest-form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .product-modal {
        padding: 10px;
    }

    .modal-container {
        border-radius: 10px;
    }

    .modal-product-name {
        font-size: 20px;
    }

    .modal-product-price {
        font-size: 24px;
    }

    .btn-interest,
    .btn-submit-comment {
        width: 100%;
    }
}
