/* ==========================================================================
   VEBGLITCH BRAND DESIGN SYSTEM (Google, Microsoft & Adobe Inspired)
   ========================================================================== */

@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&family=Fira+Code:wght@400;500&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #07090e;              /* Deep Obsidian Black */
    --bg-canvas: #0b0f19;            /* Corporate Slate dark canvas */
    --surface: rgba(16, 22, 35, 0.65); /* Fluent Glass Panel */
    --surface-hover: rgba(23, 31, 48, 0.85);
    --surface-active: rgba(30, 41, 63, 0.95);
    
    /* Brand Accents */
    --primary: #3b82f6;              /* VebGlitch Cobalt Blue (Google/Microsoft Core) */
    --primary-rgb: 59, 130, 246;
    --primary-glow: rgba(59, 130, 246, 0.15);
    
    --accent-cyan: #06b6d4;          /* Enterprise Teal */
    --accent-cyan-rgb: 6, 182, 212;
    --accent-violet: #8b5cf6;        /* Creative Violet (Adobe Feel) */
    --accent-violet-rgb: 139, 92, 246;
    --accent-emerald: #10b981;       /* Operational Green */
    --accent-rose: #f43f5e;          /* Core Ledger Pink */
    
    /* Borders & Outlines */
    --border: rgba(255, 255, 255, 0.08); /* 1px crisp borders */
    --border-hover: rgba(255, 255, 255, 0.16);
    --border-glow: rgba(59, 130, 246, 0.3);
    
    /* Typography */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #627288;
    
    /* Layout */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-code: 'Fira Code', monospace;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.2);
}

/* Light Theme Overrides */
body.light-theme {
    --bg-dark: #f8fafc;              /* Crisp light background */
    --bg-canvas: #f1f5f9;            /* Light gray container background */
    --surface: rgba(255, 255, 255, 0.7); /* Fluent Glass light card */
    --surface-hover: rgba(255, 255, 255, 0.9);
    --surface-active: rgba(241, 245, 249, 0.95);
    --border: rgba(15, 23, 42, 0.08); /* 1px crisp dark borders */
    --border-hover: rgba(15, 23, 42, 0.16);
    --text-primary: #0f172a;         /* High-contrast slate charcoal */
    --text-secondary: #475569;       /* Slate grey body */
    --text-muted: #94a3b8;           /* Muted text captions */
}

body.light-theme .nav-container {
    background: rgba(248, 250, 252, 0.8);
}

body.light-theme .nav-container.scrolled {
    background: rgba(248, 250, 252, 0.95);
}

body.light-theme .logo-item {
    color: var(--text-muted);
}

body.light-theme .nav-links a:hover, body.light-theme .nav-links a.active {
    text-shadow: none;
}

body.light-theme .trust-banner {
    background: rgba(0, 0, 0, 0.01);
}

body.light-theme footer {
    background: #e2e8f0;
}

body.light-theme .timeline-item::before {
    border-color: var(--bg-dark);
}

body.light-theme .code-console {
    background: #090b11; /* Always keep code editors dark for superior syntax clarity */
}

body.light-theme .calc-item:hover, body.light-theme .calc-item.selected {
    background: rgba(59, 130, 246, 0.04);
}

body.light-theme .search-input, body.light-theme .filter-select, body.light-theme .form-input {
    background: #ffffff;
}

body.light-theme .modal-content {
    background: var(--bg-dark);
}

/* Light Theme Visibility Enhancements */
body.light-theme .secondary-btn {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .secondary-btn:hover {
    background: rgba(15, 23, 42, 0.08);
    border-color: var(--text-muted);
}

body.light-theme .product-tabs {
    background: rgba(15, 23, 42, 0.03);
}

body.light-theme .tab-btn.active {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-color: rgba(15, 23, 42, 0.08);
    color: var(--text-primary);
}

body.light-theme .hero-visual {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

body.light-theme .dashboard-card {
    background: rgba(15, 23, 42, 0.02);
}

body.light-theme .dashboard-dot {
    background: rgba(15, 23, 42, 0.15);
}

body.light-theme .dashboard-title {
    background: rgba(15, 23, 42, 0.04);
}

body.light-theme .text-gradient-cobalt {
    background: linear-gradient(135deg, #0f172a 30%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .text-gradient-violet {
    background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .text-gradient-cyan {
    background: linear-gradient(135deg, #0891b2 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .toggle-switch {
    background: rgba(15, 23, 42, 0.08);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
}

body.light-theme .theme-toggle-btn {
    background: rgba(15, 23, 42, 0.03);
}

body.light-theme .theme-toggle-btn:hover {
    background: rgba(15, 23, 42, 0.08);
}

/* Premium Theme Toggle Icons */
.theme-toggle-btn svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

/* Default (Dark Mode) display setup: show Sun icon, hide Moon icon */
.theme-toggle-btn .sun-icon {
    display: block;
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
.theme-toggle-btn .moon-icon {
    display: none;
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
}

/* Light Theme display overrides: hide Sun icon, show Moon icon */
body.light-theme .theme-toggle-btn .sun-icon {
    display: none;
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}
body.light-theme .theme-toggle-btn .moon-icon {
    display: block;
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.05) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(6, 182, 212, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.glass-card, .nav-container, .nav-links a, .glow-btn, .secondary-btn, .footer-brand, footer, th, td, input, select, textarea, .theme-toggle-btn {
    transition: var(--transition), background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

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

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-gradient-cobalt {
    background: linear-gradient(135deg, #f8fafc 30%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-violet {
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: var(--transition);
}

.glow-btn:hover {
    background: #2563eb;
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
}

.secondary-btn[disabled], .glow-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none !important;
    transform: none !important;
}

.glass-card {
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Custom Reusable Core Components */
.cta-banner-card {
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.9) 0%, rgba(16, 22, 35, 0.9) 100%);
}

body.light-theme .cta-banner-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.code-terminal-block {
    background: #090b11;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: #e2e8f0;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(7, 9, 14, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.nav-container.scrolled {
    width: 100%;
    max-width: 100%;
    top: 0;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    background: rgba(7, 9, 14, 0.9);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.logo-svg-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-svg-icon {
    transform: rotate(-5deg) scale(1.05);
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulseGlow 2s infinite;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger menu for mobile */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   LANDING PAGE (index.html)
   ========================================================================== */

.section-padding {
    padding: 120px 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    min-height: 80vh;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* High Fidelity Interactive Dashboard Preview (Microsoft Fluent-style) */
.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    background: rgba(16, 22, 35, 0.8);
    border: 1px solid var(--border);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.dashboard-dot.red { background: #f43f5e; }
.dashboard-dot.yellow { background: #eab308; }
.dashboard-dot.green { background: #10b981; }

.dashboard-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
}

.dashboard-metric {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 8px 0;
    font-family: var(--font-heading);
}

.dashboard-chart {
    height: 80px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-top: 12px;
}

.chart-bar {
    flex: 1;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 2px 2px 0 0;
    transition: height 1s ease-in-out;
}

.chart-bar.filled {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Trust Banner */
.trust-banner {
    padding: 60px 24px;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.01);
}

.trust-banner p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.logo-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.logo-item {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-muted);
    opacity: 0.5;
    transition: var(--transition);
}

.logo-item:hover {
    opacity: 1;
    color: var(--text-primary);
}

/* Bento Grid Product Tour (Webflow inspired) */
.bento-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 16px;
}

.bento-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 60px;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1.15fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.bento-item, .bento-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bento-card.bento-large {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card.bento-large:first-of-type {
    grid-column: 1;
    grid-row: 1 / 3;
}

.bento-card.bento-large:last-of-type {
    grid-column: 3;
    grid-row: 1 / 3;
}

.bento-item h3, .bento-card h3 {
    font-size: 1.5rem;
    margin: 16px 0 12px;
}

.bento-item p, .bento-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Stat grid section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.stats-section.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.stats-section.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 8px;
    color: var(--primary);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   PRODUCTS PAGE (products.html)
   ========================================================================== */

.products-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding-top: 60px;
}

.products-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.products-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Tab Control (Fluent segmented design) */
.product-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 6px;
    max-width: 800px;
    margin: 0 auto 60px;
    list-style: none;
}

.tab-btn {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-pane {
    display: none;
    animation: fadeInSlide 0.5s ease-out forwards;
}

.product-pane.active {
    display: block;
}

.product-details h2 {
    font-size: 2.25rem;
    margin: 16px 0 20px;
}

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

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.feature-list svg {
    color: var(--accent-emerald);
}

/* Interactive Developer Code Preview (Stripe style) */
.code-console {
    background: #090b11;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #627288;
    --border: rgba(255, 255, 255, 0.08);
}

.console-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
}

.console-lang-tabs {
    display: flex;
    gap: 12px;
}

.console-lang {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.console-lang.active, .console-lang:hover {
    color: var(--text-primary);
}

.console-copy {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
}

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

.console-body {
    padding: 24px;
    font-family: var(--font-code);
    font-size: 0.85rem;
    line-height: 1.5;
    overflow-x: auto;
}

.console-body pre {
    color: #e2e8f0;
}

.code-keyword { color: #f43f5e; }
.code-string { color: #10b981; }
.code-function { color: #3b82f6; }
.code-comment { color: #64748b; }

/* ==========================================================================
   ABOUT PAGE (about.html)
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    background: var(--surface);
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dynamic Interactive Timeline */
.timeline-section h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 60px;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 32px;
    border-left: 2px solid var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    border: 2px solid var(--bg-dark);
}

.timeline-year {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.timeline-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.timeline-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Team Section */
.team-section {
    padding-bottom: 80px;
}

.team-section h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 16px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.team-card {
    padding: 32px;
    text-align: center;
}

.team-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.team-card h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.team-role {
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 16px;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   PRICING PAGE (pricing.html)
   ========================================================================== */

.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.billing-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.toggle-switch.annual .toggle-knob {
    left: 26px;
    background: var(--primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
    margin-bottom: 80px;
}

.pricing-card {
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.popular {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-features svg {
    color: var(--primary);
}

/* Custom Interactive Product Stack Calculator (Zoho ecosystem inspired) */
.calculator-card {
    padding: 48px;
    margin-bottom: 80px;
}

.calculator-card h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    text-align: center;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    margin-top: 40px;
}

.calc-selector {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.calc-item:hover, .calc-item.selected {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.02);
}

.calc-item.selected {
    box-shadow: inset 0 0 10px rgba(59, 130, 246, 0.05);
}

.calc-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.calc-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.calc-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.calc-item.selected .calc-checkbox {
    background: var(--primary);
    border-color: var(--primary);
}

.calc-summary {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.summary-heading {
    font-size: 1.15rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.summary-total {
    text-align: center;
    margin: 24px 0;
}

.summary-total .price {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

/* Comparison Table (Stripe Style) */
.comparison-section h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 60px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.flowchart-step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: default;
}
.flowchart-step:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
/* Flowchart Premium Hover Tooltip */
.flowchart-tooltip {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    width: 280px;
    text-align: left;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
}
.flowchart-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: var(--border) transparent transparent transparent;
}
.flowchart-tooltip strong {
    color: var(--primary);
    display: block;
    font-size: 0.95rem;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    font-weight: 800;
}
.flowchart-tooltip p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}
.flowchart-step:hover .flowchart-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.comparison-table td {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

.check-icon {
    color: var(--primary);
}



/* ==========================================================================
   CAREERS PAGE (careers.html)
   ========================================================================== */

.careers-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    padding-top: 60px;
}

.careers-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.careers-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.culture-section h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 60px;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.culture-card {
    padding: 32px;
}

.culture-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.culture-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Openings Grid with Search/Filters */
.openings-section {
    scroll-margin-top: 120px;
}

.openings-section h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 16px;
}

.openings-filter-bar {
    display: flex;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.search-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    color: var(--text-primary);
    font-family: var(--font-body);
}

.search-input:focus {
    border-color: var(--primary);
}

.filter-select {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    color: var(--text-primary);
    font-family: var(--font-body);
    cursor: pointer;
}

.filter-select option {
    background: var(--bg-canvas);
    color: var(--text-primary);
}

.jobs-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.job-card {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.no-vacancy-card {
    position: relative;
    overflow: hidden;
    animation: fadeInSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.no-vacancy-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: url('../images/logo.png') no-repeat center center;
    background-size: contain;
    opacity: 0.05; /* Faint premium watermark */
    pointer-events: none;
    z-index: 0;
}

.no-vacancy-card > * {
    position: relative;
    z-index: 1;
}

.job-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.job-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.job-apply-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Application Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-canvas);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.modal-content h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

/* ==========================================================================
   CONTACT PAGE (contact.html)
   ========================================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-panel h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-info-panel p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
}

.contact-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-meta-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-meta-text h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-meta-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.offices-section h2 {
    font-size: 1.75rem;
    margin-bottom: 30px;
}

.office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.office-card {
    padding: 24px;
}

.office-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.office-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Glassmorphic contact form */
.contact-form-panel {
    padding: 40px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input option {
    background: var(--bg-canvas);
    color: var(--text-primary);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

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

/* Demo calendar widget */
.scheduler-widget {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 30px;
}

.scheduler-header {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
    margin-bottom: 16px;
}

.calendar-day-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.calendar-day {
    font-size: 0.85rem;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.calendar-day:hover {
    background: rgba(255, 255, 255, 0.05);
}

.calendar-day.active {
    background: var(--primary);
    color: white;
}

.calendar-day.disabled {
    color: var(--text-muted);
    opacity: 0.3;
    pointer-events: none;
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.time-slot {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
}

.time-slot:hover, .time-slot.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    border-top: 1px solid var(--border);
    background: #05060a;
    padding: 80px 24px 40px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 250px;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(59, 130, 246, 0.5); }
    50% { transform: scale(1.15); box-shadow: 0 0 20px rgba(59, 130, 246, 0.8); }
    100% { transform: scale(1); box-shadow: 0 0 10px rgba(59, 130, 246, 0.5); }
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   MEDIA QUERIES (Responsive Design)
   ========================================================================== */

@media (max-width: 1024px) {
    .stats-section {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        margin-top: 40px !important;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .products-hero h1 {
        font-size: 2.5rem;
    }
    
    .careers-hero h1, .contact-info-panel h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-large, .bento-card.bento-large:first-of-type, .bento-card.bento-large:last-of-type {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .product-pane.active {
        display: block;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .api-section {
        grid-template-columns: 1fr;
    }
    
    .dev-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .sdk-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .nav-links.open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 76px;
        left: 5%;
        width: 90%;
        background: var(--surface-active) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid var(--border) !important;
        border-radius: 12px;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg) !important;
        animation: slideDownFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        z-index: 1000;
    }
    
    .nav-links.open a {
        display: block;
        width: 100%;
        padding: 8px 12px;
        border-radius: 6px;
        color: var(--text-secondary);
        font-weight: 600;
        transition: all 0.2s ease;
    }
    
    .nav-links.open a:hover, .nav-links.open a.active {
        background: rgba(59, 130, 246, 0.08);
        color: var(--primary);
        padding-left: 16px;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .products-hero h1 {
        font-size: 2.0rem;
    }
    
    .careers-hero h1, .contact-info-panel h1 {
        font-size: 2.0rem;
    }
    
    .product-tabs {
        flex-direction: column !important;
        gap: 8px !important;
        padding: 12px !important;
        max-width: 100% !important;
        margin-bottom: 32px !important;
    }
    
    .tab-btn {
        flex: none !important;
        width: 100% !important;
        padding: 12px 16px !important;
    }
    
    .section-padding {
        padding-top: 100px;
    }
    
    .stats-section {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-top: 30px !important;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .office-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .openings-filter-bar {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0 16px;
    }
    .search-input, .filter-select {
        width: 100%;
    }
}

/* ==========================================================================
   BLOG PAGE (blog.html)
   ========================================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px;
}

.blog-meta-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.blog-read-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

/* ==========================================================================
   SAAS PRODUCT CARD DIRECTORY SYSTEM
   ========================================================================== */
.product-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}
@media (max-width: 768px) {
    .product-grid-container {
        grid-template-columns: 1fr;
    }
}
.product-card-saas {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}
.product-card-saas:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.product-card-saas h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.product-card-saas .tagline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 16px;
}
.product-card-saas p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}
.product-card-saas .product-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.product-card-saas .product-meta-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
}
.product-card-saas .product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/* ==========================================================================
   VEBGLITCH ECOSYSTEM VISION FLOWCHART
   ========================================================================== */
.vision-flowchart-section {
    margin-top: 80px;
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 80px;
}
.flowchart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   SAAS PRODUCT CARD DIRECTORY SYSTEM
   ========================================================================== */
.product-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}
@media (max-width: 768px) {
    .product-grid-container {
        grid-template-columns: 1fr;
    }
}
.product-card-saas {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}
.product-card-saas:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.product-card-saas h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.product-card-saas .tagline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 16px;
}
.product-card-saas p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}
.product-card-saas .product-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.product-card-saas .product-meta-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
}
.product-card-saas .product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/* ==========================================================================
   VEBGLITCH ECOSYSTEM VISION FLOWCHART
   ========================================================================== */
.vision-flowchart-section {
    margin-top: 80px;
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 80px;
}
.flowchart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
    font-size: 0.95rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.flowchart-step-obsolete:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.flowchart-arrow {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.25rem;
}
    align-items: center;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.25rem;
}
@media (max-width: 768px) {
    .flowchart-container {
        flex-direction: column;
    }
    .flowchart-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
    }
}

/* ==========================================================================
   MULTI-ECOSYSTEM WORKSPACE SWITCHER (Atlassian Suite Switcher)
   ========================================================================== */
.ecosystem-selector-section {
    position: sticky;
    top: 70px; /* Directly below the main navigation bar */
    z-index: 40;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
    transition: var(--transition);
}
body:not(.light-theme) .ecosystem-selector-section {
    background: rgba(7, 9, 14, 0.85) !important;
}

.ecosystem-tabs {
    display: flex;
    gap: 20px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.eco-tab-btn {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.eco-tab-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.eco-tab-btn.active {
    background: var(--surface);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.12);
    position: relative;
}

.eco-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}

/* Visibility Control for Multi-Ecosystems */
.ecosystem-view {
    display: none;
    animation: fadeSlideInEcosystem 0.4s ease-out forwards;
}

.ecosystem-view.active {
    display: block;
}

@keyframes fadeSlideInEcosystem {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .ecosystem-tabs {
        flex-direction: column;
        gap: 12px;
    }
    .ecosystem-selector-section {
        position: static;
        padding: 16px 0;
    }
}

/* ==========================================================================
   NOTION-STYLE CENTERED ARTICLE PEEK VIEW MODAL
   ========================================================================== */
.notion-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.notion-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.notion-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.notion-modal-container {
    position: relative;
    width: 90%;
    max-width: 820px;
    height: 85vh;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 2002;
    transform: translateY(24px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.notion-modal.active .notion-modal-container {
    transform: translateY(0) scale(1);
}

.notion-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 2010;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.notion-modal-close:hover {
    background: #f1f5f9;
    color: var(--primary);
    transform: rotate(90deg);
}

.notion-modal-cover {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #e0f2fe 0%, #e0e7ff 50%, #f3e8ff 100%);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.03);
}

.notion-modal-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 40px 60px;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, 0.2) transparent;
}

.notion-modal-content::-webkit-scrollbar {
    width: 6px;
}

.notion-modal-content::-webkit-scrollbar-thumb {
    background-color: rgba(15, 23, 42, 0.15);
    border-radius: 10px;
}

.notion-modal-header-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.notion-meta-badge {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 100px;
}

.notion-meta-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.notion-modal-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.notion-modal-divider {
    width: 100%;
    height: 1px;
    background: #e2e8f0;
    margin-bottom: 32px;
}

.notion-modal-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

.notion-modal-body p {
    margin-bottom: 20px;
}

.notion-modal-body h2 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 36px;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.notion-modal-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 28px;
    margin-bottom: 12px;
}

.notion-modal-body blockquote {
    border-left: 4px solid var(--accent-cyan);
    background: #f8fafc;
    padding: 16px 24px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #475569;
}

.notion-modal-body pre {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 18px 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
}

.notion-modal-body pre code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #0f172a;
    line-height: 1.5;
}

.notion-modal-body ul, .notion-modal-body ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.notion-modal-body li {
    margin-bottom: 8px;
}

.notion-modal-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .notion-modal-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }
    
    .notion-modal-content {
        padding: 30px 24px;
    }
    
    .notion-modal-title {
        font-size: 1.8rem;
    }
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.0rem !important;
    }
    .products-hero h1 {
        font-size: 1.7rem !important;
    }
    .careers-hero h1, .contact-info-panel h1 {
        font-size: 1.7rem !important;
    }
    .dashboard-content {
        grid-template-columns: 1fr !important;
    }
    .hero-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }
    .hero-actions a {
        width: 100% !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   VEBGLITCH CAREERS & CONTACT PAGE MOBILE RESPONSIVENESS REFINEMENTS
   ========================================================================== */

/* Tablet & Mobile Culture Grid Responsiveness */
@media (max-width: 1024px) {
    .culture-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
}

@media (max-width: 768px) {
    .culture-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-bottom: 40px !important;
    }
}

/* Global Footer Bottom Stacking to Prevent Horizontal Overflow */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 16px !important;
    }
    .footer-socials {
        justify-content: center !important;
    }
}



/* Mobile Careers Page Job Card & Meta Enhancements */
@media (max-width: 600px) {
    .job-card {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: left !important;
        gap: 16px !important;
        padding: 20px !important;
    }
    .job-card .glow-btn {
        width: 100% !important;
        text-align: center !important;
    }
    .job-meta {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .no-vacancy-card {
        padding: 40px 20px !important;
    }
}

/* Mobile Glass Card & Vacancy Buttons Optimization */
@media (max-width: 480px) {
    .glass-card {
        padding: 24px 16px !important;
    }
    .no-vacancy-card {
        padding: 32px 16px !important;
    }
    .no-vacancy-card div {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }
    .no-vacancy-card a, .no-vacancy-card button {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
    }
}

/* Mobile Contact Page Layout, Form & Scheduler Optimizations */
@media (max-width: 768px) {
    .contact-layout {
        gap: 32px !important;
    }
}

@media (max-width: 480px) {
    .contact-form-panel {
        padding: 24px 16px !important;
    }
    .modal-content {
        padding: 24px 16px !important;
    }
    .calendar-day {
        padding: 6px 4px !important;
        font-size: 0.8rem !important;
    }
    .calendar-grid {
        gap: 4px !important;
    }
}
