/* ==========================================
   OrderBOT - Core Design System & Stylesheet
   ========================================== */

/* 1. Theme Configuration & Custom Properties */
:root {
    --bg-dark: #09090b;
    --bg-dark-secondary: #18181b;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --color-primary: #6366f1; /* Electric Indigo */
    --color-success: #25D366; /* WhatsApp Green */
    --color-success-dark: #128c7e;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.15);
    --glass-bg: rgba(24, 24, 27, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Base & Reset Rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 3. Glowing Background Components */
.glow-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

.glow-1 {
    top: 5%;
    left: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
}

.glow-2 {
    top: 30%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-success) 0%, transparent 70%);
}

.glow-3 {
    bottom: 10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
}

/* 4. Typography & Utility Classes */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #a5b4fc 0%, var(--color-success) 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 6px 14px;
    border-radius: 99px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: #a5b4fc;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-success);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* 5. Buttons Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #4f46e5 100%);
    color: white;
    border: none;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

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

/* 6. Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--text-primary);
}

.logo span span {
    color: var(--color-success);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-success);
    transition: var(--transition-smooth);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile menu toggle */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Open states for mobile buttons */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

/* Mobile Menu Slide Overlay */
.mobile-menu {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    z-index: 999;
    padding: 40px 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid var(--border-color);
}

.mobile-menu.active {
    transform: translateX(0);
}

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

.mobile-link {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
}

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

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

/* 7. Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 58px;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

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

/* 8. Phone Mockup & WhatsApp Simulator */
.phone-mockup {
    position: relative;
    width: 330px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 
                inset 0 0 0 3px #18181b,
                0 0 0 1px rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.phone-speaker {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: #1c1c1e;
    border-radius: 10px;
    z-index: 10;
}

.phone-camera {
    position: absolute;
    top: 6px;
    left: calc(50% + 40px);
    width: 6px;
    height: 6px;
    background-color: #1c1c1e;
    border-radius: 50%;
    z-index: 10;
}

/* WhatsApp Sub-Header */
.wa-header {
    background-color: #1f2937;
    padding: 30px 14px 10px 14px;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-avatar {
    width: 32px;
    height: 32px;
    background-color: #111b21;
    border-radius: 50%;
    object-fit: contain;
    padding: 2px;
}

.wa-chat-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wa-chat-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.wa-status {
    font-size: 10px;
    color: var(--color-success);
    display: flex;
    align-items: center;
    gap: 4px;
}

.wa-status-dot {
    width: 5px;
    height: 5px;
    background-color: var(--color-success);
    border-radius: 50%;
}

.wa-call-icons {
    display: flex;
    gap: 12px;
    color: var(--text-secondary);
}

/* WhatsApp Main Body */
.wa-body {
    flex-grow: 1;
    background-color: #0b141a;
    background-image: radial-gradient(rgba(37, 211, 102, 0.04) 1px, transparent 0);
    background-size: 16px 16px;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: none; /* Hide scrollbars */
}
.wa-body::-webkit-scrollbar {
    display: none;
}

/* Bubble Styling */
.wa-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.4;
    position: relative;
    animation: bubblePop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes bubblePop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wa-msg.sent {
    background-color: #005c4b;
    color: #e9edef;
    align-self: flex-end;
    border-top-right-radius: 4px;
}

.wa-msg.received {
    background-color: #202c33;
    color: #e9edef;
    align-self: flex-start;
    border-top-left-radius: 4px;
}

.wa-time {
    display: block;
    text-align: right;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 4px;
}

/* WhatsApp Interactive Cards / Modals inside Bubbles */
.wa-card {
    background-color: #111b21;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin-top: 8px;
}

.wa-card-image {
    width: 100%;
    height: 110px;
    background-size: cover;
    background-position: center;
}

/* Special backgrounds inside card thumbnails */
.jacket-bg {
    background: linear-gradient(135deg, #1e1b4b, #311042);
}

.wa-card-info {
    padding: 8px 10px;
}

.wa-card-title {
    font-size: 11.5px;
    font-weight: 600;
    margin-bottom: 2px;
}

.wa-card-desc {
    font-size: 10px;
    color: var(--text-secondary);
}

.wa-btn {
    display: block;
    width: 100%;
    padding: 8px;
    background-color: rgba(37, 211, 102, 0.15);
    color: var(--color-success);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
}
.wa-btn:hover {
    background-color: rgba(37, 211, 102, 0.25);
}

.wa-cart-summary {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 6px;
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

/* Typing Indicator */
.wa-typing {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background-color: #202c33;
    border-radius: 12px;
    border-top-left-radius: 4px;
    align-self: flex-start;
    width: fit-content;
}

.wa-typing span {
    width: 6px;
    height: 6px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.wa-typing span:nth-child(1) { animation-delay: -0.32s; }
.wa-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

/* WhatsApp Sub-Footer */
.wa-footer {
    background-color: #1f2937;
    padding: 10px 12px 24px 12px;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-input-container {
    background-color: #2a3942;
    flex-grow: 1;
    border-radius: 20px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
}

.wa-input-placeholder {
    font-size: 12px;
    color: #8696a0;
    flex-grow: 1;
    margin: 0 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wa-mic-btn {
    width: 36px;
    height: 36px;
    background-color: var(--color-success-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* 9. Section Styling */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

/* 10. Industry Showcase Section */
.industries-section {
    padding: 100px 0;
    background-color: rgba(24, 24, 27, 0.3);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.industry-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.industry-tab {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 99px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.industry-tab:hover {
    color: var(--text-primary);
    border-color: var(--border-color-hover);
}

.industry-tab.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(37, 211, 102, 0.1) 100%);
    border-color: var(--color-success);
    color: var(--color-success);
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.1);
}

.industry-panels {
    position: relative;
    min-height: 380px;
}

.industry-panel {
    display: none;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.industry-panel.active {
    display: block;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.panel-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.panel-info h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.panel-info p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.panel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-list li {
    font-size: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.panel-showcase {
    display: flex;
    justify-content: center;
}

.showcase-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    width: 100%;
    max-width: 360px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(16px);
}

.showcase-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.showcase-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.catalog-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
}

.catalog-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.shoe-bg {
    background: linear-gradient(135deg, #0f172a, #115e59);
}

.catalog-details h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.catalog-details p {
    font-size: 11px;
    color: var(--text-muted);
}

.calendar-header {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
}

.calendar-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.slot {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.slot.disabled {
    opacity: 0.3;
    text-decoration: line-through;
}

.slot.active {
    border-color: var(--color-success);
    color: var(--color-success);
    background: rgba(37, 211, 102, 0.05);
}

.cart-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.cart-row span {
    color: var(--text-secondary);
}

.cart-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 0;
}

.cart-row.total {
    font-size: 14px;
    font-weight: 700;
}

.cart-row.total span {
    color: var(--text-primary);
}

/* 11. Key Features Section */
.features-section {
    padding: 100px 0;
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 16px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 12. Merchant Dashboard Preview Section */
.dashboard-preview-section {
    padding: 100px 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
    border-top: 1px solid var(--border-color);
}

.preview-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.preview-info h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.preview-info p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.preview-bullets {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bullet-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.bullet-icon {
    width: 32px;
    height: 32px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.bullet-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.bullet-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.dashboard-mockup {
    background-color: #0b0f19;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.db-header {
    background: #0f172a;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.db-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
}

.db-status {
    font-size: 11px;
    color: var(--color-success);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-success);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.db-body {
    display: grid;
    grid-template-columns: 140px 1fr;
    height: 300px;
}

.db-sidebar {
    background: #090d16;
    border-right: 1px solid var(--border-color);
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.db-item {
    font-size: 11px;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
}

.db-item.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-weight: 600;
}

.db-main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.db-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    position: relative;
}

.db-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.db-stat-card h3 {
    font-size: 18px;
}

.db-trend {
    font-size: 9px;
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}

.db-trend.up {
    background: rgba(37, 211, 102, 0.1);
    color: var(--color-success);
}

.db-chart-mock {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-header {
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 60px;
    padding-top: 10px;
}

.chart-bar {
    width: 12px;
    background: linear-gradient(to top, var(--color-primary), var(--color-success));
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

/* 13. ROI Calculator Section */
.roi-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.roi-sliders {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
}

.slider-header span {
    color: var(--color-success);
}

/* Customize Range Sliders */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

input[type=range]::-webkit-slider-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: var(--color-success);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -6px;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
    transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.roi-display {
    display: flex;
    justify-content: center;
}

.roi-card {
    background: linear-gradient(135deg, #13131a 0%, #0d1b15 100%);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.roi-card-accent {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-success);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    display: block;
}

.roi-stat {
    margin-bottom: 32px;
}

.roi-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.roi-stat h2 {
    font-size: 42px;
}

.roi-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    margin-bottom: 24px;
}

.roi-sub-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.roi-sub-stat span {
    font-size: 11px;
    color: var(--text-muted);
}

.roi-sub-stat strong {
    font-size: 18px;
    color: var(--text-primary);
}

.roi-disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* 14. FAQ Accordion Section */
.faq-section {
    padding: 100px 0;
}

.faq-container {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-trigger {
    width: 100%;
    padding: 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 20px;
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 24px;
}

.faq-content p {
    color: var(--text-secondary);
    font-size: 14px;
    padding-bottom: 24px;
}

/* Active FAQ state */
.faq-item.active {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(99, 102, 241, 0.2);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-success);
}

.faq-item.active .faq-content {
    max-height: 200px; /* arbitrary height to slide down */
}

/* 15. Get Started Section (CTA Form) */
.get-started-section {
    padding: 80px 0 120px 0;
}

.cta-box {
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 45%),
                radial-gradient(circle at bottom left, rgba(37, 211, 102, 0.08), transparent 45%),
                var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(20px);
}

.cta-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-success), transparent);
}

.cta-box h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 36px auto;
    font-size: 16px;
}

.cta-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 24px auto;
    gap: 12px;
}

.cta-form input {
    flex-grow: 1;
    background: rgba(9, 9, 11, 0.8);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
}

.cta-form input:focus {
    outline: none;
    border-color: var(--color-success);
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.15);
}

.cta-guarantees {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

/* 16. Footer Styles */
.footer {
    background-color: #060608;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 80px;
    padding-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 16px;
    max-width: 320px;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 13.5px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

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

.footer-bottom-container a:hover {
    color: var(--color-success);
}

/* 17. Responsive Layout Media Queries */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .panel-showcase {
        order: -1;
    }
    
    .preview-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .roi-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .nav-cta-primary, .nav-cta-secondary {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-section {
        padding-top: 120px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .industry-tabs {
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links-group {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-form {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }
    
    .footer-links-group {
        grid-template-columns: 1fr;
    }
    
    .cta-guarantees {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* ==========================================
   18. Dynamic Interactive Animations & Reveals
   ========================================== */

/* Phone Mockup Floating Effect */
.phone-mockup {
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Feature Card Shine Hover Effect */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.06),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.75s ease-in-out;
    pointer-events: none;
}

.feature-card:hover::before {
    left: 125%;
}

/* Scroll-Driven Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed {
    opacity: 1 !important;
    transform: translate(0) !important;
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ==========================================
   19. Legal & Subpage Styles
   ========================================== */
.legal-section {
    padding: 160px 0 100px 0;
}

.legal-title {
    font-size: 48px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.legal-meta {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.legal-content-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 48px;
    border-radius: 20px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-premium);
}

.legal-content-card h2 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.legal-content-card h2:first-of-type {
    margin-top: 0;
}

.legal-content-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.legal-content-card ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 15px;
}

.legal-content-card li {
    margin-bottom: 8px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .legal-section {
        padding: 120px 0 60px 0;
    }
    
    .legal-title {
        font-size: 32px;
    }
    
    .legal-content-card {
        padding: 24px;
    }
}

/* ==========================================
   20. Contact & Business Form Styles
   ========================================== */
.contact-section {
    padding: 100px 0 120px 0;
    border-top: 1px solid var(--border-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: start;
}

.contact-info-panel h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.contact-info-panel p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-item i {
    width: 38px;
    height: 38px;
    background: rgba(37, 211, 102, 0.1);
    color: var(--color-success);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.detail-item:hover i {
    background: var(--color-success);
    color: white;
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.4);
}

.detail-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.detail-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.detail-item .detail-subtext {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.contact-form-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-premium);
}

.business-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.form-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(9, 9, 11, 0.8);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-success);
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.15);
}

.form-group select option {
    background: var(--bg-dark-secondary);
    color: var(--text-primary);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-panel {
        padding: 24px;
    }
}

/* ==========================================
   21. Multilingual Simulator styles
   ========================================== */
.simulator-lang-selector {
    margin-bottom: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(16px);
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-premium);
    box-sizing: border-box;
}

.lang-selector-label {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    font-family: var(--font-heading);
    letter-spacing: 0.03em;
}

.wa-lang-bar-outside {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.wa-lang-bar-outside::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.lang-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.lang-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.lang-pill.active {
    background: var(--color-success);
    color: #0b0f19;
    border-color: var(--color-success);
    font-weight: 700;
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.3);
}
