/* ============================================
   SMARTOMATION.AI - ENTERPRISE DESIGN SYSTEM
   Anthropic-inspired Light Theme
   ============================================ */

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
}

#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

:root {
    /* Light theme - Anthropic Economic Futures style */
    --bg-dark: #F9F8F6;
    --bg-dark-elevated: #F0EFED;
    --bg-card: #F0EFED;
    --text-card-description: #4A4A4A;
    --bg-glass: rgba(249, 248, 246, 0.95);
    
    /* Text */
    --text-primary: #1D1E1F;
    --text-secondary: #4A4A4A;
    --text-muted: #6B6B6B;
    
    /* Accent - muted teal/green (Anthropic map palette) */
    --accent-purple: #4DAE83;
    --accent-cyan: #6CBB9A;
    --accent-pink: #8BBDAE;
    --accent-blue: #4DAE83;
    --accent-violet: #6CBB9A;
    --gradient-primary: linear-gradient(135deg, #4DAE83 0%, #6CBB9A 100%);
    --gradient-cta: #1D1E1F;
    --gradient-card-icon: linear-gradient(135deg, #6CBB9A 0%, #4DAE83 100%);
    
    /* Legacy / compatibility */
    --green-light-1: rgba(77, 174, 131, 0.15);
    --green-light-2: rgba(108, 187, 154, 0.2);
    --green-light-3: #6CBB9A;
    --green-deep-1: #4DAE83;
    --green-deep-2: #3d9a6f;
    
    /* Background */
    --bg-primary: #F9F8F6;
    --bg-white: #F0EFED;
    --bg-light: #F0EFED;
    
    /* Border & Divider */
    --border-color: rgba(29, 30, 31, 0.12);
    --border-light: rgba(29, 30, 31, 0.15);
    
    /* Shadows - subtle for light theme */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 0 transparent;
    --shadow-glow-strong: 0 0 0 transparent;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Brand */
    --brand-maroon: #4DAE83;
    --brand-maroon-dark: #3d9a6f;
    --brand-maroon-darker: #2d8a5f;
    --primary-blue: #1D1E1F;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

* {
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Typography - Inter throughout (Anthropic-style) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: 56px; }
h2 { font-size: 42px; }
h3 { font-size: 28px; }
h4 { font-size: 20px; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
    box-sizing: border-box;
}

/* Prevent horizontal overflow */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

.section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

/* Light theme - clean minimal background */
body::before,
body::after {
    display: none;
}

@keyframes blob-float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotateZ(0deg);
    }
    33% {
        transform: translate(40px, -40px) scale(1.15) rotateZ(2deg);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.95) rotateZ(-2deg);
    }
}

@keyframes blob-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1) translate(0, 0);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) translate(20px, -20px);
    }
}

/* Navigation - Dark */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

@supports not (backdrop-filter: blur(20px)) {
    .navbar {
        background: var(--bg-glass);
    }
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(249, 248, 246, 0.98);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 40px;
    height: 40px;
    display: block;
}

/* Logo image (file.svg) and inline SVG */
.logo-img {
    height: 58px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Inline SVG logo - inherit color for nav/footer */
.logo .logo-img,
.logo .logo-img g {
    fill: currentColor;
}
.logo { color: #1D1E1F; }
.footer .logo { color: #CCCCCC; }

.logo-img-footer {
    height: 40px;
}

/* Logo dynamic “running” network animation */
.logo-svg .logo-circle {
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 0 0 transparent);
}
.logo:hover .logo-svg .logo-circle {
    filter: drop-shadow(0 0 0 transparent);
}

.logo-svg .logo-line {
    stroke: rgba(29, 30, 31, 0.8);
    stroke-width: 1.2;
    stroke-linecap: round;
    animation: logo-line-pulse 2s ease-in-out infinite;
}

.logo-svg .logo-node {
    fill: #1D1E1F !important;
    animation: logo-node-pulse 1.5s ease-in-out infinite;
}
.logo-svg .logo-node-center {
    fill: #1D1E1F !important;
    animation: logo-center-pulse 2s ease-in-out infinite;
}
.logo-svg .logo-node-1 { animation-delay: 0s; }
.logo-svg .logo-node-2 { animation-delay: 0.15s; }
.logo-svg .logo-node-3 { animation-delay: 0.3s; }
.logo-svg .logo-node-4 { animation-delay: 0.45s; }
.logo-svg .logo-node-5 { animation-delay: 0.6s; }
.logo-svg .logo-node-6 { animation-delay: 0.75s; }
.logo-svg .logo-node-7 { animation-delay: 0.9s; }
.logo-svg .logo-node-8 { animation-delay: 1.05s; }

@keyframes logo-center-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

@keyframes logo-node-pulse {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 1; }
}

@keyframes logo-line-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.logo-text-wrap {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0;
    line-height: 1;
}

.logo-brand {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #1D1E1F;
    letter-spacing: -0.02em;
}

.logo-dot-ai {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--accent-cyan);
    letter-spacing: -0.02em;
}

.logo-tagline {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.footer-logo-link.logo .logo-brand { font-size: 18px; }
.footer-logo-link.logo .logo-dot-ai { font-size: 18px; }
.footer-logo-link.logo .logo-tagline { font-size: 10px; }
.footer-logo-link.logo .logo-icon svg { width: 36px; height: 36px; }
.footer-logo { margin-bottom: var(--spacing-md); }
.footer-logo .logo { color: #CCCCCC; }
.footer-logo .logo-tagline { color: rgba(204,204,204,0.9); }

/* Footer logo - light elements on dark background */
.footer .logo-svg .logo-line { stroke: rgba(255, 255, 255, 0.7); }
.footer .logo-svg .logo-node { fill: #CCCCCC !important; }
.footer .logo-svg .logo-node-center { fill: #CCCCCC !important; }
.footer .logo-brand { color: #CCCCCC; }
.footer .logo-dot-ai { color: #CCCCCC; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color var(--transition-base);
    padding: var(--spacing-xs) 0;
}

.nav-menu a {
    color: var(--text-secondary);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1D1E1F;
    transition: width var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-full);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-cta {
    padding: 10px 24px;
    background: #1D1E1F;
    border: none;
    border-radius: var(--radius-sm);
    color: #F9F8F6;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-cta:hover::before {
    width: 300px;
    height: 300px;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #1D1E1F;
    transition: all var(--transition-base);
    border-radius: var(--radius-full);
}

/* Hero Section - 3D Effect */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: var(--spacing-3xl);
    overflow: hidden;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: transparent;
}

/* Running automation – moving lines & dots (dynamic background) */
.hero-automation-flow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.flow-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    will-change: background-position;
}

.flow-lines-1 {
    background: repeating-linear-gradient(
        105deg,
        transparent 0,
        transparent 50px,
        rgba(29, 30, 31, 0.15) 50px,
        rgba(29, 30, 31, 0.15) 52px
    );
    background-size: 120px 200%;
    animation: flow-run-x 6s linear infinite;
}

.flow-lines-2 {
    background: repeating-linear-gradient(
        75deg,
        transparent 0,
        transparent 60px,
        rgba(29, 30, 31, 0.1) 60px,
        rgba(29, 30, 31, 0.1) 62px
    );
    background-size: 150px 200%;
    animation: flow-run-x 8s linear infinite reverse;
}

.flow-lines-3 {
    background: repeating-linear-gradient(
        -115deg,
        transparent 0,
        transparent 70px,
        rgba(29, 30, 31, 0.08) 70px,
        rgba(29, 30, 31, 0.08) 72px
    );
    background-size: 180px 200%;
    animation: flow-run-x 10s linear infinite;
}

.flow-dots {
    position: absolute;
    inset: 0;
    background-image: none;
    opacity: 0;
}

@keyframes flow-run-x {
    0% { background-position: 0 0; }
    100% { background-position: 200px 0; }
}

@keyframes flow-dots-move {
    0% { background-position: 0 0, 28px 28px; }
    100% { background-position: 56px 0, 80px 28px; }
}

/* Animated 3D-style bubbles / orbs (AI automation theme) – more visible & faster */
.hero-bubbles {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.55;
    will-change: transform;
}

/* Bubbles - very subtle for light theme */
.bubble-1, .bubble-2, .bubble-3, .bubble-4, .bubble-5, .bubble-6,
.bubble-7, .bubble-8 {
    opacity: 0.03;
}

.bubble-1 {
    width: min(80vw, 600px);
    height: min(80vw, 600px);
    background: radial-gradient(circle, rgba(77, 174, 131, 0.3) 0%, transparent 70%);
    top: 10%;
    right: -15%;
    animation: bubble-float-1 12s ease-in-out infinite;
}

.bubble-2 {
    width: min(60vw, 400px);
    height: min(60vw, 400px);
    background: radial-gradient(circle, rgba(108, 187, 154, 0.25) 0%, transparent 70%);
    bottom: -10%;
    right: 5%;
    animation: bubble-float-2 10s ease-in-out infinite 1s;
}

.bubble-3 {
    width: min(50vw, 320px);
    height: min(50vw, 320px);
    background: radial-gradient(circle, rgba(77, 174, 131, 0.2) 0%, transparent 70%);
    top: 50%;
    left: -10%;
    animation: bubble-float-3 11s ease-in-out infinite 2s;
}

.bubble-4 {
    width: min(40vw, 280px);
    height: min(40vw, 280px);
    background: radial-gradient(circle, rgba(108, 187, 154, 0.15) 0%, transparent 60%);
    top: 20%;
    left: 30%;
    animation: bubble-float-2 9s ease-in-out infinite 0.5s;
}

.bubble-5 {
    width: min(45vw, 300px);
    height: min(45vw, 300px);
    background: radial-gradient(circle, rgba(77, 174, 131, 0.2) 0%, transparent 60%);
    bottom: 20%;
    left: 15%;
    animation: bubble-float-1 10s ease-in-out infinite 3s;
}

.bubble-6 {
    width: min(35vw, 220px);
    height: min(35vw, 220px);
    background: radial-gradient(circle, rgba(108, 187, 154, 0.18) 0%, transparent 65%);
    top: 60%;
    right: 25%;
    animation: bubble-float-3 9s ease-in-out infinite 2.5s;
}

.bubble-orb {
    width: min(25vw, 160px);
    height: min(25vw, 160px);
    filter: blur(40px);
    opacity: 0.03;
}

.bubble-7 {
    background: radial-gradient(circle, rgba(77, 174, 131, 0.25) 0%, transparent 70%);
    top: 25%;
    right: 20%;
    animation: bubble-drift 8s ease-in-out infinite;
}

.bubble-8 {
    background: radial-gradient(circle, rgba(108, 187, 154, 0.15) 0%, transparent 70%);
    top: 55%;
    right: 35%;
    animation: bubble-drift 7s ease-in-out infinite 2s;
}

@keyframes bubble-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(8%, -12%) scale(1.1) rotate(4deg); }
    66% { transform: translate(-8%, 8%) scale(0.92) rotate(-3deg); }
}

@keyframes bubble-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-6%, 10%) scale(1.08); }
}

@keyframes bubble-float-3 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(12%, 6%) scale(1.08) rotate(-5deg); }
    75% { transform: translate(-8%, -8%) scale(0.95) rotate(3deg); }
}

@keyframes bubble-drift {
    0%, 100% { transform: translate(0, 0); opacity: 0.55; }
    50% { transform: translate(15%, -18%); opacity: 0.75; }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    transform: translateZ(0);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: rgba(77, 174, 131, 0.15);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}
.hero-badge-icon { opacity: 0.9; }

.hero-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
    animation: fade-in-up 0.8s ease-out;
}

.hero-title-gradient {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    animation: fade-in-up 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fade-in-up 0.8s ease-out 0.4s both;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons - Premium with Glow */
.btn {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.btn-primary {
    background: #1D1E1F;
    color: #F9F8F6;
    box-shadow: var(--shadow-sm);
    border: none;
    border-radius: var(--radius-sm);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

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

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(29, 30, 31, 0.3);
    color: var(--text-primary);
    box-shadow: none;
}

.btn-secondary:hover {
    border-color: #1D1E1F;
    background: rgba(29, 30, 31, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Button Ripple Effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Cards - Light theme (Anthropic-style) */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    position: relative;
    transform: translateZ(0);
    box-shadow: var(--shadow-xs);
}

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

.card:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 30, 31, 0.18);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--gradient-card-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 28px;
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition-bounce);
}

.card:hover .card-icon {
    transform: scale(1.05);
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.card-description {
    color: var(--text-card-description);
    line-height: 1.7;
    font-size: 15px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.step {
    text-align: center;
    transform: translateZ(0);
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #1D1E1F;
    color: #F9F8F6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto var(--spacing-sm);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-bounce);
}

.step:hover .step-number {
    transform: scale(1.05);
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

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

/* Trust Statement */
.trust-statement {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-top: var(--spacing-xl);
    box-shadow: var(--shadow-xs);
}

.trust-statement p {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.8;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

/* Blog section - dark theme (horizontal grid format) */
.blog-section-dark {
    background: #1D1E1F;
    color: #fff;
    padding: var(--spacing-3xl) 0;
}
.blog-section-dark .section-title,
.blog-section-dark .section-subtitle { color: #fff; }
.blog-section-dark .section-subtitle { opacity: 0.85; }

/* Blog cards in dark section */
.blog-section-dark .blog-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
}
.blog-section-dark .blog-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}
.blog-section-dark .blog-content .product-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}
.blog-section-dark .blog-byline {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    margin: 0;
}
.blog-section-dark .blog-excerpt,
.blog-section-dark .blog-read-more {
    display: none !important;
}
.blog-section-dark .blog-content {
    padding: var(--spacing-md) var(--spacing-lg);
}

/* Blog Grid - Always horizontal (layer by layer), never single column */
.blog-grid,
.section .blog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

/* 3 columns on wider screens */
@media (min-width: 900px) {
    .blog-grid,
    .section .blog-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Ensure grid items don't force single column - allow shrinking */
.blog-grid .blog-card {
    min-width: 0;
}

/* Small screens: keep 2 columns, reduce gap so both fit in one row */
@media (max-width: 600px) {
    .blog-grid,
    .section .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--spacing-sm);
    }
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: row;
    box-shadow: var(--shadow-xs);
    transform: translateZ(0);
    align-items: stretch;
}

/* Blog Card - Vertical layout for blog posts */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    transform: translateZ(0);
}

.blog-card:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 30, 31, 0.18);
}

/* ========== Blog listing (Make-style) ========== */
.blog-listing-hero {
    padding-top: 120px;
    padding-bottom: var(--spacing-xl);
    text-align: center;
}
.blog-listing-hero .section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: var(--spacing-sm);
}
.blog-listing-hero .section-subtitle {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
}

.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) 0;
}
@media (max-width: 1024px) {
    .blog-listing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .blog-listing-grid { grid-template-columns: 1fr; gap: var(--spacing-md); }
}

.blog-listing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
}
a.blog-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(77, 174, 131, 0.25);
}
.blog-listing-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.blog-listing-card__image {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #5a4d7a 0%, #4DAE83 50%, #3d8a6e 100%);
    background-size: 200% 200%;
    position: relative;
    overflow: hidden;
}
.blog-listing-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
a.blog-listing-card:hover .blog-listing-card__image img {
    transform: scale(1.03);
}

.blog-listing-card__body {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-listing-card__meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 13px;
    color: var(--text-muted);
}
.blog-listing-card__read-time::before {
    content: "·";
    margin-right: var(--spacing-sm);
}
.blog-listing-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}
.blog-listing-card__summary {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    flex: 1;
}

/* Blog article (detail) page */
.blog-article__hero-image {
    margin: var(--spacing-xl) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.blog-article__hero-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}
.blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}
.blog-article__content {
    max-width: 720px;
    margin: 0 auto;
}
.blog-article__content h2 { margin-top: var(--spacing-2xl); margin-bottom: var(--spacing-sm); font-size: 24px; }
.blog-article__content h3 { margin-top: var(--spacing-xl); margin-bottom: var(--spacing-xs); font-size: 20px; }
.blog-article__content p { margin-bottom: var(--spacing-md); }
.blog-article__content ul, .blog-article__content ol { margin-bottom: var(--spacing-md); padding-left: var(--spacing-lg); }
.blog-article__cta {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-2xl);
}
.blog-article__cta .btn + .btn { margin-left: var(--spacing-sm); }

.product-card:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 30, 31, 0.18);
}

.product-image {
    width: 350px;
    min-width: 350px;
    height: auto;
    min-height: 250px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* Blog Image - Full width for blog cards */
.blog-image {
    width: 100%;
    height: 250px;
    min-height: 250px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-icon {
    width: 80px;
    height: 80px;
    color: var(--text-primary);
    stroke: var(--text-primary);
    fill: none;
    transition: transform var(--transition-base);
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

.product-image::before {
    display: none;
}

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

.product-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

/* Blog Content - Full width for blog cards */
.blog-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    font-size: 15px;
}

.product-cta {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* Blog card date and excerpt */
.blog-date {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.blog-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 0;
}

.blog-read-more {
    width: 100%;
    justify-content: center;
    margin-top: var(--spacing-md);
    cursor: pointer;
}

/* Blog modal - full content overlay */
.blog-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.blog-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.blog-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(29, 30, 31, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.blog-modal-box {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    background: #F9F8F6;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xl);
    padding: 0;
}

.blog-modal-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(29, 30, 31, 0.08);
    color: var(--text-primary);
    font-size: 24px;
    line-height: 1;
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 2;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.blog-modal-close:hover {
    background: rgba(29, 30, 31, 0.12);
}

.blog-modal-image-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-modal-date {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin: var(--spacing-md) var(--spacing-xl) 0;
    font-weight: 500;
}

.blog-modal-title {
    font-size: 28px;
    font-weight: 700;
    margin: var(--spacing-xs) var(--spacing-xl) var(--spacing-md);
    color: var(--text-primary);
    line-height: 1.25;
}

.blog-modal-body {
    padding: 0 var(--spacing-xl) var(--spacing-xl);
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.75;
}

.blog-modal-body p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.blog-modal-body p:last-child {
    margin-bottom: 0;
}

/* Demo Section */
.demo-container {
    margin-top: var(--spacing-md);
    padding: var(--spacing-lg);
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    display: none;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-container.active {
    display: block;
}

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

.demo-form {
    margin-bottom: var(--spacing-md);
}

.demo-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: all var(--transition-base);
    margin-bottom: var(--spacing-sm);
    background: #fff;
    color: var(--text-primary);
}

.demo-input:focus {
    outline: none;
    border-color: #1D1E1F;
    box-shadow: 0 0 0 2px rgba(29, 30, 31, 0.1);
}

.demo-input-chat {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.6;
}

.demo-input-file {
    cursor: pointer;
    padding: 14px 18px;
}

.demo-input-file::-webkit-file-upload-button,
.demo-input-file::file-selector-button {
    padding: 8px 16px;
    margin-right: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.demo-input-file::-webkit-file-upload-button:hover,
.demo-input-file::file-selector-button:hover {
    background: #1D1E1F;
    color: #F9F8F6;
    border-color: #1D1E1F;
}

.demo-output {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    min-height: 100px;
    display: none;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.demo-output.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.demo-output.error {
    border-color: #EF4444;
    background: #FEF2F2;
    color: #991B1B;
}

.demo-output.success {
    border-color: var(--accent-cyan);
    background: rgba(77, 174, 131, 0.1);
    color: var(--green-deep-2);
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(249, 248, 246, 0.3);
    border-radius: 50%;
    border-top-color: #F9F8F6;
    animation: spin 0.8s linear infinite;
}

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

/* About Page */
.about-hero {
    padding: 120px 0 var(--spacing-3xl);
    text-align: center;
    position: relative;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: var(--spacing-3xl);
}

.founder-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
}

.founder-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-card-icon);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    overflow: hidden;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-bounce);
}

.founder-image:hover {
    transform: scale(1.05) rotate(5deg);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.founder-info h3 {
    font-size: 28px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.founder-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
}

.company-category {
    margin-bottom: var(--spacing-3xl);
}

.company-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-light);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.company-logo {
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    filter: grayscale(0%);
    opacity: 1;
    transition: all var(--transition-base);
    position: relative;
    box-shadow: var(--shadow-xs);
}

.company-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    border-color: rgba(29, 30, 31, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.company-logo img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.company-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    display: none;
}

/* Footer - Dark anchor (Anthropic-style) */
.footer {
    background: #1D1E1F;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #CCCCCC;
    padding: var(--spacing-3xl) 0 var(--spacing-md);
    margin-top: var(--spacing-3xl);
    position: relative;
    overflow: hidden;
}

.footer::before {
    display: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-xl);
}

.footer-left {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
}

.footer-description {
    color: #CCCCCC;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
    opacity: 0.9;
}

.social-icon:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.social-icon img {
    display: block;
    transition: all var(--transition-base);
    opacity: 0.9;
}

.social-icon:hover img {
    transform: scale(1.1);
    opacity: 1;
}

.footer-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 16px;
    font-weight: 700;
    color: #CCCCCC;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.3px;
}

.footer-column-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-column-links a {
    color: #CCCCCC;
    font-size: 14px;
    transition: color var(--transition-base);
    text-decoration: none;
}

.footer-column-links a:hover {
    color: #fff;
}

/* Legacy footer styles for backward compatibility */
.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    list-style: none;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all var(--transition-base);
    padding: var(--spacing-xs) 0;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width var(--transition-base);
}

.footer-links a:hover {
    color: white;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #CCCCCC;
    font-size: 14px;
}

/* Sticky CTA Bar */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1D1E1F;
    color: #F9F8F6;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    z-index: 999;
    transform: translateY(100%);
    transition: transform var(--transition-base);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-bar p {
    margin: 0;
    font-size: 14px;
    color: #F9F8F6;
}

.sticky-cta-bar .btn {
    flex-shrink: 0;
    padding: 10px 20px;
    font-size: 14px;
}

@media (max-width: 600px) {
    .sticky-cta-bar {
        flex-direction: column;
        padding: var(--spacing-sm);
        gap: var(--spacing-xs);
    }
    .sticky-cta-bar p {
        font-size: 13px;
        text-align: center;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Workflow Visual */
.workflow-visual {
    margin-top: var(--spacing-xl);
}

.workflow-image-container {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #fff;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.workflow-image-container:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.workflow-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.workflow-image-container:hover .workflow-image {
    transform: scale(1.02);
}

.workflow-placeholder {
    width: 100%;
}

/* Stats Section */
.stats-section {
    margin-top: var(--spacing-xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    color: #1D1E1F !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #1D1E1F !important;
    background-clip: unset !important;
    line-height: 1;
}

/* Responsive Design - Comprehensive Mobile & Tablet Support */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero {
        min-height: 80vh;
        padding-top: 90px;
    }
    
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .product-grid {
        gap: var(--spacing-lg);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .product-image {
        width: 300px;
        min-width: 300px;
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    /* Navigation */
    .nav-wrapper {
        padding: var(--spacing-xs) 0;
    }
    
    .brand-text-main {
        font-size: 20px;
        letter-spacing: 0.12em;
    }

    .navbar .logo .logo-icon svg { width: 32px; height: 32px; }
    .navbar .logo .logo-img { height: 40px; }
    .navbar .logo .logo-brand { font-size: 17px; }
    .navbar .logo .logo-tagline { font-size: 10px; }

    .brand-tagline {
        font-size: 8px;
        letter-spacing: 0.22em;
        white-space: normal;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #F9F8F6;
        flex-direction: column;
        padding: var(--spacing-md);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        gap: var(--spacing-xs);
        align-items: flex-start;
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: var(--spacing-xs) 0;
        width: 100%;
        font-size: 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Hero Section */
    .hero {
        min-height: 70vh;
        padding-top: 80px;
        padding-bottom: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: 40px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 100%;
    }
    
    /* Typography */
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 22px; }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    /* Cards and Grids */
    .card-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .card {
        padding: var(--spacing-md);
    }
    
    .product-card {
        width: 100%;
        flex-direction: column;
    }
    
    .product-image {
        width: 100%;
        min-width: 100%;
        height: 200px;
        min-height: 200px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .blog-image {
        height: 200px;
        min-height: 200px;
    }
    
    .product-content {
        padding: var(--spacing-lg);
    }
    
    .founder-section {
        flex-direction: column;
        text-align: center;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    /* Buttons - Touch Friendly */
    .btn {
        padding: 14px 28px;
        font-size: 16px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 100%;
    }
    
    /* Forms */
    .demo-input,
    .demo-input-email,
    .demo-input-url,
    .demo-input-name,
    .demo-input-chat,
    .demo-input-file {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 16px;
        min-height: 44px;
    }
    
    .demo-input-chat {
        min-height: 120px;
    }
    
    .demo-container {
        padding: var(--spacing-md);
    }
    
    .demo-form {
        gap: var(--spacing-sm);
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-right {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
    }
    
    .footer-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Sections */
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    /* Workflow Images */
    .workflow-image-container {
        margin: var(--spacing-md) 0;
    }
    
    .workflow-image-container img {
        width: 100%;
        height: auto;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .brand-text-main {
        font-size: 18px;
        letter-spacing: 0.1em;
    }

    .brand-o-icon svg,
    .brand-o-icon .logo-image {
        width: 28px;
        height: 28px;
    }

    .brand-tagline {
        font-size: 7px;
        letter-spacing: 0.18em;
    }

    .navbar .logo .logo-icon svg { width: 28px; height: 28px; }
    .navbar .logo .logo-img { height: 32px; }
    .navbar .logo .logo-brand { font-size: 15px; }
    .navbar .logo .logo-tagline { font-size: 9px; }

    .hero {
        min-height: 60vh;
        padding-top: 70px;
        padding-bottom: var(--spacing-lg);
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
        min-height: 44px;
    }
    
    .card {
        padding: var(--spacing-sm);
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .product-card {
        flex-direction: column;
    }
    
    .product-image {
        width: 100%;
        min-width: 100%;
        height: 180px;
        min-height: 180px;
    }
    
    .product-icon {
        width: 60px;
        height: 60px;
    }
    
    .demo-input,
    .demo-input-email,
    .demo-input-url,
    .demo-input-name,
    .demo-input-chat,
    .demo-input-file {
        font-size: 16px;
        padding: 12px 14px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    .logo {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 27px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .card {
        padding: var(--spacing-xs);
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: var(--spacing-md);
    }
    
    .nav-menu {
        max-height: calc(100vh - 60px);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .mobile-menu-toggle,
    .btn,
    .demo-container {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
