:root {
    --bg-primary: #060d1a;
    --bg-secondary: #0b1329;
    --bg-tertiary: #131f3d;
    --accent-teal: #2dd4bf;
    --accent-blue: #3b82f6;
    --accent-orange: #f97316;
    --accent-pink: #ec4899;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 100%);
    --shadow-glow: 0 0 20px rgba(45, 212, 191, 0.15);
    --border-glass: 1px solid rgba(255, 255, 255, 0.05);
    --border-glow: 1px solid rgba(45, 212, 191, 0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 4.5rem 0; /* Compacted from 6rem 0 */
}

/* Glassmorphism Classes */
.glass-card {
    background: rgba(11, 19, 41, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-glass);
    border-radius: 1.25rem;
    padding: 2rem; /* Compacted from 2.5rem */
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(45, 212, 191, 0.25);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Text Gradients */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative Blurs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

/* Sticky Header - SparkTG White Style */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.65rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.logo-brand {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.logo-brand span {
    color: #0ea5e9;
}

.logo-sub {
    font-size: 0.58rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

header nav {
    display: flex;
    align-items: center;
    gap: 0.2rem; /* Compacted from 0.35rem */
}

.nav-item {
    position: relative;
    padding: 0.5rem 0;
}

.nav-link {
    font-size: 0.8rem; /* Compacted from 0.85rem */
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.25rem; /* Compacted from 0.3rem */
    padding: 0.35rem 0.65rem; /* Compacted from 0.45rem 0.85rem */
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-link:hover {
    color: #0d9488;
    background: rgba(13, 148, 136, 0.05);
}

.nav-item:hover .nav-link-products,
.nav-item:hover .nav-link-web {
    background: rgba(13, 148, 136, 0.08);
    color: #0d9488;
}

.nav-link.ai-plans-link {
    color: #d97706;
    background: rgba(251, 191, 36, 0.12);
}

.nav-link.ai-plans-link:hover {
    background: rgba(251, 191, 36, 0.2);
    color: #b45309;
}

/* Desktop Megamenu Dropdown - White Style */
.megamenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 920px; /* Increased from 820px to prevent text wrapping */
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    z-index: 500;
    display: none;
    grid-template-columns: 29% 71%; /* Adjusted ratio for wider left panel */
    padding: 1.25rem;
    color: #1f2937;
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease-out;
}

.nav-item:hover .megamenu {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(8px);
}

/* Left Panel - Categories */
.megamenu-left {
    border-right: 1px solid #e2e8f0;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.megamenu-left h4 {
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.megamenu-cat-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    padding: 0.55rem 0.75rem; /* Reduced padding to fit longer category text */
    display: flex;
    align-items: center;
    gap: 0.55rem; /* Reduced gap */
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: #475569;
    transition: var(--transition);
    width: 100%;
}

.megamenu-cat-btn:hover {
    background: #f8fafc;
    color: #0f172a;
}

.megamenu-cat-btn.active {
    border: 1px solid #a7f3d0;
    background: #f0fdf4;
    color: #15803d;
}

.megamenu-cat-icon {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.megamenu-cat-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.megamenu-cat-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.megamenu-cat-title {
    font-size: 0.8rem; /* Slightly reduced */
    font-weight: 700;
    white-space: nowrap; /* Forces text to remain on a single line */
}

.megamenu-cat-count {
    font-size: 0.72rem;
    color: #64748b;
}

.megamenu-cat-btn.active .megamenu-cat-count {
    color: #16a34a;
}

/* Right Panel - Products Display */
.megamenu-right {
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
}

.megamenu-right-header {
    margin-bottom: 1rem;
}

.megamenu-right-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.15rem;
    font-family: 'Outfit', sans-serif;
}

.megamenu-right-desc {
    font-size: 0.8rem;
    color: #64748b;
}

.megamenu-products-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.megamenu-prod-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.megamenu-prod-item:hover {
    background: #f8fafc;
    transform: translateX(3px);
}

.megamenu-prod-icon {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.megamenu-prod-info h5 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.1rem;
}

.megamenu-prod-info p {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.35;
}

/* Header action elements */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Compacted from 0.75rem */
}

.phone-cta {
    font-size: 0.8rem; /* Compacted from 0.85rem */
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #e2e8f0;
    padding: 0.4rem 0.8rem; /* Compacted from 0.45rem 1.05rem */
    border-radius: 100px;
    background: #f8fafc;
    transition: var(--transition);
    white-space: nowrap;
}

.phone-cta:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: scale(1.02);
}

.phone-cta svg {
    color: #0d9488;
}

/* Custom CSS Refresh Button */
.refresh-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    color: #64748b;
    background: #f8fafc;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.refresh-cta:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.refresh-icon-svg {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.refresh-cta:hover .refresh-icon-svg {
    transform: rotate(180deg);
}

/* Menu Toggle Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0.5rem;
    z-index: 1010;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #0f172a;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Drawer Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

/* Mobile Menu Drawer Panel */
.drawer-panel {
    position: fixed;
    top: 0;
    left: -320px;
    width: min(320px, 85vw);
    height: 100vh;
    background: #ffffff;
    color: #1f2937;
    z-index: 999;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-panel.active {
    left: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.drawer-header .logo {
    color: #0f172a;
}

.drawer-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    overflow-y: auto;
    padding-right: 0.25rem;
    max-height: 60vh;
}

.drawer-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.5rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    color: #374151;
}

.drawer-item:hover {
    background: #f9fafb;
    color: #0f172a;
}

.drawer-item-icon {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

/* Color variations for icons */
.color-blue { background: #eff6ff; color: #2563eb; }
.color-purple { background: #faf5ff; color: #7c3aed; }
.color-orange { background: #fff7ed; color: #ea580c; }
.color-green { background: #f0fdf4; color: #16a34a; }
.color-pink { background: #fdf2f8; color: #db2777; }

.drawer-item-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    line-height: 1.2;
}

.drawer-item-title {
    font-size: 0.85rem;
    font-weight: 700;
}

.drawer-item-desc {
    font-size: 0.7rem;
    color: #6b7280;
}

.drawer-item-arrow {
    color: #9ca3af;
    font-size: 1rem;
}

/* Drawer Bottom elements */
.drawer-phone-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #0d9488;
    font-size: 0.95rem;
}

.drawer-phone-card svg {
    width: 1rem;
    height: 1rem;
}

.drawer-actions {
    display: flex;
    gap: 0.5rem;
}

.drawer-btn-talk {
    flex: 1.2;
    background: #0ea5e9;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 0.5rem;
    padding: 0.65rem;
    font-weight: 700;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
}

.drawer-btn-login {
    flex: 0.8;
    background: #2563eb;
    color: white;
    border-radius: 0.5rem;
    padding: 0.65rem;
    font-weight: 700;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 7.5rem; /* Slightly reduced */
    padding-bottom: 3.5rem;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* Slightly compacted */
    line-height: 1.15;
    margin: 0.5rem auto 1.2rem auto;
    max-width: 900px;
}

.hero-desc {
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    color: var(--text-secondary);
    margin: 0 auto 2.2rem auto;
    max-width: 750px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

/* HUGE INTERACTIVE DASHBOARD */
.dashboard-board-wrapper {
    margin: 0 auto;
    max-width: 1140px;
    padding: 0 1rem;
    perspective: 2000px;
}

.dashboard-board {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9.2;
    background: #060d1a;
    border-radius: 1.5rem;
    border: var(--border-glow);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s ease;
}

.dashboard-board:hover {
    box-shadow: 0 35px 80px rgba(45, 212, 191, 0.18), 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Grid lines overlay */
.dashboard-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(45, 212, 191, 0.12) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    transform: translateZ(5px);
}

/* Floating lights */
.dashboard-light-radial {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateZ(10px);
    width: 80%;
    height: 50%;
    background: radial-gradient(ellipse at 50% 0%, rgba(45, 212, 191, 0.25) 0%, rgba(15, 40, 80, 0.3) 50%, transparent 80%);
    pointer-events: none;
}

/* Absolute Layout Overlay */
.connections-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    transform: translateZ(20px);
}

.board-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 2.5% 3.5%;
    transform-style: preserve-3d;
    pointer-events: none;
}

/* Columns Structure */
.board-columns {
    display: grid;
    grid-template-columns: 24% 52% 24%;
    height: 87%;
    align-items: stretch;
    transform-style: preserve-3d;
}

.board-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transform: translateZ(40px);
    transform-style: preserve-3d;
    pointer-events: auto;
}

.board-column-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-left: 0.25rem;
}

.header-bar {
    width: 3px;
    height: 15px;
    border-radius: 10px;
    background: var(--accent-teal);
    box-shadow: 0 0 8px var(--accent-teal);
}

.column-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-teal);
}

/* Node Cards */
.board-node {
    background: rgba(18, 30, 62, 0.88);
    border: var(--border-glass);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.board-node:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.board-node.active-orange {
    border-color: var(--accent-orange);
    background: rgba(249, 115, 22, 0.08);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
}

.board-node.active-pink {
    border-color: var(--accent-pink);
    background: rgba(236, 72, 153, 0.08);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.15);
}

.node-icon-box {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
}

.board-node.active-orange .node-icon-box {
    background: var(--accent-orange);
    color: white;
}

.board-node.active-pink .node-icon-box {
    background: var(--accent-pink);
    color: white;
}

.node-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.node-port {
    margin-left: auto;
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
}

.board-node.active-orange .node-port {
    background: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange);
}

.board-node.active-pink .node-port {
    background: var(--accent-pink);
    box-shadow: 0 0 8px var(--accent-pink);
}

/* Central AI Engine */
.board-engine-column {
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.board-engine-card {
    width: 100%;
    background: linear-gradient(145deg, rgba(14, 26, 58, 0.95) 0%, rgba(10, 18, 44, 0.98) 100%);
    border: var(--border-glow);
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    transform: translateZ(60px);
    transform-style: preserve-3d;
}

.engine-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.engine-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.engine-title::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-teal);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-teal);
}

.engine-badge-btn {
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
}

/* Engine Horizontal Flow Nodes */
.engine-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.engine-flow-node {
    background: rgba(6, 13, 26, 0.5);
    border: var(--border-glass);
    border-radius: 0.5rem;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.engine-flow-node.active {
    border-color: var(--accent-teal);
    background: rgba(45, 212, 191, 0.05);
    color: var(--accent-teal);
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.08);
}

.engine-flow-node h5 {
    font-size: 0.72rem;
    margin-bottom: 0.15rem;
}

.engine-flow-node span {
    font-size: 0.55rem;
    opacity: 0.7;
    display: block;
}

/* Core Keywords block */
.engine-keywords {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
}

.engine-keywords span.active {
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.engine-keywords span.active::before {
    content: '⚡';
    font-size: 0.7rem;
}

/* Center main processing node */
.engine-center-core {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}

.engine-core-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.2;
}

.engine-core-orb {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #1e3a47, #0b1329);
    border: 2px solid var(--accent-teal);
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
    font-size: 1.2rem;
}

/* Core API statistics */
.engine-core-stats {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
}

.engine-stat-tag {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    color: var(--text-secondary);
}

/* Bottom four products grid inside engine */
.engine-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.engine-product-box {
    border-radius: 0.5rem;
    padding: 0.5rem;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 4.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.engine-product-box h4 {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.engine-product-box p {
    font-size: 0.55rem;
    opacity: 0.8;
}

.bg-product-teal { background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%); }
.bg-product-blue { background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%); }
.bg-product-green { background: linear-gradient(135deg, #047857 0%, #065f46 100%); }
.bg-product-orange { background: linear-gradient(135deg, #c2410c 0%, #9a3412 100%); }

/* Flow Stats Bar at the bottom of the board */
.dashboard-status-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 13%;
    background: rgba(6, 13, 26, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3.5%;
    z-index: 4;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot-green { background: #10b981; box-shadow: 0 0 6px #10b981; }
.dot-purple { background: #8b5cf6; box-shadow: 0 0 6px #8b5cf6; }
.dot-blue { background: #3b82f6; box-shadow: 0 0 6px #3b82f6; }
.dot-orange { background: #f97316; box-shadow: 0 0 6px #f97316; }

.status-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #10b981;
}

/* Floating action buttons */
.float-talk {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 90;
    background: #2563eb;
    color: white;
    border-radius: 100px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    font-weight: 600;
    font-size: 0.85rem;
}

.float-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    background: #22c55e;
    color: white;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    font-size: 1.6rem;
}

/* Rest of sections styles (features, accordion, metrics, footer) */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    color: var(--accent-teal);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    display: block;
    background: rgba(45, 212, 191, 0.06);
    border: 1px solid rgba(45, 212, 191, 0.2);
    padding: 0.35rem 1.1rem;
    border-radius: 100px;
    width: max-content;
    margin: 0 auto 1.25rem auto;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

/* Metrics grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.metric-card {
    text-align: center;
    background: rgba(11, 19, 41, 0.4);
    border: var(--border-glass);
    padding: 1.75rem 1.25rem;
    border-radius: 1rem;
}

.metric-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.feat-icon-box {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 1rem;
    background: rgba(45, 212, 191, 0.08);
    border: var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.feat-title {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
}

.feat-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}

.feat-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.feat-link:hover {
    gap: 0.5rem;
}

/* Why Choose Us Section */
.why-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.why-left h2 {
    font-size: 2.3rem;
    margin-bottom: 1.25rem;
}

.why-left p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.why-image-wrapper {
    border-radius: 1.5rem;
    overflow: hidden;
    border: var(--border-glow);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.why-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.why-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: var(--border-glass);
    background: rgba(11, 19, 41, 0.4);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
}

.accordion-header:hover {
    color: var(--accent-teal);
}

.accordion-header-icon {
    font-size: 1.1rem;
    transition: var(--transition);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.accordion-item.active {
    border-color: rgba(45, 212, 191, 0.2);
    background: rgba(11, 19, 41, 0.7);
}

.accordion-item.active .accordion-header {
    color: var(--accent-teal);
}

.accordion-item.active .accordion-header-icon {
    transform: rotate(45deg);
    color: var(--accent-teal);
}

.accordion-item.active .accordion-content {
    padding-bottom: 1.25rem;
    max-height: 200px;
}

/* Testimonials Section */
.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(145deg, rgba(19, 31, 61, 0.5) 0%, rgba(10, 18, 44, 0.7) 100%);
    border: var(--border-glow);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    position: relative;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--accent-teal);
    opacity: 0.2;
    line-height: 1;
    position: absolute;
    top: 1.25rem;
    left: 1.75rem;
}

.testimonial-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.75rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Callback form section */
.form-section-bg {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.lead-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.lead-form-card {
    background: var(--bg-primary);
    border: var(--border-glow);
    border-radius: 1.5rem;
    padding: 2.25rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

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

.form-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    background: rgba(6, 13, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.7rem 0.9rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.88rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

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

.submit-btn {
    width: 100%;
    margin-top: 0.5rem;
}

.form-status {
    display: none;
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-weight: 500;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
    display: block;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
    display: block;
}

/* Custom Header CTA Buttons */
.btn-header-call {
    background: transparent;
    color: #334155;
    border: 2px solid #e2e8f0;
    padding: 0.4rem 0.8rem; /* Compacted */
    font-size: 0.8rem; /* Compacted */
    font-weight: 700;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-header-call:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-1px);
}

.btn-header-login {
    background: linear-gradient(to right, #0ea5e9, #2563eb);
    color: #ffffff;
    padding: 0.4rem 1rem; /* Compacted */
    font-size: 0.8rem; /* Compacted */
    font-weight: 700;
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-header-login:hover {
    opacity: 0.95;
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.4);
    transform: translateY(-1px);
}

/* Privacy & Policy layouts */
.policy-wrapper {
    padding-top: 7rem;
    padding-bottom: 4rem;
}
.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--accent-teal);
    font-weight: 600;
    font-size: 0.9rem;
}
.policy-card {
    background: rgba(11, 19, 41, 0.55);
    border: var(--border-glass);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
}
.policy-card h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}
.last-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.policy-card h2 {
    font-size: 1.35rem;
    margin: 2rem 0 0.85rem 0;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}
.policy-card p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}
.policy-card ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.policy-card li {
    margin-bottom: 0.65rem;
}

/* Responsive menu toggles */
@media (max-width: 1250px) { /* Increased breakpoint from 1024px to prevent horizontal cramming */
    header nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-actions .btn,
    .header-actions .phone-cta {
        display: none; /* Hide header buttons and call CTA to rely on drawer elements */
    }

    .why-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 1350px) {
    .logo-sub {
        display: none; /* Hide subtext to fit layout on standard laptop screens */
    }
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Interactive Dashboard responsive micro-scaling for small mobile devices */
    .board-node {
        padding: 0.4rem 0.6rem;
        gap: 0.4rem;
    }
    .node-icon-box {
        width: 1.6rem;
        height: 1.6rem;
        font-size: 0.8rem;
    }
    .node-name {
        font-size: 0.7rem;
    }
    .engine-title {
        font-size: 0.6rem;
    }
    .engine-badge-btn {
        font-size: 0.55rem;
        padding: 0.15rem 0.4rem;
    }
    .engine-flow-node {
        padding: 0.25rem;
        font-size: 0.55rem;
    }
    .engine-flow-node h5 {
        font-size: 0.55rem;
    }
    .engine-core-orb {
        width: 2.2rem;
        height: 2.2rem;
        font-size: 0.9rem;
    }
    .engine-core-label {
        font-size: 0.55rem;
    }
    .engine-stat-tag {
        font-size: 0.5rem;
        padding: 0.15rem 0.3rem;
    }
    .engine-product-box {
        min-height: 2.8rem;
        padding: 0.25rem;
    }
    .engine-product-box h4 {
        font-size: 0.55rem;
    }
    .engine-product-box p {
        font-size: 0.45rem;
    }
    .status-left {
        gap: 0.8rem;
    }
    .status-indicator {
        font-size: 0.6rem;
    }
    .status-right {
        font-size: 0.6rem;
    }
    .board-engine-column {
        padding: 0 0.5rem;
    }
    .policy-card {
        padding: 1.5rem;
    }
    .policy-card h1 {
        font-size: 1.75rem;
    }
}

/* ==========================================
   GOOGLE LIGHT THEME OVERRIDES
   ========================================== */
[data-theme="google-light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --accent-teal: #34a853; /* Google Green */
    --accent-blue: #1a73e8; /* Google Blue */
    --accent-orange: #ea4335; /* Google Red */
    --accent-pink: #fbbc05; /* Google Yellow */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --shadow-glow: 0 4px 12px rgba(26, 115, 232, 0.12);
    --border-glass: 1px solid #e2e8f0;
    --border-glow: 1px solid #cbd5e1;
    --gradient-primary: linear-gradient(135deg, #1a73e8 0%, #34a853 100%);
    --card-bg: #ffffff;
}

[data-theme="google-light"] body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="google-light"] .glass-card {
    background: var(--card-bg);
    border-color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="google-light"] .glass-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="google-light"] .metric-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

[data-theme="google-light"] .metric-val {
    color: #1a73e8;
}

[data-theme="google-light"] .testimonial-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

[data-theme="google-light"] .testimonial-text {
    color: #1e293b;
}

[data-theme="google-light"] .lead-form-card {
    background: #ffffff;
    border-color: #cbd5e1;
}

[data-theme="google-light"] .form-control {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

[data-theme="google-light"] .form-control:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

[data-theme="google-light"] .glow-orb {
    opacity: 0.04;
}

/* Dashboard Board Google styling */
[data-theme="google-light"] .dashboard-board {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
}

[data-theme="google-light"] .dashboard-grid-bg {
    background-image: radial-gradient(rgba(26, 115, 232, 0.08) 1px, transparent 1px);
}

[data-theme="google-light"] .board-node {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

[data-theme="google-light"] .board-node:hover {
    border-color: #94a3b8;
}

[data-theme="google-light"] .board-engine-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

[data-theme="google-light"] .engine-flow-node {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #475569;
}

[data-theme="google-light"] .dashboard-status-bar {
    background: #f8fafc;
    border-top-color: #e2e8f0;
}

[data-theme="google-light"] .node-icon-box {
    background: #e2e8f0;
    color: #475569;
}

[data-theme="google-light"] .accordion-item {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="google-light"] .accordion-item.active {
    background: #f8fafc;
    border-color: #cbd5e1;
}

[data-theme="google-light"] .why-left h2, 
[data-theme="google-light"] .why-left p, 
[data-theme="google-light"] .section-title, 
[data-theme="google-light"] .section-desc,
[data-theme="google-light"] .hero-title {
    color: #0f172a !important;
}

[data-theme="google-light"] .hero-desc {
    color: #475569 !important;
}

/* ==========================================
   FOOTER CONTACT LAYOUT & SVG FIXES
   ========================================== */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.8fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand h3 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 0.85rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.95rem;
    color: white;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-teal);
    padding-left: 4px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.contact-item svg {
    width: 1.15rem; /* Constrain SVG width */
    height: 1.15rem; /* Constrain SVG height */
    color: var(--accent-teal);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-item p {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.2;
}

.contact-item span {
    font-size: 0.88rem;
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* Theme adaptation for footer */
[data-theme="google-light"] .footer-brand h3,
[data-theme="google-light"] .footer-links h4,
[data-theme="google-light"] .footer-contact h4 {
    color: #0f172a;
}

[data-theme="google-light"] footer {
    border-top: 1px solid #cbd5e1;
    background: #ffffff;
}

[data-theme="google-light"] .contact-item span {
    color: #1e293b;
}

[data-theme="google-light"] .footer-bottom {
    border-top-color: #cbd5e1;
}

/* ==========================================
   PRODUCT CATALOG DEEP DIVE STYLES
   ========================================== */
.catalog-tabs-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    background: rgba(11, 19, 41, 0.4);
    border: var(--border-glass);
    padding: 0.4rem;
    border-radius: 9999px;
    width: max-content;
    margin: 0 auto 2.5rem auto;
}

.catalog-tab-btn {
    background: transparent;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.catalog-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.catalog-tab-btn.active {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.catalog-tab-panel {
    display: none;
}

.catalog-tab-panel.active {
    display: block;
}

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

.catalog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    align-items: flex-start;
}

.catalog-card h4 {
    font-size: 1.15rem;
    color: white;
    margin-bottom: 0.15rem;
}

.catalog-subtitle {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-teal);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.catalog-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.catalog-card-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.catalog-card-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-teal);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
    margin-top: auto;
}

.catalog-card-link:hover {
    gap: 0.45rem;
    color: white;
}

/* Google Light theme adaptations for catalog */
[data-theme="google-light"] .catalog-tabs-buttons {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

[data-theme="google-light"] .catalog-tab-btn {
    color: #475569;
}

[data-theme="google-light"] .catalog-tab-btn:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="google-light"] .catalog-tab-btn.active {
    background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
    color: #ffffff;
}

[data-theme="google-light"] .catalog-card h4 {
    color: #0f172a;
}

[data-theme="google-light"] .catalog-subtitle {
    color: #1a73e8;
}

[data-theme="google-light"] .catalog-card p {
    color: #475569;
}

[data-theme="google-light"] .catalog-card-link {
    color: #1a73e8;
}

[data-theme="google-light"] .catalog-card-link:hover {
    color: #1557b0;
}

/* Compact Mobile Tweaks */
@media (max-width: 480px) {
    .theme-toggle-btn span:last-child {
        display: none; /* Hide 'Theme' text, only show emoji */
    }
    .theme-toggle-btn {
        padding: 0.4rem 0.5rem;
        gap: 0;
    }
    .header-logo-img {
        height: 1.8rem !important; /* Smaller logo on mobile */
    }
    .drawer-logo-img {
        height: 1.6rem !important;
    }
    .logo-brand {
        font-size: 1.05rem !important;
    }
    .logo {
        gap: 0.35rem;
    }
    .lead-form-card {
        padding: 1.25rem;
    }
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    .catalog-tabs-buttons {
        width: 100%;
        border-radius: 0.75rem;
        flex-direction: row;
    }
    .catalog-tab-btn {
        flex: 1;
        justify-content: center;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    .why-image-wrapper {
        margin-top: 1rem;
    }
}

