:root {
    /* Emerald Green Theme */
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --accent: #06b6d4;
    --gradient: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    
    --cognora: #6366f1;
    --fintellect: #0ea5e9;
    --tripweave: #f59e0b;
    --games: #ec4899;
    --visa: #10b981;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --bg-primary: #ffffff;
    --bg-secondary: #ecfdf5;
    --bg-tertiary: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;
    --border-subtle: #e5e7eb;
    --border-strong: #d1d5db;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --max-w: 1280px;
}

[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --border-subtle: #334155;
    --border-strong: #475569;
    --gray-50: #1e293b;
    --gray-100: #334155;
    --gray-200: #475569;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Top Reading Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient);
    z-index: 1000;
    width: 0%;
    transition: width 0.1s ease-out;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.85);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-logo,
.brand-icon,
.brand img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: var(--radius-full);
}

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

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-strong);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

/* Enhanced Hero */
.hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.15), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1), transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(52, 211, 153, 0.08), transparent 45%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.floating-ventures {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floater-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-xl);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    animation: float 18s infinite ease-in-out;
}

[data-theme="dark"] .floater-badge {
    background: rgba(30, 41, 59, 0.85);
    border-color: var(--border-strong);
}

.floater-badge svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.floater-badge-1 { top: 22%; left: 6%; animation-delay: 0s; }
.floater-badge-2 { top: 62%; right: 8%; animation-delay: -4s; }
.floater-badge-3 { bottom: 18%; left: 14%; animation-delay: -9s; }
.floater-badge-4 { top: 28%; right: 18%; animation-delay: -13s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-16px) rotate(3deg); }
    50% { transform: translateY(-8px) rotate(-3deg); }
    75% { transform: translateY(-20px) rotate(2deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: 1px solid var(--border-strong);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease forwards;
}

.trust-badge .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.trust-badge span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero h1 {
    font-size: clamp(48px, 8vw, 80px);
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero h1 .typewriter {
    display: block;
    margin-top: 8px;
    min-height: 1.2em;
}

.typewriter {
    display: inline-block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.typewriter::after {
    content: '|';
    position: absolute;
    right: -12px;
    animation: blink 1s infinite;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-lede {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin: 48px auto;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

[data-theme="dark"] .stats-bar {
    background: rgba(30, 41, 59, 0.6);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

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

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

/* Trust Bar */
.trust-bar {
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.trust-bar p {
    text-align: center;
    font-size: 13px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.85;
}

.trust-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.trust-badge-pill:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.trust-badge-pill svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

/* Section Headings */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 52px);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Interactive Category Filters */
.venture-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-strong);
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

/* Ventures Section */
.ventures {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.venture-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.venture-card.is-hidden {
    display: none;
}

.venture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--venture-gradient, var(--gradient));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.venture-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

.venture-card:hover::before {
    opacity: 1;
}

.venture-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--venture-gradient, var(--gradient));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
}

.venture-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.venture-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.venture-badge.live {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
}

.venture-badge.launching {
    background: rgba(245, 158, 11, 0.1);
    color: var(--tripweave);
}

.venture-badge.dev {
    background: rgba(99, 102, 241, 0.1);
    color: var(--cognora);
}

.venture-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.venture-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.venture-tagline {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.venture-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.venture-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.venture-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    list-style: none;
}

.venture-feature svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.venture-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.2s ease;
}

.venture-link:hover {
    gap: 12px;
}

.venture-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

/* About / Story Section */
.about-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 24px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.pillar-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
}

.pillar-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--primary);
}

.pillar-card p {
    font-size: 13px;
    margin-bottom: 0;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.service-card {
    padding: 40px;
    border-radius: var(--radius-xl);
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    list-style: none;
}

.service-list li svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gray-900);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.15), transparent 50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(36px, 5vw, 56px);
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: #ffffff;
    color: var(--gray-900);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.footer-legal {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Floating AI Chat Proactive Tooltip */
.chat-tooltip {
    position: fixed;
    bottom: 96px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    z-index: 9997;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .chat-tooltip {
    background: rgba(30, 41, 59, 0.95);
    color: #f8fafc;
}

.chat-tooltip.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Chat Widget Trigger & Drawer */
.envara-chat-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.envara-chat-trigger:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 16px 36px rgba(16, 185, 129, 0.4);
}

.envara-chat-trigger svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.envara-chat-window {
    display: none;
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 380px;
    height: 520px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 120px);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 9998;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), visibility 0.3s;
}

[data-theme="dark"] .envara-chat-window {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(16, 185, 129, 0.3);
}

.envara-chat-window.open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2) forwards;
}

.chat-bubble.ai {
    background: #ffffff;
    color: #111827;
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-top-left-radius: 4px;
    align-self: flex-start;
}

[data-theme="dark"] .chat-bubble.ai {
    background: #1e293b;
    color: #f8fafc;
    border-color: rgba(16, 185, 129, 0.2);
}

.chat-bubble.user {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    color: #ffffff;
    border-top-right-radius: 4px;
    align-self: flex-end;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.chat-bubble a {
    color: #10b981;
    font-weight: 600;
    text-decoration: none;
}

.chat-bubble a:hover {
    text-decoration: underline;
}

.chat-bubble.typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 14px 18px;
    align-self: flex-start;
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 14px;
    border-top-left-radius: 4px;
}

[data-theme="dark"] .chat-bubble.typing {
    background: #1e293b;
    border-color: rgba(16, 185, 129, 0.2);
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.9) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(236, 253, 245, 0.5);
    transition: background 0.3s ease;
}

[data-theme="dark"] .chat-messages {
    background: rgba(15, 23, 42, 0.95);
}

.chat-quick-replies {
    padding: 0 20px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(236, 253, 245, 0.5);
    transition: background 0.3s ease;
}

[data-theme="dark"] .chat-quick-replies {
    background: rgba(15, 23, 42, 0.95);
}

.chat-input-bar {
    padding: 16px 20px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 10px;
    align-items: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .chat-input-bar {
    background: #1e293b;
    border-top-color: #334155;
}

.chat-input {
    flex: 1;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    border-radius: 20px;
    padding: 10px 16px;
    font-family: inherit;
    font-size: 14px;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
}

[data-theme="dark"] .chat-input {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .chat-input::placeholder {
    color: #94a3b8 !important;
}

.chat-input:focus {
    border-color: #10b981 !important;
    background: #ffffff !important;
}

[data-theme="dark"] .chat-input:focus {
    background: #0f172a !important;
    border-color: #10b981 !important;
    color: #f8fafc !important;
}

.quick-reply-chip {
    font-size: 12px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #10b981;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .quick-reply-chip {
    background: #1e293b;
    border-color: #334155;
    color: #34d399;
}

.quick-reply-chip:hover {
    border-color: #10b981;
    background: #ecfdf5;
    transform: translateY(-1px);
}

[data-theme="dark"] .quick-reply-chip:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #6ee7b7;
}

[data-theme="dark"] .chat-bubble.ai a {
    color: #34d399;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.3) !important;
}

.chat-close-btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}
.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.2);
    border-radius: 3px;
}
.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.4);
}

/* Subpage Article & Document Styles (FAQ / Privacy / Services) */
.services-hero {
    padding: 160px 0 80px;
    background: 
        radial-gradient(circle at 10% 40%, rgba(16, 185, 129, 0.12), transparent 45%),
        radial-gradient(circle at 90% 20%, rgba(6, 182, 212, 0.1), transparent 40%);
    text-align: center;
}

.services-hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    margin: 16px 0 20px;
}

.services-hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 32px;
}

.comparison-section {
    padding: 80px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.comparison-card {
    padding: 36px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    background: var(--bg-primary);
}

.comparison-card.negative {
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(254, 242, 242, 0.3);
}

[data-theme="dark"] .comparison-card.negative {
    background: rgba(127, 29, 29, 0.15);
}

.comparison-card.positive {
    border-color: rgba(16, 185, 129, 0.3);
    background: var(--bg-secondary);
}

.comparison-card h3 {
    font-size: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
}

.comparison-list li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.process-step {
    padding: 32px;
    border-radius: var(--radius-xl);
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
}

.process-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
}

.process-step h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Form Styles */
.form-section {
    padding: 80px 0 100px;
}

.form-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px;
    border-radius: var(--radius-xl);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
}

.form-container h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.form-container p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-strong);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

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

.form-submit-btn {
    padding: 14px 28px;
    border-radius: var(--radius-md);
    background: var(--gradient);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.form-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.form-success-message {
    display: none;
    text-align: center;
    padding: 32px 0;
}

.form-success-message.is-visible {
    display: block;
}

.success-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

/* Documentation Pages (FAQ & Privacy) */
.doc {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 0 80px;
}

.doc h1 {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 12px;
}

.doc .meta {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 32px;
}

.doc h2 {
    font-size: 24px;
    margin: 40px 0 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.doc p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.doc ul {
    margin: 16px 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.doc li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.doc a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

.toc {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    margin-bottom: 40px;
}

.toc a {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg-primary);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    text-decoration: none;
    border: 1px solid var(--border-subtle);
}

.toc a:hover {
    border-color: var(--primary);
}

.app-section {
    padding: 24px 0;
}

.app-section h3 {
    font-size: 18px;
    margin: 20px 0 8px;
}

/* Responsive */
@media (max-width: 1024px) {
    .ventures-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .ventures-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .stats-bar {
        gap: 24px;
        padding: 16px 24px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .form-container {
        padding: 24px;
    }
    
    .floater-badge {
        display: none;
    }
}

.venture-card {
    animation: fadeInUp 0.6s ease forwards;
}

.venture-card:nth-child(1) { animation-delay: 0.1s; }
.venture-card:nth-child(2) { animation-delay: 0.2s; }
.venture-card:nth-child(3) { animation-delay: 0.3s; }
.venture-card:nth-child(4) { animation-delay: 0.4s; }
.venture-card:nth-child(5) { animation-delay: 0.5s; }
.venture-card:nth-child(6) { animation-delay: 0.6s; }
