:root {
    /* SaaS Dark Mode Palette */
    --bg-dark: #09090b;
    --bg-card: #18181b;
    --bg-border: #27272a;
    
    /* Brand Colors (RF Logo) */
    --primary: #2172EB; /* Blue */
    --primary-glow: rgba(33, 114, 235, 0.4);
    --secondary: #F6A238; /* Orange */
    --secondary-glow: rgba(246, 162, 56, 0.4);
    
    --text-main: #f8fafc;
    --text-muted: #a1a1aa;
    
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;
    --font-bn: 'Hind Siliguri', sans-serif;
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

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

/* Ensure scrollable containers & drawer ignore global max-width restriction */
.table-responsive, .pricing-table-container, .nav-links, code, pre, .mobile-menu-backdrop, svg, img, canvas, video, iframe {
    max-width: none !important;
}

img, video, iframe, canvas {
    max-width: 100% !important;
    height: auto;
}

/* Background Animation Canvas */
#network-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    opacity: 0.6;
}

/* Floating Live Doodles */
.doodles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.doodle {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.9;
    filter: drop-shadow(0 0 15px currentColor);
}
.doodle-1 { top: 20%; left: 10%; animation: float 6s ease-in-out infinite; color: var(--primary); }
.doodle-2 { top: 60%; right: 15%; animation: float 8s ease-in-out infinite reverse; width: 80px; height: 80px; color: var(--secondary); }
.doodle-3 { bottom: 15%; left: 20%; animation: spinFloat 12s linear infinite; color: var(--primary); }
.doodle-4 { top: 15%; right: 25%; animation: float 7s ease-in-out infinite 2s; width: 70px; height: 70px; color: var(--secondary); }
.doodle-5 { bottom: 30%; right: 10%; animation: float 9s ease-in-out infinite 1s; width: 75px; height: 75px; color: var(--primary); }
.doodle-6 { top: 35%; left: 5%; animation: float 11s ease-in-out infinite reverse; width: 85px; height: 85px; color: var(--secondary); }
.doodle-7 { top: 10%; left: 40%; animation: spinFloat 15s linear infinite; width: 50px; height: 50px; color: var(--primary); }
.doodle-8 { bottom: 10%; right: 40%; animation: float 6s ease-in-out infinite 3s; width: 65px; height: 65px; color: var(--secondary); }

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}
@keyframes spinFloat {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* Background Glows */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}
.glow-top {
    top: -200px;
    right: -100px;
    background: var(--primary-glow);
}
.glow-bottom {
    bottom: -200px;
    left: -100px;
    background: var(--secondary-glow);
}

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

/* Glass Panel Component */
.glass-panel {
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--bg-border);
    border-radius: 16px;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(10px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform, filter;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Typography */
.text-gradient {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 12px;
}
.section-subheading {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
}
.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}
.lang-btn {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--bg-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-stack);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.lang-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
    background: #1d65d4;
    box-shadow: 0 6px 20px var(--primary-glow);
    transform: translateY(-2px);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--bg-border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 20px 0;
    z-index: 2000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bg-border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; }
.logo .r { color: var(--primary); }
.logo .f { color: var(--secondary); }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--text-main); }
.nav-links .active-link {
    color: white;
    border-bottom: 2px solid red;
    padding-bottom: 5px;
}

/* Nav Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000;
    min-width: 260px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.8);
    z-index: 1001;
    border-top: 2px solid red;
    padding: 10px 0;
}
.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}
.dropdown-menu a {
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1a1a1a;
    font-size: 0.9rem;
}
.dropdown-menu a:last-child {
    border-bottom: none;
}
.dropdown-menu a:hover {
    background-color: #111;
    border-bottom-color: #1a1a1a;
}
.dropdown-menu a .arrow-right {
    font-size: 0.6rem;
    color: #888;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Featured Video Banner Section */
.featured-video-section {
    position: relative;
    width: 100%;
    margin: 40px 0 60px 0;
    border-top: 2px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    background: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}
.featured-video-wrapper {
    position: relative;
    width: 100%;
    max-height: 600px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.featured-video {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
    opacity: 1;
}
.hero-container {
    position: relative;
    z-index: 2;
}
.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(33, 114, 235, 0.1);
    border: 1px solid rgba(33, 114, 235, 0.2);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}
.hero-cta { display: flex; justify-content: center; gap: 16px; margin-bottom: 80px; }

/* Dashboard Mockup (SaaS UI) */
.pulse-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background-color: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(246, 162, 56, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(246, 162, 56, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(246, 162, 56, 0); }
}
.dashboard-mockup {
    max-width: 900px; margin: 0 auto; border-radius: 12px;
    position: relative; overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.mockup-glow {
    position: absolute; width: 300px; height: 300px; border-radius: 50%;
    filter: blur(80px); z-index: 0; opacity: 0.15;
}
.orb-blue { top: -100px; left: -100px; background: var(--primary); }
.orb-orange { bottom: -100px; right: -100px; background: var(--secondary); }

.dash-header {
    background: rgba(24, 24, 27, 0.6); padding: 12px 20px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); position: relative; z-index: 1;
}
.dash-title { margin: 0 auto; color: #a1a1aa; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.5px; }
.dash-user .user-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.dash-body { position: relative; z-index: 1; padding: 24px; }
.dash-content-new { display: flex; flex-direction: column; gap: 24px; }
.dash-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.stat-box {
    flex: 1; min-width: 220px; background: rgba(24, 24, 27, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 20px;
    transition: transform 0.3s;
}
.stat-box:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.1); }
.highlight-box { background: linear-gradient(145deg, rgba(33, 114, 235, 0.05) 0%, rgba(246, 162, 56, 0.05) 100%); border: 1px solid rgba(246, 162, 56, 0.2); }
.stat-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.stat-label { color: #a1a1aa; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-value { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 4px; }

.dash-chart-area { background: rgba(24, 24, 27, 0.3); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 20px; }
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.chart-title { font-weight: 600; font-size: 1rem; color: #fff; }
.chart-filters { display: flex; gap: 10px; }
.chart-filters span { font-size: 0.75rem; color: #71717a; padding: 4px 10px; border-radius: 12px; cursor: pointer; font-weight: 600; }
.chart-filters span.active { background: rgba(255, 255, 255, 0.1); color: #fff; }
.chart-visual { height: 160px; width: 100%; position: relative; }

/* Logo Cloud (Infinite Marquee) */
.logo-cloud { padding: 60px 0; border-top: 1px solid var(--bg-border); border-bottom: 1px solid var(--bg-border); background: rgba(24, 24, 27, 0.3); }
.cloud-title { text-align: center; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 30px; }
.marquee-wrapper { overflow: hidden; display: flex; white-space: nowrap; width: 100%; position: relative; }
/* Gradient masks for smooth fade out at edges */
.marquee-wrapper::before, .marquee-wrapper::after {
    content: ""; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-dark), transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-dark), transparent); }

.marquee {
    display: flex; gap: 40px; animation: scroll 12s linear infinite; align-items: center;
}
.marquee img { height: 40px; border-radius: 8px; transition: transform 0.3s; }
.marquee img:hover { transform: scale(1.1); }
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Features (Bento Grid) */
.features { padding: 120px 0; background: #000; position: relative; z-index: 1; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bento-card {
    padding: 40px; display: flex; flex-direction: column; transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(145deg, rgba(24, 24, 27, 0.4) 0%, rgba(9, 9, 11, 0.8) 100%);
    border-radius: 24px;
}
.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.bento-large { grid-column: 1 / -1; }

.bento-icon-wrapper {
    width: 56px; height: 56px; margin-bottom: 24px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.4s ease;
}
.bento-primary { background: rgba(33, 114, 235, 0.1); border: 1px solid rgba(33, 114, 235, 0.2); color: var(--primary); }
.bento-secondary { background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.2); color: #4ade80; }
.bento-accent { background: rgba(168, 85, 247, 0.1); border: 1px solid rgba(168, 85, 247, 0.2); color: #a855f7; }
.bento-gold { background: rgba(246, 162, 56, 0.1); border: 1px solid rgba(246, 162, 56, 0.2); color: var(--secondary); }

.bento-card:hover .bento-icon-wrapper {
    transform: scale(1.1) translateY(-5px);
}
.bento-card:hover .bento-primary { box-shadow: 0 10px 20px rgba(33, 114, 235, 0.2); background: rgba(33, 114, 235, 0.2); }
.bento-card:hover .bento-secondary { box-shadow: 0 10px 20px rgba(74, 222, 128, 0.2); background: rgba(74, 222, 128, 0.2); }
.bento-card:hover .bento-accent { box-shadow: 0 10px 20px rgba(168, 85, 247, 0.2); background: rgba(168, 85, 247, 0.2); }
.bento-card:hover .bento-gold { box-shadow: 0 10px 20px rgba(246, 162, 56, 0.2); background: rgba(246, 162, 56, 0.2); }

.card-icon { font-size: 2rem; margin-bottom: 24px; }
.bento-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: #fff; letter-spacing: -0.5px; }
.bento-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Custom Large Bento Layout */
.bento-large-inner { display: flex; flex-direction: column; gap: 40px; padding: 10px; }
.bento-large-content { flex: 1; }
.bento-large-content h3 { font-size: 1.8rem; line-height: 1.3; margin-bottom: 16px; }
.bento-large-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }
.bento-large-visual { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; }

/* Mock Dashboard Card */
.mock-dashboard-card { width: 100%; max-width: 450px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 24px; position: relative; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px); }
.glow-orb { position: absolute; width: 150px; height: 150px; border-radius: 50%; filter: blur(60px); z-index: -1; opacity: 0.5; }
.orb-primary { top: -50px; right: -50px; background: var(--primary); }
.orb-secondary { bottom: -50px; left: -50px; background: var(--secondary); }
.mock-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mock-title { font-size: 1rem; font-weight: 600; color: white; letter-spacing: -0.5px; }
.mock-badge { background: rgba(74, 222, 128, 0.15); color: #4ade80; padding: 4px 10px; border-radius: 6px; font-weight: 700; font-size: 0.8rem; }
.mock-chart { display: flex; align-items: flex-end; gap: 10px; height: 100px; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.bar { flex: 1; border-radius: 6px 6px 0 0; animation: barGrow 1.5s ease-out forwards; transform-origin: bottom; opacity: 0; }
.bar-1 { height: 40%; background: linear-gradient(to top, var(--primary), rgba(33, 114, 235, 0.3)); animation-delay: 0.2s; }
.bar-2 { height: 60%; background: linear-gradient(to top, var(--primary), rgba(33, 114, 235, 0.3)); animation-delay: 0.4s; }
.bar-3 { height: 50%; background: linear-gradient(to top, var(--primary), rgba(33, 114, 235, 0.3)); animation-delay: 0.6s; }
.bar-4 { height: 85%; background: linear-gradient(to top, var(--secondary), rgba(246, 162, 56, 0.3)); animation-delay: 0.8s; }
.bar-5 { height: 100%; background: linear-gradient(to top, var(--secondary), rgba(246, 162, 56, 0.3)); animation-delay: 1.0s; }
.mock-stats-row { display: flex; gap: 12px; }
.mock-stat-box { flex: 1; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255,255,255,0.05); padding: 12px; border-radius: 12px; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-value { font-size: 1.2rem; font-weight: 700; color: white; letter-spacing: -0.5px; }

@keyframes barGrow { 0% { transform: scaleY(0); opacity: 0; } 100% { transform: scaleY(1); opacity: 1; } }

@media (min-width: 992px) {
    .bento-large-inner { flex-direction: row; align-items: center; padding: 20px; }
    .bento-large-content { padding-right: 40px; }
}

/* Pricing Section */
.pricing { padding: 120px 0; background: #000; }
.pricing-table-container { width: 100%; overflow-x: auto; padding: 20px; }
.pricing-table { width: 100%; min-width: 800px; border-collapse: collapse; text-align: center; }
.pricing-table th, .pricing-table td { padding: 20px; border-bottom: 1px solid var(--bg-border); }
.feature-col { text-align: left; width: 25%; font-weight: 600; color: var(--text-muted); font-size: 1.1rem; }
.feature-name { text-align: left; font-weight: 500; color: var(--text-muted); }
.tier-header { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tier-name { font-size: 1.25rem; font-weight: 600; color: var(--text-main); }
.tier-badge { background: rgba(33, 114, 235, 0.2); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.popular-badge { background: var(--primary); color: #fff; }
.price-strike { text-decoration: line-through; color: var(--text-muted); font-size: 1rem; }
.price-main { font-size: 2.5rem; font-weight: 800; color: var(--text-main); line-height: 1; }
.popular-col { background: rgba(33, 114, 235, 0.05); border-left: 1px solid rgba(33, 114, 235, 0.2); border-right: 1px solid rgba(33, 114, 235, 0.2); }
.pricing-table thead .popular-col { border-top: 2px solid var(--primary); border-top-left-radius: 8px; border-top-right-radius: 8px; }
.check { color: #10b981; font-weight: bold; font-size: 1.2rem; }
.dash { color: var(--text-muted); }
.pricing-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tfoot td { padding-top: 30px; border-bottom: none; }

/* Insights / Business Tips Section */
.insights { padding: 120px 0; border-top: 1px solid var(--bg-border); background: linear-gradient(to bottom, #000, var(--bg-dark)); }
.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.insight-card {
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.insight-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
    border-color: rgba(33, 114, 235, 0.4);
}

.insight-card:hover .insight-image img {
    transform: scale(1.05);
}

.insight-card.has-image {
    padding: 0;
    overflow: hidden;
    gap: 0;
}
.insight-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.insight-image { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-bottom: 1px solid var(--bg-border); background: var(--bg-dark); }
.insight-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s ease; filter: brightness(0.9); }
.insight-category { display: inline-block; padding: 4px 10px; background: rgba(246, 162, 56, 0.1); color: var(--secondary); border: 1px solid rgba(246, 162, 56, 0.2); border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; align-self: flex-start; }
.post-category { display: inline-block; padding: 6px 14px; background: rgba(246, 162, 56, 0.1); color: var(--secondary); border: 1px solid rgba(246, 162, 56, 0.2); border-radius: 20px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 20px; }
.post-title { font-size: 2rem; font-weight: 700; margin-bottom: 20px; line-height: 1.3; font-family: 'Hind Siliguri', 'Inter', sans-serif; }
.post-meta { display: flex; align-items: center; gap: 20px; color: var(--text-muted); font-size: 0.9rem; }
.post-meta span { display: flex; align-items: center; gap: 6px; }
.post-body { font-size: 1.05rem; line-height: 1.8; color: var(--text-main); font-family: 'Hind Siliguri', 'Inter', sans-serif; }
.post-body p { margin-bottom: 24px; }
.insight-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; line-height: 1.5; letter-spacing: -0.01em; font-family: 'Hind Siliguri', 'Inter', sans-serif; }
.insight-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; flex-grow: 1; line-height: 1.6; font-family: 'Hind Siliguri', 'Inter', sans-serif; }
.read-more { display: flex; align-items: center; gap: 8px; color: var(--primary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.read-more svg { width: 16px; height: 16px; transition: transform 0.3s; }
.read-more:hover { color: #fff; }
.read-more:hover svg { transform: translateX(4px); }

/* Contact Section */
.contact { padding: 120px 0; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px; border: 1px solid var(--bg-border); }
@media(max-width: 768px){ .contact-card { grid-template-columns: 1fr; padding: 24px; } }
.contact-info h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em; }
.contact-info p { color: var(--text-muted); margin-bottom: 40px; }
.method { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.method-icon { font-size: 1.5rem; }
.method strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.method a { color: var(--text-main); text-decoration: none; }
.method a:hover { color: var(--primary); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.form-group input, .form-group select {
    padding: 12px 16px; background: rgba(0,0,0,0.5); border: 1px solid var(--bg-border);
    border-radius: 8px; color: white; font-family: var(--font-stack); font-size: 0.95rem;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); }

/* Footer */
footer { border-top: 1px solid var(--bg-border); padding: 40px 0; }
.footer-container { display: flex; justify-content: space-between; align-items: center; }
@media(max-width: 768px) { .footer-container { flex-direction: column; text-align: center; gap: 24px; } }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 8px; }
.footer-links p { color: var(--text-muted); font-size: 0.85rem; }

/* ROAS Calculator Styles */
.calculator-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.calculator-glass {
    border-radius: 20px;
    padding: 40px;
}

.calc-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.editable-val {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    gap: 4px;
}

.num-input {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--bg-border);
    border-radius: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 4px 8px;
    width: 90px;
    text-align: right;
    font-family: var(--font-stack);
}
.num-input:focus {
    outline: none;
    border-color: var(--primary);
}

.custom-range {
    width: 100%;
    margin-top: 10px;
    accent-color: var(--primary);
}

.calc-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

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

.result-box.highlight {
    background: rgba(33, 114, 235, 0.1);
    border-color: rgba(33, 114, 235, 0.3);
}

.result-box h3 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-top: 5px;
}
.result-box.highlight h3 {
    color: var(--primary);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

.lang-bn {
    font-family: var(--font-bn);
}

/* Digital Products Section */
.digital-products {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.product-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 50px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(33, 114, 235, 0.05) 0%, rgba(0, 0, 0, 0.4) 100%);
    border: 1px solid rgba(33, 114, 235, 0.2);
    align-items: center;
}

.product-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(246, 162, 56, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(246, 162, 56, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.product-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-pro {
    font-size: 1rem;
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 800;
}

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

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-main);
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 30px;
}

.product-pricing .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.product-pricing .period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.portal-mockup {
    background: #09090b;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--bg-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.portal-table {
    padding: 20px;
    font-size: 0.9rem;
}

.pt-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-border);
}

.pt-row.header {
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    border-bottom: 2px solid var(--bg-border);
}

.pt-row:last-child {
    border-bottom: none;
}

.c-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}
.c-dot.faiza { background: #10b981; }
.c-dot.nafisa { background: #3b82f6; }
.c-dot.ifada { background: #f59e0b; }

.portal-blur {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #09090b);
}

/* Pain Points Section */
.pain-points {
    padding: 80px 0 40px;
}
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.pain-card {
    padding: 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(24, 24, 27, 0.6) 0%, rgba(9, 9, 11, 0.9) 100%);
    transition: all 0.4s ease;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}
.pain-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0; transition: opacity 0.4s ease;
}
.pain-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5), 0 0 20px rgba(246, 162, 56, 0.1);
}
.pain-card:hover::before { opacity: 1; }

.pain-icon-wrapper {
    width: 64px; height: 64px; margin: 0 auto 24px;
    background: rgba(246, 162, 56, 0.1);
    border: 1px solid rgba(246, 162, 56, 0.2);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--secondary);
    transition: all 0.4s ease;
}
.pain-card:hover .pain-icon-wrapper {
    background: var(--secondary);
    color: #000;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(246, 162, 56, 0.3);
}
.pain-card h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
    color: white;
    font-weight: 700;
}
.pain-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Timeline Process Section */
.process {
    padding: 80px 0;
}
.timeline {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--bg-border);
}
.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 0 15px var(--primary-glow);
    z-index: 2;
}
.timeline-content {
    padding: 30px;
    border-left: 3px solid var(--primary);
}
.timeline-content h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.4rem;
}
.timeline-content p {
    color: var(--text-muted);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    padding: 0;
    overflow: hidden;
}
.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question h3 {
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
}
.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 200px; /* arbitrary max height for animation */
}
.faq-answer p {
    color: var(--text-muted);
}

/* ========== Business Insight Highlight ========== */
.insight-highlight {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(33,114,235,0.06) 0%, transparent 70%);
}
.insight-highlight-inner {
    padding: 60px 50px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(24,24,27,0.5) 0%, rgba(9,9,11,0.85) 100%);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.insight-highlight-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, rgba(33,114,235,0.08) 0deg, transparent 60deg, rgba(246,162,56,0.05) 120deg, transparent 180deg, rgba(33,114,235,0.05) 240deg, transparent 360deg);
    animation: insightGlow 12s linear infinite;
    pointer-events: none;
}
@keyframes insightGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.insight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(33,114,235,0.12);
    border: 1px solid rgba(33,114,235,0.25);
    padding: 8px 20px;
    border-radius: 30px;
    color: #60a5fa;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}
.insight-highlight .section-heading {
    font-size: 2.4rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.insight-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}
.insight-questions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}
.iq-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.iq-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.iq-card:hover {
    transform: translateY(-4px);
    border-color: rgba(33,114,235,0.3);
    background: rgba(33,114,235,0.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.iq-card:hover::before { opacity: 1; }
.iq-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    flex-shrink: 0;
    min-width: 40px;
}
.iq-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
.iq-card p strong {
    color: #fff;
}
.iq-card p em {
    color: var(--secondary);
    font-style: italic;
}
.insight-bottom {
    position: relative;
    z-index: 1;
}
.insight-conclusion {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.insight-conclusion strong {
    color: var(--secondary);
}
.insight-bottom .btn-primary {
    background: linear-gradient(45deg, var(--primary), #00c6ff);
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(33,114,235,0.35);
    transition: all 0.3s ease;
}
.insight-bottom .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(33,114,235,0.5);
}
@media (max-width: 768px) {
    .insight-highlight-inner { padding: 40px 20px; }
    .insight-highlight .section-heading { font-size: 1.7rem; }
    .insight-questions-grid { grid-template-columns: 1fr; }
    .iq-card { padding: 20px 16px; }
}

/* Portfolio Section */
.portfolio-showcase { padding: 120px 0; background: #000; position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.05); }
.port-section-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(33,114,235,0.1); border: 1px solid rgba(33,114,235,0.2);
    padding: 8px 18px; border-radius: 30px; color: #60a5fa;
    font-weight: 600; font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.06em; margin-bottom: 20px;
}
.portfolio-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: var(--text-muted);
    padding: 10px 24px; border-radius: 30px; font-weight: 600; cursor: pointer; transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary); color: white; border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(33,114,235,0.3);
}

.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.port-card {
    background: linear-gradient(145deg, rgba(24, 24, 27, 0.4) 0%, rgba(9, 9, 11, 0.8) 100%);
    border: 1px solid rgba(255,255,255,0.05); border-radius: 20px;
    overflow: hidden; transition: all 0.4s ease; display: flex; flex-direction: column;
}
.port-card:hover { transform: translateY(-8px); border-color: rgba(33,114,235,0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(33,114,235,0.1); }
.port-image { position: relative; height: 260px; overflow: hidden; background: #050505; display: flex; align-items: center; justify-content: center; }
.port-image img { width: 100%; height: 100%; object-fit: contain; padding: 30px; transition: transform 0.6s ease; }
.port-card:hover .port-image img { transform: scale(1.08); }

/* Niche Badge on Image */
.port-niche-badge {
    position: absolute; top: 16px; left: 16px; z-index: 3;
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1); padding: 6px 14px;
    border-radius: 20px; color: #e2e8f0; font-size: 0.72rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.port-niche-badge svg { color: var(--secondary); }

/* Overlay with Dual Metrics */
.port-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    display: flex; align-items: flex-end; padding: 20px; opacity: 0; transition: opacity 0.4s ease;
}
.port-card:hover .port-overlay { opacity: 1; }
.port-metrics-row { display: flex; gap: 12px; width: 100%; }
.port-metric {
    background: rgba(33,114,235,0.12); backdrop-filter: blur(10px);
    padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(33,114,235,0.25);
    display: flex; flex-direction: column; flex: 1;
    transform: translateY(10px); transition: transform 0.4s ease 0.1s;
}
.port-metric.accent {
    background: rgba(246,162,56,0.12); border-color: rgba(246,162,56,0.25);
}
.port-card:hover .port-metric { transform: translateY(0); }
.m-value { font-size: 1.5rem; font-weight: 800; color: white; line-height: 1; margin-bottom: 4px; }
.m-label { font-size: 0.75rem; font-weight: 600; color: #60a5fa; text-transform: uppercase; letter-spacing: 0.5px; }
.port-metric.accent .m-label { color: var(--secondary); }

/* Color-coded Tags */
.port-content { padding: 28px; }
.port-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.port-tags .tag {
    font-size: 0.72rem; font-weight: 600; padding: 4px 12px;
    border-radius: 20px; text-transform: uppercase; letter-spacing: 0.03em;
}
.tag-blue { color: #60a5fa; background: rgba(33,114,235,0.1); border: 1px solid rgba(33,114,235,0.2); }
.tag-orange { color: var(--secondary); background: rgba(246,162,56,0.1); border: 1px solid rgba(246,162,56,0.2); }
.tag-green { color: #34d399; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); }
.tag-purple { color: #a78bfa; background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.2); }

.port-content h3 { font-size: 1.4rem; color: white; margin-bottom: 12px; font-weight: 700; }
.port-content p { color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; font-size: 0.92rem; }

/* Animated Result Progress Bar */
.port-result-bar {
    position: relative; height: 28px; background: rgba(255,255,255,0.04);
    border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06);
}
.result-fill {
    position: absolute; top: 0; left: 0; height: 100%;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    border-radius: 14px; width: 0; transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.port-card.in-view .result-fill { width: var(--fill-width, 0%); }
.result-label {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 0.72rem; font-weight: 700; color: white; white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5); z-index: 2; letter-spacing: 0.02em;
}

/* Port Card as Anchor */
a.port-card { text-decoration: none; color: inherit; cursor: pointer; }
a.port-card:hover { color: inherit; }

/* View Case Study CTA */
.port-cta {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--primary); font-size: 0.88rem; font-weight: 600;
    margin-top: 16px; transition: all 0.3s ease;
    letter-spacing: 0.01em;
}
.port-cta svg { transition: transform 0.3s ease; }
.port-card:hover .port-cta { color: #60a5fa; }
.port-card:hover .port-cta svg { transform: translateX(5px); }

/* Mobile Navigation Toggle Button & Glass Drawer */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    z-index: 2002;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.hamburger-box {
    width: 20px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-box .hamb-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6), opacity 0.25s ease, background-color 0.3s ease;
}

.mobile-menu-btn.active {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.mobile-menu-btn.active .hamb-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    background-color: #f87171;
}

.mobile-menu-btn.active .hamb-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .hamb-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    background-color: #f87171;
}

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mobile-menu-backdrop.active {
    display: block;
    opacity: 1;
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
        z-index: 2002 !important;
    }
    
    .nav-container {
        position: relative;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85vw !important;
        max-width: 320px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #121524 !important; /* Solid dark slate blue for maximum contrast */
        border-left: 2px solid var(--primary) !important;
        box-shadow: -15px 0 50px rgba(0, 0, 0, 0.95) !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 85px 18px 30px !important;
        gap: 8px !important;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 2001 !important; /* Higher than backdrop (1999) and navbar (2000) */
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

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

    .nav-links a {
        color: #ffffff !important;
        font-size: 1.02rem !important;
        font-weight: 600 !important;
        padding: 12px 16px !important;
        border-radius: 10px !important;
        background: #1c2030 !important; /* Solid dark card for crisp visibility */
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        transition: all 0.2s ease !important;
        box-shadow: 0 3px 10px rgba(0,0,0,0.4);
    }

    .nav-links a:hover, .nav-links a:active {
        color: #ffffff !important;
        background: var(--primary) !important;
        border-color: var(--primary) !important;
        transform: translateX(4px);
    }

    .nav-links .active-link {
        border-bottom: none !important;
        color: #ffffff !important;
        background: rgba(33, 114, 235, 0.35) !important;
        border-color: var(--primary) !important;
        font-weight: 700 !important;
    }

    .dropdown {
        padding-bottom: 0 !important;
        width: 100% !important;
    }

    /* Sub-categories displayed as clear glowing cards inside drawer */
    .dropdown-menu {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        background: rgba(0, 0, 0, 0.5) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-left: 3px solid var(--secondary) !important;
        border-radius: 10px !important;
        padding: 8px !important;
        margin: 6px 0 10px 0 !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-menu a {
        font-size: 0.93rem !important;
        font-weight: 500 !important;
        color: #bfdbfe !important;
        padding: 10px 14px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 8px !important;
    }

    .dropdown-menu a:hover, .dropdown-menu a:active {
        color: #ffffff !important;
        background: var(--secondary) !important;
        border-color: var(--secondary) !important;
    }

    .nav-actions {
        margin-left: auto;
    }
    
    .nav-actions .btn {
        padding: 8px 14px;
        font-size: 0.84rem;
    }

    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .bento-grid,
    .bento-large-inner,
    .insights-grid,
    .contact-card,
    .calc-body,
    .product-card,
    .pain-grid,
    .portfolio-grid,
    .insight-questions-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
    /* Hide oversized glow effects on mobile that stretch layout width */
    .bg-glow, .glow-top, .glow-bottom, .glow-orb {
        display: none !important;
    }

    /* Force all inline min-width containers to collapse on mobile */
    .footer-brand, .footer-contact, .footer-social, .footer-container div {
        min-width: 0 !important;
        width: 100% !important;
    }

    .marquee {
        animation: scroll 8s linear infinite !important;
        gap: 30px !important;
    }

    .container {
        padding: 0 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .hero {
        padding: 120px 0 50px !important;
        overflow: hidden;
    }

    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
        line-height: 1.25 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 0.94rem !important;
        margin-bottom: 24px !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-cta .btn {
        width: 100%;
        display: block;
    }

    .dashboard-mockup { display: none !important; }

    .section-heading {
        font-size: clamp(1.4rem, 5vw, 2.0rem) !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .section-subheading {
        font-size: 0.92rem !important;
        margin-bottom: 28px !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .portfolio-showcase, .services-overview, .pricing-section, section {
        padding: 45px 0 !important;
        overflow: hidden;
    }

    .iq-card, .pain-card, .product-card, .insight-card {
        padding: 20px 16px !important;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }

    .featured-video-section {
        margin: 15px 0 25px 0;
    }
    .featured-video-wrapper {
        max-height: 260px;
        aspect-ratio: 16 / 9;
    }
    .featured-video {
        max-height: 260px;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .pricing-table-container {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.0rem;
    }

    .badge {
        font-size: 0.72rem !important;
        padding: 5px 10px !important;
    }
    
    .calc-box {
        padding: 16px 12px !important;
    }
    
    .filter-btn {
        padding: 7px 12px !important;
        font-size: 0.78rem !important;
    }

    .nav-actions .btn {
        padding: 6px 9px;
        font-size: 0.75rem;
    }
}


