/* Variables - Dark Tech Theme */
:root {
    --bg-dark: #050810;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(16, 185, 129, 0.05);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-neon: rgba(16, 185, 129, 0.3);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --primary: #10B981; /* Neon Green */
    --primary-hover: #059669;
    --primary-glow: rgba(16, 185, 129, 0.5);
    --accent-cyan: #06B6D4;
    --accent-dark: #0F172A;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); background-color: var(--bg-dark); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Typography */
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; font-weight: 800; margin-bottom: 24px; background: linear-gradient(to right, #fff, #94A3B8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.2; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; color: #fff; }
p { color: var(--text-muted); font-size: 1.125rem; }
.text-gradient { background: linear-gradient(to right, var(--primary), var(--accent-cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-green { color: var(--primary); }
.text-cyan { color: var(--accent-cyan); }
.code-font { font-family: 'Courier New', Courier, monospace; }

/* Utilities */
.section-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(16, 185, 129, 0.1); border: 1px solid var(--border-neon); border-radius: 100px; font-size: 0.85rem; font-weight: 600; color: var(--primary); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.section-tag::before { content: ''; display: block; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 8px var(--primary); }

.glass-card { background: var(--bg-card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: 32px; transition: var(--transition); }
.glass-card:hover { background: var(--bg-card-hover); transform: translateY(-5px); border-color: var(--border-neon); box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 20px rgba(16, 185, 129, 0.05); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: 1rem; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: #000; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); color: #fff; }
.btn-glow { box-shadow: 0 0 20px var(--primary-glow); }
.btn-glow:hover { box-shadow: 0 0 30px var(--primary); }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: #fff; border: 1px solid var(--border-glass); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255,255,255,0.2); }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

.w-100 { width: 100%; } .w-70 { width: 70%; } .w-50 { width: 50%; }
.text-center { text-align: center; } .mt-2 { margin-top: 12px; } .mt-4 { margin-top: 24px; }

/* Animations */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--primary-glow); } 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.pulse { animation: pulse 2s infinite; }

/* Grid Layouts */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

/* Floating Header */
.header-wrapper { position: fixed; top: 20px; left: 0; width: 100%; z-index: 1000; display: flex; justify-content: center; padding: 0 24px; pointer-events: none; }
.header { background: rgba(5, 8, 16, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-glass); border-radius: 100px; width: 100%; max-width: 1000px; padding: 12px 24px; transition: var(--transition); pointer-events: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.header.scrolled { background: rgba(5, 8, 16, 0.9); border-color: var(--border-neon); box-shadow: 0 10px 40px rgba(16, 185, 129, 0.1); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 32px; filter: brightness(1.2); }
.nav-menu { display: flex; gap: 32px; }
.nav-menu a { font-size: 0.9rem; font-weight: 500; color: var(--text-main); transition: var(--transition); position: relative; }
.nav-menu a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-menu a:hover { color: var(--primary); }
.nav-menu a:hover::after { width: 100%; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: var(--transition); }

/* Hero Section */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 120px; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('tlo.webp') center/cover no-repeat; z-index: -3; opacity: 0.4; filter: grayscale(100%) contrast(1.2); }
.hero-grid-overlay { position: absolute; inset: 0; background-size: 50px 50px; background-image: linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px); z-index: -2; mask-image: radial-gradient(circle at center, black 0%, transparent 80%); -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%); }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.05) 0%, var(--bg-dark) 70%); z-index: -1; }

.hero-container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(16, 185, 129, 0.1); border: 1px solid var(--border-neon); color: var(--primary); border-radius: 100px; font-size: 0.875rem; font-weight: 600; margin-bottom: 24px; }
.badge-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }
.hero-buttons { display: flex; gap: 16px; margin: 32px 0; }
.trust-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-pills span { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; padding: 8px 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-glass); border-radius: 100px; color: var(--text-muted); }
.status-dot { width: 6px; height: 6px; background: var(--accent-cyan); border-radius: 50%; box-shadow: 0 0 8px var(--accent-cyan); }

/* Hero Visual (Right Side) */
.hero-visual { position: relative; height: 650px; width: 100%; }
.visual-wrapper { position: relative; width: 100%; height: 100%; }
.person-img { position: absolute; bottom: 0; right: 10%; height: 95%; object-fit: contain; z-index: 2; filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.1)); }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(100px); z-index: 0; }
.orb-1 { width: 300px; height: 300px; background: var(--primary); top: 20%; right: 20%; opacity: 0.15; }
.orb-2 { width: 250px; height: 250px; background: var(--accent-cyan); bottom: 10%; left: 10%; opacity: 0.1; }

/* Floating Tech Cards */
.float-card { position: absolute; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border-glass); border-radius: 16px; padding: 16px; z-index: 3; box-shadow: 0 20px 40px rgba(0,0,0,0.6); animation: float 6s ease-in-out infinite; max-width: 220px; }
.card-active { top: 15%; right: 70%; display: flex; align-items: center; gap: 8px; font-weight: 600; border-color: var(--border-neon); animation-delay: 0s; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.green { background: var(--primary); }
.card-action { top: 30%; right: -5%; display: flex; align-items: center; gap: 12px; animation-delay: 1s; }
.card-crm { bottom: 30%; right: 65%; animation-delay: 2s; }
.card-lead { bottom: 15%; right: -10%; display: flex; align-items: center; gap: 12px; animation-delay: 1.5s; width: max-content; }
.card-code { top: 55%; right: 75%; width: 160px; animation-delay: 2.5s; }

.float-card .label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.float-card .value { display: block; font-size: 1.2rem; font-weight: 700; }
.float-card .sub { display: block; font-size: 0.85rem; font-weight: 600; }
.float-card .icon { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-glass); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.code-line { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; margin-bottom: 8px; }

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

/* Modern Marquee */
.marquee-section { padding: 30px 0; background: rgba(0,0,0,0.3); border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass); }
.marquee-mask { max-width: 100%; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-content { display: flex; gap: 32px; padding: 0 16px; }
.m-item { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.1rem; color: var(--text-muted); white-space: nowrap; transition: var(--transition); }
.m-item:hover { color: #fff; }
.m-dot { width: 8px; height: 8px; background: var(--border-glass); border-radius: 50%; transition: var(--transition); }
.m-item:hover .m-dot { background: var(--primary); box-shadow: 0 0 10px var(--primary); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Sections General */
.section { padding: 120px 0; }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 64px; }

/* Features Section */
.f-icon { font-size: 2.5rem; margin-bottom: 20px; filter: drop-shadow(0 0 10px rgba(255,255,255,0.1)); }

/* The Difference Section */
.diff-container { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; max-width: 1000px; margin: 0 auto; }
.diff-side { padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border-glass); background: rgba(255,255,255,0.01); }
.diff-old { opacity: 0.6; }
.diff-new { position: relative; border-color: var(--border-neon); background: rgba(16, 185, 129, 0.05); overflow: hidden; }
.diff-glow { position: absolute; top: -50%; right: -50%; width: 200px; height: 200px; background: var(--primary); filter: blur(100px); opacity: 0.2; pointer-events: none; }
.diff-header { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; text-align: center; }
.diff-list { display: flex; flex-direction: column; gap: 16px; }
.diff-list li { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; }
.x-mark { color: #EF4444; font-weight: bold; }
.check-mark { color: var(--primary); font-weight: bold; }
.diff-vs { font-size: 2rem; font-weight: 800; color: var(--border-glass); }

/* Workflows Section */
.workflow-box { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px; transition: var(--transition); }
.workflow-box:hover { border-color: var(--border-neon); background: rgba(16, 185, 129, 0.02); }
.wf-title { font-weight: 600; color: var(--text-muted); margin-bottom: 24px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.wf-path { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.wf-node { background: var(--accent-dark); border: 1px solid var(--border-glass); padding: 12px 24px; border-radius: 100px; font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
.wf-node.active { background: rgba(16, 185, 129, 0.1); border-color: var(--primary); color: var(--primary); box-shadow: 0 0 20px rgba(16, 185, 129, 0.2); }
.wf-arrow { flex: 1; height: 2px; background: linear-gradient(to right, var(--border-glass) 50%, transparent 50%); background-size: 10px 2px; min-width: 30px; }
.workflow-box:hover .wf-arrow { background: linear-gradient(to right, var(--primary) 50%, transparent 50%); background-size: 10px 2px; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 20px 0; } }

/* Interactive Metrics Section */
.interactive-card { position: relative; background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: 40px 32px; overflow: hidden; transition: var(--transition); min-height: 280px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.interactive-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(16,185,129,0.1), transparent); opacity: 0; transition: var(--transition); }
.interactive-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(16,185,129,0.15); }
.interactive-card:hover::before { opacity: 1; }

.ic-front, .ic-back { transition: var(--transition); }
.ic-front { position: relative; z-index: 1; }
.ic-back { position: absolute; inset: 0; padding: 40px 32px; background: var(--accent-dark); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; transform: translateY(20px); z-index: 2; border: 1px solid var(--border-neon); border-radius: var(--radius-lg); }
.interactive-card:hover .ic-front { opacity: 0; transform: translateY(-20px); }
.interactive-card:hover .ic-back { opacity: 1; transform: translateY(0); }

.ic-metric { font-size: 3.5rem; font-weight: 800; line-height: 1; margin-bottom: 16px; text-shadow: 0 0 20px currentColor; }
.ic-hint { font-size: 0.85rem; color: var(--text-muted); margin-top: 16px; font-weight: 600; }

/* Massive CodePress CTA */
.cp-mega-card { position: relative; background: var(--accent-dark); border: 1px solid var(--border-neon); border-radius: var(--radius-xl); padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 50px rgba(16, 185, 129, 0.05); }
.cp-bg-glow { position: absolute; top: -50%; right: -20%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%); z-index: 0; pointer-events: none; }
.cp-content { position: relative; z-index: 1; }
.cp-features { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.cp-features li { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 500; }
.check-neon { color: var(--primary); font-weight: bold; text-shadow: 0 0 10px var(--primary); }

.cp-visual { position: relative; z-index: 1; height: 350px; perspective: 1000px; display: flex; align-items: center; justify-content: center; }
.floating-mockup { background: rgba(5,8,16,0.9); backdrop-filter: blur(12px); border: 1px solid var(--border-glass); border-top: 1px solid var(--border-neon); border-radius: 12px; padding: 24px; width: 100%; max-width: 400px; box-shadow: 0 20px 50px rgba(0,0,0,0.8); transform: rotateY(-10deg) rotateX(5deg); animation: floatMockup 6s ease-in-out infinite; }
.m-header { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; border-bottom: 1px solid var(--border-glass); padding-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.m-header::before { content: ''; display: block; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 8px var(--primary); }
.c-line { margin-bottom: 8px; color: var(--text-muted); }
.m-badge { display: inline-block; padding: 6px 12px; background: rgba(16,185,129,0.1); color: var(--primary); border: 1px solid var(--border-neon); border-radius: 100px; font-size: 0.85rem; }

@keyframes floatMockup { 0%, 100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); } 50% { transform: rotateY(-10deg) rotateX(5deg) translateY(-15px); } }

/* SEO Text */
.seo-text .glass-card { padding: 64px; }
.seo-content p { margin-bottom: 24px; }
.seo-content strong { color: #fff; }

/* 2-Column FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: 16px; }
.faq-item { border: 1px solid var(--border-glass); border-radius: 12px; background: var(--bg-card); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--border-neon); }
.faq-question { width: 100%; text-align: left; padding: 24px; background: none; border: none; color: #fff; font-size: 1.1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.faq-question::after { content: '+'; font-size: 1.5rem; transition: var(--transition); color: var(--primary); }
.faq-question.active::after { content: '−'; transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-answer p { padding: 0 24px 24px; color: var(--text-muted); }

/* Footer with Grid & CTA */
.footer { position: relative; border-top: 1px solid var(--border-glass); padding: 100px 0 24px; background-color: var(--bg-dark); overflow: hidden; }
.footer-grid-bg { position: absolute; inset: 0; background-size: 40px 40px; background-image: linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px); z-index: 0; mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent); }
.footer .container { position: relative; z-index: 1; }

.footer-cta-box { background: linear-gradient(135deg, rgba(16,185,129,0.05), rgba(6,182,212,0.05)); border: 1px solid var(--border-neon); border-radius: var(--radius-xl); padding: 64px; text-align: center; margin-bottom: 80px; backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.footer-cta-box h2 { margin-bottom: 16px; }
.footer-cta-box p { margin-bottom: 32px; font-size: 1.2rem; }

.footer-inner { display: flex; justify-content: space-between; margin-bottom: 64px; flex-wrap: wrap; gap: 40px; }
.footer-brand { max-width: 400px; }
.footer-logo { height: 40px; margin-bottom: 24px; filter: brightness(1.2); }
.footer-trust h4 { margin-bottom: 16px; color: #fff; }
.footer-trust ul { display: flex; flex-direction: column; gap: 12px; color: var(--text-muted); }
.footer-trust li { display: flex; align-items: center; gap: 8px; }
.footer-trust li::before { content: '✓'; color: var(--primary); font-weight: bold; text-shadow: 0 0 5px var(--primary); }

.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border-glass); color: var(--text-muted); font-size: 0.9rem; }

/* Widgets */
.cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(150%); background: rgba(5, 8, 16, 0.95); backdrop-filter: blur(10px); border: 1px solid var(--border-glass); padding: 16px 24px; border-radius: 100px; display: flex; align-items: center; gap: 24px; z-index: 9999; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-banner p { margin: 0; font-size: 0.85rem; }

.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9998; }
.chat-toggle { width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: #000; border: none; cursor: pointer; box-shadow: 0 10px 20px var(--primary-glow); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.chat-toggle:hover { transform: scale(1.1); background: #fff; }
.chat-panel { position: absolute; bottom: 80px; right: 0; width: 320px; background: var(--accent-dark); border: 1px solid var(--border-neon); border-radius: 16px; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition); box-shadow: 0 20px 50px rgba(0,0,0,0.8); }
.chat-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.chat-header { background: rgba(16, 185, 129, 0.1); border-bottom: 1px solid var(--border-neon); padding: 16px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.chat-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { background: var(--bg-card); padding: 12px; border-radius: 12px 12px 12px 0; font-size: 0.9rem; border: 1px solid var(--border-glass); }
.chat-footer { padding: 16px; border-top: 1px solid var(--border-glass); }

.back-to-top { position: fixed; bottom: 24px; left: 24px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.05); color: #fff; border: 1px solid var(--border-glass); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 9997; backdrop-filter: blur(5px); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); border-color: var(--primary); color: #000; }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; padding-top: 140px; }
    .hero-buttons, .trust-pills { justify-content: center; }
    .hero-visual { height: 500px; margin-top: 40px; }
    .person-img { right: 50%; transform: translateX(50%); }
    
    .float-card { transform: scale(0.8); }
    .card-active { right: 80%; }
    .card-action { right: 0%; }
    .card-crm { right: 75%; }
    .card-lead { right: 5%; }
    .card-code { right: 85%; }
    
    .diff-container { grid-template-columns: 1fr; gap: 20px; }
    .diff-vs { text-align: center; }
    .cp-mega-card { grid-template-columns: 1fr; padding: 40px 24px; }
}

@media (max-width: 768px) {
    .header-wrapper { top: 10px; padding: 0 10px; }
    .header { padding: 12px 20px; border-radius: 20px; }
    .nav-menu, .header-cta { display: none; }
    .hamburger { display: flex; }
    
    .nav-menu.mobile-active { display: flex; flex-direction: column; position: absolute; top: calc(100% + 10px); left: 0; width: 100%; background: rgba(5,8,16,0.98); backdrop-filter: blur(20px); padding: 24px; border: 1px solid var(--border-neon); border-radius: 20px; }
    .header-cta.mobile-active { display: block; position: absolute; top: calc(100% + 250px); left: 24px; right: 24px; z-index: 1001; }
    
    .card-crm, .card-code, .card-active { display: none; }
    .card-action { right: 5%; top: 10%; }
    .card-lead { right: auto; left: 5%; bottom: 10%; }
    
    .wf-path { flex-direction: column; align-items: flex-start; }
    .wf-arrow { width: 2px; height: 20px; background: linear-gradient(to bottom, var(--border-glass) 50%, transparent 50%); background-size: 2px 10px; margin-left: 20px; }
    .workflow-box:hover .wf-arrow { background: linear-gradient(to bottom, var(--primary) 50%, transparent 50%); background-size: 2px 10px; }
    
    .faq-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-trust ul { align-items: center; }
    .cookie-banner { flex-direction: column; width: 90%; text-align: center; border-radius: 24px; }
    .seo-text .glass-card { padding: 32px 24px; }
    .cp-visual { display: none; }
}

/* =========================================
   POPRAWKI: Kapsułki (Trust Pills)
   ========================================= */
.trust-pills span {
    background: rgba(15, 23, 42, 0.8) !important; /* Ciemniejsze tło dla lepszego kontrastu */
    border: 1px solid rgba(6, 182, 212, 0.3) !important; /* Delikatna ramka pod kolor kropki */
    color: #F8FAFC !important;
    padding: 8px 16px !important;
}

.status-dot {
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important; /* Wymusza szerokość */
    flex-shrink: 0 !important; /* Zapobiega rozciąganiu kropki w prostokąt */
    border-radius: 50% !important;
    background: var(--accent-cyan) !important;
    box-shadow: 0 0 8px var(--accent-cyan), 0 0 12px var(--accent-cyan) !important;
}

/* =========================================
   POPRAWKI: Rozmieszczenie pływających kafelków
   ========================================= */
/* Resetujemy 'right' dla lewej strony, żeby łatwiej pozycjonować przez 'left' */

/* Lewa strona - góra (Agent nasłuchuje) */
.card-active { 
    top: 10% !important; 
    left: -5% !important; 
    right: auto !important; 
}

/* Lewa strona - środek (Wykonywanie akcji) */
.card-code { 
    top: 45% !important; 
    left: -15% !important; 
    right: auto !important; 
}

/* Lewa strona - dół (Status CRM) */
.card-crm { 
    bottom: 15% !important; 
    left: 5% !important; 
    right: auto !important; 
    top: auto !important;
}

/* Prawa strona - góra (Analiza intencji) */
.card-action { 
    top: 20% !important; 
    right: -10% !important; 
    left: auto !important;
}

/* Prawa strona - dół (Nowy lead) */
.card-lead { 
    bottom: 20% !important; 
    right: -15% !important; 
    left: auto !important;
}

/* =========================================
   UKRYCIE KROPEK W KAPSUŁKACH
   ========================================= */
.trust-pills .status-dot {
    display: none !important;
}

/* =========================================
   POPRAWKA: Płynna karuzela (Nieskończony Loop)
   ========================================= */
.marquee-content {
    padding: 0 !important; /* Usuwamy padding, który psuł matematykę pętli */
    gap: 32px !important;
}

.marquee-track {
    animation: marquee-fix 35s linear infinite !important;
}

/* Nowa animacja uwzględniająca połowę odstępu (gap: 32px / 2 = 16px) */
@keyframes marquee-fix {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(calc(-50% - 16px)); 
    }
}

/* =========================================
   BULLETPROOF MARQUEE (Idealny, nieskończony loop)
   ========================================= */
.marquee-track {
    display: flex !important;
    gap: 32px !important;
    width: max-content !important;
    animation: none !important; /* Usuwamy starą animację z głównego kontenera */
}

.marquee-group {
    display: flex !important;
    gap: 32px !important;
    flex-shrink: 0 !important;
    /* Animujemy poszczególne grupy, a nie cały track */
    animation: scroll-marquee 30s linear infinite !important;
}

/* Zatrzymanie po najechaniu myszką */
.marquee-track:hover .marquee-group {
    animation-play-state: paused !important;
}

/* Przesuwamy dokładnie o 100% szerokości jednej grupy + 1 odstęp (32px) */
@keyframes scroll-marquee {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(calc(-100% - 32px)); 
    }
}