/* ============================================================
   Zen IT BD — Main Stylesheet
   File: css/style.css
   ============================================================ */

/* ─── CSS VARIABLES ────────────────────────────────────────── */
:root {
    --primary: #2563EB;
    --primary-d: #1d4ed8;
    --primary-l: #3b82f6;
    --secondary: #60A5FA;
    --accent: #0ea5e9;
    --bg: #FFFFFF;
    --bg2: #F8FAFC;
    --bg3: #F1F5F9;
    --surface: #FFFFFF;
    --border: #E2E8F0;
    --border-b: #BFDBFE;
    --text: #111827;
    --text2: #374151;
    --text3: #6B7280;
    --text4: #9CA3AF;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --purple: #8B5CF6;
    --r: 10px;
    --r2: 16px;
    --r3: 24px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(37, 99, 235, 0.10);
    --shadow-lg: 0 8px 32px rgba(37, 99, 235, 0.14);
    --shadow-xl: 0 20px 60px rgba(37, 99, 235, 0.18);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    /* Light mode mesh — soft gold grid */
    --mesh: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 L40 40 L40 0' fill='none' stroke='%23B8860B' stroke-opacity='0.10' stroke-width='1'/%3E%3C/svg%3E");
}

[data-theme="dark"] {
    --bg: #1a1f2e;
    --bg2: #1e2535;
    --bg3: #252d40;
    --surface: #1e2535;
    --border: #2e3a50;
    --border-b: #1E3A8A;
    --text: #F1F5F9;
    --text2: #CBD5E1;
    --text3: #94A3B8;
    --text4: #64748B;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.30);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.55);
    /* Dark mode mesh — soft gold, subtle */
    --mesh: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 L40 40 L40 0' fill='none' stroke='%23D4AF37' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
}

/* ─── RESET & BASE ──────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

body {
    font-family: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.2s ease;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

a {
    color: var(--primary);
    text-decoration: none !important;
    transition: var(--transition);
}

a:hover {
    text-decoration: none !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg3);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--bg2);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--bg3);
}

/* ─── TYPOGRAPHY UTILS ──────────────────────────────────────── */
.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-muted {
    color: var(--text3);
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

/* ─── LAYOUT ────────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section.mesh-bg {
    background-image: var(--mesh);
    background-color: var(--bg2);
    background-size: 40px 40px;
    position: relative;
}

.section.mesh-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.06), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(184, 134, 11, 0.05), transparent 40%);
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
    pointer-events: none;
}

.section-sm {
    padding: 56px 0;
}

/* ─── GRID ───────────────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* ─── NAV ────────────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 9000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.25s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(26, 31, 46, 0.96);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
    text-decoration: none;
}

.nav-logo img {
    max-height: 52px;
    width: auto;
    display: block;
}

.nav-logo .logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.nav-logo .logo-text span {
    color: var(--primary-l);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links li {
    display: block;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text2);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
    transform-origin: right;
}

.nav-links a:hover {
    color: var(--primary);
}

[data-theme="dark"] .nav-links a:hover {
    color: var(--secondary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

[data-theme="dark"] .nav-links a::after {
    background: var(--secondary);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

[data-theme="dark"] .nav-links a.active {
    color: var(--secondary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: var(--transition);
}

.btn-login {
    background: transparent;
    color: var(--text2);
    border: 1px solid var(--border);
}

.btn-login:hover {
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="dark"] .btn-login {
    border-color: var(--border);
    color: var(--text2);
}

[data-theme="dark"] .btn-login:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-signup {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
}

.btn-signup:hover {
    background: var(--primary-d);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── THEME TOGGLE ──────────────────────────────────────────── */
.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: #DBEAFE;
    color: var(--primary);
    border-color: var(--border-b);
}

[data-theme="dark"] .theme-toggle {
    background: var(--bg3);
    border-color: var(--border);
    color: var(--text3);
}

[data-theme="dark"] .theme-toggle:hover {
    background: #2e3a50;
    color: var(--secondary);
}

/* ─── MOBILE NAV ─────────────────────────────────────────────── */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 8500;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-panel {
    position: absolute;
    top: 68px;
    right: 0;
    width: 280px;
    max-width: 85%;
    height: calc(100vh - 68px);
    background: var(--surface);
    padding: 24px 20px;
    overflow-y: auto;
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-nav.open .mobile-nav-panel {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .navbar {
        height: 68px;
    }
}

.mobile-nav-close {
    display: none;
}

/* Handled by hamburger now */

.mobile-close-btn {
    background: var(--bg3);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    color: var(--text3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text2);
    border-radius: var(--r);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-links a i {
    width: 18px;
    text-align: center;
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
}

.mobile-nav-links a:hover {
    color: var(--primary);
    background: #EFF6FF;
}

[data-theme="dark"] .mobile-nav-links a:hover {
    background: rgba(37, 99, 235, 0.12);
    color: var(--secondary);
}

.mobile-nav-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 12px 0;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.mobile-nav-actions .btn {
    padding: 9px 16px;
    font-size: 13px;
    border-radius: 8px;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn i {
    font-size: 13px;
}

.btn:hover {
    text-decoration: none !important;
}

.btn-primary {
    background: var(--primary);
    color: #fff !important;
}

.btn-primary:hover {
    background: var(--primary-d);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px) scale(1.02);
    text-decoration: none !important;
    color: #fff !important;
}

.btn-secondary {
    background: #EFF6FF;
    color: var(--primary);
    border: 1px solid var(--border-b);
}

.btn-secondary:hover {
    background: #DBEAFE;
    text-decoration: none;
}

[data-theme="dark"] .btn-secondary {
    background: rgba(37, 99, 235, 0.12);
    color: var(--secondary);
    border-color: rgba(37, 99, 235, 0.25);
}

[data-theme="dark"] .btn-secondary:hover {
    background: rgba(37, 99, 235, 0.22);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--primary);
}

.btn-white:hover {
    background: #F0F9FF;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-success {
    background: var(--success);
    color: #fff;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
    border-radius: 12px;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-full {
    width: 100%;
}

/* ─── CURRENCY SWITCHER ──────────────────────────────────────── */
.currency-dropdown {
    position: relative;
}

.currency-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 160px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r2);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 2000;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.currency-dropdown:hover .currency-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.currency-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text2);
    border-radius: 10px;
    transition: var(--transition);
    text-decoration: none !important;
}

.currency-menu a:hover {
    background: var(--bg3);
    color: var(--primary);
    transform: translateX(4px);
}

.currency-menu a.active {
    background: var(--bg3);
    color: var(--primary);
    border-left: 3px solid var(--primary);
}

.currency-menu a:hover,
.gadget-side-menu a:hover {
    text-decoration: none !important;
}

.currency-menu a span {
    font-size: 20px;
}

/* ─── BADGE ──────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.badge-primary {
    background: #EFF6FF;
    color: var(--primary);
}

.badge-success {
    background: #ECFDF5;
    color: var(--success);
}

.badge-warning {
    background: #FFFBEB;
    color: var(--warning);
}

.badge-danger {
    background: #FEF2F2;
    color: var(--danger);
}

.badge-purple {
    background: #F5F3FF;
    color: var(--purple);
}

.badge-secondary {
    background: #F0F9FF;
    color: #0284c7;
}

[data-theme="dark"] .badge-primary {
    background: rgba(37, 99, 235, 0.15);
    color: var(--secondary);
}

/* ─── SECTION HEADER ─────────────────────────────────────────── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EFF6FF;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid var(--border-b);
    margin-bottom: 16px;
}

[data-theme="dark"] .section-label {
    background: rgba(37, 99, 235, 0.12);
    color: var(--secondary);
    border-color: rgba(37, 99, 235, 0.25);
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-title span {
    color: var(--primary);
}

.section-sub {
    color: var(--text3);
    font-size: 16px;
    max-width: 580px;
    line-height: 1.7;
}

/* ─── HERO ───────────────────────────────────────────────────── */
/* LIGHT MODE: gold grid + blue gradient */
.hero {
    padding: 80px 0;
    background-color: #EFF6FF;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none'/%3E%3Cpath d='M60 0H0V60' fill='none' stroke='%23B8860B' stroke-width='1' stroke-opacity='0.12'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 30%, #BFDBFE 100%);
    background-size: 60px 60px, 100% 100%;
    position: relative;
    overflow: hidden;
}

/* DARK MODE: gold grid + dark gradient */
[data-theme="dark"] .hero {
    background-color: #1a1f2e;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none'/%3E%3Cpath d='M60 0H0V60' fill='none' stroke='%23D4AF37' stroke-width='1' stroke-opacity='0.10'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #1a1f2e 0%, #1e2a3a 100%);
    background-size: 60px 60px, 100% 100%;
}

/* Dark hero: gold glow — top center, only this section */
[data-theme="dark"] .hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(251, 191, 36, 0.10) 0%,
            rgba(245, 158, 11, 0.06) 35%,
            transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Dark hero: blue glow — bottom left */
[data-theme="dark"] .hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(37, 99, 235, 0.12) 0%,
            transparent 65%);
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .hero-inner {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

.hero h1 {
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    line-height: 1.05;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-desc {
    font-size: 17px;
    color: var(--text2);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(37, 99, 235, 0.15);
}

.hero-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text3);
}

/* ─── HERO VISUAL ────────────────────────────────────────────── */
.hero-visual {
    background: var(--surface);
    border-radius: var(--r3);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-visual-header {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.hero-visual-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-visual-dot:nth-child(1) {
    background: #EF4444;
}

.hero-visual-dot:nth-child(2) {
    background: #F59E0B;
}

.hero-visual-dot:nth-child(3) {
    background: #10B981;
}

.hero-visual-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-visual-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--r);
    border: 1px solid var(--border);
    background: var(--bg2);
}

.hero-visual-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
}

[data-theme="dark"] .hero-visual-icon {
    background: rgba(37, 99, 235, 0.15);
    color: var(--secondary);
}

.hero-visual-info {
    flex: 1;
}

.hero-visual-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.hero-visual-sub {
    font-size: 12px;
    color: var(--text3);
}

.hero-visual-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

/* ─── SERVICE CARDS ──────────────────────────────────────────── */
.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r2);
    padding: 32px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
    display: block;
}

.service-card:hover {
    border-color: var(--border-b);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    text-decoration: none;
    color: var(--text);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #EFF6FF;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.service-card-icon.purple {
    background: #F5F3FF;
    color: var(--purple);
}

.service-card-icon.sky {
    background: #F0F9FF;
    color: #0284c7;
}

[data-theme="dark"] .service-card-icon {
    background: rgba(37, 99, 235, 0.15);
    color: var(--secondary);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text3);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.service-tag {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text3);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 6px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.service-link:hover {
    gap: 10px;
    text-decoration: none;
}

/* ─── WHY US CARDS ───────────────────────────────────────────── */
.why-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r2);
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--border-b);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #EFF6FF;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

[data-theme="dark"] .why-icon {
    background: rgba(37, 99, 235, 0.15);
    color: var(--secondary);
}

.why-card h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.why-card p {
    color: var(--text3);
    font-size: 14px;
    line-height: 1.7;
}

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r2);
    padding: 28px;
}

.testi-stars {
    color: var(--warning);
    font-size: 14px;
    margin-bottom: 12px;
}

.testi-text {
    color: var(--text2);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}

.testi-name {
    font-weight: 600;
    font-size: 14px;
}

.testi-role {
    color: var(--text3);
    font-size: 13px;
}

/* ─── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
    /* NOTE: use background-color + background-image separately
       so dark-mode override only needs to change background-color */
    background-color: var(--primary);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none'/%3E%3Cpath d='M60 0H0V60' fill='none' stroke='%23D4AF37' stroke-width='1' stroke-opacity='0.20'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #2563EB 0%, #3b82f6 100%);
    background-size: 60px 60px, 100% 100%;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 50%, rgba(212, 175, 55, 0.14), transparent 50%),
        radial-gradient(circle at 75% 50%, rgba(212, 175, 55, 0.10), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.cta-section>.container,
.cta-section>* {
    position: relative;
    z-index: 1;
}

/* ── Dark mode CTA — deep navy with gold mesh ── */
[data-theme="dark"] .cta-section {
    background-color: #111827 !important;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none'/%3E%3Cpath d='M60 0H0V60' fill='none' stroke='%23D4AF37' stroke-width='1' stroke-opacity='0.15'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    background-size: 60px 60px, 100% 100% !important;
}

[data-theme="dark"] .cta-section h2,
[data-theme="dark"] .cta-section h3 {
    color: #F1F5F9 !important;
}

[data-theme="dark"] .cta-section p {
    color: #94A3B8 !important;
}

/* ── Light mode text (white on blue) ── */
.cta-section h2 {
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 14px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    margin-bottom: 32px;
}

/* ── Catch any container that inlines a white/light bg inside CTA ── */
[data-theme="dark"] .cta-section [style*="background:#fff"],
[data-theme="dark"] .cta-section [style*="background: #fff"],
[data-theme="dark"] .cta-section [style*="background:#FFFFFF"],
[data-theme="dark"] .cta-section [style*="background: #FFFFFF"],
[data-theme="dark"] .cta-section [style*="background:#EFF6FF"],
[data-theme="dark"] .cta-section [style*="background:#F8FAFC"],
[data-theme="dark"] .cta-section [style*="background:#f8fafc"],
[data-theme="dark"] .cta-section [style*="background: #F8FAFC"] {
    background: rgba(255, 255, 255, 0.06) !important;
}

/* ── Also target common wrapper class names used in page HTML ── */
[data-theme="dark"] .cta-box,
[data-theme="dark"] .cta-inner,
[data-theme="dark"] .cta-wrap,
[data-theme="dark"] .cta-card,
[data-theme="dark"] .quote-cta,
[data-theme="dark"] .project-cta {
    background-color: #111827 !important;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none'/%3E%3Cpath d='M60 0H0V60' fill='none' stroke='%23D4AF37' stroke-width='1' stroke-opacity='0.15'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    background-size: 60px 60px, 100% 100% !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
    background: #111827;
    color: #fff;
    padding: 60px 0 0;
}

[data-theme="dark"] footer {
    background: #0d1117;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    text-decoration: none;
}

.footer-logo img {
    max-height: 40px;
    width: auto;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.footer-desc {
    color: #9CA3AF;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: #9CA3AF;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: #6B7280;
    font-size: 13px;
}

/* ─── FORMS ──────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
    margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    padding: 10px 13px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--surface);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: var(--bg3);
    border-color: var(--border);
    color: var(--text);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.field-error {
    color: var(--danger);
    font-size: 11px;
    margin-top: 4px;
    font-weight: 500;
    min-height: 14px;
}

.form-error {
    color: var(--danger);
    font-size: 12px;
    margin-top: 4px;
}

.form-success {
    color: var(--success);
    font-size: 13px;
    font-weight: 500;
}

/* ─── CARD ───────────────────────────────────────────────────── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r2);
    padding: 28px;
}

.card-sm {
    padding: 20px;
    border-radius: var(--r);
}

/* ─── DASHBOARD UTILS ───────────────────────────────────────── */
.dashboard-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.dashboard-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border);
}

/* ─── TOAST ──────────────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: var(--text);
    color: #fff;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    animation: slideUpToast 0.4s ease;
    max-width: 360px;
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

@keyframes slideUpToast {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── MODAL ──────────────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--surface);
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh;
    /* Reverted to 90vh but added more mobile specific fixes below */
    overflow-y: auto;
    border: 1px solid var(--border);
    scrollbar-width: thin;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 540px) {
    .modal-overlay {
        padding: 12px;
        align-items: center;
        /* Center vertically if possible */
    }

    .modal {
        padding: 24px 20px;
        margin: auto;
        border-radius: 20px;
        max-height: 92vh;
        height: auto;
        display: block;
    }

    .modal h2 {
        font-size: 18px;
    }

    .modal-tab {
        padding: 8px;
        font-size: 13px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-group input {
        padding: 8px 12px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 14px;
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg3);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    color: var(--text3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal h2 {
    font-size: 20px;
    margin-bottom: 4px;
}

.modal .modal-sub {
    color: var(--text3);
    font-size: 13px;
    margin-bottom: 20px;
}

.modal-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
}

.modal-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text3);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.modal-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.modal-form {
    display: none;
}

.modal-form.active {
    display: block;
}

/* ─── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
    padding: 80px 0 60px;
    background-color: #EFF6FF;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none'/%3E%3Cpath d='M60 0H0V60' fill='none' stroke='%23B8860B' stroke-width='1' stroke-opacity='0.12'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #EFF6FF, #DBEAFE);
    background-size: 60px 60px, 100% 100%;
    text-align: center;
}

[data-theme="dark"] .page-hero {
    background-color: #1a1f2e;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none'/%3E%3Cpath d='M60 0H0V60' fill='none' stroke='%23D4AF37' stroke-width='1' stroke-opacity='0.09'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #1a1f2e 0%, #1e2535 100%);
    background-size: 60px 60px, 100% 100%;
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 14px;
}

.page-hero p {
    color: var(--text2);
    font-size: 17px;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── SMM CARDS ──────────────────────────────────────────────── */
.smm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.smm-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text2);
    cursor: pointer;
    transition: var(--transition);
}

.smm-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.smm-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.smm-tab i {
    font-size: 15px;
}

[data-theme="dark"] .smm-tab:hover {
    border-color: var(--primary);
    color: var(--secondary);
}

.smm-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r2);
    padding: 24px;
    transition: var(--transition);
}

.smm-card:hover {
    border-color: var(--border-b);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.smm-platform {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.smm-platform-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

[data-theme="dark"] .smm-platform-icon {
    background: rgba(37, 99, 235, 0.15);
    color: var(--secondary);
}

.smm-platform-name {
    font-weight: 700;
    font-size: 15px;
}

.smm-service-name {
    color: var(--text2);
    font-size: 14px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.smm-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.smm-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.smm-qty {
    font-size: 12px;
    color: var(--text3);
}

.smm-delivery {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
}

.smm-delivery i {
    margin-right: 4px;
}

/* ─── ORDER FORM MODAL ───────────────────────────────────────── */
.order-modal .modal {
    max-width: 500px;
}

/* ─── SAAS CARDS ─────────────────────────────────────────────── */
.saas-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r2);
    padding: 28px;
    transition: var(--transition);
    position: relative;
}

.saas-card:hover {
    border-color: var(--border-b);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.saas-card.popular {
    border-color: var(--primary);
}

.saas-popular-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 4px 12px;
    border-radius: 0 0 10px 10px;
    letter-spacing: 1px;
}

.saas-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 16px;
}

[data-theme="dark"] .saas-icon {
    background: rgba(37, 99, 235, 0.15);
    color: var(--secondary);
}

.saas-card h3 {
    font-size: 19px;
    margin-bottom: 4px;
}

.saas-category {
    color: var(--text3);
    font-size: 13px;
    margin-bottom: 16px;
}

.saas-features {
    list-style: none;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.saas-features li {
    font-size: 14px;
    color: var(--text2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.saas-features li i {
    color: var(--success);
    font-size: 12px;
}

.saas-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 20px;
}

.saas-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.saas-period {
    color: var(--text3);
    font-size: 14px;
}

/* ─── CONTACT PAGE ───────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r2);
    padding: 18px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #EFF6FF;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

[data-theme="dark"] .contact-info-icon {
    background: rgba(37, 99, 235, 0.15);
    color: var(--secondary);
}

.contact-info-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-info-text span {
    color: var(--text3);
    font-size: 14px;
}

/* ─── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text3);
    margin-bottom: 20px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 10px;
}

/* ─── LOADING SPINNER ────────────────────────────────────────── */
.spinner {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    animation: spin 0.7s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-area {
    text-align: center;
    padding: 60px 20px;
    color: var(--text3);
}

/* ─── ANIMATE ON SCROLL ──────────────────────────────────────── */
.animate-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── CURRENCY SIDE TAB ─────────────────────────────────────── */
.currency-side-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5000;
    display: flex;
    align-items: flex-end;
}

.gadget-tab-btn {
    width: 38px;
    background: rgba(37, 99, 235, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15), inset 0 0 15px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gadget-tab-btn:hover {
    background: var(--primary);
    width: 46px;
    box-shadow: -15px 0 40px rgba(37, 99, 235, 0.25);
}

.gadget-tab-btn .v {
    display: block;
    transform: rotate(90deg);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.gadget-tab-btn img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s;
}

.gadget-tab-btn:hover img {
    transform: scale(1.2);
}

.gadget-tab-btn .f {
    font-size: 20px;
    margin-bottom: 4px;
}

.gadget-side-menu {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    width: 220px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.currency-side-tab.active .gadget-side-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-12px);
    pointer-events: auto;
}

.side-menu-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--text4);
    text-transform: uppercase;
    padding: 8px 12px;
    border-bottom: 1px solid var(--bg2);
    margin-bottom: 4px;
}

.gadget-side-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text);
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.gadget-side-menu a:hover {
    background: var(--bg2);
    color: var(--primary);
}

.gadget-side-menu a.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.gadget-side-menu a .flag {
    font-size: 18px;
}

.gadget-side-menu a i {
    margin-left: auto;
    font-size: 12px;
}

/* ─── SCROLL TOP ────────────────────────────────────────────── */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 54px;
    height: 54px;
    background: var(--primary);
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
    border: none;
    cursor: pointer;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-d);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
    color: #fff !important;
}

/* ─── WHATSAPP FLOAT ─────────────────────────────────────────── */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 62px !important;
    height: 62px !important;
    background: #25D366 !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important;
    text-decoration: none !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
    z-index: 5001 !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    animation: waPulse 3s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(8deg) !important;
    background: #128C7E !important;
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6) !important;
    color: #fff !important;
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 8px 40px rgba(37, 211, 102, 0.7);
        transform: scale(1.05);
    }
}

/* ── PORTFOLIO TICKER ─────────────────────────────────────── */
.portfolio-ticker-section {
    overflow: hidden;
    background: var(--bg2);
    padding: 64px 0;
}

.ticker-container {
    overflow: hidden;
    width: 100%;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
}

.ticker-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: tickerScrollR 32s linear infinite;
    padding: 12px 10px;
}

.ticker-track.paused {
    animation-play-state: paused;
}

@keyframes tickerScrollR {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.ticker-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 24px;
    min-width: 180px;
    text-decoration: none !important;
    color: var(--text);
    transition: all 0.22s;
    flex-shrink: 0;
}

.ticker-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
    color: var(--text);
}

.ticker-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
}

.ticker-item-icon {
    width: 44px;
    height: 44px;
    background: #EFF6FF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

[data-theme="dark"] .ticker-item-icon {
    background: rgba(37, 99, 235, 0.15);
    color: var(--secondary);
}

.ticker-item-name {
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    color: var(--text2);
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* ── WHATSAPP CTA BOX ─────────────────────────────── */
.whatsapp-cta-box {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 50px rgba(18, 140, 126, 0.2);
}

.whatsapp-cta-box h3 {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 12px;
    color: #fff;
}

.whatsapp-cta-box p {
    opacity: 0.95;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-size: 17px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: #128C7E !important;
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.btn-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: #075E54 !important;
}

.btn-whatsapp i {
    font-size: 22px;
}

/* ─── INLINE HARDCODED DARK MODE FIXES ──────────────────────── */
[data-theme="dark"] [style*="background:#FFFFFF"],
[data-theme="dark"] [style*="background: #FFFFFF"],
[data-theme="dark"] [style*="background:#fff"],
[data-theme="dark"] [style*="background: #fff"] {
    background: var(--surface) !important;
}

[data-theme="dark"] [style*="background:#EFF6FF"],
[data-theme="dark"] [style*="background: #EFF6FF"] {
    background: rgba(37, 99, 235, 0.10) !important;
}

[data-theme="dark"] [style*="background:#DBEAFE"],
[data-theme="dark"] [style*="background: #DBEAFE"] {
    background: rgba(37, 99, 235, 0.14) !important;
}

[data-theme="dark"] [style*="color:#111827"],
[data-theme="dark"] [style*="color: #111827"] {
    color: var(--text) !important;
}

[data-theme="dark"] [style*="color:#374151"],
[data-theme="dark"] [style*="color: #374151"] {
    color: var(--text2) !important;
}

[data-theme="dark"] [style*="color:#64748B"],
[data-theme="dark"] [style*="color: #64748B"],
[data-theme="dark"] [style*="color:#6B7280"],
[data-theme="dark"] [style*="color: #6B7280"] {
    color: var(--text3) !important;
}

[data-theme="dark"] [style*="border:1px solid #E2E8F0"],
[data-theme="dark"] [style*="border: 1px solid #E2E8F0"] {
    border-color: var(--border) !important;
}

/* Dynamic saas/card grid items in dark mode */
[data-theme="dark"] #saas-grid article {
    background: var(--surface) !important;
    border-color: var(--border) !important;
}

[data-theme="dark"] #saas-grid article h3 {
    color: var(--text) !important;
}

[data-theme="dark"] #saas-grid article div[style*="color:#64748B"],
[data-theme="dark"] #saas-grid article div[style*="color: #64748B"] {
    color: var(--text3) !important;
}

[data-theme="dark"] #saas-grid article span[style*="color:#111827"] {
    color: var(--text) !important;
}

/* ─── CTA ROUNDED CARD DARK MODE FIX ────────────────────────── */
/* Targets the common pattern: a white rounded card sitting inside
   a section on dark mode. Covers inline styles and utility classes. */
[data-theme="dark"] .cta-section div[style*="background"],
[data-theme="dark"] .cta-section div[style*="background:#fff"],
[data-theme="dark"] .cta-section div[style*="background: #fff"],
[data-theme="dark"] .cta-section div[style*="background:#FFFFFF"],
[data-theme="dark"] .cta-section div[style*="background: #FFFFFF"],
[data-theme="dark"] .cta-section div[style*="background:#F8FAFC"],
[data-theme="dark"] .cta-section div[style*="background:#f0f4ff"],
[data-theme="dark"] .cta-section div[style*="background:#eef2ff"],
[data-theme="dark"] .cta-section div[style*="background: #F8FAFC"] {
    background: #1a2236 !important;
    border-color: #2e3a50 !important;
}

/* Also catch any section-level inline background causing white flash */
[data-theme="dark"] section[style*="background:#fff"],
[data-theme="dark"] section[style*="background: #fff"],
[data-theme="dark"] section[style*="background:#FFFFFF"],
[data-theme="dark"] section[style*="background: #FFFFFF"],
[data-theme="dark"] section[style*="background:#F8FAFC"],
[data-theme="dark"] section[style*="background: #F8FAFC"],
[data-theme="dark"] section[style*="background:#EFF6FF"],
[data-theme="dark"] section[style*="background: #EFF6FF"] {
    background: var(--bg2) !important;
}

/* Headings & text inside any white-turned-dark card */
[data-theme="dark"] .cta-section div h2,
[data-theme="dark"] .cta-section div h3 {
    color: var(--text) !important;
}

[data-theme="dark"] .cta-section div p {
    color: var(--text2) !important;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .nav-logo img {
        max-height: 44px !important;
    }

    .nav-logo span {
        font-size: 18px !important;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-inner .hero-actions,
    .hero-inner .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1200px) {
    .nav-links {
        gap: 0;
    }

    .nav-links a {
        padding: 8px 6px;
        font-size: 12px;
        gap: 4px;
    }

    .nav-actions {
        gap: 4px;
    }

    .nav-user-btn {
        padding: 6px 6px;
        font-size: 11px;
    }

    .nav-user-btn i {
        font-size: 11px;
    }

    .nav-logo span {
        font-size: 18px !important;
    }
}

@media (max-width: 768px) {
    .nav-logo img {
        max-height: 38px !important;
    }

    .nav-logo span {
        font-size: 18px !important;
    }

    .scroll-top {
        bottom: 20px;
        left: 16px;
        width: 44px;
        height: 44px;
    }

    .whatsapp-float {
        bottom: 20px !important;
        right: 16px !important;
        width: 54px !important;
        height: 54px !important;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 60px 0;
    }

    .section {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 34px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        gap: 24px;
    }
}

/* ─── SMOOTH TRANSITIONS ─────────────────────────────────────── */
.navbar,
.card,
.why-card,
.smm-card,
.saas-card,
.testi-card,
.contact-info-card,
.mobile-nav-panel,
.form-group input,
.form-group select,
.form-group textarea {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.2s ease;
}