/* 
 * MasterLeaf Premium Stylesheet
 * Ultra-level UI/UX portfolio design
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Light Theme (Inspired by modern high-contrast Dribbble designs) */
    --bg-primary: #f3f4f6;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f9fafb;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --border-hover: #d1d5db;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(229, 231, 235, 0.5);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.06);
    --card-hover-y: -8px;

    /* Accent Gradients & Solid Colors */
    --accent-primary: #111827; /* Charcoal black primary action */
    --accent-secondary: #3b82f6; /* Cyber Cyan */
    --accent-success: #10b981; /* Emerald */
    --accent-warning: #f59e0b; /* Amber */
    --accent-gradient-1: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    --accent-gradient-2: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --accent-gradient-3: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --glow-color: rgba(17, 24, 39, 0.05);

    /* Grid & Spacing */
    --container-max: 1280px;
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Variables Override */
.dark-mode {
    --bg-primary: #0b0f17;
    --bg-secondary: #161e2e;
    --bg-tertiary: #1e293b;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: #243249;
    --border-hover: #334155;
    --glass-bg: rgba(22, 30, 46, 0.95);
    --glass-border: rgba(255, 255, 255, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.6);
    --accent-primary: #ffffff;
    --accent-gradient-1: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
    --glow-color: rgba(255, 255, 255, 0.05);
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

/* Background Gradients */
.bg-glow-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    mix-blend-mode: multiply;
    animation: float-slow 20s infinite ease-in-out alternate;
}

.dark-mode .glow-circle {
    opacity: 0.35;
    mix-blend-mode: screen;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(99,102,241,0) 70%);
    top: -200px;
    right: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, rgba(6,182,212,0) 70%);
    top: 600px;
    left: -150px;
    animation-delay: -5s;
}

.glow-3 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, rgba(168,85,247,0) 70%);
    bottom: 200px;
    right: -100px;
    animation-delay: -10s;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Typography Helpers */
.title-gradient {
    background: var(--accent-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-cyan {
    background: var(--accent-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

/* Premium Glassmorphic Card Style */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.glass-card:hover {
    transform: translateY(var(--card-hover-y));
    box-shadow: var(--shadow-lg), 0 10px 25px var(--glow-color);
    border-color: rgba(99, 102, 241, 0.45);
}

/* Floating Glass Navbar */
.glass-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: var(--container-max);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 35px rgba(99, 102, 241, 0.05);
    border-radius: 100px;
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth), top var(--transition-smooth), border-radius var(--transition-smooth), width var(--transition-smooth), max-width var(--transition-smooth);
}

.dark-mode .glass-nav {
    background: rgba(12, 15, 23, 0.8);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

/* Snap to Top with No Margin and No Radius on Scroll */
.glass-nav.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.08);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dark-mode .glass-nav.scrolled {
    background: rgba(12, 15, 23, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

/* Nav Logo */
.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-leaf {
    color: var(--accent-success);
    background: none;
    -webkit-text-fill-color: initial;
    display: inline-block;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13.5px;
}

.btn-primary {
    background: var(--accent-gradient-1);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
}

.btn-glass:hover {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

/* Tags/Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.badge-live {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-success);
    border-color: rgba(16, 185, 129, 0.2);
}

.badge-new {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-warning);
    border-color: rgba(245, 158, 11, 0.2);
}

.badge-premium {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    border-color: rgba(99, 102, 241, 0.2);
}

/* Theme Toggle Switch */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
    background: var(--border-color);
    transform: rotate(15deg);
}

/* Hero Section Styles */
.hero {
    padding-top: 180px;
    padding-bottom: 20px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-subtitle {
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    color: var(--accent-primary);
    font-size: 14px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 58px;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Partner Trust Logos */
.trust-logos {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.trust-title {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.logo-strip {
    display: flex;
    gap: 32px;
    align-items: center;
    opacity: 0.6;
    flex-wrap: wrap;
}

.logo-strip svg {
    fill: var(--text-secondary);
    height: 24px;
}

/* Interactive Floating Dashboard in Hero */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    width: 100%;
    max-width: 650px;
    aspect-ratio: 1;
    position: relative;
}

.developer-img-wrapper {
    width: 90%;
    height: 90%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0) 70%);
    border: 1px solid var(--border-color);
}

.developer-img {
    width: 90%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(99, 102, 241, 0.25));
    animation: bounce 8s infinite ease-in-out;
}

.main-screen {
    width: 90%;
    height: 90%;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: 24px;
}

.float-widget-1 {
    position: absolute;
    top: -10px;
    right: 0;
    width: 220px;
    animation: bounce 6s infinite ease-in-out;
}

.float-widget-2 {
    position: absolute;
    bottom: 40px;
    right: -20px;
    width: 180px;
    animation: bounce 6s infinite ease-in-out;
    animation-delay: -3s;
}

/* Demo Mockup Micro-Widgets */
.billing-widget {
    padding: 16px;
}

.billing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.billing-item:last-child {
    border: none;
}

.progressbar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient-1);
    width: 75%;
    border-radius: 3px;
}

/* Stats Ribbon */
.stats-section {
    padding: 50px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f6fe 100%);
    position: relative;
}

.stats-ribbon-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 32px 40px;
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.06), 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(230, 225, 250, 0.9);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 18px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    background-color: rgba(248, 246, 254, 0.6);
}

.stat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon-wrap {
    transform: scale(1.1);
}

.icon-stat-purple { background: #f4f0ff; color: #7c3aed; }
.icon-stat-green { background: #e6fcf5; color: #10b981; }
.icon-stat-blue { background: #eff6ff; color: #2563eb; }
.icon-stat-amber { background: #fff9db; color: #f59e0b; }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
}

.stat-purple { color: #7c3aed; }
.stat-green { color: #10b981; }
.stat-blue { color: #2563eb; }
.stat-amber { color: #f59e0b; }

.stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin-top: 2px;
    line-height: 1.3;
}

/* Dark mode overrides for stats ribbon */
.dark-mode .stats-section { background: linear-gradient(180deg, #0f172a 0%, #131b2e 100%); }
.dark-mode .stats-ribbon-card { background: #1e293b; border-color: #334155; box-shadow: 0 12px 35px rgba(0,0,0,0.3); }
.dark-mode .stat-item:hover { background-color: rgba(255, 255, 255, 0.04); }
.dark-mode .stat-label { color: #94a3b8; }

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stat-item {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stats-ribbon-card {
        padding: 20px;
    }
}

/* Search & Filters Section */
.catalogue-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 24px;
    flex-wrap: wrap;
}

.section-info {
    max-width: 500px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
}

.catalogue-controls {
    display: flex;
    gap: 16px;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

.search-wrapper {
    position: relative;
    flex-grow: 1;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: all var(--transition-fast);
}

.search-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px var(--glow-color);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Filter Toggles */
.filter-tabs {
    display: none !important;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 40px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.filter-tab.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

/* Grid of Systems */
.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-md);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.product-card:hover {
    transform: translateY(var(--card-hover-y));
    box-shadow: var(--shadow-lg), 0 12px 30px var(--glow-color);
    border-color: rgba(99, 102, 241, 0.45);
}

/* Floating category badge inside the card */
.card-floating-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(255, 255, 255, 0.85);
    color: var(--accent-primary);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 10;
    transition: all var(--transition-fast);
}

.dark-mode .card-floating-category {
    background: rgba(12, 15, 23, 0.85);
    color: #a5b4fc;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Card Visual Header and Image Styles */
.card-visual-header {
    height: 200px; /* Increased from 160px for premium display */
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(6, 182, 212, 0.06) 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-image-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-image-wrap img {
    transform: scale(1.08);
}

.card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}

/* Mockup Fallback device style */
.mockup-ui {
    width: 85%;
    height: 85%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(12px) scale(0.98);
    transition: transform var(--transition-smooth);
}

.product-card:hover .mockup-ui {
    transform: translateY(4px) scale(1.02);
}

/* Card Mockup Visual Details */
.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dots {
    display: flex;
    gap: 4px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-hover);
}

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
    justify-content: center;
}

.mockup-line {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.mockup-line-sm {
    width: 40%;
}

.mockup-line-md {
    width: 70%;
}

.mockup-line-lg {
    width: 100%;
}

/* Custom visual interfaces inside grid cards */
.pos-checkout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6px;
    height: 100%;
}

.pos-btn {
    height: 20px;
    background: var(--accent-gradient-1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: #fff;
}

.attendance-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid var(--bg-tertiary);
    border-top-color: var(--accent-success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    margin: 0 auto;
}

/* Details Section */
.card-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.35;
    font-family: var(--font-heading);
    transition: color var(--transition-fast);
}

.product-card:hover .card-title {
    color: var(--accent-primary);
}

.card-desc {
    color: var(--text-secondary);
    font-size: 13.5px;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 44px; /* rigid height keeps footer elements aligned */
    flex-grow: 0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: auto;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.price-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.stack-icons {
    display: flex;
    gap: 6px;
}

.stack-badge {
    font-size: 10.5px;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-weight: 600;
}

/* AI project Advisor Widget */
.ai-advisor-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(168, 85, 247, 0.03) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.ai-advisor-card {
    padding: 48px;
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.ai-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.ai-title-group h3 {
    font-size: 22px;
    font-weight: 800;
}

.ai-title-group p {
    color: var(--text-muted);
    font-size: 13.5px;
}

.advisor-interface {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .advisor-interface {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.advisor-question-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.advisor-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.advisor-option {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.advisor-option:hover, .advisor-option.selected {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.04);
}

.advisor-option.selected {
    box-shadow: 0 0 0 3px var(--glow-color);
}

.advisor-result-box {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.ai-loader {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.dark-mode .ai-loader {
    background: rgba(17, 24, 39, 0.95);
}

.ai-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-primary);
    animation: rotate 1s infinite linear;
}

.ai-result-content {
    transition: opacity 0.3s ease;
}

.rec-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--accent-primary);
}

.rec-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.rec-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.rec-feature-tag {
    font-size: 12px;
    background: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-weight: 500;
}

/* Contact & Custom Project Form */
.contact-section {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-title p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-text p {
    font-size: 13.5px;
    color: var(--text-muted);
}

.info-text h4 {
    font-size: 16px;
    font-weight: 600;
}

.contact-form {
    padding: 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    outline: none;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--glow-color);
}

/* Footer Styles */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-logo-box p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 16px 0;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    background: var(--accent-primary);
    color: #ffffff;
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.footer-nav-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.footer-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-nav-links a:hover {
    color: var(--accent-primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* Animations */
@keyframes float-slow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -50px) scale(1.1);
    }
    100% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 36px auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .logo-strip {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 40px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Hero Quick Categories Styles (Dedicated Section + Liquid Wave Fill Animation)
   ========================================================================== */
.quick-categories-section {
    padding: 24px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    position: relative;
    z-index: 10;
    transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

.qc-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.qc-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    white-space: nowrap;
}

.hero-quick-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 1024px) {
    .qc-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .hero-quick-categories {
        justify-content: center;
    }
}

.landing-quick-btn {
    width: 230px;
    height: 56px;
    border-radius: 28px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--btn-bg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.01);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast), background-color var(--transition-smooth);
}

.landing-quick-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hover-gradient);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.landing-quick-btn:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--btn-shadow-hover);
}

.landing-quick-btn:hover::before {
    opacity: 1;
}

.landing-quick-btn .btn-icon {
    position: absolute;
    left: 7px;
    top: 6px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background-color: var(--icon-bg-normal);
    color: var(--icon-color-normal);
    transition: transform var(--transition-smooth), background-color var(--transition-smooth), color var(--transition-smooth);
}

.landing-quick-btn .btn-icon svg.icon-svg {
    width: 18px;
    height: 18px;
    display: block;
}

.landing-quick-btn .btn-text {
    position: absolute;
    left: 64px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-body);
    white-space: nowrap;
    z-index: 2;
    color: var(--text-normal);
    transition: color var(--transition-smooth);
}

/* Hover active state overrides */
.landing-quick-btn:hover .btn-icon {
    background-color: var(--icon-bg-hover);
    color: #ffffff;
}

.landing-quick-btn:hover .btn-text {
    color: #ffffff;
}

/* Button 1: Software (Blue theme) */
.landing-quick-btn.qb-enterprise {
    --btn-bg: #ffffff;
    --hover-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --text-normal: #374151;
    --icon-bg-normal: #eff6ff;
    --icon-color-normal: #2563eb;
    --icon-bg-hover: #1e40af;
    --btn-shadow-hover: 0 10px 25px rgba(37, 99, 235, 0.35);
}

/* Button 2: Education (Pink/Rose theme) */
.landing-quick-btn.qb-education {
    --btn-bg: #ffffff;
    --hover-gradient: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
    --text-normal: #374151;
    --icon-bg-normal: #fff1f2;
    --icon-color-normal: #f43f5e;
    --icon-bg-hover: #be123c;
    --btn-shadow-hover: 0 10px 25px rgba(244, 63, 94, 0.35);
}

/* Button 3: Link (Green theme) */
.landing-quick-btn.qb-ecommerce {
    --btn-bg: #ffffff;
    --hover-gradient: linear-gradient(135deg, #10b981 0%, #047857 100%);
    --text-normal: #374151;
    --icon-bg-normal: #f0fdf4;
    --icon-color-normal: #10b981;
    --icon-bg-hover: #065f46;
    --btn-shadow-hover: 0 10px 25px rgba(16, 185, 129, 0.35);
}

/* Button 4: Coding (Purple theme) */
.landing-quick-btn.qb-utilities {
    --btn-bg: #ffffff;
    --hover-gradient: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    --text-normal: #374151;
    --icon-bg-normal: #faf5ff;
    --icon-color-normal: #8b5cf6;
    --icon-bg-hover: #5b21b6;
    --btn-shadow-hover: 0 10px 25px rgba(139, 92, 246, 0.35);
}

/* Dark mode adjustments to maintain sleek design integration */
.dark-mode .quick-categories-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.dark-mode .landing-quick-btn {
    --btn-bg: #161e2e;
    --text-normal: #f9fafb;
    border-color: var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dark-mode .landing-quick-btn.qb-enterprise {
    --icon-bg-normal: rgba(59, 130, 246, 0.15);
    --icon-color-normal: #60a5fa;
    --icon-bg-hover: #2563eb;
}
.dark-mode .landing-quick-btn.qb-education {
    --icon-bg-normal: rgba(244, 63, 94, 0.15);
    --icon-color-normal: #f87171;
    --icon-bg-hover: #e11d48;
}
.dark-mode .landing-quick-btn.qb-ecommerce {
    --icon-bg-normal: rgba(16, 185, 129, 0.15);
    --icon-color-normal: #34d399;
    --icon-bg-hover: #059669;
}
.dark-mode .landing-quick-btn.qb-utilities {
    --icon-bg-normal: rgba(139, 92, 246, 0.15);
    --icon-color-normal: #c084fc;
    --icon-bg-hover: #7c3aed;
}
.landing-quick-btn.qb-prompt {
    --btn-bg: #ffffff;
    --hover-gradient: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    --text-normal: #374151;
    --icon-bg-normal: #fdf4ff;
    --icon-color-normal: #d946ef;
    --icon-bg-hover: #a21caf;
    --btn-shadow-hover: 0 10px 25px rgba(217, 70, 239, 0.35);
}
.dark-mode .landing-quick-btn.qb-prompt {
    --icon-bg-normal: rgba(217, 70, 239, 0.15);
    --icon-color-normal: #f0abfc;
    --icon-bg-hover: #a21caf;
}


/* ==========================================================================
   Hero Interactive Visual Widget Styles
   ========================================================================== */
.hero-widget {
    position: absolute;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.hero-founder-img {
    position: absolute;
    bottom: -110px;
    right: -15px;
    width: 92%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    animation: float-founder 8s infinite ease-in-out alternate;
}

@keyframes float-founder {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* Float Keyframes for staggered animations */
@keyframes float-slow-1 {
    0% { transform: translateY(0) rotate(-0.5deg); }
    100% { transform: translateY(-12px) translateX(4px) rotate(0.5deg); }
}

@keyframes float-slow-2 {
    0% { transform: translateY(0) rotate(0.5deg); }
    100% { transform: translateY(14px) translateX(-5px) rotate(-0.5deg); }
}

@keyframes float-slow-3 {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px) translateX(-6px); }
}

/* 1. Sophie Bennett Profile Dropdown Widget */
.widget-profile {
    width: 295px;
    top: 25px;
    left: -55px;
    z-index: 1;
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: float-slow-1 10s infinite ease-in-out alternate;
}

.widget-profile:hover {
    transform: scale(1.03) translateY(-14px) !important;
    box-shadow: var(--shadow-lg), 0 12px 30px rgba(99, 102, 241, 0.12);
}

.widget-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 10px;
}

.widget-profile-info h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.widget-profile-info p {
    font-size: 11px;
    color: var(--text-muted);
    margin: 2px 0 0 0;
}

.rainbow-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, #3b82f6, #ec4899, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rainbow-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-secondary);
}

.widget-profile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.widget-profile-menu li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.widget-profile-menu li:hover {
    background: rgba(99, 102, 241, 0.05);
    color: var(--text-primary);
}

.widget-profile-menu li.active {
    background: rgba(99, 102, 241, 0.08);
    color: var(--text-primary);
}

.widget-profile-menu .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.widget-profile-menu li.active .menu-icon {
    color: var(--accent-secondary);
}

.badge-plus {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.badge-pro {
    margin-left: auto;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
}

.widget-profile-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-top: 10px;
    font-size: 11.5px;
    color: var(--text-muted);
}

.widget-profile-footer div {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.widget-profile-footer div:hover {
    color: var(--text-primary);
}

/* 2. Notifications Card Widget */
.widget-notifications {
    width: 360px;
    top: 70px;
    right: -55px;
    z-index: 1;
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: float-slow-2 12s infinite ease-in-out alternate;
}

.widget-notifications:hover {
    transform: scale(1.03) translateY(8px) !important;
    box-shadow: var(--shadow-lg), 0 12px 30px rgba(99, 102, 241, 0.12);
}

.widget-notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.widget-notif-header h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.notif-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-primary);
    padding: 2px;
    border-radius: 6px;
}

.notif-tabs .tab {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.notif-tabs .tab.active {
    background: var(--bg-secondary);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.notif-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notif-item {
    display: flex;
    gap: 10px;
    position: relative;
}

.notif-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.notif-content {
    flex-grow: 1;
}

.notif-content p {
    font-size: 10.5px;
    color: var(--text-muted);
    margin: 0;
}

.notif-content p strong {
    color: var(--text-primary);
    font-weight: 700;
}

.notif-content h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2px 0;
    line-height: 1.3;
}

.notif-content h4 span {
    color: var(--accent-secondary);
}

.notif-desc {
    font-size: 11px;
    color: var(--text-secondary);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}

.notif-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    position: absolute;
    top: 12px;
    right: 0;
}

.notif-actions {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.notif-actions button {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}

.btn-decline {
    background: var(--bg-primary);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.btn-decline:hover {
    background: var(--border-hover);
    color: var(--text-primary);
}

.btn-accept {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.btn-accept:hover {
    opacity: 0.9;
}

/* 3. Insights Stack Widget */
.widget-insights {
    width: 310px;
    bottom: -35px;
    left: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: float-slow-3 11s infinite ease-in-out alternate;
}

.widget-insights:hover {
    transform: scale(1.03) translateY(-10px) !important;
}

.insights-blue-card {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-md);
}

.insights-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.insights-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
}

.toggle-switch input {
    display: none;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    transition: 0.4s;
    border-radius: 18px;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #34d399;
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(14px);
}

.insights-blue-card h3 {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
}

.insights-stats-card {
    padding: 14px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
}

.stats-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stats-value-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 4px 0 8px 0;
}

.stats-value-row h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.stats-trend {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-success);
}

.stats-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 36px;
    padding-top: 4px;
}

.stats-chart .bar {
    width: 10%;
    background: var(--border-color);
    border-radius: 2px;
}

.stats-chart .bar:nth-child(4),
.stats-chart .bar:nth-child(6) {
    background: var(--text-primary);
}

.stats-chart .bar:last-child {
    background: var(--accent-secondary);
}

/* Mobile Scaling for Hero Widgets */
@media (max-width: 1024px) {
    .hero-visual {
        margin-top: 40px;
        min-height: 480px;
    }
}

@media (max-width: 480px) {
    .visual-container {
        transform: scale(0.8);
        transform-origin: center center;
    }
    .hero-visual {
        min-height: 380px;
    }
}

/* ==========================================================================
   Website Custom Development Pricing Styles
   ========================================================================== */
.pricing-switcher-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}
.pricing-switcher {
    display: inline-flex;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 6px;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.switcher-btn {
    background: transparent;
    border: none;
    padding: 8px 24px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-secondary);
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.switcher-btn:hover {
    color: var(--text-primary);
}
.switcher-btn.active {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.dark-mode .switcher-btn.active {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}
@media (max-width: 991px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

.pricing-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 32px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}
.dark-mode .pricing-card {
    background: #181d2b;
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card-glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, rgba(var(--theme-rgb), 0.08) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Specific glows per card tier */
.pricing-card.tier-basic {
    --theme-color: #3b82f6;
    --theme-rgb: 59, 130, 246;
}
.pricing-card.tier-standard {
    --theme-color: #06b6d4;
    --theme-rgb: 6, 182, 212;
}
.pricing-card.tier-enterprise {
    --theme-color: #8b5cf6;
    --theme-rgb: 139, 92, 246;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--theme-rgb), 0.45);
    box-shadow: 
        0 20px 40px rgba(var(--theme-rgb), 0.08), 
        0 0 20px rgba(var(--theme-rgb), 0.12);
}

/* Badge for popular standard tier */
.pricing-badge {
    position: absolute;
    top: 14px;
    right: 28px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
    z-index: 5;
}

.pricing-card-header {
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

/* Gradient text for tier names */
.pricing-tier-name {
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--theme-color) 0%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: inline-block;
}

.pricing-card h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.pricing-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 58px;
}

.pricing-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.pricing-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.pricing-price-details {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.pricing-price-range {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-period {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Call To Action Buttons - Styled as clean capsules */
.pricing-cta-btn {
    width: 100%;
    height: 52px;
    border-radius: 100px;
    border: none;
    background: #f1f5f9;
    color: #1e293b;
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}
.dark-mode .pricing-cta-btn {
    background: #272e3f;
    color: #f1f5f9;
}

/* Highlighted Popular CTA */
.tier-standard .pricing-cta-btn {
    background: #0f172a;
    color: #ffffff;
}
.dark-mode .tier-standard .pricing-cta-btn {
    background: #ffffff;
    color: #0f172a;
}

.pricing-cta-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Features List styling */
.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.pricing-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.pricing-check-icon {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 1px;
}

.pricing-card-footer {
    margin-top: auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.pricing-footer-link {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.2s;
}

.pricing-footer-link:hover {
    color: var(--theme-color);
}

/* =========================================
   About Section — Full Image + Slide-Up Overlay
   ========================================= */

.about-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 72px;
    align-items: center;
}

/* ============================================
   PHOTO CARD — full-bleed image, slide-up overlay
   ============================================ */
.about-card-col {
    position: relative;
}

.about-photo-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    display: block;
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
    transition: box-shadow 0.4s cubic-bezier(0.16,1,0.3,1),
                transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.about-photo-card:hover {
    box-shadow: 0 28px 72px rgba(99,102,241,0.2);
    transform: translateY(-4px);
}

/* Full-bleed background photo */
.about-photo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.about-photo-card:hover .about-photo-bg {
    transform: scale(1.06);
}

/* Permanent dark gradient at bottom for label readability */
.about-photo-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 30%,
        rgba(0,0,0,0.35) 60%,
        rgba(0,0,0,0.75) 100%
    );
    z-index: 1;
    transition: opacity 0.4s;
}

.about-photo-card:hover .about-photo-gradient {
    opacity: 0.3;
}

/* Name/title label always visible at bottom */
.about-photo-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 24px 24px 20px;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
                opacity 0.3s ease;
}

.about-photo-label h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.about-photo-label p {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Hide label on hover (overlay replaces it) */
.about-photo-card:hover .about-photo-label {
    transform: translateY(8px);
    opacity: 0;
}

/* ============================================
   SLIDE-UP OVERLAY — revealed fully on hover
   ============================================ */
.about-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    /* Hidden state: slides below the card */
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.about-photo-card:hover .about-slide-overlay {
    transform: translateY(0);
}

.about-overlay-inner {
    background: rgba(10, 10, 20, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Small rounded avatar in overlay */
.about-overlay-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #6366f1, #3b82f6, #10b981);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}

.about-overlay-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.about-overlay-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

.about-overlay-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

/* Status Badge */
.about-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.3);
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.03em;
}

.about-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    animation: about-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes about-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

/* Stats Row in overlay */
.about-quick-stats {
    display: flex;
    align-items: center;
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 8px;
}

.about-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.about-stat-num {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.about-stat-label {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
    margin: 0 4px;
}

/* Skill tags in overlay */
.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    width: 100%;
}

.about-skill-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 4px 10px;
    border-radius: 100px;
    transition: all 0.2s;
    cursor: default;
}

.about-skill-tag:hover {
    background: rgba(99,102,241,0.25);
    border-color: rgba(99,102,241,0.4);
    color: #a5b4fc;
}

/* Social buttons in overlay */
.about-social-links {
    display: flex;
    gap: 10px;
}

.about-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    transition: all 0.2s;
    text-decoration: none;
}

.about-social-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59,130,246,0.4);
}

/* ============================================
   RIGHT CONTENT COLUMN
   ============================================ */
.about-content-col {
    display: flex;
    flex-direction: column;
}

.about-badge-row {
    margin-bottom: 16px;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin: 0 0 24px;
}

.about-heading-accent {
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0 0 18px;
}

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 12px 0 32px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.about-feature-item:hover .about-feature-icon {
    transform: scale(1.08);
}

.about-feature-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.about-feature-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.about-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.about-cta-row .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 300px 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-photo-card {
        max-width: 340px;
        margin: 0 auto;
    }

    /* On touch/mobile: always show overlay */
    .about-slide-overlay {
        transform: translateY(0) !important;
    }

    .about-photo-gradient {
        opacity: 0.3;
    }

    .about-photo-label {
        display: none;
    }

    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-feature-item {
        text-align: left;
    }

    .about-cta-row {
        justify-content: center;
    }

    .about-badge-row {
        text-align: center;
    }
}

/* Card Floating Demo styles */
.card-floating-demo {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    font-family: var(--font-heading);
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all var(--transition-smooth);
}
.card-floating-demo:hover {
    transform: translateY(-2px);
    background: #2563eb;
    border-color: #3b82f6;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}
.dark-mode .card-floating-demo {
    background: rgba(12, 15, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Pulsing dot for Live Demo indicators */
.live-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-dot 1.6s infinite;
}
@keyframes pulse-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ==========================================
   WHO WE HELP SECTION (REDESIGNED ULTRA)
   ========================================== */
.who-we-help-section {
    position: relative;
    padding: 90px 20px;
    background: linear-gradient(180deg, #f8f6fe 0%, #f3f0fb 100%);
    overflow: hidden;
}

/* Background graphics */
.dot-pattern {
    position: absolute;
    display: grid;
    grid-template-columns: repeat(5, 6px);
    gap: 12px;
    z-index: 1;
    opacity: 0.35;
}

.dot-pattern span {
    width: 5px;
    height: 5px;
    background-color: #8b5cf6;
    border-radius: 50%;
}

.dot-pattern-tl {
    top: 50px;
    left: 40px;
}

.dot-pattern-br {
    bottom: 40px;
    right: 40px;
}

.bg-circle-glow {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0.02) 60%, transparent 80%);
    border: 35px solid rgba(139, 92, 246, 0.04);
    pointer-events: none;
    z-index: 1;
}

/* Header badge & title */
.who-we-help-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.who-we-help-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.who-we-help-title .highlight {
    color: #6528e0;
}

.who-we-help-title .title-underline {
    width: 40px;
    height: 3px;
    background: #6528e0;
    border-radius: 4px;
    margin: 8px auto 0;
}

.who-we-help-desc {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

/* Grid layout: 4 cards on top, 2 centered below */
.who-we-help-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    max-width: 1240px;
    margin: 0 auto;
}

.wwh-card {
    flex: 1 1 calc(25% - 22px);
    min-width: 250px;
    max-width: 285px;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 22px 26px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(230, 225, 250, 0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.wwh-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
    border-color: rgba(139, 92, 246, 0.25);
}

/* Icon Container */
.wwh-icon-wrap {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.wwh-card:hover .wwh-icon-wrap {
    transform: scale(1.08);
}

/* Card Title */
.wwh-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.card-bar {
    width: 18px;
    height: 2.5px;
    border-radius: 3px;
    display: block;
}

/* Card Description */
.wwh-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Bottom Arrow Button */
.wwh-arrow-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.wwh-card:hover .wwh-arrow-btn {
    transform: scale(1.15);
}

/* Color Schemes for Each Card Type */
/* 1. Startup (Orange / Red) */
.wwh-card.startup .wwh-icon-wrap {
    background: #fff1f1;
    color: #ff5252;
}
.wwh-card.startup .card-bar {
    background: #ff5252;
}
.wwh-card.startup .wwh-arrow-btn {
    background: #fff1f1;
    color: #ff5252;
}

/* 2. Developer (Purple) */
.wwh-card.developer .wwh-icon-wrap {
    background: #f4f0ff;
    color: #8b5cf6;
}
.wwh-card.developer .card-bar {
    background: #8b5cf6;
}
.wwh-card.developer .wwh-arrow-btn {
    background: #f4f0ff;
    color: #8b5cf6;
}

/* 3. Agency (Mint Green) */
.wwh-card.agency .wwh-icon-wrap {
    background: #e6fcf5;
    color: #10b981;
}
.wwh-card.agency .card-bar {
    background: #10b981;
}
.wwh-card.agency .wwh-arrow-btn {
    background: #e6fcf5;
    color: #10b981;
}

/* 4. Freelancer (Amber / Yellow) */
.wwh-card.freelancer .wwh-icon-wrap {
    background: #fff9db;
    color: #f59e0b;
}
.wwh-card.freelancer .card-bar {
    background: #f59e0b;
}
.wwh-card.freelancer .wwh-arrow-btn {
    background: #fff9db;
    color: #f59e0b;
}

/* 5. Retail Stores (Cyan / Blue) */
.wwh-card.retail .wwh-icon-wrap {
    background: #e7f5ff;
    color: #0ea5e9;
}
.wwh-card.retail .card-bar {
    background: #0ea5e9;
}
.wwh-card.retail .wwh-arrow-btn {
    background: #e7f5ff;
    color: #0ea5e9;
}

/* 6. Schools & Colleges (Pink) */
.wwh-card.school .wwh-icon-wrap {
    background: #fff0f6;
    color: #ec4899;
}
.wwh-card.school .card-bar {
    background: #ec4899;
}
.wwh-card.school .wwh-arrow-btn {
    background: #fff0f6;
    color: #ec4899;
}

/* Dark Mode Overrides */
.dark-mode .who-we-help-section {
    background: linear-gradient(180deg, #0f172a 0%, #131b2e 100%);
}
.dark-mode .who-we-help-title {
    color: #f8fafc;
}
.dark-mode .who-we-help-desc {
    color: #94a3b8;
}
.dark-mode .wwh-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.dark-mode .wwh-card-title {
    color: #f8fafc;
}
.dark-mode .wwh-card-desc {
    color: #94a3b8;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .wwh-card {
        flex: 1 1 calc(33.333% - 22px);
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .who-we-help-section {
        padding: 60px 16px;
    }
    .wwh-card {
        flex: 1 1 calc(50% - 16px);
        min-width: 240px;
        max-width: 100%;
    }
    .dot-pattern {
        display: none;
    }
}

@media (max-width: 520px) {
    .wwh-card {
        flex: 1 1 100%;
    }
}

/* ==========================================
   MARKET COMPARISON SECTION (REDESIGNED ULTRA)
   ========================================== */
.market-comparison-section {
    position: relative;
    padding: 90px 20px;
    background: linear-gradient(180deg, #f8f6fe 0%, #f3f0fb 100%);
    overflow: hidden;
}

/* Background elements */
.mc-glow-bl {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.02) 65%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.mc-glow-tr {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Badge */
.market-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.market-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.market-title .brand-highlight {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.market-title .title-underline {
    width: 40px;
    height: 3px;
    background: #6366f1;
    border-radius: 4px;
    margin: 8px auto 0;
}

.market-desc {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

/* Comparison Card Table Wrap */
.comparison-card-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(99, 102, 241, 0.08), 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.comparison-card-container:hover {
    box-shadow: 0 20px 55px rgba(99, 102, 241, 0.14), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

/* Table Header */
.comparison-table th {
    padding: 20px 24px;
    vertical-align: middle;
    font-size: 16px;
    font-weight: 700;
}

.th-metric {
    width: 28%;
    color: #1e293b;
    background: #ffffff;
}

.th-masterleaf {
    width: 36%;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.1);
    position: relative;
}

.th-masterleaf-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 17px;
}

.th-typical {
    width: 36%;
    background: #f1f5f9;
    color: #334155;
    text-align: center;
}

.th-typical-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
}

/* Table Rows */
.comparison-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background-color: rgba(248, 246, 254, 0.6);
}

.comparison-table td {
    padding: 24px;
    vertical-align: middle;
}

/* Cell 1: Metric */
.td-metric {
    display: flex;
    align-items: center;
    gap: 14px;
}

.metric-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.comparison-table tbody tr:hover .metric-icon-box {
    transform: scale(1.12);
}

.metric-icon-code { background: #f0f3ff; color: #4f46e5; }
.metric-icon-security { background: #e6fcf5; color: #10b981; }
.metric-icon-setup { background: #fff9db; color: #f59e0b; }
.metric-icon-support { background: #f4f0ff; color: #a855f7; }

.metric-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.metric-text span {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

/* Cell 2: MasterLeaf */
.td-masterleaf {
    background: rgba(245, 247, 255, 0.4);
    border-left: 1px solid rgba(99, 102, 241, 0.08);
    border-right: 1px solid rgba(99, 102, 241, 0.08);
    position: relative;
}

.comparison-table tbody tr:hover .td-masterleaf {
    background: rgba(238, 242, 255, 0.7);
}

.item-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.status-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: transform 0.3s ease;
}

.comparison-table tbody tr:hover .status-icon-check {
    transform: scale(1.2) rotate(6deg);
}

.status-icon-check {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.status-icon-cross {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
}

.item-info h5 {
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.35;
}

.ml-title {
    color: #4361ee;
}

.typical-title {
    color: #334155;
}

.item-info p {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
}

/* Cell 3: Typical Sellers */
.td-typical {
    background: #ffffff;
}

/* Bottom Summary Pill */
.market-bottom-pill-wrap {
    text-align: center;
    margin-top: 36px;
    position: relative;
    z-index: 2;
}

.market-bottom-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 13.5px;
    color: #475569;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.market-bottom-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(99, 102, 241, 0.14);
}

.star-icon-wrap {
    width: 24px;
    height: 24px;
    background: #f4f0ff;
    color: #7c3aed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Animations */
@keyframes fadeInUpRow {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-row {
    animation: fadeInUpRow 0.6s ease-out forwards;
}

.animate-row:nth-child(1) { animation-delay: 0.1s; }
.animate-row:nth-child(2) { animation-delay: 0.25s; }
.animate-row:nth-child(3) { animation-delay: 0.4s; }
.animate-row:nth-child(4) { animation-delay: 0.55s; }

/* Dark Mode Overrides */
.dark-mode .market-comparison-section {
    background: linear-gradient(180deg, #0f172a 0%, #131b2e 100%);
}
.dark-mode .market-title {
    color: #f8fafc;
}
.dark-mode .market-desc {
    color: #94a3b8;
}
.dark-mode .comparison-card-container {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}
.dark-mode .th-metric {
    background: #1e293b;
    color: #f8fafc;
}
.dark-mode .th-typical {
    background: #0f172a;
    color: #94a3b8;
}
.dark-mode .metric-text h4 {
    color: #f8fafc;
}
.dark-mode .td-masterleaf {
    background: rgba(30, 41, 59, 0.9);
    border-color: #334155;
}
.dark-mode .td-typical {
    background: #1e293b;
}
.dark-mode .typical-title {
    color: #e2e8f0;
}
.dark-mode .item-info p {
    color: #94a3b8;
}
.dark-mode .market-bottom-pill {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 860px) {
    .comparison-card-container {
        overflow-x: auto;
    }
    .comparison-table {
        min-width: 720px;
    }
}

/* ==========================================
   ENHANCED HERO / LANDING SECTION
   ========================================== */
.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-main-heading {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.12;
    color: #0f172a;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.dynamic-word-wrap {
    display: inline-block;
    position: relative;
    color: #4f46e5;
    font-weight: 800;
}

.dynamic-word {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dynamic-word.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.dynamic-word.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.brand-green {
    color: #10b981;
}

/* Feature Highlights Grid */
.hero-feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 24px 0 28px;
}

.hfh-card {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 160px;
    background: #ffffff;
    padding: 12px 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hfh-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.08);
}

.hfh-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hfh-icon.bg-blue { background: #f0f3ff; color: #4f46e5; }
.hfh-icon.bg-purple { background: #f4f0ff; color: #8b5cf6; }
.hfh-icon.bg-pink { background: #fff0f6; color: #ec4899; }

.hfh-text {
    display: flex;
    flex-direction: column;
}

.hfh-text strong {
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
}

.hfh-text span {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
    margin-top: 2px;
}

/* Enhanced CTA Buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.4);
    color: #ffffff !important;
}

.btn-arrow-circle {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover .btn-arrow-circle {
    transform: translateX(3px) translateY(-3px);
}

.btn-hero-glass {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: #ffffff;
    color: #334155 !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero-glass:hover {
    background: #f8fafc;
    color: #4f46e5 !important;
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Badges for Tech Strip */
.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bg-stripe { background: #f0f3ff; color: #635bff; }
.bg-paypal { background: #f0f7ff; color: #003087; }
.bg-razorpay { background: #edf7ff; color: #0b72e7; }
.bg-ssl { background: #ecfdf5; color: #10b981; }

/* Dark mode overrides for landing hero enhancements */
.dark-mode .hero-main-heading { color: #f8fafc; }
.dark-mode .hfh-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.dark-mode .hfh-text strong { color: #f8fafc; }
.dark-mode .hfh-text span { color: #94a3b8; }
.dark-mode .btn-hero-glass {
    background: #1e293b;
    color: #e2e8f0 !important;
    border-color: #334155;
}
.dark-mode .btn-hero-glass:hover {
    background: #334155;
    color: #818cf8 !important;
}

/* ==========================================
   INDUSTRIES WE SERVE & TECH STACK SECTIONS
   ========================================== */

/* 5 Cards Row Layout */
.five-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1240px;
    margin: 0 auto;
}

/* SECTION 1: INDUSTRIES WE SERVE & SECTION 2: TECHNOLOGY STACK (UNIFIED ULTRA THEME) */
.industries-section,
.tech-stack-section {
    position: relative;
    padding: 95px 20px;
    background: linear-gradient(180deg, #f8f6fe 0%, #f3f0fb 100%);
    overflow: hidden;
}

/* Industry & Tech Card */
.industry-card {
    flex: 1 1 calc(20% - 20px);
    min-width: 210px;
    max-width: 235px;
    background: #ffffff;
    border-radius: 22px;
    padding: 30px 20px 26px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(230, 225, 250, 0.8);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(124, 58, 237, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
    border-color: rgba(139, 92, 246, 0.3);
}

.ind-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ind-icon-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
    transition: transform 0.35s ease;
}

.industry-card:hover .ind-icon-wrap {
    transform: scale(1.1);
}

.industry-card:hover .ind-icon-img {
    transform: scale(1.15) rotate(4deg);
}

.ind-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.card-bar {
    width: 28px;
    height: 3px;
    border-radius: 4px;
    display: block;
}

.ind-card-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tech-logo-text {
    font-size: 22px;
    font-weight: 900;
    color: #4f46e5;
    font-style: italic;
}

.js-text {
    font-size: 22px;
    font-weight: 900;
    color: #d97706;
}

.tech-pill-badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: transform 0.3s ease;
}

.industry-card:hover .tech-pill-badge {
    transform: scale(1.05);
}

.pill-purple { background: #f4f0ff; color: #8b5cf6; }
.pill-mysql { background: #e6fcf5; color: #10b981; }
.pill-blue { background: #f0f3ff; color: #3b82f6; }
.pill-javascript { background: #fff9db; color: #d97706; }
.pill-tailwind { background: #e7f5ff; color: #0ea5e9; }

/* Color Scheme Overrides */
.industry-card.pos .ind-icon-wrap, .bg-php-logo { background: #f4f0ff; color: #8b5cf6; }
.industry-card.pos .card-bar { background: #8b5cf6; }

.industry-card.healthcare .ind-icon-wrap, .bg-mysql-logo { background: #e6fcf5; color: #10b981; }
.industry-card.healthcare .card-bar { background: #10b981; }

.industry-card.education .ind-icon-wrap, .bg-laravel-logo { background: #f0f3ff; color: #3b82f6; }
.industry-card.education .card-bar { background: #3b82f6; }

.industry-card.hospitality .ind-icon-wrap, .bg-js-logo { background: #fff9db; color: #f59e0b; }
.industry-card.hospitality .card-bar { background: #f59e0b; }

.industry-card.warehousing .ind-icon-wrap, .bg-tailwind-logo { background: #e7f5ff; color: #0ea5e9; }
.industry-card.warehousing .card-bar { background: #0ea5e9; }

/* Dark mode overrides */
.dark-mode .industries-section,
.dark-mode .tech-stack-section { background: linear-gradient(180deg, #0f172a 0%, #131b2e 100%); }
.dark-mode .industry-card { background: #1e293b; border-color: #334155; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.dark-mode .ind-card-title { color: #f8fafc; }
.dark-mode .ind-card-desc { color: #94a3b8; }

.dark-mode .tech-stack-section { background: linear-gradient(180deg, #0b1329 0%, #0f172a 100%); }
.dark-mode .tech-title { color: #f8fafc; }
.dark-mode .tech-desc { color: #94a3b8; }
.dark-mode .tech-card { background: #1e293b; border-color: #334155; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.dark-mode .tech-card-title { color: #f8fafc; }
.dark-mode .tech-card-desc { color: #94a3b8; }

/* Responsive Grid for 5 cards */
@media (max-width: 1140px) {
    .industry-card, .tech-card {
        flex: 1 1 calc(33.333% - 20px);
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .industry-card, .tech-card {
        flex: 1 1 calc(50% - 16px);
        min-width: 240px;
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .industry-card, .tech-card {
        flex: 1 1 100%;
    }
}

/* ==========================================
   HOW MASTERLEAF WORKS SECTION (REDESIGNED ULTRA)
   ========================================== */
.how-it-works-section {
    position: relative;
    padding: 90px 20px;
    background: linear-gradient(180deg, #f8f6fe 0%, #f3f0fb 100%);
    overflow: hidden;
}

.hiw-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hiw-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.hml-purple { color: #7c3aed; }
.hml-blue { color: #3b82f6; }
.hml-green { color: #10b981; }

.hiw-title .title-underline {
    width: 40px;
    height: 3px;
    background: #6366f1;
    border-radius: 4px;
    margin: 8px auto 0;
}

.hiw-desc {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

/* Steps Grid & Connecting Line */
.steps-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
}

.steps-connecting-line {
    position: absolute;
    top: 48px;
    left: 18%;
    right: 18%;
    height: 2px;
    border-top: 2px dashed rgba(139, 92, 246, 0.35);
    z-index: 1;
}

.hiw-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    position: relative;
    z-index: 2;
}

.hiw-card {
    flex: 1 1 calc(33.333% - 28px);
    min-width: 280px;
    max-width: 370px;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 24px 24px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.06), 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(230, 225, 250, 0.8);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.hiw-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(124, 58, 237, 0.14), 0 4px 12px rgba(0, 0, 0, 0.03);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Floating Step Number Badge */
.step-num-badge {
    position: absolute;
    top: -24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.hiw-card:hover .step-num-badge {
    transform: scale(1.15) rotate(5deg);
}

.step-1-badge {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}

.step-2-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
}

.step-3-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

/* 3D Illustration Container */
.hiw-icon-box {
    width: 110px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0 20px;
    transition: transform 0.3s ease;
}

.hiw-3d-img {
    width: 105px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.08));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.hiw-card:hover .hiw-3d-img {
    transform: scale(1.12);
    filter: drop-shadow(0 15px 25px rgba(124, 58, 237, 0.2));
}

.hiw-card:hover .hiw-icon-box {
    transform: scale(1.08);
}

.icon-box-purple { background: #f4f0ff; color: #7c3aed; }
.icon-box-blue { background: #eff6ff; color: #2563eb; }
.icon-box-green { background: #ecfdf5; color: #10b981; }

.hiw-card-title {
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hiw-card.card-1 .card-bar { background: #6366f1; }
.hiw-card.card-2 .card-bar { background: #3b82f6; }
.hiw-card.card-3 .card-bar { background: #10b981; }

.hiw-card-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Sub-features Bottom Container */
.step-sub-box {
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: transform 0.3s ease;
}

.hiw-card:hover .step-sub-box {
    transform: translateY(-2px);
}

.box-purple { background: #f4f0ff; }
.box-blue { background: #eff6ff; }
.box-green { background: #ecfdf5; }

.sub-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
}

.sub-item svg {
    margin-bottom: 2px;
}

.sub-arrow-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hiw-card:hover .sub-arrow-btn {
    transform: translateX(3px);
}

.btn-purple { background: #e0e7ff; color: #4f46e5; }
.btn-blue { background: #dbeafe; color: #2563eb; }
.btn-green { background: #d1fae5; color: #059669; }

/* Bottom Guarantee Banner */
.hiw-bottom-guarantee {
    max-width: 1100px;
    margin: 45px auto 0;
    background: #ffffff;
    border-radius: 50px;
    padding: 18px 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guarantee-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.g-purple { background: #f4f0ff; color: #7c3aed; }
.g-blue { background: #eff6ff; color: #2563eb; }
.g-green { background: #ecfdf5; color: #10b981; }
.g-amber { background: #fff9db; color: #f59e0b; }

.guarantee-info h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.guarantee-info p {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
}

/* Dark mode overrides */
.dark-mode .how-it-works-section { background: linear-gradient(180deg, #0f172a 0%, #131b2e 100%); }
.dark-mode .hiw-title { color: #f8fafc; }
.dark-mode .hiw-desc { color: #94a3b8; }
.dark-mode .hiw-card { background: #1e293b; border-color: #334155; box-shadow: 0 12px 35px rgba(0,0,0,0.3); }
.dark-mode .hiw-card-title { color: #f8fafc; }
.dark-mode .hiw-card-desc { color: #94a3b8; }
.dark-mode .box-purple { background: #2d264f; }
.dark-mode .box-blue { background: #1e3a8a; }
.dark-mode .box-green { background: #064e3b; }
.dark-mode .sub-item { color: #e2e8f0; }
.dark-mode .hiw-bottom-guarantee { background: #1e293b; border-color: #334155; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.dark-mode .guarantee-info h4 { color: #f8fafc; }
.dark-mode .guarantee-info p { color: #94a3b8; }

@media (max-width: 900px) {
    .steps-connecting-line { display: none; }
    .hiw-card { flex: 1 1 100%; max-width: 450px; }
    .hiw-bottom-guarantee { flex-direction: column; align-items: flex-start; padding: 24px; border-radius: 24px; }
}

/* ==========================================
   DEVELOPMENT STANDARDS SECTION (REDESIGNED ULTRA)
   ========================================== */
.dev-standards-section {
    position: relative;
    padding: 90px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f6fe 100%);
    overflow: hidden;
}

.dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.dev-main-title {
    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.highlight-blue-purple {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dev-main-desc {
    color: #64748b;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 520px;
}

/* Security Standards List Rows */
.standards-list-rows {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 540px;
}

.standard-row-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: transform 0.3s ease;
}

.standard-row-item:last-child {
    border-bottom: none;
}

.standard-row-item:hover {
    transform: translateX(4px);
}

.standard-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.icon-green-shield { background: #e6fcf5; color: #10b981; }
.icon-blue-filter { background: #eff6ff; color: #3b82f6; }
.icon-purple-shield { background: #f4f0ff; color: #8b5cf6; }
.icon-amber-lock { background: #fff9db; color: #f59e0b; }

.standard-info {
    display: flex;
    flex-direction: column;
}

.standard-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.standard-info p {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
}

/* Code Terminal Window (Right Side) */
.code-terminal-window {
    background: #0d1117;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15), 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    font-family: 'Fira Code', 'Consolas', monospace;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.code-terminal-window:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.22), 0 6px 24px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    background: #161b22;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot-red { width: 11px; height: 11px; border-radius: 50%; background: #ff5f56; }
.dot-yellow { width: 11px; height: 11px; border-radius: 50%; background: #ffbd2e; }
.dot-green { width: 11px; height: 11px; border-radius: 50%; background: #27c93f; }

.terminal-filename {
    font-size: 12.5px;
    color: #8b949e;
    font-weight: 500;
}

.terminal-safe-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(39, 201, 63, 0.15);
    color: #27c93f;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

.terminal-body {
    padding: 24px 20px;
    color: #c9d1d9;
    font-size: 13px;
    line-height: 2;
}

.code-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.code-line:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.line-num {
    color: #484f58;
    width: 24px;
    user-select: none;
    font-size: 12px;
}

.code-content {
    flex-grow: 1;
    white-space: nowrap;
    overflow-x: auto;
}

.code-comment { color: #8b949e; font-style: italic; }
.code-var { color: #ff7b72; }
.code-func { color: #d2a8ff; }
.code-str { color: #a5d6ff; }
.code-keyword { color: #ff7b72; }

.check-badge-green {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #27c93f;
    color: #0d1117;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(39, 201, 63, 0.4);
}

.terminal-footer {
    padding: 14px 20px;
    background: #161b22;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 700;
    color: #8b949e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-ready-text {
    color: #27c93f;
    letter-spacing: 0.5px;
}

/* Bottom 4 Feature Cards Bar */
.dev-bottom-features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1240px;
    margin: 45px auto 0;
}

.dbf-card {
    flex: 1 1 calc(25% - 20px);
    min-width: 220px;
    max-width: 280px;
    background: #ffffff;
    border-radius: 20px;
    padding: 22px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dbf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(99, 102, 241, 0.08);
}

.dbf-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dbf-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    line-height: 1.25;
}

.dbf-info p {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
}

/* Dark mode overrides */
.dark-mode .dev-standards-section { background: linear-gradient(180deg, #0f172a 0%, #131b2e 100%); }
.dark-mode .dev-main-title { color: #f8fafc; }
.dark-mode .dev-main-desc { color: #94a3b8; }
.dark-mode .standard-info h4 { color: #f8fafc; }
.dark-mode .standard-info p { color: #94a3b8; }
.dark-mode .standard-row-item { border-color: #334155; }
.dark-mode .dbf-card { background: #1e293b; border-color: #334155; box-shadow: 0 8px 25px rgba(0,0,0,0.3); }
.dark-mode .dbf-info h4 { color: #f8fafc; }
.dark-mode .dbf-info p { color: #94a3b8; }

/* Responsive Grid */
@media (max-width: 992px) {
    .dev-top-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .dbf-card {
        flex: 1 1 calc(50% - 16px);
        max-width: 100%;
    }
}
@media (max-width: 576px) {
    .dbf-card {
        flex: 1 1 100%;
    }
}

/* ==========================================
   CUSTOM DEVELOPMENT SOLUTIONS SECTION (REDESIGNED ULTRA)
   ========================================== */
.custom-solutions-section {
    position: relative;
    padding: 90px 20px;
    background: linear-gradient(180deg, #f8f6fe 0%, #ffffff 100%);
    overflow: hidden;
}

.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.cs-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.cs-dots-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 12px auto 0;
}

.cs-dot-bar { width: 24px; height: 4px; border-radius: 4px; background: #6366f1; }
.cs-dot-1 { width: 6px; height: 6px; border-radius: 50%; background: #818cf8; }
.cs-dot-2 { width: 6px; height: 6px; border-radius: 50%; background: #3b82f6; }

.cs-desc {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* 3 Cards Row */
.cs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    max-width: 1240px;
    margin: 50px auto 0;
    position: relative;
    z-index: 2;
}

.cs-card {
    flex: 1 1 calc(33.333% - 28px);
    min-width: 290px;
    max-width: 380px;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 24px 28px;
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.06), 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(230, 225, 250, 0.8);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.cs-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(124, 58, 237, 0.14), 0 4px 12px rgba(0, 0, 0, 0.03);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Top Right Badge */
.cs-top-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.cs-card:hover .cs-top-badge {
    transform: scale(1.15) rotate(8deg);
}

.tb-purple { background: #f4f0ff; color: #7c3aed; }
.tb-blue { background: #eff6ff; color: #2563eb; }
.tb-green { background: #ecfdf5; color: #10b981; }

/* 3D Pedestal Image */
.cs-img-box {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cs-3d-img {
    max-width: 140px;
    max-height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
    transition: transform 0.35s ease;
}

.cs-card:hover .cs-3d-img {
    transform: scale(1.08) translateY(-3px);
}

.cs-card-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.cs-bar {
    width: 24px;
    height: 3px;
    border-radius: 3px;
    margin-bottom: 14px;
}

.cs-bar-purple { background: #7c3aed; }
.cs-bar-blue { background: #2563eb; }
.cs-bar-green { background: #10b981; }

.cs-card-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 22px;
}

/* Bullet Points List */
.cs-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
    flex-grow: 1;
}

.cs-bullet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.cs-bullet-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.bi-purple { background: #f4f0ff; color: #7c3aed; }
.bi-blue { background: #eff6ff; color: #2563eb; }
.bi-green { background: #ecfdf5; color: #10b981; }

.cs-learn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.cs-card:hover .cs-learn-link {
    gap: 10px;
}

.link-purple { color: #7c3aed; }
.link-blue { color: #2563eb; }
.link-green { color: #10b981; }

/* Bottom 4 Feature Cards Bar */
.cs-bottom-banner {
    max-width: 1240px;
    margin: 45px auto 0;
    background: #ffffff;
    border-radius: 50px;
    padding: 18px 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Dark Mode Overrides */
.dark-mode .custom-solutions-section { background: linear-gradient(180deg, #0f172a 0%, #131b2e 100%); }
.dark-mode .cs-title { color: #f8fafc; }
.dark-mode .cs-desc { color: #94a3b8; }
.dark-mode .cs-card { background: #1e293b; border-color: #334155; box-shadow: 0 12px 35px rgba(0,0,0,0.3); }
.dark-mode .cs-card-title { color: #f8fafc; }
.dark-mode .cs-card-desc { color: #94a3b8; }
.dark-mode .cs-bullet-item { color: #cbd5e1; }
.dark-mode .cs-bottom-banner { background: #1e293b; border-color: #334155; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

@media (max-width: 900px) {
    .cs-card { flex: 1 1 100%; max-width: 450px; }
    .cs-bottom-banner { flex-direction: column; align-items: flex-start; padding: 24px; border-radius: 24px; }
}

/* ==========================================
   ENHANCED ULTRA PRODUCT CARD STYLES
   ========================================== */
.product-card.ultra-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card.ultra-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(99, 102, 241, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(99, 102, 241, 0.3);
}

.card-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.card-app-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.card-title-content {
    flex-grow: 1;
    min-width: 0;
}

.card-title-content a {
    text-decoration: none;
    color: inherit;
}

.card-version-pill {
    font-size: 11px;
    font-weight: 700;
    color: #7c3aed;
    background: #f4f0ff;
    border: 1px solid #e9d5ff;
    padding: 3px 9px;
    border-radius: 50px;
    flex-shrink: 0;
}

.card-specs-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    margin: 16px 0;
    padding: 14px 0;
    border-top: 1px dashed rgba(226, 232, 240, 0.9);
    border-bottom: 1px dashed rgba(226, 232, 240, 0.9);
    font-size: 12px;
    color: #475569;
}

.spec-row-item {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spec-icon-badge {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.icon-purple { background: #f4f0ff; color: #7c3aed; }
.icon-green { background: #ecfdf5; color: #10b981; }
.icon-pink { background: #fdf2f8; color: #db2777; }
.icon-blue { background: #eff6ff; color: #2563eb; }

.card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-price-box {
    display: flex;
    flex-direction: column;
}

.price-mini-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #94a3b8;
    text-transform: uppercase;
}

.price-amount {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.card-tech-badges {
    display: flex;
    gap: 6px;
}

.card-actions-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
}

.btn-card-action {
    padding: 10px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-demo-action {
    flex: 1;
    background: #ffffff;
    color: #ef4444;
    border: 1px solid #fca5a5;
}

.btn-demo-action:hover {
    background: #fef2f2;
    border-color: #ef4444;
}

.btn-details-action {
    flex: 1;
    background: #ffffff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.btn-details-action:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

.btn-buy-action {
    flex: 1.4;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.btn-buy-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}

/* Dark mode overrides for ultra card */
.dark-mode .product-card.ultra-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .price-amount { color: #f8fafc; }
.dark-mode .card-specs-matrix { border-color: #334155; color: #cbd5e1; }
.dark-mode .btn-demo-action { background: #0f172a; border-color: #7f1d1d; }
.dark-mode .btn-details-action { background: #0f172a; border-color: #1e3a8a; }

/* ==========================================
   ENHANCED 2-COLUMN FAQ SECTION
   ========================================== */
.faq-section-ultra {
    position: relative;
    padding: 90px 20px;
    background: linear-gradient(180deg, #f8f6fe 0%, #ffffff 100%);
}

.faq-2col-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1240px;
    margin: 40px auto 0;
}

.faq-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(230, 225, 250, 0.8);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.faq-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
    border-color: rgba(139, 92, 246, 0.3);
}

.faq-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-card:hover .faq-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.faq-content {
    flex-grow: 1;
}

.faq-question {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.faq-answer {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
}

/* Dark mode overrides for FAQ section */
.dark-mode .faq-section-ultra { background: linear-gradient(180deg, #0f172a 0%, #131b2e 100%); }
.dark-mode .faq-card { background: #1e293b; border-color: #334155; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.dark-mode .faq-question { color: #f8fafc; }
.dark-mode .faq-answer { color: #94a3b8; }

@media (max-width: 868px) {
    .faq-2col-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}


/* ==========================================
   EXPLORE OUR TOP SOLUTIONS SECTION (MATCHING MOCKUP)
   ========================================== */
.explore-solutions-section {
    padding: 75px 20px 60px;
    position: relative;
    background: var(--bg-primary);
}

.explore-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.explore-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.18);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.explore-title {
    font-size: clamp(26px, 3.8vw, 40px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.explore-gradient-text {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.explore-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.explore-line-bar {
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #ec4899 100%);
    margin: 0 auto;
}

    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-demo-action {
    flex: 1;
    background: #ffffff;
    color: #ef4444;
    border: 1px solid #fca5a5;
}

.btn-demo-action:hover {
    background: #fef2f2;
    border-color: #ef4444;
}

.btn-details-action {
    flex: 1;
    background: #ffffff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.btn-details-action:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

.btn-buy-action {
    flex: 1.4;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.btn-buy-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}

/* Dark mode overrides for ultra card */
.dark-mode .product-card.ultra-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .price-amount { color: #f8fafc; }
.dark-mode .card-specs-matrix { border-color: #334155; color: #cbd5e1; }
.dark-mode .btn-demo-action { background: #0f172a; border-color: #7f1d1d; }
.dark-mode .btn-details-action { background: #0f172a; border-color: #1e3a8a; }

/* ==========================================
   ENHANCED 2-COLUMN FAQ SECTION
   ========================================== */
.faq-section-ultra {
    position: relative;
    padding: 90px 20px;
    background: linear-gradient(180deg, #f8f6fe 0%, #ffffff 100%);
}

.faq-2col-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1240px;
    margin: 40px auto 0;
}

.faq-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(230, 225, 250, 0.8);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.faq-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
    border-color: rgba(139, 92, 246, 0.3);
}

.faq-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-card:hover .faq-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.faq-content {
    flex-grow: 1;
}

.faq-question {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.faq-answer {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
}

/* Dark mode overrides for FAQ section */
.dark-mode .faq-section-ultra { background: linear-gradient(180deg, #0f172a 0%, #131b2e 100%); }
.dark-mode .faq-card { background: #1e293b; border-color: #334155; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.dark-mode .faq-question { color: #f8fafc; }
.dark-mode .faq-answer { color: #94a3b8; }

@media (max-width: 868px) {
    .faq-2col-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}


/* ==========================================
   EXPLORE OUR TOP SOLUTIONS SECTION (MATCHING MOCKUP)
   ========================================== */
.explore-solutions-section {
    padding: 75px 20px 60px;
    position: relative;
    background: var(--bg-primary);
}

.explore-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.explore-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.18);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.explore-title {
    font-size: clamp(26px, 3.8vw, 40px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.explore-gradient-text {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.explore-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.explore-line-bar {
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #ec4899 100%);
    margin: 0 auto;
}

/* 5 Category Cards Grid */
.explore-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

@media (max-width: 1100px) {
    .explore-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

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

@media (max-width: 480px) {
    .explore-cards-grid { grid-template-columns: 1fr; }
}

/* Individual Top Solution Card (Enhanced Ultra 3D) */
.top-sol-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 26px 22px 22px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Subtle Shimmer Overlay on Hover */
.top-sol-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.top-sol-card:hover::before {
    left: 150%;
}

.top-sol-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.sol-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.sol-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.sol-icon-box svg {
    transition: transform 0.35s ease;
}

.top-sol-card:hover .sol-icon-box {
    transform: scale(1.12);
}

.top-sol-card:hover .sol-icon-box svg {
    transform: scale(1.15) rotate(6deg);
}

.ib-blue { background: #eff6ff; color: #2563eb; box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.15); }
.ib-red { background: #fff1f2; color: #e11d48; box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.15); }
.ib-green { background: #f0fdf4; color: #16a34a; box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.15); }
.ib-purple { background: #f3e8ff; color: #9333ea; box-shadow: inset 0 0 0 1px rgba(147, 51, 234, 0.15); }
.ib-pink { background: #fdf2f8; color: #db2777; box-shadow: inset 0 0 0 1px rgba(219, 39, 119, 0.15); }

.sol-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sol-title-wrap h4 {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s ease;
}

.sol-title-bar {
    width: 24px;
    height: 3px;
    border-radius: 3px;
    transition: width 0.35s ease;
}

.top-sol-card:hover .sol-title-bar {
    width: 42px;
}

.bar-blue { background: #2563eb; }
.bar-red { background: #e11d48; }
.bar-green { background: #16a34a; }
.bar-purple { background: #9333ea; }
.bar-pink { background: #db2777; }

.sol-card-desc {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 22px;
    flex-grow: 1;
}

/* Floating Bottom Right Circle Button */
.sol-circle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    align-self: flex-end;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.sol-circle-btn svg {
    transition: transform 0.3s ease;
}

.top-sol-card:hover .sol-circle-btn {
    transform: scale(1.15);
}

.top-sol-card:hover .sol-circle-btn svg {
    transform: translateX(3px);
}

.btn-blue { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35); }
.btn-red { background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%); box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35); }
.btn-green { background: linear-gradient(135deg, #22c55e 0%, #15803d 100%); box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35); }
.btn-purple { background: linear-gradient(135deg, #a855f7 0%, #6b21a8 100%); box-shadow: 0 4px 14px rgba(147, 51, 234, 0.35); }
.btn-pink { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); box-shadow: 0 4px 14px rgba(219, 39, 119, 0.35); }

/* Card Bottom Border Accent */
.sol-bottom-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 0 0 22px 22px;
    transition: height 0.3s ease;
}

.top-sol-card:hover .sol-bottom-border {
    height: 6px;
}

.bdr-blue { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.bdr-red { background: linear-gradient(90deg, #f43f5e, #fb7185); }
.bdr-green { background: linear-gradient(90deg, #22c55e, #4ade80); }
.bdr-purple { background: linear-gradient(90deg, #a855f7, #c084fc); }
.bdr-pink { background: linear-gradient(90deg, #ec4899, #f472b6); }

/* Color-Coded Ambient Glow Shadows on Card Hover */
.top-sol-card:hover:has(.bar-blue) {
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.16), 0 4px 15px rgba(37, 99, 235, 0.08);
    border-color: rgba(59, 130, 246, 0.4);
}

.top-sol-card:hover:has(.bar-red) {
    box-shadow: 0 20px 45px rgba(225, 29, 72, 0.16), 0 4px 15px rgba(225, 29, 72, 0.08);
    border-color: rgba(225, 29, 72, 0.4);
}

.top-sol-card:hover:has(.bar-green) {
    box-shadow: 0 20px 45px rgba(22, 163, 74, 0.16), 0 4px 15px rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.4);
}

.top-sol-card:hover:has(.bar-purple) {
    box-shadow: 0 20px 45px rgba(147, 51, 234, 0.16), 0 4px 15px rgba(147, 51, 234, 0.08);
    border-color: rgba(147, 51, 234, 0.4);
}

.top-sol-card:hover:has(.bar-pink) {
    box-shadow: 0 20px 45px rgba(219, 39, 119, 0.16), 0 4px 15px rgba(219, 39, 119, 0.08);
    border-color: rgba(219, 39, 119, 0.4);
}

/* Bottom Feature Trust Banner */
.explore-trust-banner {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.etb-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.etb-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.ib-blue-sm { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.ib-green-sm { background: rgba(22, 163, 74, 0.1); color: #16a34a; }
.ib-purple-sm { background: rgba(147, 51, 234, 0.1); color: #9333ea; }
.ib-pink-sm { background: rgba(219, 39, 119, 0.1); color: #db2777; }

.etb-info h5 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2px;
}

.etb-info p {
    font-size: 11.5px;
    color: var(--text-secondary);
    margin: 0;
}

.etb-divider {
    width: 1px;
    height: 28px;
    background: var(--border-color);
}

@media (max-width: 850px) {
    .etb-divider { display: none; }
    .explore-trust-banner { justify-content: flex-start; }
}
