/* ==========================================================================
   Fractl - Modern Dark Glassmorphism Design System
   Tailored for South African Solar & Trade Automation
   ========================================================================== */

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #000000; 
}

::-webkit-scrollbar-thumb {
    background: #252825; 
    border-radius: 10px;
    border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
    background: #444; 
}

/* Base Design Tokens */
:root {
    --bg-color: #030303;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-hover: rgba(255, 255, 255, 0.25);
    --card-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-blur: blur(16px);
    
    --text-main: #ffffff;
    --text-muted: #8e9297;
    --text-dim: #5c6066;
    
    --accent-color: #ffffff;
    --accent-cyan: #38ef7d;
    --accent-emerald: #11998e;
    --accent-whatsapp: #25D366;
    --accent-gold: #f6d365;
    
    --font-main: 'Raleway', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    user-select: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 90% 40%, rgba(37, 211, 102, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 10% 70%, rgba(56, 239, 125, 0.02) 0%, transparent 40%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-whatsapp);
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.25);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    margin-bottom: 1.2rem;
}

.section-title {
    font-family: var(--font-main);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
    color: #fff;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    z-index: 100;
    background: transparent;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.header.scrolled {
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    height: 5rem;
}

.nav-links {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-links a {
    color: #bbb;
    position: relative;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

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

.nav-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-main);
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    line-height: 1;
}

.nav-icons {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.2rem;
}

.nav-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-whatsapp-btn i {
    color: var(--accent-whatsapp);
    font-size: 1rem;
}

.nav-whatsapp-btn:hover {
    background: var(--accent-whatsapp);
    color: #000;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.nav-whatsapp-btn:hover i {
    color: #000;
}

.nav-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-contact-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.typing-cursor {
    display: inline-block;
    width: 4px;
    background-color: #fff;
    height: 1em;
    margin-left: 6px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25vh;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 60%, #000000 100%);
    z-index: 3;
    pointer-events: none;
}

.glass-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    overflow: hidden;
}

.hero-bg-poster {
    position: absolute;
    top: -3%;
    left: -5.7%;
    width: 110%;
    height: 110%;
    object-fit: cover;
    z-index: -2;
    transform: scaleX(-1) translateZ(0);
    -webkit-transform: scaleX(-1) translateZ(0);
    filter: brightness(0.65);
    pointer-events: none;
}

.hero-bg-video {
    position: absolute;
    top: -3%;
    left: -5.7%;
    width: 110%;
    height: 110%;
    object-fit: cover;
    z-index: -1;
    transform: scaleX(-1) translateZ(0);
    -webkit-transform: scaleX(-1) translateZ(0);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    filter: brightness(0.65);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-bg-video.is-playing {
    opacity: 1;
}

/* ==========================================================================
   Hero Interactive Phone Frame (Maintains Original Placement Throughout Site)
   ========================================================================== */
.hero-phone-frame {
    position: fixed;
    right: 3%;
    bottom: 0;
    width: 320px;
    height: 490px;
    background: #0f1411;
    border: 3px solid rgba(255, 255, 255, 0.28);
    border-bottom: none;
    border-radius: 42px 42px 0 0;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.9),
        0 0 35px rgba(255, 255, 255, 0.15),
        inset 0 0 15px rgba(255, 255, 255, 0.08);
    padding: 8px 8px 0 8px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    opacity: 0;
    transform: translateY(30px);
    transition: 
        opacity 0.6s ease,
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease;
}

.hero-phone-frame.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Minimized State */
.hero-phone-frame.is-minimized {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}

/* Hero Left Text */
.hero-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 3%;
    bottom: 5%;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 1.1rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
}

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

@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.glowing-text {
    font-family: var(--font-main);
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0;
    color: #fff;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.word {
    display: inline-block;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.char.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Center CTA Block */
.hero-center-cta {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.6s ease;
    will-change: opacity;
}

.hero-center-cta.visible {
    opacity: 1;
    transform: translate(-50%, -50%) !important;
}

.center-logo-text {
    font-family: var(--font-main);
    font-size: 6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    line-height: 1;
    text-align: center;
    padding-left: 15px; 
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.95rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 40px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
}

.cta-sub-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.8rem;
    background: transparent;
    color: #bbb;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-sub-button:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Market Stat Banner (Seamless Hero Blend)
   ========================================================================== */
.market-banner {
    padding: 8rem 0 6rem 0;
    position: relative;
    background: #000000;
    margin-top: 0;
    z-index: 4;
}

.market-banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.8rem;
}

.banner-stat-card {
    text-align: center;
    padding: 2.4rem 1.8rem;
    background: #080a08;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-stat-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 30px rgba(37, 211, 102, 0.08);
}

.stat-number {
    font-family: var(--font-main);
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Services Grid (7 Services)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem 2.2rem;
    border-radius: 16px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--card-bg-hover);
    border-color: var(--card-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.03);
}

.service-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-bottom: 1.5rem;
}

.highlight-tag {
    color: var(--accent-whatsapp);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.whatsapp-accent {
    color: var(--accent-whatsapp);
}

.gold-accent {
    color: var(--accent-gold);
}

.service-card h3 {
    font-family: var(--font-main);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.3;
}

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

.service-perks {
    list-style: none;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-perks li {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.service-perks li i {
    color: var(--accent-whatsapp);
    font-size: 0.75rem;
}

.span-full-card {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
}

.span-full-card .service-icon {
    font-size: 3rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

/* ==========================================================================
   Interactive WhatsApp Simulator
   ========================================================================== */
.simulator-section {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.simulator-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: center;
}

.simulator-info h3 {
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.simulator-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.sim-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-whatsapp);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.sim-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.sim-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.sim-highlight-item i {
    font-size: 1.2rem;
    color: var(--accent-whatsapp);
    background: rgba(37, 211, 102, 0.1);
    padding: 0.8rem;
    border-radius: 12px;
    margin-top: 0.2rem;
}

.sim-highlight-item strong {
    display: block;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.sim-highlight-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Phone Mockup */
.phone-mockup {
    width: 380px;
    height: 640px;
    background: #0f1411;
    border: 4px solid #333;
    border-radius: 42px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(37, 211, 102, 0.15);
    position: relative;
    padding: 12px;
    margin: 0 auto;
}

.phone-speaker {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background: #222;
    border-radius: 5px;
    z-index: 10;
}

.phone-camera {
    position: absolute;
    top: 20px;
    left: 65%;
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 50%;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0b141a;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Simulator Mode Toggle Tabs */
.sim-mode-toggle {
    display: flex;
    background: #111b21;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.4rem;
    gap: 0.4rem;
    z-index: 5;
}

.sim-mode-btn {
    flex: 1;
    padding: 0.45rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #8696a0;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.sim-mode-btn.active {
    background: #202c33;
    color: #00a884;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.sim-mode-btn:hover:not(.active) {
    color: #e9edef;
    background: rgba(255, 255, 255, 0.03);
}

.wa-header {
    background: #202c33;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.wa-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #11998e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.wa-avatar.group-avatar {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #000;
}

.wa-contact-info {
    flex-grow: 1;
    overflow: hidden;
}

.wa-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e9edef;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wa-status {
    font-size: 0.7rem;
    color: #8696a0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.online-dot {
    width: 6px;
    height: 6px;
    background: #00a884;
    border-radius: 50%;
}

.group-tag {
    color: var(--accent-whatsapp);
    font-weight: 500;
}

.wa-more {
    color: #8696a0;
    font-size: 1rem;
}

.wa-chat-body {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background-image: radial-gradient(#1f2c34 1px, transparent 1px);
    background-size: 15px 15px;
    position: relative;
}

.wa-msg {
    max-width: 88%;
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.4;
    position: relative;
    animation: pop-in 0.3s ease-out;
}

@keyframes pop-in {
    0% { opacity: 0; transform: translateY(10px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

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

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

.wa-msg-owner {
    align-self: flex-start;
    background: #182229;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e9edef;
    border-top-left-radius: 2px;
}

.wa-sender-name {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #53bdeb;
    margin-bottom: 0.2rem;
}

.wa-msg-time {
    display: block;
    font-size: 0.65rem;
    color: #8696a0;
    text-align: right;
    margin-top: 0.2rem;
}

/* Dispatch Lead Card */
.wa-dispatch-card {
    background: rgba(0, 168, 132, 0.08);
    border: 1px solid #00a884;
    border-radius: 8px;
    padding: 0.8rem;
    margin-top: 0.3rem;
}

.dispatch-badge {
    background: #00a884;
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.dispatch-row {
    font-size: 0.78rem;
    color: #d1d7db;
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.dispatch-row strong {
    color: #fff;
}

.dispatch-val {
    color: #38ef7d;
    font-weight: 700;
    font-size: 0.85rem;
}

.dispatch-status {
    margin-top: 0.6rem;
    padding-top: 0.4rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    font-size: 0.72rem;
    color: #8696a0;
}

.dispatch-status em {
    color: #5eead4;
    font-style: normal;
    font-weight: 600;
}

/* Transition Overlay */
.wa-transition-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 20, 26, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 20;
    animation: fade-in 0.3s ease;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.transition-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 168, 132, 0.2);
    border-top-color: #00a884;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.transition-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e9edef;
    text-align: center;
    padding: 0 1.5rem;
}

.wa-options-container {
    padding: 0.6rem 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    background: #111b21;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-chip {
    background: #202c33;
    border: 1px solid #00a884;
    color: #00a884;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wa-chip:hover {
    background: #00a884;
    color: #fff;
}

.wa-chip.chip-accent {
    background: #00a884;
    color: #000;
    font-weight: 700;
}

.wa-chip.chip-accent:hover {
    background: #1eb956;
}

.wa-input-bar {
    background: #202c33;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #8696a0;
}

.wa-input-placeholder {
    flex-grow: 1;
    font-size: 0.8rem;
    color: #8696a0;
}

.wa-mic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #00a884;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* ==========================================================================
   ROI Revenue Calculator
   ========================================================================== */
.calc-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-label-row label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e0e0e0;
}

.calc-value {
    font-family: var(--font-main);
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.8rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #252825;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
    transition: transform 0.2s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.calc-results {
    display: flex;
    align-items: center;
}

.results-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.res-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.res-number {
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.res-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.highlight-cyan { color: #5eead4; }
.highlight-emerald { color: var(--accent-whatsapp); }
.highlight-gold { color: var(--accent-gold); }

.result-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.calc-footnote {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.4;
}

.calc-cta {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    background-color: #060806;
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    color: #ccc;
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
    line-height: 1.8;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-stat h4 {
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.4rem;
}

.about-stat p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   Pricing Section (ZAR)
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem 2.2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--accent-whatsapp);
    box-shadow: 0 0 40px rgba(37, 211, 102, 0.15);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-whatsapp);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.plan-header h3 {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.plan-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.price-box {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: #aaa;
}

.price-val {
    font-family: var(--font-main);
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.price-type {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 0.3rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    line-height: 1.4;
}

.pricing-features li i {
    color: var(--accent-whatsapp);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.pricing-features li.feature-disabled {
    color: #555;
}

.pricing-features li.feature-disabled i {
    color: #444;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #fff;
    color: #000;
    border: none;
}

.btn-primary:hover {
    background: #e0e0e0;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-accordion {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    width: 100%;
    padding: 1.5rem 1.8rem;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
    padding: 0 1.8rem;
}

.faq-item.active .faq-answer {
    padding: 0 1.8rem 1.5rem 1.8rem;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #bbb;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select option {
    background: #111;
    color: #fff;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.direct-wa-box {
    background: rgba(37, 211, 102, 0.06);
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.wa-box-icon {
    font-size: 3rem;
    color: var(--accent-whatsapp);
    margin-bottom: 0.5rem;
}

.direct-wa-box h4 {
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 700;
}

.direct-wa-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.btn-whatsapp-direct {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    background: var(--accent-whatsapp);
    color: #000;
    font-weight: 700;
    border-radius: 30px;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.btn-whatsapp-direct:hover {
    background: #1eb956;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.5);
    color: #000;
}

/* ==========================================================================
   Floating Interactable Phone Widget (Mock WhatsApp App)
   ========================================================================== */
.floating-phone-container {
    position: fixed;
    bottom: 24px;
    right: 28px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

/* Floating Toggle Bubble (when minimized) */
.floating-phone-bubble {
    position: fixed;
    right: 3%;
    bottom: 1.5rem;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-whatsapp);
    color: #000;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    cursor: pointer;
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.45), 0 0 20px rgba(37, 211, 102, 0.3);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    opacity: 0;
    transform: scale(0.6);
}

.floating-phone-bubble.visible {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.floating-phone-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 45px rgba(37, 211, 102, 0.7);
}

.bubble-unread-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ff3b30;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    animation: bounce-badge 2s infinite;
}

@keyframes bounce-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.bubble-tooltip {
    position: absolute;
    right: 74px;
    background: rgba(11, 20, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0.45rem 0.95rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.floating-phone-bubble:hover .bubble-tooltip {
    opacity: 1;
}

/* ==========================================================================
   Hero Interactive Phone Frame (Samsung Galaxy One UI Style)
   ========================================================================== */
.hero-phone-frame {
    position: fixed;
    right: 3%;
    bottom: 0;
    width: 325px;
    height: 560px;
    background: rgba(20, 20, 20, 0.18);
    backdrop-filter: blur(14px) saturate(190%);
    -webkit-backdrop-filter: blur(14px) saturate(190%);
    border: 2.5px solid rgba(255, 255, 255, 0.28);
    border-bottom: none;
    border-radius: 36px 36px 0 0;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.9),
        0 0 35px rgba(255, 255, 255, 0.12),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none; /* User cannot interact; automated animated showcase */
    user-select: none;
    transition: 
        opacity 0.6s ease,
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease;
}

.hero-phone-frame.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Samsung Infinity-O Punch Hole Camera */
.samsung-camera-hole {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #03080c;
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 50;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

/* Screen View 1: Hero Feature Animation Showcase (See-Through Frosted Glass) */
.phone-screen-features {
    position: absolute;
    inset: 0;
    bottom: 0; /* Full height immersive mode in hero */
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2.2rem 1.4rem 1rem 1.4rem;
    opacity: 1;
    transform: scale(1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.hero-card-content {
    width: 100%;
    transition: opacity 0.5s ease;
}

.hero-card-content.fade-out {
    opacity: 0;
}

.card-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
    line-height: 1.4;
}

.card-title {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.card-image-container {
    width: 100%;
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.2rem;
}

.placeholder-icon {
    font-size: 4.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    animation: float-pulse 4s ease-in-out infinite;
    will-change: transform;
}

@keyframes float-pulse {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}

.card-footer {
    font-size: 0.8rem;
    color: #ddd;
    line-height: 1.5;
    height: 3.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-meta {
    margin-top: 0.3rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Screen View 2: Phone OS Home Screen (Samsung One UI) */
.phone-screen-os {
    position: absolute;
    inset: 0;
    bottom: 42px; /* Space for Android Navigation Bar */
    background: linear-gradient(160deg, #091014 0%, #0d1921 50%, #050a0d 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.2rem 1.3rem 0.8rem 1.3rem;
    opacity: 0;
    transform: scale(0.92);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 15;
}

.os-header-widget {
    text-align: center;
    margin-bottom: 1.2rem;
}

.os-clock {
    font-family: var(--font-main);
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}

.os-date {
    font-size: 0.76rem;
    color: #8696a0;
    margin-top: 0.3rem;
}

.os-app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem 0.6rem;
    text-align: center;
}

.os-app-item {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.os-app-item.simulated-pressed {
    transform: scale(0.88);
}

.os-app-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #fff;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.wa-app-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.fb-app-icon {
    background: linear-gradient(135deg, #00B2FF, #006AFF);
}

.solar-app-icon {
    background: linear-gradient(135deg, #FFA000, #FF6F00);
}

.reviews-app-icon {
    background: linear-gradient(135deg, #4285F4, #34A853);
}

.crm-app-icon {
    background: linear-gradient(135deg, #8E24AA, #5E35B1);
}

.grid-app-icon {
    background: linear-gradient(135deg, #E53935, #D81B60);
}

.os-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff3b30;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #091014;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce-badge 2s infinite;
}

.os-app-label {
    font-size: 0.68rem;
    color: #ddd;
    font-weight: 500;
}

.os-dock {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0.5rem 0.8rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: auto;
    margin-bottom: 0.6rem;
}

.os-dock-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
}

.os-dock-icon.dock-wa {
    background: #25D366;
    color: #000;
}

/* Screen View 3: Mock WhatsApp Application */
.mock-whatsapp-app {
    position: absolute;
    inset: 0;
    bottom: 42px; /* Space for Android Navigation Bar */
    background: #0b141a;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.92);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
}

/* Screen View 4: Mock Facebook Messenger App */
.mock-fb-app {
    position: absolute;
    inset: 0;
    bottom: 42px; /* Space for Android Navigation Bar */
    background: #000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.92);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
}

.mock-fb-header {
    background: #18191a;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-fb-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00B2FF, #006AFF);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.mock-fb-chat {
    flex-grow: 1;
    padding: 0.8rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: #121212;
}

.fb-bot-msg {
    background: #242526;
    border-left: 3px solid #0084ff;
}

/* ==========================================================================
   Samsung Android 3-Button Navigation Bar (One UI - Auto-Hidden by default)
   ========================================================================== */
.samsung-nav-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 42px;
    background: rgba(8, 12, 16, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 45;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 1.5rem;
    transform: translateY(100%); /* Hidden below the bottom edge initially */
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

/* Nav Bar slides up like on real Android when user scrolls */
.hero-phone-frame.show-nav-bar .samsung-nav-bar,
.hero-phone-frame.show-os .samsung-nav-bar,
.hero-phone-frame.show-whatsapp .samsung-nav-bar,
.hero-phone-frame.show-fb .samsung-nav-bar {
    transform: translateY(0);
    opacity: 1;
}

.samsung-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 32px;
    color: rgba(255, 255, 255, 0.75);
    transition: transform 0.2s ease, color 0.2s ease;
}

.samsung-nav-btn.simulated-pressed {
    transform: scale(0.82);
    color: var(--accent-whatsapp);
}

.samsung-home-icon {
    width: 14px;
    height: 14px;
    border: 2.2px solid currentColor;
    border-radius: 4.5px;
}

/* ==========================================================================
   Simulated Finger Tap Ripple Engine
   ========================================================================== */
.simulated-tap-ripple {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(37, 211, 102, 0.5) 45%, rgba(255, 255, 255, 0) 75%);
    border: 2.5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 18px rgba(255, 255, 255, 0.95), 
        0 0 35px rgba(37, 211, 102, 0.7);
    pointer-events: none;
    z-index: 100;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.35s ease;
}

.simulated-tap-ripple.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* ==========================================================================
   View State Switchers
   ========================================================================== */
.hero-phone-frame.show-os .phone-screen-features {
    opacity: 0;
    transform: scale(0.8) translateY(-30px);
}

.hero-phone-frame.show-os .phone-screen-os {
    opacity: 1;
    transform: scale(1);
}

.hero-phone-frame.show-whatsapp .phone-screen-features {
    opacity: 0;
    transform: scale(0.8) translateY(-30px);
}

.hero-phone-frame.show-whatsapp .phone-screen-os {
    opacity: 0;
    transform: scale(0.95);
}

.hero-phone-frame.show-whatsapp .mock-whatsapp-app {
    opacity: 1;
    transform: scale(1);
}

.hero-phone-frame.show-fb .phone-screen-features {
    opacity: 0;
    transform: scale(0.8) translateY(-30px);
}

.hero-phone-frame.show-fb .phone-screen-os {
    opacity: 0;
    transform: scale(0.95);
}

.hero-phone-frame.show-fb .mock-fb-app {
    opacity: 1;
    transform: scale(1);
}

/* App Header */
.mock-wa-header {
    background: #202c33;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-wa-profile {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    overflow: hidden;
}

.mock-wa-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    position: relative;
    flex-shrink: 0;
}

.mock-online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00a884;
    border: 1.5px solid #202c33;
}

.mock-wa-info {
    overflow: hidden;
}

.mock-wa-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #e9edef;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.verified-badge {
    color: #00a884;
    font-size: 0.72rem;
}

.mock-wa-status {
    font-size: 0.65rem;
    color: #00a884;
}

.mock-wa-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mock-action-btn {
    background: transparent;
    border: none;
    color: #8696a0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mock-action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #e9edef;
}

/* Missed Call Drop-down Notification Banner */
.phone-notification-banner {
    position: absolute;
    top: 22px;
    left: 10px;
    right: 10px;
    background: rgba(18, 28, 34, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 59, 48, 0.45);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75), 0 0 15px rgba(255, 59, 48, 0.2);
    border-radius: 16px;
    padding: 0.5rem 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    z-index: 60;
    transform: translateY(-140%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.35s ease;
}

.phone-notification-banner.active {
    transform: translateY(0);
    opacity: 1;
}

.notif-icon-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ff3b30;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    animation: bounce-badge 1.8s infinite;
}

.notif-text {
    flex-grow: 1;
    overflow: hidden;
}

.notif-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.notif-sub {
    font-size: 0.6rem;
    color: #8696a0;
    white-space: nowrap;
}

.notif-tag {
    font-size: 0.56rem;
    font-weight: 800;
    background: rgba(0, 168, 132, 0.2);
    border: 1px solid #00a884;
    color: #00a884;
    padding: 0.2rem 0.35rem;
    border-radius: 6px;
    white-space: nowrap;
}

.mock-wa-tag-pill {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #8696a0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

/* Group Alert Card in Chat */
.lead-dossier-card {
    background: #182229;
    border: 1px solid rgba(255, 179, 0, 0.4);
    border-left: 4px solid #ffb300;
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
    font-size: 0.72rem;
    line-height: 1.4;
    color: #e9edef;
    margin-top: 0.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.lead-dossier-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    color: #ffb300;
    font-size: 0.72rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.25rem;
}

.lead-dossier-row {
    margin-bottom: 0.2rem;
}

/* Chat Stream */
.mock-wa-chat {
    flex-grow: 1;
    padding: 0.8rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background-image: radial-gradient(#1f2c34 1px, transparent 1px);
    background-size: 14px 14px;
}

.wa-encryption-notice {
    background: rgba(32, 44, 51, 0.8);
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    font-size: 0.62rem;
    color: #ffd279;
    text-align: center;
    margin-bottom: 0.3rem;
}

.mock-msg {
    max-width: 86%;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-size: 0.78rem;
    line-height: 1.35;
    position: relative;
    animation: pop-in 0.25s ease-out;
}

.mock-msg-bot {
    align-self: flex-start;
    background: #202c33;
    color: #e9edef;
    border-top-left-radius: 2px;
}

.mock-msg-user {
    align-self: flex-end;
    background: #005c4b;
    color: #e9edef;
    border-top-right-radius: 2px;
}

.mock-msg-time {
    display: block;
    font-size: 0.6rem;
    color: #8696a0;
    text-align: right;
    margin-top: 0.15rem;
}

.mock-typing-indicator {
    align-self: flex-start;
    background: #202c33;
    color: #8696a0;
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.typing-dot {
    width: 5px;
    height: 5px;
    background: #8696a0;
    border-radius: 50%;
    animation: typing 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

/* Quick Replies */
.mock-wa-quick-replies {
    padding: 0.4rem 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    background: #111b21;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-quick-chip {
    background: #202c33;
    border: 1px solid #00a884;
    color: #00a884;
    padding: 0.3rem 0.6rem;
    border-radius: 14px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mock-quick-chip:hover {
    background: #00a884;
    color: #000;
    font-weight: 700;
}

/* Input Form */
.mock-wa-input-form {
    background: #202c33;
    padding: 0.45rem 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mock-icon-btn {
    background: transparent;
    border: none;
    color: #8696a0;
    font-size: 0.9rem;
    cursor: pointer;
}

.mock-wa-input-form input {
    flex-grow: 1;
    background: #2a3942;
    border: none;
    border-radius: 18px;
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
    color: #e9edef;
    outline: none;
}

.mock-wa-input-form input::placeholder {
    color: #8696a0;
}

.mock-send-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #00a884;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.mock-send-btn:hover {
    transform: scale(1.1);
    background: #1eb956;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 4rem 0 2rem 0;
    background: #000;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-logo {
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.4rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 500px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.95rem;
    color: #bbb;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    width: 100%;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
    .simulator-layout {
        grid-template-columns: 1fr;
    }
    .phone-mockup {
        margin-top: 2rem;
    }
    .calc-card {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem 1.8rem;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .glowing-text {
        font-size: 4rem;
    }
    .hero-card {
        display: none;
    }
    .header {
        padding: 1.5rem 2rem;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    .span-full-card {
        flex-direction: column;
        text-align: left;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .glowing-text {
        font-size: 3rem;
    }
    .center-logo-text {
        font-size: 4rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .cta-button, .cta-sub-button {
        width: 100%;
    }
}
