:root {
    --bg-dark: #07090b;
    --bg-card: rgba(20, 24, 28, 0.6);
    --primary: #00ff88;
    --primary-glow: rgba(0, 255, 136, 0.4);
    --secondary: #00d4ff;
    --text-main: #f0f4f8;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Alexandria', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

/* Premium Preloader */
.preloader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.preloader.fade-out {
    transform: translateY(-100%);
}
.loader-logo {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    color: var(--text-main);
}
.loader-logo .ai_dot {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}
.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}
.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: loadProgress 1.4s ease-out forwards;
}
@keyframes loadProgress {
    0% { width: 0%; }
    40% { width: 60%; }
    100% { width: 100%; }
}
@keyframes fadeIn {
    to { opacity: 1; }
}

/* Background Gradients */
.background-effects {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    animation: drift 20s infinite alternate;
}

.glow-1 {
    top: -10%; left: -10%;
    background: var(--primary);
}

.glow-2 {
    bottom: -10%; right: -10%;
    background: var(--secondary);
    animation-delay: -5s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 80px) scale(1.3); }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(7, 9, 11, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    padding: 10px 8%;
    background: rgba(7, 9, 11, 0.9);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 9999;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: width 0.1s ease-out;
}


.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo .ai_dot {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.5);
}

/* Hero Section */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 160px 8% 80px;
    min-height: 100vh;
}

.hero-content {
    flex: 1.2;
    min-width: 380px;
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary-glow);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 25px;
}

h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

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

.hero-content p {
    color: var(--text-muted);
    font-size: 1.3rem;
    margin-bottom: 45px;
    max-width: 550px;
}

/* CoPilot Widget (Glassmorphism) */
.copilot-widget {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(24px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    max-width: 550px;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.8s forwards 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.copilot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
    color: #fff;
}

.dot.active {
    width: 12px; height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(0, 255, 136, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.chat-area {
    margin-bottom: 20px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
    overscroll-behavior: contain;
}

.chat-area::-webkit-scrollbar {
    width: 6px;
}
.chat-area::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.message {
    background: rgba(255,255,255,0.06);
    padding: 14px 18px;
    border-radius: 14px;
    border-bottom-right-radius: 0;
    font-size: 1rem;
    display: inline-block;
    color: #e2e8f0;
    line-height: 1.5;
    margin-bottom: 15px;
}

.message.user {
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-bottom-right-radius: 14px;
    border-bottom-left-radius: 0;
    color: var(--primary);
    margin-top: 5px;
    float: left;
}

/* Clearfix for chat area */
.chat-area::after {
    content: "";
    display: table;
    clear: both;
}

.input-area {
    display: flex;
    gap: 12px;
}

.input-area input {
    flex: 1;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    outline: none;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-area input:focus {
    border-color: var(--primary);
}

.send-btn {
    background: var(--primary);
    border: none;
    color: #000;
    width: 50px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.send-btn:hover {
    transform: scale(1.08);
}

/* Prompt Suggestions */
.prompt-suggestions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.suggestion-chip {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.suggestion-chip:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 255, 136, 0.2);
}

/* Typing Indicator Animation */
.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 5px;
}

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

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
.typing-dot:nth-child(3) { animation-delay: 0s; }

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

/* Interactive Globe UI Representation */
.hero-visuals {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 450px;
    z-index: 10;
}

.globe-container {
    width: 400px;
    height: 400px;
    position: relative;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.05);
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 136, 0.05), rgba(0, 0, 0, 0.5));
    box-shadow: inset 0 0 60px rgba(0, 255, 136, 0.1), 0 0 80px rgba(0, 212, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe {
    width: 100%;
    height: 100%;
    position: relative;
    animation: rotateGlobe 30s linear infinite;
}

.route-line {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.15);
}

.x-line { transform: rotateX(65deg); }
.y-line { transform: rotateY(65deg); }

.flight-path {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
}

.pin {
    position: absolute;
    width: 14px; height: 14px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
}

.china { top: 20%; right: 15%; animation: pulse 2s infinite; }
.arab { bottom: 30%; left: 25%; animation: pulse 2s infinite 1s; }

@keyframes rotateGlobe {
    0% { transform: rotate3d(0, 1, 0, 0); }
    100% { transform: rotate3d(0, 1, 0, 360deg); }
}

/* Features Section */
.features {
    padding: 100px 8%;
    position: relative;
    z-index: 10;
}

.section-head {
    text-align: center;
    margin-bottom: 70px;
}

.section-head h2 {
    font-size: 3rem;
    margin-bottom: 18px;
    font-weight: 800;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 35px;
    border-radius: 24px;
    backdrop-filter: blur(16px);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.4);
}

.icon-wrap {
    width: 65px; height: 65px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(0,255,136,0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.icon-wrap svg {
    width: 32px; height: 32px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Oracle Section */
.oracle-section {
    padding: 80px 8%;
    position: relative;
    z-index: 10;
}

.oracle-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: 30px;
    backdrop-filter: blur(16px);
}

.oracle-text {
    flex: 1;
    min-width: 300px;
}

.oracle-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.oracle-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.oracle-benefits {
    list-style: none;
    margin-bottom: 40px;
}

.oracle-benefits li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.check {
    color: var(--primary);
    background: rgba(0,255,136,0.1);
    padding: 5px 10px;
    border-radius: 50%;
    font-weight: bold;
}

.oracle-visual {
    flex: 1.2;
    min-width: 400px;
}

.chart-mockup {
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    font-weight: 600;
}

.trend.up {
    color: #ff4757;
    background: rgba(255,71,87,0.1);
    padding: 5px 10px;
    border-radius: 10px;
}

.chart-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 200px;
    padding-bottom: 30px;
    margin-bottom: 18px;
    position: relative;
    border-bottom: 2px solid rgba(255,255,255,0.05);
}

.bar {
    width: 14%;
    background: linear-gradient(to top, rgba(0, 212, 255, 0.4), rgba(0, 212, 255, 0.8));
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: height 1s ease;
}

.bar span {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.bar.active {
    background: linear-gradient(to top, var(--primary), #00ffaa);
    box-shadow: 0 0 20px var(--primary-glow);
}

.bar.active .active-txt {
    color: var(--primary);
    font-weight: bold;
}

.bar.forecast {
    background: repeating-linear-gradient(45deg, rgba(255,71,87,0.3), rgba(255,71,87,0.3) 10px, transparent 10px, transparent 20px);
    border: 1px dashed #ff4757;
}

.tooltip {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-main);
    color: #000;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
}

/* Stats Section */
.stats-section {
    padding: 20px 8% 80px;
    z-index: 10;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-box {
    padding: 40px 20px;
    text-align: center;
    border-radius: 20px;
    border-top: 1px solid rgba(0, 255, 136, 0.4);
    background: linear-gradient(180deg, rgba(20,24,28,0.8), rgba(20,24,28,0.2));
}

.glow-text {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    margin-bottom: 10px;
}

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

/* Testimonials Section */
.testimonials-section {
    padding: 80px 8%;
    position: relative;
    z-index: 10;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.testimonial-card {
    padding: 40px 30px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: #ffa502;
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 30px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--text-main);
}

.details h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

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

/* CTA Section */
.cta-section {
    padding: 60px 8% 120px;
}

.cta-box {
    background: linear-gradient(135deg, rgba(20,24,28,0.8), rgba(0, 255, 136, 0.05));
    border: 1px solid rgba(0, 255, 136, 0.2);
    text-align: center;
    padding: 80px 40px;
    border-radius: 30px;
    backdrop-filter: blur(20px);
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.cta-form input {
    flex: 1;
    padding: 15px 25px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 1rem;
    outline: none;
}

.cta-form input:focus {
    border-color: var(--primary);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 50px 8%;
    text-align: center;
    background: var(--bg-dark);
    backdrop-filter: blur(20px);
}

.footer-content p {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 8%;
    position: relative;
    z-index: 10;
}

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

.faq-item {
    border-radius: 20px;
    background: rgba(20, 24, 28, 0.4);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: rgba(0, 255, 136, 0.5);
    background: rgba(20, 24, 28, 0.8);
    box-shadow: 0 5px 25px rgba(0, 255, 136, 0.1);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.faq-icon {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    padding: 0 30px;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 0 30px 25px;
}

.faq-answer p {
    font-size: 1.05rem;
}

/* Floating Chat Button */
.floating-chat {
    position: fixed;
    bottom: 40px;
    left: 40px; /* Arabic layout -> left side */
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.floating-chat:hover {
    transform: scale(1.1) translateY(-5px);
}

.chat-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% { transform: scale(1.5); opacity: 0; }
}

/* ROI Calculator */
.calculator-section {
    padding: 60px 8%;
    position: relative;
    z-index: 10;
}

.calculator-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 50px;
}

.calc-text {
    flex: 1;
    min-width: 300px;
}

.calc-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.calc-interactive {
    flex: 1.5;
    min-width: 350px;
    background: rgba(0,0,0,0.3);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

/* Pro Slider Redesign */
.pro-slider {
    background: rgba(20, 24, 28, 0.5);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 16px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) inset;
    transition: all 0.3s ease;
}
.pro-slider:hover {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) inset, 0 0 15px rgba(0, 255, 136, 0.1);
}

.slider-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.slider-value-pill {
    background: rgba(0, 255, 136, 0.15);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.4);
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

#shipment-slider {
    -webkit-appearance: none;
    appearance: auto; /* Fallback */
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
    margin: 5px 0 10px;
}
#shipment-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid #14181c;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#shipment-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 25px var(--primary);
}
#shipment-slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid #14181c;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: transform 0.2s ease;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.result-box {
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.result-box span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.result-box h4 {
    font-size: 1.8rem;
    margin-top: 10px;
}

.glow-box {
    border-color: rgba(0, 255, 136, 0.4);
    background: rgba(0, 255, 136, 0.05);
}

.total-saved {
    text-align: center;
    font-size: 1.2rem;
    background: rgba(0, 255, 136, 0.15);
    padding: 15px;
    border-radius: 12px;
    color: var(--text-main);
    border: 1px solid var(--primary);
}

/* Social Ticker */
.social-ticker {
    position: fixed;
    bottom: -100px; /* Hidden initially */
    right: 40px;
    background: rgba(20, 24, 28, 0.9);
    border: 1px solid var(--primary-glow);
    padding: 15px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(16px);
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-ticker.show {
    bottom: 40px;
}

.social-ticker span {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Light Theme Overrides */
body.light-theme {
    --bg-dark: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-card: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.08);
}
body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.7);
}
body.light-theme .calc-interactive {
    background: rgba(255, 255, 255, 0.5);
}
body.light-theme .glow-box {
    background: rgba(0, 255, 136, 0.15);
}
body.light-theme .chart-mockup {
    background: rgba(255,255,255,0.8);
}
body.light-theme .message {
    color: #475569;
}
body.light-theme .message.user {
    color: #008855;
}
body.light-theme .social-ticker {
    background: rgba(255, 255, 255, 0.9);
}
body.light-theme .input-area input, body.light-theme .cta-form input {
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    border-color: rgba(0, 0, 0, 0.1);
}
body.light-theme .cta-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(0, 255, 136, 0.05));
    border-color: rgba(0, 255, 136, 0.4);
}
body.light-theme footer {
    background: rgba(248, 250, 252, 0.8);
}
body.light-theme .faq-item {
    background: rgba(255, 255, 255, 0.6);
}
body.light-theme .faq-item.active {
    background: rgba(255, 255, 255, 0.9);
}
body.light-theme .globe-container {
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 136, 0.1), rgba(255, 255, 255, 0.5));
}
body.light-theme .control-btn:hover {
    background: rgba(0,0,0,0.05) !important;
}

/* RTL/LTR Adjustments */
html[dir="ltr"] .chat-area { padding-right: 0; padding-left: 10px; }
html[dir="ltr"] .message.user { float: right; border-bottom-left-radius: 14px; border-bottom-right-radius: 0; }
html[dir="ltr"] .social-ticker { right: auto; left: 40px; direction: ltr; }
html[dir="ltr"] .floating-chat { left: auto; right: 40px; }

/* Dynamic Card Glow */
.feature-card {
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    top: var(--mouse-y, -100px);
    left: var(--mouse-x, -100px);
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}
body.light-theme .feature-card::before {
    background: radial-gradient(circle, rgba(0, 255, 136, 0.3) 0%, transparent 70%);
}
.feature-card:hover::before {
    opacity: 1;
}

/* Enhancing Magnetic Button Transition */
.nav-btn {
    transition: background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease, transform 0.1s cubic-bezier(0.1, 0.7, 0.1, 1);
    will-change: transform;
}

/*==================================================
   Responsive Design & Mobile Compatibility
==================================================*/

/* Tablet Landscape & Small Laptops */
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    .hero-visuals { height: 350px; }
    .globe-container { width: 300px; height: 300px; }
    
    .oracle-container { flex-direction: column; padding: 40px; }
    .oracle-visual { width: 100%; min-width: unset; }
    
    .stats-section, .features, .testimonials-section, .faq-section, .calculator-section, .cta-section {
        padding-left: 5%; padding-right: 5%;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; margin-bottom: 15px; }
    .hero { flex-direction: column; text-align: center; padding-top: 130px; padding-bottom: 50px; }
    
    .hero-content { padding-right: 0; min-width: 100%; }
    .hero-visuals { display: none; } /* Hide complex visuals on smaller screens */
    
    .badge { margin-bottom: 15px; }
    .hero-content p { margin: 0 auto 30px; font-size: 1.1rem; }
    
    .nav-links { display: none; }
    .navbar { padding: 15px 5%; }
    .logo { font-size: 1.5rem; }
    .nav-btn { padding: 10px 20px; font-size: 0.9rem; }
    
    .copilot-widget { margin: 0 auto; max-width: 100%; box-sizing: border-box; }
    .prompt-suggestions { justify-content: center; }
    
    .section-head h2 { font-size: 2.2rem; }
    
    .calc-interactive, .calc-text, .oracle-text, .oracle-visual { min-width: 100%; box-sizing: border-box; }
    .calculator-box { padding: 30px 20px; flex-direction: column; }
    .results-grid { grid-template-columns: 1fr; }
    
    .cta-form { flex-direction: column; }
    .cta-box { padding: 40px 20px; }
    .cta-box h2 { font-size: 1.8rem; }
    
    .footer-content { text-align: center; }
    .floating-chat { bottom: 20px; left: 20px; width: 55px; height: 55px; }
}

/* Phones */
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .hero { padding-top: 140px; }
    
    .navbar { flex-wrap: nowrap; justify-content: space-between; gap: 10px; padding: 15px 5%; }
    .logo { font-size: 1.2rem; }
    .nav-btn { font-size: 0.8rem; padding: 8px 12px; }
    .nav-controls { width: auto; justify-content: flex-end; gap: 8px; }
    
    .copilot-widget { padding: 15px; }
    .chat-area { max-height: 200px; }
    .message { font-size: 0.9rem; overflow-wrap: anywhere; }
    .prompt-suggestions { flex-direction: column; }
    .suggestion-chip { white-space: normal; padding: 12px; font-size: 0.85rem; width: 100%; }
    
    .section-head h2 { font-size: 1.7rem; }
    .feature-card, .oracle-container { padding: 25px 15px; }
    
    /* FIX GRIDS CAUSING HORIZONTAL SCROLL */
    .features-grid, .testimonials-grid, .stats-grid { 
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    
    .social-ticker { right: 10px; left: 10px; padding: 12px 15px; width: auto; font-size: 0.85rem;}
    html[dir="ltr"] .social-ticker { left: 10px; right: 10px; }
    
    .glow-text { font-size: 2.2rem; }
    .oracle-text h2 { font-size: 1.8rem; }
    
    .bar span { font-size: 0.6rem; bottom: -25px; white-space: nowrap; text-align: center; }
    .tooltip { font-size: 0.7rem; padding: 4px 6px; top: -35px; white-space: nowrap !important; text-align: center; max-width: none; }
    
    /* FINAL SMART OVERFLOW KILLER */
    .badge { white-space: normal; height: auto; display: inline-block; overflow-wrap: break-word; }
    .chart-header { flex-direction: column; text-align: center; gap: 10px; }
    .input-area input, .cta-form input { min-width: 0 !important; width: 100%; }
}
