html {
    scroll-behavior: smooth;
}

:root,
html,
html.dark,
html[data-theme="dark"] {
    --primary: #ff5722;
    --primary-dark: #e04818;
    --secondary: #ff7841;
    --accent: #ffb03a;
    --accent-glow: rgba(255, 176, 58, 0.35);
    --primary-glow: rgba(255, 87, 34, 0.3);
    --text-dark: #f8fafc;
    --text-light: #94a3b8;
    --bg-light: #080c14;
    --white: #0f172a;
    --card-bg: rgba(18, 26, 43, 0.75);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-border-glow: rgba(255, 87, 34, 0.25);
    --header-bg: rgba(11, 16, 26, 0.75);
    --header-scrolled-bg: rgba(11, 16, 26, 0.92);
    --header-border: rgba(255, 255, 255, 0.12);
    --chat-bg: #0b1120;
    --chat-bot-msg: #172136;
    --chat-input-bg: #111a2e;
    --chat-input-border: #1e293b;
    --radius: 16px;
    --shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 10px 20px -10px rgba(255, 87, 34, 0.15);
    --theme-toggle-bg: rgba(255, 255, 255, 0.08);
    --theme-toggle-color: #ffb03a;
    --glass-blur: blur(16px);
}

html.light,
html[data-theme="light"] {
    --text-dark: #0f172a;
    --text-light: #475569;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.92);
    --card-border: rgba(0, 0, 0, 0.08);
    --card-border-glow: rgba(255, 87, 34, 0.3);
    --header-bg: rgba(255, 255, 255, 0.85);
    --header-scrolled-bg: rgba(255, 255, 255, 0.95);
    --header-border: rgba(0, 0, 0, 0.08);
    --chat-bg: #f1f5f9;
    --chat-bot-msg: #fff1ec;
    --chat-input-bg: #ffffff;
    --chat-input-border: #cbd5e1;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    --theme-toggle-bg: rgba(0, 0, 0, 0.05);
    --theme-toggle-color: #1e293b;
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--theme-toggle-bg);
    color: var(--theme-toggle-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* Ensure Theme Toggle icons never overlap */
.theme-toggle-btn .dark-icon,
.theme-toggle-btn .light-icon {
    line-height: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

html.dark .theme-toggle-btn .dark-icon,
html:not(.light) .theme-toggle-btn .dark-icon {
    display: none !important;
}

html.dark .theme-toggle-btn .light-icon,
html:not(.light) .theme-toggle-btn .light-icon {
    display: inline-block !important;
}

html.light .theme-toggle-btn .dark-icon {
    display: inline-block !important;
}

html.light .theme-toggle-btn .light-icon {
    display: none !important;
}

.theme-toggle-btn:hover {
    transform: scale(1.08);
    background: rgba(255, 87, 34, 0.15);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.2);
}

.centered-header {
    max-width: 700px;
    margin: 0 auto 3rem !important;
}

.no-margin-top {
    margin-top: 0 !important;
}

/* Global Utilities */
.text-center {
    text-align: center !important;
}

.highlight-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Premium Sub Heading Badge Styles */
.sub-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.25rem;
    background: rgba(217, 88, 41, 0.07);
    color: var(--primary);
    border: 1px solid rgba(217, 88, 41, 0.15);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(217, 88, 41, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sub-heading:hover {
    background: rgba(217, 88, 41, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 88, 41, 0.08);
}

.sub-heading i {
    font-size: 0.95rem;
}

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

body {
    font-family: 'Instrument Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    line-height: 1.5;
}

section {
    scroll-margin-top: 110px;
}

/* Overlay for Mobile Menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Header Wrapper for Floating Capsule */
.header-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 5% 0.5rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.header-wrapper.scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.25rem;
}

.header-wrapper.scrolled .header {
    background: var(--header-scrolled-bg);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.2),
        0 4px 12px -5px rgba(217, 88, 41, 0.15);
    border-color: rgba(217, 88, 41, 0.15);
}

/* Header */
.header {
    pointer-events: auto;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2.2rem;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    border: 1px solid var(--header-border);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.1),
        0 4px 12px -5px rgba(217, 88, 41, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
    /* Keeps logo above overlay */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1001;
    /* Keeps toggle above overlay */
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Micro-interaction: Animated underline dot */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 4px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a:hover::after {
    transform: translateX(-50%) scale(1);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-auth {
    display: none;
}

/* Header specific Auth Buttons */
.btn-text-header {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.25rem;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.btn-text-header:hover {
    color: var(--primary);
}

.btn-primary-header {
    background: var(--primary);
    color: var(--white);
    border-radius: 100px;
    padding: 0.65rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--primary);
    box-shadow: 0 4px 12px rgba(217, 88, 41, 0.15);
    display: inline-block;
    text-align: center;
}

.btn-primary-header:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(217, 88, 41, 0.25);
    transform: translateY(-1.5px);
}

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

.btn {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
    text-align: center;
}

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

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

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 6px rgba(217, 88, 41, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(217, 88, 41, 0.3);
}

.menu-toggle {
    display: none;
    font-size: 1.25rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.02);
    display: none;
    /* starts hidden, display flex in media query */
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    color: var(--primary);
    background: rgba(217, 88, 41, 0.08);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 5rem 5%;
    min-height: calc(100vh - 80px);
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 87, 34, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 10% 80%, rgba(255, 176, 58, 0.1) 0%, transparent 45%),
        var(--bg-light);
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem;
    background: rgba(255, 87, 34, 0.08);
    border: 1px solid rgba(255, 87, 34, 0.25);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.1);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px var(--primary);
}

.badge-pulse::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pulseGlow 1.8s infinite ease-out;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.btn-glow {
    position: relative;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.35);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.btn-glow:hover {
    box-shadow: 0 12px 35px rgba(255, 87, 34, 0.5);
    transform: translateY(-2px) scale(1.02);
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, #ff8f50 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.25rem;
    flex-wrap: wrap;
}

.hero-trust-badges .badge-item {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.hero-trust-badges .badge-item:hover {
    border-color: var(--card-border-glow);
    transform: translateY(-1px);
}

.hero-trust-badges .badge-item i {
    color: var(--primary);
    font-size: 0.95rem;
}

/* Chatbot Container */
.chatbot-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.chatbot-container {
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 520px;
    border: 1px solid var(--card-border);
    position: relative;
    z-index: 10;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1.25rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bot-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
}

.chat-header-info h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-header-info p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-header-info p::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
}

.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--chat-bg);
}

/* Scrollbar styling */
.chat-body::-webkit-scrollbar {
    width: 6px;
}

.chat-body::-webkit-scrollbar-track {
    background: var(--chat-bg);
}

.chat-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.chat-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.chat-message {
    max-width: 85%;
    padding: 1rem;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: fadeIn 0.4s ease forwards;
    opacity: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.bot-message {
    background: var(--chat-bot-msg);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.user-message {
    background: var(--primary);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.service-pill {
    background: var(--card-bg);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.service-pill:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-1px);
}

.chat-input-area {
    padding: 1rem;
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--chat-input-border);
    background: var(--chat-input-bg);
    color: var(--text-dark);
    border-radius: 24px;
    outline: none;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.chat-input:focus {
    border-color: var(--primary);
    background: var(--white);
}

.chat-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.chat-submit:hover {
    background: var(--primary-dark);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 10px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #d95829;
    /* uses primary color for typing indicating */
    border-radius: 50%;
    animation: typing 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;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Floating elements behind chatbot */
.blob {
    position: absolute;
    filter: blur(40px);
    z-index: 1;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.blob-1 {
    width: 250px;
    height: 250px;
    background: #ffb89e;
    /* orange tint blob */
    border-radius: 50%;
    top: -40px;
    right: -40px;
}

.blob-2 {
    width: 200px;
    height: 200px;
    background: #ffdbcc;
    border-radius: 50%;
    bottom: -30px;
    left: -30px;
    animation-delay: -3s;
}

@keyframes float {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }

    100% {
        transform: translateY(0px) scale(1);
    }
}

/* Responsive Styles */
@media (min-width: 769px) and (max-width: 1080px) {
    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        font-size: 0.88rem;
    }

    .header {
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 5%;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .desktop-auth {
        display: none;
    }

    .mobile-auth {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid #eee;
        gap: 0.75rem;
    }

    .mobile-auth .btn-text-header {
        width: 100%;
        text-align: center;
        padding: 0.6rem 0;
    }

    .mobile-auth .btn-primary-header {
        width: 100%;
        text-align: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.08);
        border-top-left-radius: 24px;
        border-bottom-left-radius: 24px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 995;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.05rem;
        width: 100%;
        padding: 0.75rem 0;
        font-weight: 500;
        border-bottom: 1px solid #f7f7f7;
    }

    .nav-links a::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .chatbot-container {
        height: 480px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 5%;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* Services Section */
.services-section {
    padding: 6rem 5%;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.services-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.services-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Tabs Navigation */
.services-tabs-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 2.5rem;
}

.services-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 0.5rem;
}

.service-tab {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.4rem;
    border-radius: 100px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.service-tab i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.service-tab:hover {
    color: var(--primary);
    border-color: rgba(217, 88, 41, 0.15);
    background: rgba(217, 88, 41, 0.02);
}

.service-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 8px 20px -6px rgba(217, 88, 41, 0.3);
}

.service-tab.active i {
    transform: scale(1.1);
}

.services-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0 1rem 0;
}

.services-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.service-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 1rem;
    opacity: 0.4;
    transition: opacity 0.6s ease;
}

.service-slide.active {
    opacity: 1;
}

.service-info {
    flex: 1;
    padding: 2rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(217, 88, 41, 0.1);
}

.service-info h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
}

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

.service-image {
    flex: 1;
    position: relative;
    border-radius: 24px;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.service-slide.active .service-image img {
    transform: translateY(-10px);
}

.image-backdrop {
    position: absolute;
    top: 0;
    right: 5%;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background: var(--bg-light);
    border-radius: 30px;
    z-index: 1;
    transform: rotate(3deg);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .service-slide {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
    }

    .service-info {
        padding: 0;
    }

    .service-icon {
        margin: 0 auto 1.5rem;
    }

    .service-features li {
        justify-content: center;
    }

    .image-backdrop {
        width: 100%;
        height: 80%;
        top: 20%;
        right: 0;
        left: 0;
        margin: auto;
    }
}

/* About Us Section */
.about-section {
    padding: 8rem 5%;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* Decorative Background Blobs */
.about-blob {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.45;
    pointer-events: none;
}

.about-blob.blob-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(219, 88, 41, 0.12) 0%, transparent 70%);
    top: 5%;
    left: -100px;
}

.about-blob.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 176, 58, 0.1) 0%, transparent 70%);
    bottom: 5%;
    right: -100px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-header {
    margin-bottom: 4rem;
}

.about-header h2 {
    font-size: 2.75rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.about-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--primary);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

/* About Content Grid */
.about-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-text .lead-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.about-highlight-box {
    position: relative;
    background: var(--white);
    border-left: 4px solid var(--primary);
    padding: 1.75rem 2rem;
    border-radius: 0 16px 16px 0;
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
}

.highlight-quote {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 3rem;
    color: rgba(219, 88, 41, 0.05);
    pointer-events: none;
}

.about-highlight-box p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* Mission & Vision Cards */
.mission-vision-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mv-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.25rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(219, 88, 41, 0.1);
    background: var(--card-bg);
    border-color: rgba(219, 88, 41, 0.3);
}

.mv-card:hover::before {
    width: 6px;
}

.mv-icon {
    width: 55px;
    height: 55px;
    background: rgba(219, 88, 41, 0.06);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.mv-card:hover .mv-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(10deg);
}

.mv-info h3 {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.mv-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.98rem;
}

/* Core Values / Why Choose Us Grid */
.centered-header {
    margin-bottom: 4.5rem;
}

.centered-header h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0.5rem 0 1rem;
    letter-spacing: -0.5px;
}

.centered-header p.section-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Bottom Wrapper */
.about-bottom-wrapper {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5rem;
    align-items: stretch;
}

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

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    padding: 1.75rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateX(8px);
    border-color: rgba(219, 88, 41, 0.3);
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(219, 88, 41, 0.1);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(219, 88, 41, 0.06);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.feature-details h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.feature-details p {
    font-size: 0.98rem;
    color: var(--text-light);
    line-height: 1.55;
    margin: 0;
}

/* Impact Achievements Section */
.achievements-section-side {
    display: flex;
}

.achievements-card-inner {
    background: linear-gradient(135deg, #db5829 0%, #a83a14 100%);
    border-radius: 32px;
    padding: 3.5rem 3rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(219, 88, 41, 0.25);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Background glowing overlay circle */
.achievements-glow-circle {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    pointer-events: none;
    z-index: 0;
}

.achievements-content-box {
    position: relative;
    z-index: 1;
}

.achievements-card-inner h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.achievements-card-inner .highlight-text {
    color: #ffd8c7;
    position: relative;
}

.achievements-desc {
    font-size: 1.1rem;
    opacity: 0.88;
    margin-bottom: 3.5rem;
    line-height: 1.6;
}

.achievements-grid-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
}

.stat-tile-side {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.3s ease;
}

.stat-tile-side:hover {
    transform: translateY(-3px);
}

.stat-icon-side {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffd8c7;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.stat-tile-side:hover .stat-icon-side {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-text h4 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 0.15rem;
    letter-spacing: -0.5px;
}

.stat-text span {
    font-size: 0.9rem;
    opacity: 0.82;
    font-weight: 500;
}

/* Responsive Updates */
@media (max-width: 992px) {

    .about-content,
    .about-bottom-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .achievements-grid-side {
        grid-template-columns: 1fr;
    }
}

/* Partners & Developers Section */
.partners-section {
    padding: 8rem 5%;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.partners-header {
    margin-bottom: 5rem;
}

.partners-header h2 {
    font-size: 2.75rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.partners-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--primary);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.partners-content-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5rem;
    align-items: center;
}

/* API Playground Code Block Window */
.api-playground-box {
    background: #0f172a;
    /* Dark Slate */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.playground-header {
    background: #1e293b;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.window-controls .control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.window-controls .control.close {
    background: #ef4444;
}

.window-controls .control.minimize {
    background: #eab308;
}

.window-controls .control.expand {
    background: #22c55e;
}

.playground-tabs {
    display: flex;
    gap: 0.5rem;
}

.playground-tab {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.playground-tab:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.playground-tab.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.playground-code-area {
    padding: 2rem;
    min-height: 220px;
    position: relative;
}

.code-block {
    display: none;
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e2e8f0;
    overflow-x: auto;
}

.code-block.active {
    display: block;
}

.code-keyword {
    color: #f43f5e;
    font-weight: bold;
}

.code-string {
    color: #10b981;
}

.code-property {
    color: #38bdf8;
}

.playground-footer {
    background: #1e293b;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.response-status {
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-copy-code {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s ease;
}

.btn-copy-code:hover {
    color: var(--white);
}

/* Right Side: B2B Perks */
.business-value-box {
    display: flex;
    flex-direction: column;
}

.value-badge {
    align-self: flex-start;
    padding: 0.5rem 1rem;
    background: rgba(219, 88, 41, 0.06);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.business-value-box h3 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.value-lead {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.value-benefits {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(219, 88, 41, 0.06);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.benefit-text h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.benefit-text p {
    font-size: 0.98rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.value-actions {
    display: flex;
    gap: 1rem;
}

/* Support Section */
.support-section {
    padding: 8rem 5%;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* Background decorative blur blobs */
.support-blob {
    position: absolute;
    filter: blur(85px);
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
}

.support-blob.blob-1 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(219, 88, 41, 0.08) 0%, transparent 70%);
    top: 10%;
    right: -120px;
}

.support-blob.blob-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 176, 58, 0.07) 0%, transparent 70%);
    bottom: 5%;
    left: -100px;
}

.support-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.support-header {
    margin-bottom: 4.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.support-header h3 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin: 0.5rem 0 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.support-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.6;
}

.support-content-wrapper {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 4rem;
    background: var(--white);
    border-radius: 32px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    border: 1px solid rgba(241, 245, 249, 0.8);
    align-items: stretch;
}

/* Support Info Card */
.support-info-card {
    background: linear-gradient(135deg, #db5829 0%, #a83a14 100%);
    padding: 4rem 3.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.support-info-bg-blob {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    border-radius: 50%;
    bottom: -80px;
    right: -80px;
    z-index: 0;
}

.support-info-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.support-info-desc {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3.5rem;
    font-size: 1.05rem;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

.support-contact-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text span {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.contact-text a,
.contact-text address {
    color: var(--white);
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    font-style: normal;
    line-height: 1.4;
}

.social-links-support {
    display: flex;
    gap: 1rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.social-links-support a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links-support a:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Support Form */
.support-form-wrapper {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.support-form-wrapper h3 {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary);
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 2px solid var(--card-border);
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--chat-input-bg);
    transition: all 0.3s ease;
}

html.dark .form-control,
html:not(.light) .form-control,
html.dark input.form-control,
html.dark textarea.form-control,
html:not(.light) input.form-control,
html:not(.light) textarea.form-control {
    background-color: var(--chat-input-bg) !important;
    border-color: var(--card-border) !important;
    color: var(--text-dark) !important;
}

.form-control:focus {
    border-color: var(--primary);
    background: var(--chat-input-bg);
    outline: none;
    box-shadow: 0 0 0 4px rgba(219, 88, 41, 0.12);
}

.form-control::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

html.dark .form-control::placeholder,
html:not(.light) .form-control::placeholder,
html.dark input.form-control::placeholder,
html.dark textarea.form-control::placeholder {
    color: var(--text-light) !important;
    opacity: 0.75 !important;
}

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

.support-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2.25rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    align-self: flex-start;
}

/* Alert Boxes */
.alert-box {
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 0.98rem;
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive Support */
@media (max-width: 992px) {
    .support-content-wrapper {
        grid-template-columns: 1fr;
    }

    .support-form-wrapper {
        padding: 3.5rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .support-info-card {
        padding: 3rem 2.25rem;
    }

    .support-form-wrapper {
        padding: 2.5rem 2rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 8rem 5%;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials-blob {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
}

.testimonials-blob.blob-1 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(219, 88, 41, 0.06) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonials-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
}

.testimonials-track-container {
    overflow: hidden;
    width: 100%;
    padding: 2.5rem 0;
    /* space for shadows and hover animation */
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.34rem);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(219, 88, 41, 0.1);
    border-color: rgba(219, 88, 41, 0.3);
    background: var(--card-bg);
}

.testi-quote-icon {
    font-size: 2.75rem;
    color: var(--primary);
    opacity: 0.08;
    margin-bottom: 1.25rem;
    line-height: 1;
}

.testi-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.75;
    margin-bottom: 2.25rem;
    font-style: italic;
    flex-grow: 1;
    font-weight: 500;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.75rem;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff0eb;
    /* Soft primary theme background */
    flex-shrink: 0;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.testi-avatar i {
    font-size: 1.5rem;
    color: var(--primary);
    /* Primary orange color matching the brand theme */
}

.testi-info h4 {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 800;
}

.testi-info span {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.testi-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-nav-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(219, 88, 41, 0.15);
}

.testi-dots-container {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 3rem;
}

/* Responsive Testimonials */
@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
        /* Show 2 on tablet */
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .testimonials-slider-wrapper {
        gap: 1rem;
    }

    .testimonial-nav-btn {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 100%;
        /* Show 1 on mobile */
        padding: 2.25rem 1.75rem;
    }
}

/* Footer Section */
.footer-section {
    background-color: #0f141e;
    /* Dark navy black similar to screenshot */
    color: #cbd5e1;
    padding: 5rem 5% 2rem;
    font-family: inherit;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Col 1 */
.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-brand-name {
    color: var(--primary);
    /* Orange */
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.88rem;
    color: #e2e8f0;
    font-weight: 600;
    font-style: italic;
    opacity: 0.95;
    margin-bottom: 1rem;
    letter-spacing: 0.25px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.footer-socials {
    display: flex;
    gap: 0.8rem;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #1e293b;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-socials a:hover {
    background-color: var(--primary);
    color: #fff;
}

/* Col Headings */
.footer-heading {
    margin-bottom: 1.5rem;
}

.footer-heading h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

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

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links li {
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    opacity: 0.85;
}

.footer-links a:hover {
    color: var(--primary);
    opacity: 1;
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.85;
}

.footer-contact-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.footer-contact-list li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-list li a:hover {
    color: var(--primary);
}

/* Footer Bottom border */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* --- Comprehensive Mobile Responsiveness Fixes --- */

/* 1. Global Scaling for Mobile */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 2rem;
        text-align: center;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .chatbot-wrapper {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 1024px) {

    /* Navigation Menu */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 280px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.06);
        border-top-left-radius: 24px;
        border-bottom-left-radius: 24px;
        border-left: 1px solid rgba(217, 88, 41, 0.08);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 995;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 1.5rem;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .desktop-auth {
        display: none !important;
    }

    .mobile-auth {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .mobile-auth .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
        /* Shrink all rem sizes slightly */
    }

    /* Padding Adjustments */
    .hero,
    .about-section,
    .services-section,
    .support-section,
    .testimonials-section,
    .footer-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .chatbot-container {
        height: 480px;
    }

    /* Section Titles */
    .section-title h2,
    .section-title h3,
    .about-header h2,
    .services-header h2 {
        font-size: 2rem;
    }

    /* Services Section responsiveness */
    .services-header p {
        font-size: 1rem;
    }

    .services-tabs-wrapper {
        margin-bottom: 1.5rem;
    }

    .services-tabs-wrapper::before,
    .services-tabs-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40px;
        z-index: 2;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .services-tabs-wrapper::before {
        left: 0;
        background: linear-gradient(to right, var(--white), transparent);
        opacity: 0;
    }

    .services-tabs-wrapper::after {
        right: 0;
        background: linear-gradient(to left, var(--white), transparent);
        opacity: 0;
    }

    .services-tabs-wrapper.can-scroll-left::before {
        opacity: 1;
    }

    .services-tabs-wrapper.can-scroll-right::after {
        opacity: 1;
    }

    .services-tabs-wrapper::before,
    .services-tabs-wrapper::after {
        display: none !important;
    }

    .services-tabs {
        justify-content: center !important;
        flex-wrap: wrap;
        padding: 0.5rem !important;
        gap: 0.6rem;
    }

    .service-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .services-slider {
        padding: 1rem 0;
    }

    .service-slide {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .service-info {
        padding: 0;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        margin: 0 auto 1rem;
    }

    .service-info h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .service-info p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .service-features {
        max-width: 320px;
        margin: 0 auto;
        gap: 0.75rem;
    }

    .service-features li {
        justify-content: flex-start;
        text-align: left;
        font-size: 0.95rem;
    }

    .service-image {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        padding: 0.5rem;
    }

    .service-image img {
        max-width: 100%;
    }

    .image-backdrop {
        width: 90%;
        height: 85%;
        top: 10%;
        border-radius: 20px;
    }

    /* About Us Columns */
    .about-bottom-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
        margin-top: 3rem;
    }

    .mission-vision-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .achievements-grid-side {
        grid-template-columns: 1fr 1fr;
    }
}

/* Extra Small Phones */
@media (max-width: 480px) {
    .value-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .value-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .achievements-grid-side {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .support-info-card {
        padding: 1.5rem;
    }

    .support-form-wrapper {
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Retail Software Section Styling */
.retail-software-section {
    padding: 8rem 5%;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.retail-glow-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 88, 41, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    pointer-events: none;
    z-index: 0;
}

.retail-content-box h2 {
    font-size: 2.75rem;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.retail-lead {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.retail-features {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.retail-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.retail-icon {
    width: 46px;
    height: 46px;
    background: rgba(217, 88, 41, 0.08);
    border: 1px solid rgba(217, 88, 41, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.retail-feature-item:hover .retail-icon {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(217, 88, 41, 0.15);
}

.retail-details h4 {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.retail-details p {
    font-size: 0.98rem;
    color: var(--text-light);
    line-height: 1.5;
}

.retail-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2.25rem;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(217, 88, 41, 0.2);
}

/* Dashboard Mockup styles */
.retail-mockup-box {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.retail-mockup-box:hover {
    transform: translateY(-6px);
}

.mockup-header {
    background: var(--chat-input-bg);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
}

.mockup-dots {
    display: flex;
    gap: 0.45rem;
    margin-right: 2rem;
}

.mockup-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.mockup-dots .dot.close {
    background-color: #ef4444;
}

.mockup-dots .dot.minimize {
    background-color: #f59e0b;
}

.mockup-dots .dot.expand {
    background-color: #10b981;
}

.mockup-url {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 0.4rem 2rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: monospace;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-grow: 1;
    max-width: 380px;
    justify-content: center;
}

.mockup-dashboard {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card-mini {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-title {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 800;
}

.stat-change {
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.stat-status {
    font-size: 0.75rem;
    font-weight: 700;
}

.mockup-main {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pos-cart {
    padding: 1.25rem;
}

.pos-cart .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 0.75rem;
}

.badge-count {
    background: rgba(217, 88, 41, 0.1);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.cart-item-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    border-bottom: 1px dashed #f1f5f9;
    padding-bottom: 0.5rem;
}

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

.item-name {
    font-weight: 600;
    color: var(--text-dark);
}

.item-price {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.1rem;
}

.item-total {
    font-weight: 700;
    color: var(--text-dark);
}

.cart-total-section {
    background: var(--chat-input-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.total-row.grand-total {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    border-top: 1px solid var(--card-border);
    padding-top: 0.5rem;
}

.pos-checkout-btn {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 0.8rem;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.9;
    cursor: default;
}

@media (max-width: 768px) {
    .retail-software-section {
        padding: 4rem 5%;
    }

    .retail-content-box h2 {
        font-size: 2rem;
    }

    .retail-lead {
        font-size: 1.05rem;
    }

    .mockup-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Payment Gateway Section Styling */
.gateway-section {
    padding: 8rem 5%;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.gateway-glow-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 88, 41, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    pointer-events: none;
    z-index: 0;
}

.gateway-content-box h2 {
    font-size: 2.75rem;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gateway-lead {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.gateway-features {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.gateway-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.gateway-icon {
    width: 46px;
    height: 46px;
    background: rgba(217, 88, 41, 0.08);
    border: 1px solid rgba(217, 88, 41, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.gateway-feature-item:hover .gateway-icon {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(217, 88, 41, 0.15);
}

.gateway-details h4 {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.gateway-details p {
    font-size: 0.98rem;
    color: var(--text-light);
    line-height: 1.5;
}

.gateway-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2.25rem;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(217, 88, 41, 0.2);
}

/* Checkout Widget Mockup styles */
.checkout-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 2rem;
    max-width: 400px;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.checkout-card:hover {
    transform: translateY(-6px) rotate(0.5deg);
}

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

.merchant-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.merchant-logo {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
}

.merchant-info h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 700;
}

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

.checkout-amount {
    text-align: right;
}

.amount-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 700;
    display: block;
}

.amount-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.methods-title {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.method-item {
    border: 1.5px solid var(--card-border);
    border-radius: 12px;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.method-item:hover {
    border-color: rgba(217, 88, 41, 0.4);
    background: rgba(217, 88, 41, 0.01);
}

.method-item.active {
    border-color: var(--primary);
    background: rgba(217, 88, 41, 0.03);
}

.method-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-item.active .method-radio {
    border-color: var(--primary);
}

.radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
}

.method-item.active .radio-dot {
    background: var(--primary);
}

.method-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.method-details i {
    font-size: 1.05rem;
    color: #64748b;
    width: 20px;
    text-align: center;
}

.method-item.active .method-details i {
    color: var(--primary);
}

.pay-now-btn {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 0.9rem;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 20px rgba(217, 88, 41, 0.15);
    cursor: default;
}

.checkout-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .gateway-section {
        padding: 4rem 5%;
    }

    .gateway-content-box h2 {
        font-size: 2rem;
    }

    .gateway-lead {
        font-size: 1.05rem;
    }
}

/* Layout Display Controls */
.mobile-only-layout {
    display: none;
}

@media (min-width: 769px) {
    .desktop-only-layout {
        display: block;
    }
}

@media (max-width: 768px) {

    html:not(.policy-html):not(.auth-layout-html),
    body:not(.policy-body):not(.auth-layout-body) {
        overflow: hidden !important;
        height: 100% !important;
    }

    .desktop-only-layout {
        display: none !important;
    }

    .mobile-only-layout {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        background: linear-gradient(180deg, rgba(217, 88, 41, 0.04) 0%, var(--bg-light) 100%);
        height: 100vh;
        height: 100dvh;
        padding: 1.5rem 6% 1rem;
        box-sizing: border-box;
        overflow: hidden !important;
    }

    /* Mobile Header */
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        flex-shrink: 0;
    }

    .mobile-logo img {
        height: 32px;
        width: auto;
    }

    .mobile-tagline {
        font-size: 0.75rem;
        color: var(--text-light);
        font-weight: 700;
        letter-spacing: -0.2px;
    }

    /* Phone Mockup Frame */
    .phone-mockup-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-grow: 1;
        position: relative;
        margin: 0.2rem 0;
        height: 330px;
    }

    .phone-frame {
        width: 310px;
        height: 620px;
        background: #0f172a;
        border-radius: 44px;
        padding: 11px;
        box-shadow: 0 20px 45px rgba(217, 88, 41, 0.12),
            0 0 0 4px #334155;
        position: absolute;
        box-sizing: border-box;
        transform: scale(0.50);
        transform-origin: center center;
    }

    @media (min-height: 640px) {
        .phone-mockup-wrapper {
            height: 380px;
        }

        .phone-frame {
            transform: scale(0.58);
        }
    }

    @media (min-height: 720px) {
        .phone-mockup-wrapper {
            height: 440px;
        }

        .phone-frame {
            transform: scale(0.66);
        }
    }

    @media (min-height: 800px) {
        .phone-mockup-wrapper {
            height: 500px;
        }

        .phone-frame {
            transform: scale(0.76);
        }
    }

    /* Notch */
    .phone-frame::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 26px;
        background: #000000;
        border-radius: 20px;
        z-index: 10;
    }

    .phone-screen {
        background: #f8fafc;
        width: 100%;
        height: 100%;
        border-radius: 34px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding: 2.2rem 1.1rem 1.1rem;
        box-sizing: border-box;
        position: relative;
    }

    /* Status Bar */
    .phone-status-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.72rem;
        color: var(--text-dark);
        font-weight: 750;
        margin-bottom: 1.15rem;
        padding: 0 0.4rem;
    }

    .phone-status-icons {
        display: flex;
        gap: 0.3rem;
        font-size: 0.68rem;
    }

    /* App Header */
    .app-header-mock {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.15rem;
    }

    .app-greeting {
        font-size: 0.95rem;
        font-weight: 850;
        color: var(--text-dark);
        letter-spacing: -0.2px;
    }

    .app-welcome {
        font-size: 0.7rem;
        color: var(--text-light);
        font-weight: 600;
        margin-top: 0.1rem;
    }

    .app-bell {
        width: 32px;
        height: 32px;
        background: var(--white);
        border: 1px solid #e2e8f0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-dark);
        font-size: 0.8rem;
        position: relative;
    }

    .app-bell::after {
        content: '';
        position: absolute;
        top: 6px;
        right: 6px;
        width: 7px;
        height: 7px;
        background: #10b981;
        border-radius: 50%;
        border: 1.5px solid var(--white);
    }

    /* Wallet Card */
    .app-wallet-card {
        background: linear-gradient(135deg, #d95829 0%, #ff7841 100%);
        border-radius: 20px;
        padding: 1.1rem 1.2rem;
        color: var(--white);
        box-shadow: 0 10px 22px rgba(217, 88, 41, 0.18);
        margin-bottom: 1.15rem;
        text-align: left;
    }

    .wallet-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.65rem;
        opacity: 0.95;
        margin-bottom: 0.35rem;
        font-weight: 700;
    }

    .wallet-label i {
        margin-left: 0.2rem;
        font-size: 0.6rem;
    }

    .wallet-main {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .wallet-amount {
        font-size: 1.35rem;
        font-weight: 850;
        letter-spacing: -0.5px;
    }

    .wallet-add-btn {
        width: 26px;
        height: 26px;
        background: var(--white);
        color: var(--primary);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        font-weight: bold;
    }

    /* Quick Actions */
    .app-quick-actions {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
        margin-bottom: 1.4rem;
    }

    .action-item-mock {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.62rem;
        font-weight: 750;
        color: var(--text-dark);
        text-align: center;
    }

    .action-icon-mock {
        width: 38px;
        height: 38px;
        background: var(--white);
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        color: var(--text-dark);
    }

    /* Mock Services Section */
    .app-services-section {
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
        flex-grow: 1;
        text-align: left;
    }

    .section-title-mock {
        font-size: 0.72rem;
        font-weight: 850;
        text-transform: uppercase;
        color: var(--text-light);
        letter-spacing: 0.5px;
        margin-bottom: 0.1rem;
    }

    .services-grid-mock {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
    }

    .service-item-mock {
        background: var(--white);
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        font-size: 0.68rem;
        font-weight: 800;
        color: var(--text-dark);
        text-align: left;
    }

    .service-item-mock.active-service {
        background: rgba(217, 88, 41, 0.04);
        border-color: rgba(217, 88, 41, 0.2);
    }

    .service-icon-wrapper-mock {
        width: 24px;
        height: 24px;
        background: rgba(217, 88, 41, 0.08);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 0.7rem;
    }

    .service-item-mock:nth-child(2) .service-icon-wrapper-mock {
        background: rgba(59, 130, 246, 0.08);
        color: #3b82f6;
    }

    .service-item-mock:nth-child(3) .service-icon-wrapper-mock {
        background: rgba(168, 85, 247, 0.08);
        color: #a855f7;
    }

    .service-item-mock:nth-child(4) .service-icon-wrapper-mock {
        background: rgba(245, 158, 11, 0.08);
        color: #f59e0b;
    }

    /* Bottom Promo Card */
    .app-promo-box {
        background: #0f172a;
        color: var(--white);
        border-radius: 16px;
        padding: 0.7rem 0.95rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: auto;
        text-align: left;
    }

    .promo-content {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
    }

    .promo-content strong {
        font-size: 0.68rem;
        color: #10b981;
        font-weight: 800;
    }

    .promo-content span {
        font-size: 0.58rem;
        opacity: 0.85;
    }

    .promo-pattern {
        color: #10b981;
        font-size: 0.9rem;
        opacity: 0.3;
    }

    /* Mobile Features List */
    .mobile-features-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 3.5rem;
        padding: 0 0.2rem;
        text-align: left;
    }

    .m-feature-item {
        display: flex;
        gap: 1.1rem;
        align-items: flex-start;
    }

    .m-feature-icon {
        width: 44px;
        height: 44px;
        background: rgba(217, 88, 41, 0.07);
        border: 1px solid rgba(217, 88, 41, 0.15);
        color: var(--primary);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .m-feature-details h3 {
        font-size: 1.05rem;
        color: var(--text-dark);
        font-weight: 850;
        margin-bottom: 0.2rem;
    }

    .m-feature-details p {
        font-size: 0.9rem;
        color: var(--text-light);
        line-height: 1.45;
        margin: 0;
        font-weight: 500;
    }

    /* Bottom Actions */
    .mobile-actions-wrapper {
        margin: 0 0 1rem;
        padding: 0;
        background: transparent;
        width: 100%;
        box-sizing: border-box;
        flex-shrink: 0;
    }

    .mobile-actions-container {
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        width: 100%;
    }

    .btn-mobile-primary {
        background: linear-gradient(135deg, #d95829 0%, #ff7841 100%);
        color: var(--white);
        border-radius: 100px;
        padding: 0.85rem 1.4rem;
        font-weight: 800;
        font-size: 1.05rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-decoration: none;
        box-shadow: 0 10px 24px rgba(217, 88, 41, 0.22);
    }

    .btn-arrow-circle {
        width: 26px;
        height: 26px;
        background: var(--white);
        color: var(--primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
    }

    .btn-mobile-secondary {
        background: var(--white);
        color: var(--primary);
        border: 2px solid rgba(217, 88, 41, 0.25);
        border-radius: 100px;
        padding: 0.8rem 1.4rem;
        font-weight: 800;
        font-size: 0.92rem;
        text-align: center;
        text-decoration: none;
    }
}

/* ==========================================================================
   AUTHENTICATION & GUEST LAYOUT STYLES
   ========================================================================== */

/* Hide scrollbar visuals globally on auth layout while keeping content scrollable */
.auth-layout-body,
.auth-layout-html {
    scrollbar-width: none !important;
    /* Firefox */
    -ms-overflow-style: none !important;
    /* IE and Edge */
}

.auth-layout-body::-webkit-scrollbar,
.auth-layout-html::-webkit-scrollbar {
    display: none !important;
    /* Chrome, Safari, Opera */
}

/* Ensure auth layouts scroll on mobile viewports by overriding global overflow rules */
@media (max-width: 768px) {

    html.auth-layout-html,
    body.auth-layout-body {
        overflow: auto !important;
        overflow-y: auto !important;
        height: auto !important;
        min-height: 100% !important;
    }
}

/* Container Split Layout */
.auth-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: #090d16;
}

/* Brand Panel (Left Side - Advanced Dark Theme & Ambient Glow) */
.brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
    background: linear-gradient(135deg, #070a12 0%, #0d1322 50%, #12192c 100%);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    color: var(--white);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

/* Brand Mesh Glowing Orbs */
.brand-panel::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    top: -100px;
    left: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 88, 41, 0.3) 0%, rgba(217, 88, 41, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    animation: float 10s ease-in-out infinite;
}

.brand-panel::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0) 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: float 12s ease-in-out infinite;
    animation-delay: 2s;
}

.brand-panel-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
    pointer-events: none;
}

.brand-logo-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.brand-logo-link {
    display: inline-block;
    transition: transform 0.25s ease;
}

.brand-logo-link:hover {
    transform: translateY(-2px);
}

.brand-logo {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
}

.brand-logo-tagline {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.brand-content {
    position: relative;
    z-index: 10;
    margin: auto 0;
    max-width: 540px;
}

.brand-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(217, 88, 41, 0.18);
    border: 1px solid rgba(217, 88, 41, 0.35);
    color: #ff8c5a;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
}

.brand-badge-accent {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(56, 161, 105, 0.15);
    border: 1px solid rgba(56, 161, 105, 0.3);
    color: #38a169;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
}

.brand-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 1.25rem;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-highlight {
    background: linear-gradient(135deg, #ff7a45 0%, #d95829 50%, #ff9f7a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-description {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.25rem;
    line-height: 1.65;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.1rem 1.1rem;
    border-radius: 16px;
    backdrop-filter: blur(16px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(217, 88, 41, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    border-radius: 12px;
    font-size: 1.1rem;
    box-shadow: 0 6px 16px rgba(217, 88, 41, 0.3);
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.feature-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0.1rem;
}

/* Live Activity Ticker Card */
.brand-ticker-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 2rem;
    background: rgba(19, 27, 41, 0.8);
    border: 1px solid rgba(217, 88, 41, 0.25);
    border-radius: 16px;
    padding: 0.85rem 1.25rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.ticker-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #38a169;
    box-shadow: 0 0 0 0 rgba(56, 161, 105, 0.7);
    animation: pulseGlow 2s infinite;
    flex-shrink: 0;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(56, 161, 105, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(56, 161, 105, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(56, 161, 105, 0);
    }
}

.ticker-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.ticker-text strong {
    color: #ff9f7a;
}

.brand-footer {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
}

.brand-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.2s ease;
}

.brand-footer a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Form Panel (Right Side) */
.form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
    position: relative;
    background: radial-gradient(circle at 50% 30%, rgba(217, 88, 41, 0.06) 0%, transparent 70%);
}

.back-home-btn-desktop {
    position: absolute;
    top: 2.25rem;
    right: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    z-index: 20;
}

.back-home-btn-desktop .theme-toggle-btn,
.back-home-btn-mobile .theme-toggle-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.back-home-btn-desktop .theme-toggle-btn:hover,
.back-home-btn-mobile .theme-toggle-btn:hover {
    transform: scale(1.08);
    border-color: var(--primary);
    color: var(--primary);
}

.back-home-btn-desktop .back-link,
.back-home-btn-mobile .back-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.back-home-btn-desktop .back-link:hover,
.back-home-btn-mobile .back-link:hover {
    color: var(--primary);
    border-color: rgba(217, 88, 41, 0.4);
    transform: translateX(-3px);
}

/* Enhanced Form Card with Brand Accent Top Bar */
.form-card {
    width: 100%;
    max-width: 450px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.form-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, #ff9f7a 100%);
}

.form-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 88, 41, 0.35) 0%, rgba(217, 88, 41, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.mobile-logo-wrapper {
    display: none;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-logo {
    height: 36px;
    width: auto;
}

.mobile-tagline {
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: 0.6rem;
    text-align: center;
    letter-spacing: 0.2px;
}

.mobile-subtagline {
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 0.15rem;
    text-align: center;
    opacity: 0.85;
}

.back-home-btn-mobile {
    display: none;
    margin-top: 1.5rem;
}

/* Form Styling Rules */
.form-header {
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 2;
}

form {
    position: relative;
    z-index: 2;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.form-subtitle {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.form-label-inline {
    margin-bottom: 0;
}

.form-link-inline {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.form-link-inline:hover {
    text-decoration: underline;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 1rem;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background-color: #fafbfc;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    outline: none;
    transition: all 0.2s ease;
}

.form-control:focus {
    background-color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(217, 88, 41, 0.1);
}

.form-control::placeholder {
    color: #cbd5e0;
}

/* Custom checkbox wrapper */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 600;
}

.checkbox-input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid #cbd5e0;
    background-color: var(--white);
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 0.5rem;
    position: relative;
    flex-shrink: 0;
}

.checkbox-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217, 88, 41, 0.15);
    outline: none;
}

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

.checkbox-input::after {
    content: '';
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

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

.form-group-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Password Toggle Eye Icon */
.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    padding: 0.25rem;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--primary);
}

.form-control-password {
    padding-right: 2.75rem;
}

.form-error {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #e53e3e;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

.form-status {
    padding: 0.85rem 1rem;
    background-color: #f0fff4;
    border: 1px solid #c6f6d5;
    border-radius: 12px;
    color: #38a169;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.form-notice {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    padding: 1rem;
    border-radius: 12px;
    line-height: 1.5;
    font-weight: 500;
    background-color: #fff8f5;
    border: 1px solid #ffe3d6;
    color: #475569;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.form-error-alert {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.form-btn {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 16px rgba(217, 88, 41, 0.15);
}

.form-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(217, 88, 41, 0.25);
}

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

.form-footer {
    margin-top: 1.75rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    position: relative;
    z-index: 2;
}

.form-footer-link {
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.form-footer-link:hover {
    text-decoration: underline;
}

/* Back Button Arrow micro-animation */
.back-home-btn-desktop a i,
.back-home-btn-mobile a i {
    transition: transform 0.25s ease;
}

.back-home-btn-desktop a:hover i,
.back-home-btn-mobile a:hover i {
    transform: translateX(-4px);
}

/* Custom Autofill Styles override */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #fafbfc inset !important;
    -webkit-text-fill-color: var(--text-dark) !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Responsiveness Media Queries */
@media (max-width: 992px) {
    .brand-panel {
        display: none;
    }

    .back-home-btn-desktop {
        display: none;
    }

    .mobile-logo-wrapper {
        display: flex;
        margin-bottom: 2rem;
    }

    .back-home-btn-mobile {
        display: none !important;
    }

    .form-panel {
        background: linear-gradient(135deg, #fffefe 0%, #f7f9fc 100%);
        padding: 2.5rem 1.25rem;
        min-height: 100vh;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .form-card {
        background: var(--white);
        border: 1px solid #f1f3f5;
        border-radius: 24px;
        box-shadow: 0 15px 35px rgba(217, 88, 41, 0.04), 0 5px 15px rgba(0, 0, 0, 0.015);
        padding: 2.5rem 2rem;
        width: 100%;
        max-width: 440px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .form-panel {
        padding: 1.75rem 0.75rem;
    }

    .form-card {
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }

    .form-title {
        font-size: 1.35rem;
    }

    .form-control {
        padding: 0.8rem 1rem 0.8rem 2.5rem;
        font-size: 0.85rem;
    }

    .form-control-password {
        padding-right: 2.5rem;
    }

    .input-icon {
        left: 0.85rem;
        font-size: 0.9rem;
    }

    .password-toggle {
        right: 0.85rem;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Auth Pages High-Specificity Dark / Light Mode Overrides
   ========================================================================== */
html.dark .auth-container,
html[data-theme="dark"] .auth-container,
html.dark .form-panel,
html[data-theme="dark"] .form-panel {
    background: #080c14 !important;
}

html.dark .form-card,
html[data-theme="dark"] .form-card {
    background: rgba(18, 26, 43, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    color: #f8fafc !important;
}

html.dark .form-title,
html[data-theme="dark"] .form-title {
    color: #f8fafc !important;
}

html.dark .form-subtitle,
html[data-theme="dark"] .form-subtitle {
    color: #94a3b8 !important;
}

html.dark .form-label,
html[data-theme="dark"] .form-label {
    color: #f8fafc !important;
}

html.dark .form-control,
html[data-theme="dark"] .form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f8fafc !important;
}

html.dark .form-control:focus,
html[data-theme="dark"] .form-control:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.2) !important;
}

html.dark .form-control::placeholder,
html[data-theme="dark"] .form-control::placeholder {
    color: #94a3b8 !important;
    opacity: 0.6;
}

html.dark .checkbox-input,
html[data-theme="dark"] .checkbox-input {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

html.dark .checkbox-input:checked,
html[data-theme="dark"] .checkbox-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

html.dark .checkbox-label,
html[data-theme="dark"] .checkbox-label {
    color: #f8fafc !important;
}

html.dark .input-icon,
html.dark .password-toggle,
html[data-theme="dark"] .input-icon,
html[data-theme="dark"] .password-toggle {
    color: #94a3b8 !important;
}

html.dark input:-webkit-autofill,
html.dark input:-webkit-autofill:hover,
html.dark input:-webkit-autofill:focus,
html.dark input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #131b29 inset !important;
    -webkit-text-fill-color: #f8fafc !important;
}

html.dark .form-notice,
html[data-theme="dark"] .form-notice {
    background-color: rgba(255, 87, 34, 0.08) !important;
    border: 1px solid rgba(255, 87, 34, 0.25) !important;
    color: #cbd5e1 !important;
}

html.dark .form-status,
html[data-theme="dark"] .form-status {
    background-color: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    color: #34d399 !important;
}

html.dark .form-error-alert,
html[data-theme="dark"] .form-error-alert {
    background-color: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    color: #f87171 !important;
}

html.dark .form-footer,
html[data-theme="dark"] .form-footer,
html.dark .form-footer p,
html[data-theme="dark"] .form-footer p {
    color: #94a3b8 !important;
}

html.dark .form-footer-link,
html[data-theme="dark"] .form-footer-link {
    color: #ff7a45 !important;
}

/* Light Mode Overrides for Auth Pages */
html.light .auth-container,
html[data-theme="light"] .auth-container,
html.light .form-panel,
html[data-theme="light"] .form-panel {
    background: #f8fafc !important;
}

html.light .brand-panel,
html[data-theme="light"] .brand-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%) !important;
    border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html.light .brand-logo,
html[data-theme="light"] .brand-logo {
    filter: none !important;
}

html.light .brand-logo-tagline,
html[data-theme="light"] .brand-logo-tagline {
    color: #64748b !important;
}

html.light .brand-title,
html[data-theme="light"] .brand-title {
    color: #0f172a !important;
}

html.light .brand-description,
html[data-theme="light"] .brand-description {
    color: #334155 !important;
}

html.light .feature-item,
html[data-theme="light"] .feature-item {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

html.light .feature-item:hover,
html[data-theme="light"] .feature-item:hover {
    background: #ffffff !important;
    border-color: rgba(255, 87, 34, 0.4) !important;
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.08) !important;
}

html.light .feature-label,
html[data-theme="light"] .feature-label {
    color: #64748b !important;
}

html.light .feature-val,
html[data-theme="light"] .feature-val {
    color: #0f172a !important;
}

html.light .brand-ticker-card,
html[data-theme="light"] .brand-ticker-card {
    background: #ffffff !important;
    border: 1px solid rgba(255, 87, 34, 0.3) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04) !important;
}

html.light .ticker-text,
html[data-theme="light"] .ticker-text {
    color: #1e293b !important;
}

html.light .brand-footer,
html[data-theme="light"] .brand-footer {
    color: #64748b !important;
}

html.light .brand-footer a,
html[data-theme="light"] .brand-footer a {
    color: #475569 !important;
}

html.light .form-card,
html[data-theme="light"] .form-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05) !important;
    color: #0f172a !important;
}

html.light .form-title,
html[data-theme="light"] .form-title {
    color: #0f172a !important;
}

html.light .form-subtitle,
html[data-theme="light"] .form-subtitle {
    color: #475569 !important;
}

html.light .form-label,
html[data-theme="light"] .form-label {
    color: #1e293b !important;
}

html.light .form-control,
html[data-theme="light"] .form-control {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

html.light .form-control:focus,
html[data-theme="light"] .form-control:focus {
    background-color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.15) !important;
}

html.light .checkbox-input,
html[data-theme="light"] .checkbox-input {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
}

html.light .checkbox-input:checked,
html[data-theme="light"] .checkbox-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

html.light .checkbox-label,
html[data-theme="light"] .checkbox-label {
    color: #1e293b !important;
}

html.light .form-notice,
html[data-theme="light"] .form-notice {
    background-color: #fff8f5 !important;
    border: 1px solid #ffe3d6 !important;
    color: #475569 !important;
}

html.light .form-status,
html[data-theme="light"] .form-status {
    background-color: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #15803d !important;
}

html.light .form-error-alert,
html[data-theme="light"] .form-error-alert {
    background-color: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
}

html.light .form-footer,
html[data-theme="light"] .form-footer,
html.light .form-footer p,
html[data-theme="light"] .form-footer p {
    color: #475569 !important;
}

html.light .form-footer-link,
html[data-theme="light"] .form-footer-link {
    color: #e04818 !important;
}

/* Dashboard Wallet Card Theme Adaptability */
.wallet-card-main {
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Default & Dark Mode (Dark Gradient & White Text) */
.wallet-card-main {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.wallet-card-main .wallet-balance-num {
    color: #ffffff !important;
}

.wallet-card-main .wallet-title-text {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.wallet-card-main .wallet-meta-text {
    color: rgba(255, 255, 255, 0.7) !important;
}

.wallet-card-main .desktop-action-card {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.wallet-card-main .action-label-text {
    color: #ffffff !important;
}

/* Explicit Dark Mode Overrides */
html.dark .wallet-card-main,
html[data-theme="dark"] .wallet-card-main,
html[data-bs-theme="dark"] .wallet-card-main {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html.dark .wallet-card-main .wallet-balance-num,
html[data-theme="dark"] .wallet-card-main .wallet-balance-num,
html[data-bs-theme="dark"] .wallet-card-main .wallet-balance-num {
    color: #ffffff !important;
}

html.dark .wallet-card-main .wallet-title-text,
html[data-theme="dark"] .wallet-card-main .wallet-title-text,
html[data-bs-theme="dark"] .wallet-card-main .wallet-title-text {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

html.dark .wallet-card-main .wallet-meta-text,
html[data-theme="dark"] .wallet-card-main .wallet-meta-text,
html[data-bs-theme="dark"] .wallet-card-main .wallet-meta-text {
    color: rgba(255, 255, 255, 0.7) !important;
}

html.dark .wallet-card-main .desktop-action-card,
html[data-theme="dark"] .wallet-card-main .desktop-action-card,
html[data-bs-theme="dark"] .wallet-card-main .desktop-action-card {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

html.dark .wallet-card-main .action-label-text,
html[data-theme="dark"] .wallet-card-main .action-label-text,
html[data-bs-theme="dark"] .wallet-card-main .action-label-text {
    color: #ffffff !important;
}

/* Explicit Light Mode Overrides */
html.light .wallet-card-main,
html[data-theme="light"] .wallet-card-main,
html[data-bs-theme="light"] .wallet-card-main {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    color: #0f172a !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
}

html.light .wallet-card-main .wallet-balance-num,
html[data-theme="light"] .wallet-card-main .wallet-balance-num,
html[data-bs-theme="light"] .wallet-card-main .wallet-balance-num {
    color: #0f172a !important;
}

html.light .wallet-card-main .wallet-title-text,
html[data-theme="light"] .wallet-card-main .wallet-title-text,
html[data-bs-theme="light"] .wallet-card-main .wallet-title-text {
    color: #475569 !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
}

html.light .wallet-card-main .wallet-meta-text,
html[data-theme="light"] .wallet-card-main .wallet-meta-text,
html[data-bs-theme="light"] .wallet-card-main .wallet-meta-text {
    color: #64748b !important;
}

html.light .wallet-card-main .desktop-action-card,
html[data-theme="light"] .wallet-card-main .desktop-action-card,
html[data-bs-theme="light"] .wallet-card-main .desktop-action-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

html.light .wallet-card-main .desktop-action-card:hover,
html[data-theme="light"] .wallet-card-main .desktop-action-card:hover,
html[data-bs-theme="light"] .wallet-card-main .desktop-action-card:hover {
    background: #ffffff !important;
    border-color: rgba(255, 87, 34, 0.4) !important;
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.08) !important;
    transform: translateY(-2px);
}

html.light .wallet-card-main .action-label-text,
html[data-theme="light"] .wallet-card-main .action-label-text,
html[data-bs-theme="light"] .wallet-card-main .action-label-text {
    color: #1e293b !important;
}