/* Style Sheet for EXTRUCK Landing Page */

/* Color Tokens & Variables */
:root {
    --primary-color: #0f8544; /* Premium Green from logo */
    --primary-glow: rgba(15, 133, 68, 0.15);
    --secondary-color: #d65a31; /* Orange-Red from logo */
    --secondary-glow: rgba(214, 90, 49, 0.15);
    --gray-bg: #121316;
    --gray-card: rgba(26, 28, 34, 0.7);
    --gray-card-border: rgba(45, 49, 57, 0.6);
    --text-white: #ffffff;
    --text-muted: #a0aec0;
    --text-paragraph: #cbd5e0;
    --danger-color: #e53e3e;
    --success-color: #38a169;
    --warning-color: #dd6b20;
    --info-color: #3182ce;
    --font-sans: 'Vazirmatn', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Handle English Typography */
html[lang="en"] {
    --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--gray-bg);
    color: var(--text-white);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    background-color: var(--gray-bg);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-white);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Common UI Elements */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 9999px;
    background: rgba(214, 90, 49, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(214, 90, 49, 0.2);
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--gray-card);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--gray-card-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background: #138d4b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 133, 68, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-large {
    padding: 0.8rem 2.2rem;
    font-size: 1.05rem;
    border-radius: 10px;
}

.btn-small {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

.btn-xs {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 4px;
}

.btn-full {
    width: 100%;
}

.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    display: none;
    margin-inline-start: 10px;
}

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

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(18, 19, 22, 0.75);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--gray-card-border);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 48px;
    border-radius: 6px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition-smooth);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-selected {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: inherit;
}

.lang-selected:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-chevron {
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-inline-start: 2px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1a1c22;
    border: 1px solid var(--gray-card-border);
    border-radius: 8px;
    list-style: none;
    min-width: 120px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: none;
    z-index: 110;
}

.lang-dropdown.show {
    display: block;
    animation: fadeInDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lang-dropdown li {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-muted);
    text-align: start;
    transition: var(--transition-smooth);
}

.lang-dropdown li:hover, .lang-dropdown li.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

/* Mobile Nav Drawer */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-drawer {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(18, 19, 22, 0.95);
    backdrop-filter: blur(20px);
    z-index: 99;
    overflow: hidden;
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--gray-card-border);
}

.mobile-drawer.open {
    height: calc(100vh - 80px);
}

.mobile-nav-menu {
    list-style: none;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
    padding: 0.5rem 0;
}

.mobile-nav-link:hover {
    color: var(--text-white);
}

.mobile-lang-switcher-row {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
}

.mobile-lang-btn.active {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

/* Animations for Mobile Toggle Open state */
.mobile-menu-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    overflow: hidden;
}

/* Glow Spheres for modern dark look */
.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.25;
}

.glow-sphere-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: 10%;
    left: -10%;
}

.glow-sphere-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    bottom: 10%;
    right: -10%;
}

.glow-sphere-3 {
    width: 350px;
    height: 350px;
    background: var(--primary-color);
    top: 50%;
    left: 40%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: start;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-paragraph);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Hero Visual & Interactive Card */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.interactive-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.main-visual-element {
    width: 100%;
    padding: 2.5rem;
    background: rgba(26, 28, 34, 0.4);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.animated-svg {
    width: 100%;
    height: auto;
}

.svg-truck {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawTruck 4s ease-out forwards;
}

.svg-road {
    stroke-dasharray: 20;
    animation: slideRoad 1s linear infinite;
}

@keyframes drawTruck {
    to { stroke-dashoffset: 0; }
}

@keyframes slideRoad {
    to { stroke-dashoffset: -20; }
}

.floating-card {
    position: absolute;
    padding: 1rem 1.2rem;
    width: 250px;
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}

.card-top {
    top: -30px;
    right: -40px;
}

.card-bottom {
    bottom: -20px;
    left: -40px;
    animation-delay: -3s;
}

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

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.active {
    background-color: var(--success-color);
    box-shadow: 0 0 8px var(--success-color);
}

.card-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.car-name {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.deal-status {
    font-size: 0.75rem;
    color: var(--text-paragraph);
    margin-bottom: 0.6rem;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.stats-row {
    display: flex;
    justify-content: space-between;
}

.stat-unit {
    display: flex;
    flex-direction: column;
}

.stat-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.stat-val {
    font-size: 1.1rem;
    font-weight: 800;
}

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

/* Stats Section */
.stats-section {
    padding: 3rem 0;
    border-top: 1px solid var(--gray-card-border);
    border-bottom: 1px solid var(--gray-card-border);
    background: rgba(18, 19, 22, 0.4);
    position: relative;
    z-index: 2;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gray-card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

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

/* Services / Features Section */
.services-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

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

.section-sub {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-paragraph);
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    text-align: start;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 133, 68, 0.4);
    box-shadow: 0 12px 40px rgba(15, 133, 68, 0.08);
}

.service-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gray-card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-paragraph);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-bullets {
    list-style: none;
    border-top: 1px solid var(--gray-card-border);
    padding-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.service-bullets li {
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    padding-inline-start: 1.2rem;
}

.service-bullets li::before {
    content: '▪';
    position: absolute;
    right: 0;
    left: auto;
    color: var(--primary-color);
}

html[lang="en"] .service-bullets li::before {
    left: 0;
    right: auto;
}

/* Dashboard Mockup Preview */
.preview-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--gray-bg), rgba(15, 133, 68, 0.03), var(--gray-bg));
    position: relative;
    z-index: 2;
}

.dashboard-mockup {
    display: grid;
    grid-template-columns: 260px 1fr;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 3rem;
    min-height: 520px;
    border: 1px solid var(--gray-card-border);
    background: rgba(20, 22, 26, 0.7);
}

.dashboard-sidebar {
    background: rgba(18, 19, 22, 0.8);
    border-inline-end: 1px solid var(--gray-card-border);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.avatar-glow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    box-shadow: 0 0 10px var(--primary-glow);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 700;
}

.user-role {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.db-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.db-menu-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.db-menu-item:hover, .db-menu-item.active {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.03);
}

.db-menu-item.active {
    border-inline-start: 3px solid var(--primary-color);
    background: rgba(15, 133, 68, 0.05);
}

.badge-accent {
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    margin-inline-start: auto;
}

/* Dashboard Content */
.dashboard-content {
    padding: 2.2rem;
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
}

.db-pane-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray-card-border);
    padding-bottom: 1rem;
}

.db-pane-header h3 {
    font-size: 1.3rem;
}

.date-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
}

.grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mini-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--gray-card-border);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
}

.mini-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.mini-val {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.mini-trend {
    font-size: 0.7rem;
    font-weight: 500;
}

.mini-trend.positive { color: var(--success-color); }
.mini-trend.alert { color: var(--danger-color); }

.recent-actions-table-wrapper h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.db-table {
    width: 100%;
    border-collapse: collapse;
    text-align: start;
}

.db-table th {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-card-border);
}

.db-table td {
    padding: 1rem;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.success { background: rgba(56, 161, 105, 0.15); color: var(--success-color); }
.status-badge.warning { background: rgba(221, 107, 32, 0.15); color: var(--warning-color); }
.status-badge.info { background: rgba(49, 130, 206, 0.15); color: var(--info-color); }
.status-badge.danger { background: rgba(229, 62, 98, 0.15); color: var(--danger-color); }

/* Tab 2: Inventory Panel styles */
.inventory-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gray-card-border);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    color: #fff;
    outline: none;
    font-family: inherit;
    font-size: 0.85rem;
}

.filter-select {
    background: #1a1c22;
    border: 1px solid var(--gray-card-border);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    color: #fff;
    outline: none;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
}

.inventory-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inventory-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--gray-card-border);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item-info h5 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

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

.item-actions {
    display: flex;
    gap: 0.5rem;
}

/* Tab 3: Analytics Graphic styles */
.chart-legend {
    display: flex;
    gap: 1.2rem;
    font-size: 0.8rem;
}

.legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-inline-end: 4px;
}

.legend-dot.primary { background: var(--primary-color); }
.legend-dot.secondary { background: var(--secondary-color); }

.chart-container {
    height: 220px;
    background: rgba(255,255,255,0.01);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.03);
}

.svg-chart {
    width: 100%;
    height: 100%;
}

.chart-line-main {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: drawChart 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.chart-line-sub {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: drawChart 2.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes drawChart {
    to { stroke-dashoffset: 0; }
}

.analytics-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0.25rem 0;
}

.mini-stat-card span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Tab 4: Messages Chat styling */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--gray-card-border);
    border-radius: 12px;
    padding: 1.2rem;
    transition: var(--transition-smooth);
}

.message-item.unread {
    border-inline-start: 3px solid var(--secondary-color);
    background: rgba(214, 90, 49, 0.02);
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.message-header strong {
    font-size: 0.9rem;
}

.time-stamp {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.message-preview {
    font-size: 0.85rem;
    color: var(--text-paragraph);
    margin-bottom: 1rem;
}

.message-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 0.8rem;
}

.referenced-item {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Onboarding & Form Section */
.onboarding-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.onboarding-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.onboarding-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.onboarding-info p {
    color: var(--text-paragraph);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: rgba(15, 133, 68, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(15, 133, 68, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.benefits-list li strong {
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.25rem;
}

.benefits-list li span {
    font-size: 0.85rem;
    color: var(--text-paragraph);
}

.onboarding-form-wrapper {
    padding: 3rem;
}

.onboarding-form-wrapper h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.onboarding-form-wrapper p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.partner-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: start;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-paragraph);
}

.required {
    color: var(--danger-color);
}

.partner-form input[type="text"],
.partner-form input[type="tel"],
.partner-form select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gray-card-border);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.partner-form select {
    cursor: pointer;
}

.partner-form select option {
    background-color: #1a1c22;
    color: #fff;
}

.partner-form input:focus,
.partner-form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 133, 68, 0.15);
}

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

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-inline-start: 28px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-paragraph);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: auto;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gray-card-border);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

html[dir="rtl"] .checkmark {
    left: auto;
    right: 0;
}

html[dir="rtl"] .checkbox-container {
    padding-inline-start: 0;
    padding-inline-end: 28px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.1);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

.checkbox-container .checkmark::after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Validation Styling */
.form-group.invalid input,
.form-group.invalid select {
    border-color: var(--danger-color);
}

.error-msg {
    font-size: 0.75rem;
    color: var(--danger-color);
    display: none;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Success Message styles */
.success-container {
    display: none;
    text-align: center;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
}

.success-icon-glow {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(15, 133, 68, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(15, 133, 68, 0.2);
}

.success-container h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.success-container p {
    color: var(--text-paragraph);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* FAQ Accordion */
.faq-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.faq-container {
    max-width: 800px;
}

.faq-accordion {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-bottom: 1px solid var(--gray-card-border);
    padding-bottom: 1rem;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 1rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: start;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    outline: none;
}

.faq-toggle-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-inline-start: 1rem;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--text-muted);
    transition: var(--transition-smooth);
}

/* Horizontal line */
.faq-toggle-icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

/* Vertical line */
.faq-toggle-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

.faq-item.active .faq-toggle-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-toggle-icon::before {
    background-color: var(--secondary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Large enough to hold answers */
}

.faq-answer p {
    color: var(--text-paragraph);
    font-size: 0.95rem;
    padding-bottom: 1rem;
    line-height: 1.8;
}

/* Launch Banner */
.prelaunch-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 133, 68, 0.15) 0%, rgba(214, 90, 49, 0.1) 100%);
    border-top: 1px solid var(--gray-card-border);
    border-bottom: 1px solid var(--gray-card-border);
    position: relative;
    z-index: 2;
}

.prelaunch-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.prelaunch-cta p {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: var(--text-paragraph);
}

/* Footer Styling */
.main-footer {
    background: #0d0e11;
    border-top: 1px solid var(--gray-card-border);
    padding-top: 80px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    margin-bottom: 60px;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: start;
}

.footer-logo {
    height: 48px;
    align-self: flex-start;
    border-radius: 6px;
    object-fit: contain;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gray-card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.social-icon:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links {
    text-align: start;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: auto;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

html[lang="en"] .footer-links h4::after,
html[lang="en"] .footer-contact h4::after {
    left: 0;
    right: auto;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links ul a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links ul a:hover {
    color: var(--text-white);
    padding-inline-start: 4px;
}

.footer-contact {
    text-align: start;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-list li {
    display: flex;
    gap: 0.8rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.contact-info-list li .icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--gray-card-border);
    padding: 1.5rem 0;
    background: #090a0d;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.trust-logos {
    display: flex;
    gap: 1rem;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--gray-card-border);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-weight: 500;
}

/* Pre-launch Countdown Slider Section */
.countdown-slider-section {
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.slider-wrapper {
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.slides-container {
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.slide h2 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.5;
    background: linear-gradient(135deg, #html-color-stop 0%, #fff 40%, var(--text-paragraph) 100%);
    background: linear-gradient(135deg, #fff 30%, var(--text-paragraph) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 800px;
    margin: 0 auto;
}

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gray-card-border);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition-smooth);
    padding-bottom: 4px;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.6rem;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dots .dot.active {
    background: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-glow);
    transform: scale(1.2);
}

/* Big Countdown Clock */
.countdown-timer-container {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.5rem;
}

.countdown-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.timer-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--gray-card-border);
    border-radius: 16px;
    min-width: 110px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.timer-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
    pointer-events: none;
}

.timer-box:hover {
    border-color: rgba(214, 90, 49, 0.3);
    box-shadow: 0 8px 32px var(--secondary-glow);
    transform: translateY(-3px);
}

.timer-number {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8a65 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px var(--secondary-glow);
}

.timer-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Countdown responsive */
@media (max-width: 768px) {
    .slider-wrapper {
        padding: 2rem 1.5rem;
    }
    .slide h2 {
        font-size: 1.4rem;
    }
    .timer-box {
        min-width: 80px;
        padding: 0.8rem;
        border-radius: 12px;
    }
    .timer-number {
        font-size: 2.2rem;
    }
    .countdown-timer {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .slide h2 {
        font-size: 1.15rem;
    }
    .timer-box {
        min-width: 68px;
        padding: 0.6rem;
    }
    .timer-number {
        font-size: 1.65rem;
    }
    .countdown-timer {
        gap: 0.5rem;
    }
}

/* Scroll Animation Trigger Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Animations for languages direction switches */
html[lang="en"] .lang-dropdown {
    right: auto;
    left: 0;
}

/* Response Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .onboarding-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav, .header-actions > .btn {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .dashboard-mockup {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        border-inline-end: none;
        border-bottom: 1px solid var(--gray-card-border);
        padding: 1.2rem;
    }
    
    .db-menu {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        gap: 1rem;
    }
    
    .db-menu-item {
        white-space: nowrap;
        padding: 0.5rem 0.8rem;
    }
    
    .db-menu-item.active {
        border-inline-start: none;
        border-bottom: 3px solid var(--primary-color);
    }
    
    .grid-three {
        grid-template-columns: 1fr;
    }
    
    .analytics-stats {
        grid-template-columns: 1fr;
    }
    
    .onboarding-form-wrapper {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .card-top {
        right: -10px;
    }
    
    .card-bottom {
        left: -10px;
    }
}
