/* ========== ROOT VARIABLES ========== */
:root {
    --primary: #0A5C4A;
    --primary-dark: #084d3d;
    --primary-light: #1E7B62;
    --primary-soft: #e0f0ec;
    --primary-gradient: linear-gradient(135deg, #0A5C4A 0%, #1E7B62 100%);
    --primary-gradient-hover: linear-gradient(135deg, #084d3d 0%, #0A5C4A 100%);
    --secondary: #F8F9FA;
    --secondary-dark: #e2e8f0;
    --accent: #FFB347;
    --accent-dark: #f5a233;
    --accent-gradient: linear-gradient(135deg, #FFB347 0%, #ffc75f 100%);
    --facebook: #1877F2;
    --verified: #1DA1F2;
    --dark: #1A2E3F;
    --darker: #0b1a26;
    --light: #FFFFFF;
    --gray-light: #F1F5F9;
    --gray: #94A3B8;
    --gray-dark: #475569;
    --text-primary: #1A2E3F;
    --text-secondary: #475569;
    --text-light: #64748B;
    --border-light: #E2E8F0;
    --border-medium: #CBD5E1;
    --shadow: 0 4px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 25px rgba(0,0,0,0.12);
    --shadow-xl: 0 15px 30px rgba(0,0,0,0.15);
    --shadow-primary: 0 4px 15px rgba(10,92,74,0.25);
    --shadow-accent: 0 4px 15px rgba(255,179,71,0.3);
    --shadow-facebook: 0 4px 15px rgba(24,119,242,0.3);
    --header-height: 64px;
    --bottom-nav-height: 65px;
    --sidebar-width: 85%;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --bg-primary: #F5F7FA;
    --bg-secondary: #FFFFFF;
    --card-bg: #FFFFFF;
    --text-color: #1A2E3F;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
}

/* ========== DARK MODE ========== */
body.dark-mode {
    --primary: #1E7B62;
    --primary-dark: #0A5C4A;
    --primary-light: #2d9c7e;
    --primary-soft: #1a3a33;
    --secondary: #1E293B;
    --secondary-dark: #0F172A;
    --light: #0F172A;
    --dark: #F1F5F9;
    --darker: #FFFFFF;
    --gray-light: #1E293B;
    --gray: #475569;
    --gray-dark: #94A3B8;
    --text-primary: #F1F5F9;
    --text-secondary: #CBD5E1;
    --text-light: #94A3B8;
    --border-light: #334155;
    --border-medium: #475569;
    --shadow: 0 4px 15px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 25px rgba(0,0,0,0.5);
    --shadow-xl: 0 15px 30px rgba(0,0,0,0.6);
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --card-bg: #1E293B;
    --text-color: #F1F5F9;
    --text-muted: #CBD5E1;
    --border-color: #334155;
}

/* ========== RESET & GLOBAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-color);
    min-height: 100vh;
    padding-bottom: calc(var(--bottom-nav-height) + 16px);
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-primary);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.header-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ========== BADGE ========== */
.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #EF4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #EF4444;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

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

/* ========== MENU TOGGLE ========== */
.menu-toggle {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 4px;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
}

.menu-toggle span {
    width: 20px;
    height: 2.5px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle:hover {
    transform: translateY(-2px);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== SIDEBAR ========== */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 2000;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    padding: 20px;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.sidebar-close {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* ========== USER INFO SIDEBAR ========== */
.user-info-sidebar {
    background: var(--primary-soft);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-sidebar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    border: 2px solid white;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.user-avatar-sidebar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-color);
}

.user-info-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--verified);
    color: white;
    border-radius: 50%;
    font-size: 10px;
    margin-left: 4px;
    animation: verifiedShine 2s infinite;
}

@keyframes verifiedShine {
    0% { box-shadow: 0 0 0 0 rgba(29,161,242,0.5); }
    70% { box-shadow: 0 0 0 6px rgba(29,161,242,0); }
    100% { box-shadow: 0 0 0 0 rgba(29,161,242,0); }
}

.developer-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(29,161,242,0.1);
    padding: 4px 10px;
    border-radius: 30px;
    margin-top: 5px;
    border: 1px solid rgba(29,161,242,0.2);
    font-size: 0.7rem;
}

.verification-badge-sidebar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.verification-badge-sidebar:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-facebook);
}

/* ========== GUEST SIDEBAR ========== */
.guest-sidebar {
    text-align: center;
    padding: 24px;
}

.guest-sidebar i {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.6;
    margin-bottom: 12px;
}

.guest-sidebar h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.guest-sidebar p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.85rem;
}

/* ========== SIDEBAR MENU ========== */
.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 4px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-color);
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover {
    background: var(--primary-soft);
    color: var(--primary);
    transform: translateX(4px);
}

.sidebar-menu a i {
    width: 22px;
    font-size: 1.1rem;
    color: var(--primary);
}

.sidebar-menu .divider {
    height: 1px;
    background: var(--border-color);
    margin: 16px 0;
}

/* ========== STATS CARD ========== */
.stats-card {
    background: var(--primary-soft);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-item {
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

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

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

/* ========== BUTTONS ========== */
.btn-sidebar {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--primary-gradient-hover);
}

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

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

.btn-accent {
    background: var(--accent-gradient);
    color: var(--dark);
    box-shadow: var(--shadow-accent);
}

.btn-danger {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.btn-facebook {
    background: #1877F2;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-facebook);
}

.btn-facebook:hover {
    background: #166FE5;
    transform: translateY(-2px);
}

.btn-google {
    background: white;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-google:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-md {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-xs {
    padding: 5px 12px;
    font-size: 11px;
    border-radius: 20px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    min-width: 40px;
    border-radius: 50%;
}

.btn-block {
    width: 100%;
}

.w-full {
    width: 100%;
}

/* ========== BOTTOM NAVIGATION ========== */
.bottom-nav {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 500px;
    height: var(--bottom-nav-height);
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    border-radius: 35px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 0 8px;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 11px;
    cursor: pointer;
    padding: 8px 0;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 4px;
}

.nav-item i {
    font-size: 22px;
    transition: all 0.3s ease;
}

.nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.nav-item.active {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav-item.active i {
    transform: translateY(-2px);
}

/* ========== MAIN CONTENT ========== */
.main-content {
    padding-top: var(--header-height);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    overflow-x: hidden;
}

/* ========== PAGE TRANSITION ========== */
.page {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== HERO SECTION ========== */
.hero {
    text-align: center;
    padding: 40px 0 30px;
}

.hero-icon {
    font-size: 56px;
    color: var(--primary);
    margin-bottom: 20px;
    animation: float 3s ease infinite;
}

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

.hero-title {
    font-size: 32px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== CARDS GRID ========== */
.features-grid,
.dashboard-grid,
.products-grid,
.promotion-grid,
.video-tutorial-grid,
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.feature-card,
.dashboard-card,
.product-card,
.promotion-card,
.video-card,
.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.feature-card:hover,
.dashboard-card:hover,
.product-card:hover,
.promotion-card:hover,
.video-card:hover,
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon,
.card-icon {
    width: 54px;
    height: 54px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-primary);
}

.feature-title,
.card-title,
.pricing-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.feature-desc,
.card-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* ========== PRICING CARD ========== */
.pricing-card.pro {
    border: 2px solid var(--primary);
    background: linear-gradient(145deg, var(--card-bg), var(--primary-soft));
    position: relative;
    overflow: hidden;
}

.pricing-badge {
    position: absolute;
    top: 16px;
    right: -35px;
    background: var(--accent);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 11px;
    font-weight: 700;
    color: var(--dark);
    box-shadow: var(--shadow-accent);
}

.pricing-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin: 16px 0;
}

.pricing-period {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-features {
    margin: 20px 0;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.pricing-features i {
    width: 18px;
    color: var(--primary);
}

.pricing-features .fa-times {
    color: #EF4444;
}

/* ========== PRODUCT CARD ========== */
.product-image {
    height: 160px;
    background: var(--primary-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.product-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--dark);
    box-shadow: var(--shadow);
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 8px 0;
}

.rating-stars i {
    color: #FFB800;
    font-size: 12px;
}

.rating-number {
    color: var(--text-muted);
    font-size: 11px;
    margin-left: 5px;
}

/* ========== SPECIAL SECTIONS ========== */
.google-form-section,
.store-search-section,
.tiktok-section {
    background: var(--primary-gradient);
    border-radius: 24px;
    padding: 40px 24px;
    margin: 32px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.google-form-section::before,
.store-search-section::before,
.tiktok-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

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

/* ========== STEPS ========== */
.steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.step {
    background: rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 16px 24px;
    text-align: center;
    min-width: 120px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 700;
    color: var(--dark);
    font-size: 16px;
    box-shadow: var(--shadow-accent);
}

/* ========== STORE SEARCH ========== */
.store-search-input-group {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 24px auto 0;
}

@media (max-width: 480px) {
    .store-search-input-group {
        flex-direction: column;
    }
}

.store-search-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    background: white;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.store-search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,179,71,0.5);
}

.store-search-btn {
    padding: 14px 28px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    color: var(--dark);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-accent);
}

.store-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.store-preview-result {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    text-align: left;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.store-preview-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    border: 3px solid white;
    overflow: hidden;
}

.store-preview-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.store-preview-product-card {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* ========== TIKTOK SECTION ========== */
.tiktok-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.tiktok-card {
    background: rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.tiktok-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

/* ========== FORM STYLES ========== */
.form-container {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 24px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    color: var(--text-color);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(10,92,74,0.1);
}

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

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--gray);
}

/* ========== TABS ========== */
.tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: var(--secondary);
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--text-color);
}

.tab-btn.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-primary);
}

/* ========== SOCIAL DIVIDER ========== */
.social-divider {
    display: flex;
    align-items: center;
    margin: 24px 0 20px;
    color: var(--text-secondary);
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

.social-divider span {
    padding: 0 12px;
    font-size: 12px;
}

.google-signin-container,
.facebook-signin-container {
    display: flex;
    justify-content: center;
    margin: 12px 0;
}

.forgot-link {
    text-align: right;
    margin-top: 8px;
}

.forgot-link a {
    color: var(--primary);
    text-decoration: none;
    font-size: 12px;
    cursor: pointer;
}

.forgot-link a:hover {
    text-decoration: underline;
}

/* ========== OTP INPUT ========== */
.otp-input-group {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
}

.otp-input {
    width: 45px;
    height: 50px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 700;
    background: var(--bg-secondary);
    color: var(--text-color);
}

.otp-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(10,92,74,0.1);
}

.otp-timer {
    text-align: center;
    color: var(--text-secondary);
    margin: 12px 0;
}

.resend-otp {
    text-align: center;
}

.resend-otp button {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

/* ========== VERIFICATION SECTION ========== */
.verification-section {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
    border-radius: 20px;
    padding: 24px;
    margin: 20px 0;
    color: white;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.verification-icon-large {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verified);
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.verification-step {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--primary-soft);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    color: var(--text-color);
}

.verification-step-number {
    width: 28px;
    height: 28px;
    background: var(--verified);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ========== CAMERA ========== */
.camera-container {
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    margin: 20px 0;
    border: 3px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.camera-preview {
    height: 280px;
    position: relative;
    background: #1a1a1a;
}

#cameraVideo, #selfieCameraVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ktp-guide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 150px;
    border: 3px solid var(--accent);
    border-radius: 12px;
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.5);
    animation: pulse 2s infinite;
}

.ktp-guide::before {
    content: 'Letakkan KTP/KIP di dalam bingkai';
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    white-space: nowrap;
}

.camera-controls {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: white;
}

.camera-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.camera-btn.capture {
    background: var(--primary);
    color: white;
}

.camera-btn.switch {
    background: var(--secondary-dark);
    color: var(--text-primary);
}

.camera-btn.close {
    background: #EF4444;
    color: white;
}

.camera-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.admin-process-note {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    border-radius: 20px;
    padding: 24px;
    color: white;
    margin: 20px 0;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.admin-process-note i {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.gmail-contact {
    background: rgba(0,0,0,0.2);
    padding: 6px 12px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
}

/* ========== UPLOAD AREA ========== */
.upload-area {
    border: 2px dashed var(--border-light);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--primary-soft);
}

.upload-area:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.upload-area i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.upload-area p {
    font-size: 14px;
    margin-bottom: 4px;
}

.upload-area small {
    font-size: 11px;
    color: var(--text-secondary);
}

.image-preview {
    position: relative;
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    background: #EF4444;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-image:hover {
    transform: scale(1.1);
}

/* ========== TABLE STYLES ========== */
.table-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 20px;
    overflow-x: auto;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th {
    background: var(--primary-gradient);
    color: white;
    padding: 14px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

td {
    padding: 14px;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-color);
}

tr:hover {
    background: var(--primary-soft);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

.status-success {
    background: var(--primary-soft);
    color: var(--primary);
}

.status-pending {
    background: #FEF3C7;
    color: #D97706;
}

/* ========== SETTINGS ITEM ========== */
.settings-item {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.settings-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.settings-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-color);
}

.settings-description {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ========== SWITCH TOGGLE ========== */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* ========== NOTIFICATION ========== */
.notification {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: var(--card-bg);
    color: var(--text-color);
    padding: 14px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
    z-index: 2000;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    max-width: 320px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success { border-left-color: #10B981; }
.notification.error { border-left-color: #EF4444; }
.notification.info { border-left-color: var(--primary); }

/* ========== MODAL ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 28px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 20px;
    background: var(--primary-gradient);
    color: white;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.modal-close {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

/* ========== FAQ ========== */
.faq-lynk-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-lynk-item {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-lynk-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-lynk-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-color);
}

.faq-lynk-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-lynk-item.active .faq-lynk-question i {
    transform: rotate(45deg);
}

.faq-lynk-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.faq-lynk-item.active .faq-lynk-answer {
    max-height: 300px;
    margin-top: 12px;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    border: 2px solid white;
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--primary-gradient);
    color: white;
    padding: 48px 0 24px;
    margin-top: 48px;
}

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

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

.footer-about {
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    font-size: 14px;
}

.footer-links h4 {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

/* ========== UTILITY CLASSES ========== */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.hidden { display: none !important; }
.relative { position: relative; }
.absolute { position: absolute; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.cursor-pointer { cursor: pointer; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-title { font-size: 26px; }
    .hero-subtitle { font-size: 14px; }
    .features-grid, .products-grid { gap: 16px; }
    .container { padding: 16px; }
    .btn { padding: 10px 20px; }
    .logo-text { font-size: 1.1rem; }
    .logo-icon { width: 36px; height: 36px; }
    .header-icon, .menu-toggle { width: 36px; height: 36px; }
    .bottom-nav { bottom: 12px; height: 58px; }
    .nav-item i { font-size: 20px; }
    .nav-item span { font-size: 10px; }
    .sidebar { width: 280px; }
    .pricing-price { font-size: 28px; }
    .modal-content { max-width: 95%; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 22px; }
    .hero-icon { font-size: 44px; }
    .store-search-input-group { flex-direction: column; }
    .steps { gap: 12px; }
    .step { padding: 12px 16px; min-width: auto; }
    .otp-input { width: 40px; height: 45px; }
    .camera-preview { height: 220px; }
    .ktp-guide { width: 200px; height: 130px; }
    .footer-grid { gap: 24px; text-align: center; }
    .footer-logo { justify-content: center; }
    .footer-links ul li a { justify-content: center; }
    .back-to-top { bottom: 85px; right: 15px; width: 42px; height: 42px; }
    .notification { bottom: 85px; right: 15px; left: 15px; max-width: calc(100% - 30px); }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container { max-width: 900px; }
    .bottom-nav { max-width: 450px; }
}

@media (min-width: 1025px) {
    .container { max-width: 1200px; }
    .bottom-nav { max-width: 500px; }
}

/* ========== ANIMATIONS ========== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========== LOADING STATES ========== */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.skeleton {
    background: linear-gradient(90deg, var(--border-light) 25%, var(--bg-secondary) 50%, var(--border-light) 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
}

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

::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 10px;
}

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

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

/* ========== SELECTION ========== */
::selection {
    background: var(--primary);
    color: white;
}

/* ========== FOCUS VISIBLE ========== */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ========== DISABLED STATE ========== */
.btn:disabled,
button:disabled,
.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}
