Spaces:
Running
Running
axeronis commited on
Commit ·
1fb3617
1
Parent(s): 50876ef
feat: Landing mobile optimization, cache fix, immersive design
Browse filesLANDING PAGE:
- Mobile-first Hero with responsive fonts and centered layout
- Hidden hero image on mobile for clean experience
- Full-width CTA button on mobile
- Removed language switcher - Russian only
- Removed section borders for immersive seamless design
- Gradient login button in navbar
- Reduced padding on mobile
CACHE FIX:
- staleTime reduced from 5min to 1min for fresher data
- Enabled refetchOnMount/WindowFocus/Reconnect
- Updated buster to v2 to invalidate old cached data
- maxAge reduced to 12 hours
CODE CLEANUP:
- Removed unused Languages import
- Removed EN/KY translations (keeping only Russian)
- Removed LANGUAGES array and LangCode type
Files changed (2)
5 unmodified lines678910111264 unmodified lines77787980818283848586878889909163 unmodified lines15515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429598 unmodified lines3943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995001 unmodified line502503504505506507508164 unmodified lines6736746756766776786795 unmodified linesCheckCircle, TrendingUp, Sparkles, Clock, UserX,Calendar, MessageCircle, ChevronDown, Check, Send,Globe, Mic, AlertTriangle, RefreshCw, FileText, Users,XCircle, Timer, DollarSign, ShoppingBag, Languages, LogIn, Handshake} from 'lucide-react'import { motion, AnimatePresence } from 'framer-motion'import { useState, useRef, useEffect } from 'react'64 unmodified lines{ q: 'Есть ли скидки при оплате за год?', a: 'Да, вы экономите 30% при оплате годовой подписки.' },]const LANGUAGES = [{ code: 'ru', name: 'Русский', flag: '🇷🇺' },{ code: 'en', name: 'English', flag: '🇺🇸' },{ code: 'ky', name: 'Кыргызча', flag: '🇰🇬' }]type LangCode = 'ru' | 'en' | 'ky'const T: Record<LangCode, Record<string, string>> = {ru: {// Navfeatures: 'Что умеет', pricing: 'Тарифы', howItWorks: 'Быстрый старт', login: 'Войти', partner: 'Партнёрам',63 unmodified lines// FooterfooterDesc: 'AI-продавец для Telegram. Закрывает сделки, записывает на встречи, продаёт из каталога — 24/7.',footerProduct: 'Продукт', footerCompany: 'Компания', footerDocs: 'Документация', footerApi: 'API', footerBlog: 'Блог', footerAbout: 'О нас', footerCareers: 'Карьера', footerContact: 'Контакты'},en: {// Nav - Updatedfeatures: 'What it does', pricing: 'Pricing', howItWorks: 'Quick Start', login: 'Login', partner: 'Partners',// Hero - Wall Street CloserheroTitle1: 'IT DOESN\'T ANSWER.', heroTitle2: 'IT', heroTitle3: 'CLOSES.', heroTitle4: '',heroDesc1: 'AI salesperson that turns chats into revenue.',heroDesc2: 'While you sleep — it qualifies, follows up, and books meetings. Your personal closer in every conversation.',tryFree: 'Launch in 5 minutes', freeDays: 'Free for 7 days',// Pain Points - StrongerpainTitle: 'Be honest, this is you', painSubtitle: 'Why you\'re losing 70% of sales',pain1title: '3 seconds', pain1desc: 'That\'s how long a lead waits before messaging your competitor. Your team can\'t keep up.',pain2title: '11:47 PM', pain2desc: 'When the hottest leads come in. Your sales team is already asleep.',pain3title: '$0', pain3desc: 'What you earn from leads you forgot to follow up. AI never forgets.',// Features - Value drivensolutionFound: 'Not a bot. A salesperson.', featuresTitle: 'What your business', featuresSubtitle: 'gets',feat1title: 'Money in the bank', feat1desc: 'AI guides clients from first message to payment. Without you, without losing conversions.',feat2title: 'Full calendar', feat2desc: 'Automatic meeting booking. Client picks time — you get a reminder.',feat3title: 'Cart full of products', feat3desc: 'AI knows your catalog inside out. Recommends, compares prices, handles objections.',feat4title: 'Peaceful sleep', feat4desc: 'Nights, weekends, holidays — AI sells while you rest.',feat5title: 'Warm database', feat5desc: 'Forgotten clients come back. AI reaches out with relevant offers.',feat6title: 'Speed of light', feat6desc: '2 second response. Clients don\'t even think about competitors.',feat7title: 'Human voice', feat7desc: 'Quality voice messages. Clients think they\'re talking to a person.',feat8title: 'Verified payments', feat8desc: 'AI checks receipts and confirms payments automatically.',feat9title: 'Smart reminders', feat9desc: 'Not spam — personalized messages at the right moment.',feat10title: '95 languages', feat10desc: 'Speaks to clients in their native language.',feat11title: 'Sales psychology', feat11desc: 'Analyzes client personality and adjusts communication style.',feat12title: 'Full control', feat12desc: 'Summary of every dialog. You see everything but save time.',// Why TelegramwhyTelegramTitle: 'Why we chose Telegram', whyTelegramSubtitle: 'And why it\'s the best choice for your business',tg1title: '$0 per message', tg1desc: 'Unlimited messages with no extra fees. Unlike WhatsApp Business API.',tg2title: 'No bans ever', tg2desc: 'Official Bot API. Your account is safe, business never stops.',tg3title: '5 minute setup', tg3desc: 'One-click connect. No verification, no waiting, no bureaucracy.',tg4title: '800M+ audience', tg4desc: 'Fastest growing messenger. Your clients are already here.',// How it workssetupTitle: 'From idea to sales', setupDesc: 'in one evening',viewInstructions: 'Watch video',step1title: 'Connect bot', step1desc: 'One click — Telegram ready',step2title: 'Upload knowledge', step2desc: 'PDF, website or just text',step3title: 'Set the style', step3desc: 'Choose tone: bold or soft',step4title: 'Get paid', step4desc: 'AI closes — you count profits',// Chat DemochatTitle: 'Test it right now', chatSubtitle: 'Write anything. This is real AI.',chatPlaceholder: 'Type a message...', chatOnline: 'Online',// PricingpricingTitle: 'Investment that pays off', yearly: 'Year', monthly: 'Month', saveText: '-30%',popular: 'Customer choice', allFeatures: 'All features', allChannels: 'Telegram', builtinCalendar: 'Built-in calendar',choosePlan: 'Start now', savePerYear: 'Save', perMonth: '/mo', perYear: '/yr',dialogs500: '500 dialogs', dialogs1500: '1,500 dialogs', dialogsUnlimited: 'Unlimited',// ComparisoncomparisonTitle: 'Honest comparison', comparisonSubtitle: 'We\'re not just a ChatGPT wrapper. We\'re a sales machine.',bestChoice: 'Best ROI', featureLabel: 'Capability', priceLabel: 'Investment',comp1: 'Closes deals itself', comp2: 'Understands client psychology', comp3: 'Works 24/7/365', comp4: 'Books meetings', comp5: 'Reactivates old clients', comp6: 'Sells from catalog',compName1: 'MicroFunnel', compName2: 'DIY bots', compName3: 'ChatGPT wrappers', compName4: 'Managers',compPrice1: 'from $69/mo', compPrice2: 'from $20/mo', compPrice3: 'from $50/mo', compPrice4: 'from $500/mo',// PartnerpartnerBadge: 'Partner Program', partnerTitle: 'Earn 50% for life',partnerDesc: 'Refer a client — get half their payments every month. Forever.',partnerComm: 'per payment', partnerLife: 'no time limit', partnerActivation: 'activation bonus',// FAQfaqTitle: 'Common questions',faq1q: 'Will I get banned?', faq1a: 'No. We use official Telegram Bot API. It\'s legal and safe.',faq2q: 'Need Google Calendar?', faq2a: 'No. We have our own calendar with auto-reminders.',faq3q: 'How does AI learn my product?', faq3a: 'Upload PDF or share website link. AI learns it in 60 seconds.',faq4q: 'Can I pay yearly?', faq4a: 'Yes, and save 30%. That\'s 4 months free.',// CTActaTitle: 'STOP LOSING MONEY.', ctaButton: 'Launch AI salesperson', ctaSubtext: '7 days free • No card required',// FooterfooterDesc: 'AI salesperson for Telegram. Closes deals, books meetings, sells from catalog — 24/7.',footerProduct: 'Product', footerCompany: 'Company', footerDocs: 'Documentation', footerApi: 'API', footerBlog: 'Blog', footerAbout: 'About', footerCareers: 'Careers', footerContact: 'Contact'},ky: {features: 'Мүмкүнчүлүктөр', pricing: 'Баалар', howItWorks: 'Кантип иштейт', login: 'Кирүү', partner: 'Өнөктөштөр',heroTitle1: 'СИЗДИН AI КЫЗМАТКЕРИҢИЗ', heroTitle2: '', heroTitle3: '24/7', heroTitle4: 'ИШТЕЙТ',heroDesc1: 'Оорубай. Тыныгуусуз.',heroDesc2: 'MicroFunnel Telegram жазышууларын автоматташтырат - суроолорго жооп берет, сатат жана жолугушууларга жаздырат.',tryFree: 'Акысыз сынаңыз', freeDays: '7 күн акысыз',painTitle: 'Бул сизге тааныш', painSubtitle: 'Сатуу бөлүмдөрүнүн 3 негизги көйгөйү',pain1title: 'Жоголгон лиддер', pain1desc: 'Кардарлар кетишет, анткени эч ким өз убагында жооп берген жок.',pain2title: 'Менеджерлердин чарчоосу', pain2desc: '"Канча турат?" деген суроолор бардык убакытты жейт.',pain3title: 'Түнкү арыздар', pain3desc: 'Команда уктап жатканда, атаандаштар сатышат. 40% арыздар иш убактысынан кийин келет.',solutionFound: 'Чечим табылды', featuresTitle: '12 себеп тандоого', featuresSubtitle: 'Биз идеалдуу AI сатуучуну түзүү үчүн эң мыкты технологияларды бириктирдик.',feat1title: 'Диалог жыйынтыгы', feat1desc: 'AI сүйлөшүүнү талдап, 11 негизги пункттан кыскача жыйынтык түзөт: муктаждыктар, бюджет, каршылыктар.',feat2title: 'Сатуу психологиясы', feat2desc: 'AI кардардын психотибин (DISC) талдап, ар бир адамга ылайык тон тандайт.',feat3title: 'Товар каталогу', feat3desc: 'AI бардык товарларды, бааларды жана болумун билет. Чатта товарларды сунуштайт.',feat4title: 'AI эстеткичтер', feat4desc: 'Жолугушуудан 24 саат жана 1 саат мурун кардарга эскертет',feat5title: 'Базаны жандандыруу', feat5desc: 'Эски кардарларга актуалдуу офферлер менен билдирүү жазат',feat6title: 'Gemini 3.0 Flash + GPT-4o', feat6desc: 'Гибрид интеллект: Gemini ылдамдыгы + GPT креативдүүлүгү',feat7title: 'Ички календарь', feat7desc: 'Чаттын ичинде слот брондоо системасы',feat8title: 'Үн билдирүүлөрү', feat8desc: 'AI ишеним жана адамдык байланыш үчүн үн билдирүүлөрүн жөнөтөт',feat9title: 'Авто кубаттоо', feat9desc: 'Кардарды воронка боюнча төлөмгө чейин жетектейт',feat10title: 'Көп тилдүүлүк', feat10desc: '95 тилде носителдер менен баарлашат',feat11title: 'Anti-Spam коргоо', feat11desc: 'Адамдын жүрүм-турумун имитациялап, номерди бандоодон коргойт',feat12title: 'Заматта жооп', feat12desc: 'Суткасынын каалаган убактысында 2-3 секундада жооп',setupTitle: '5 мүнөттө ишке киргизүү', setupDesc: 'Программист болуунун кереги жок. Жөн гана мессенджерди туташтырыңыз, продукт маалыматын жүктөңүз жана трафикти баштаңыз.',viewInstructions: 'Нускаманы көрүү',step1title: 'Туташтыруу', step1desc: 'WhatsApp, Telegram, Instagram',step2title: 'Үйрөтүү', step2desc: 'PDF же TXT жүктөңүз',step3title: 'Орнотуу', step3desc: 'Тонду жана бааларды тандаңыз',step4title: 'Сатуу', step4desc: 'Акча алыңыз',chatTitle: 'AI интеллектин азыр текшериңиз', chatSubtitle: 'Бул чыныгы демо. Каалаган суроо бериңиз.',chatPlaceholder: 'Билдирүү жазыңыз...', chatOnline: 'Онлайн',pricingTitle: 'Жөнөкөй тарифтер', yearly: 'Жыл', monthly: 'Ай', saveText: '30% үнөмдөө',popular: 'Популярдуу', allFeatures: 'Бардык 12 функция', allChannels: 'WhatsApp + TG + Inst', builtinCalendar: 'Ички календарь',choosePlan: 'Тарифти тандоо', savePerYear: 'Үнөмдөө', perMonth: '/ай', perYear: '/жыл',dialogs500: '500 диалог', dialogs1500: '1,500 диалог', dialogsUnlimited: 'Чексиз диалог',comparisonTitle: 'Атаандаштар менен салыштыруу', comparisonSubtitle: 'Биз чыныгы көйгөйлөрдү чечкен продукт жасадык.',bestChoice: 'Эң мыкты', featureLabel: 'Функция', priceLabel: 'Баа',comp1: 'Диалог контекстин түшүнүү', comp2: 'DISC сатуу психологиясы', comp3: '24/7 иштейт', comp4: 'Авто-броня', comp5: 'Эски кардарларды активдештирүү', comp6: 'Товар каталогу',compName1: 'MicroFunnel', compName2: 'n8n / Make боттор', compName3: 'Жөнөкөй LLM боттор', compName4: 'Менеджерлер',compPrice1: '$69/ай дан', compPrice2: '$20/ай дан', compPrice3: '$50/ай дан', compPrice4: '$500/ай дан',partnerBadge: 'Өнөктөш программасы', partnerTitle: 'Биз менен табыңыз',partnerDesc: 'Кардарларды алып келиңиз жана алардын бардык төлөмдөрүнүн 50% алыңыз - өмүр бою.',partnerComm: 'ар бир төлөмдөн комиссия', partnerLife: 'өмүр бою төлөмдөр', partnerActivation: 'бир жолку активация',faqTitle: 'Суроолор жана жооптор',faq1q: 'WhatsApp аккаунту бандалабы?', faq1a: 'Жок. Биз расмий WhatsApp Cloud API колдонобуз.',faq2q: 'Google Calendar керекпи?', faq2a: 'Жок, платформада ички календарь бар.',faq3q: 'AI продуктумду кантип түшүнөт?', faq3a: 'Документтерди жүктөйсүз. Гибрид модель аларды бир мүнөттө үйрөнөт.',faq4q: 'Жылдык төлөмдө жеңилдик барбы?', faq4a: 'Ооба, жылдык жазылууда 30% үнөмдөйсүз.',ctaTitle: 'ЛИДДЕРДИ ЖОГОТУУНУ ТОКТОТУҢУЗ.', ctaButton: 'Акысыз баштоо', ctaSubtext: '7 күн сыноо - Карта керек эмес',footerDesc: 'Мессенджерлерде сатууну автоматташтыруу үчүн AI платформасы. Суроолорго жооп беребиз, сатабыз жана жолугушууларга жаздырабыз - 24/7.',footerProduct: 'Продукт', footerCompany: 'Компания', footerDocs: 'Документация', footerApi: 'API', footerBlog: 'Блог', footerAbout: 'Биз жөнүндө', footerCareers: 'Ка��ьера', footerContact: 'Байланыш'}}// --- COMPONENT ---export default function HomePage() {const [activeFaq, setActiveFaq] = useState<number | null>(null)const [isYearly, setIsYearly] = useState(true)const [lang, setLang] = useState<LangCode>('ru')const [showLangMenu, setShowLangMenu] = useState(false)const [trustLogos, setTrustLogos] = useState<string[]>(DEFAULT_TRUST_LOGOS)const t = T[lang]// Demo Chat Stateconst [messages, setMessages] = useState<{ role: 'bot' | 'user', text: string }[]>([98 unmodified lines</div><div className="flex items-center gap-3">{/* Language Switcher */}<div className="relative"><buttononClick={() => setShowLangMenu(!showLangMenu)}className="flex items-center gap-2 px-3 py-2 rounded-lg hover:bg-md-on-surface/10 transition-colors text-sm text-md-on-surface"><Languages className="w-4 h-4" /><span>{LANGUAGES.find(l => l.code === lang)?.flag}</span></button>{showLangMenu && (<div className="absolute right-0 top-full mt-2 bg-md-surface-container border border-md-outline-variant rounded-xl py-2 min-w-[140px] shadow-xl z-50">{LANGUAGES.map((language) => (<buttonkey={language.code}onClick={() => { setLang(language.code as LangCode); setShowLangMenu(false); }}className={`w-full px-4 py-2 text-left text-sm hover:bg-md-on-surface/10 transition-colors flex items-center gap-3 ${lang === language.code ? 'text-md-sys-color-primary' : 'text-md-on-surface-variant'}`}><span>{language.flag}</span><span>{language.name}</span></button>))}</div>)}</div>{/* Login Button */}<Linkhref="/login"className="flex items-center gap-2 px-4 py-2 rounded-lg border border-md-outline-variant hover:bg-md-on-surface/10 transition-colors text-sm font-medium text-md-on-surface"><LogIn className="w-4 h-4" /><span className="hidden sm:inline">{t.login}</span></Link></div></div></nav>{/* 2. HERO SECTION - Reference Style */}<section className="relative pt-32 pb-20 lg:pt-48 lg:pb-32 overflow-visible"><div className="max-w-7xl mx-auto px-6 grid lg:grid-cols-2 gap-12 items-center"><motion.divinitial={{ opacity: 0, x: -30 }}animate={{ opacity: 1, x: 0 }}transition={{ duration: 0.8, ease: "easeOut" }}className="z-10 relative"><h1 className="text-5xl md:text-7xl lg:text-8xl font-black text-white leading-[0.95] mb-8 tracking-tight">{t.heroTitle1} <br />{t.heroTitle2 && <>{t.heroTitle2} <br /></>}{/* Massive Glowing 24/7 */}<span className="block text-[120px] md:text-[160px] leading-[0.85] text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 via-emerald-400 to-green-500 drop-shadow-[0_0_30px_rgba(34,211,238,0.4)] mt-2">{t.heroTitle3}</span>{t.heroTitle4 && <span className="block text-5xl md:text-7xl lg:text-8xl mt-2">{t.heroTitle4}</span>}</h1><p className="text-xl md:text-2xl font-medium text-slate-200 mb-2">{t.heroDesc1}</p><p className="text-lg text-slate-400 mb-10 leading-relaxed max-w-xl">{t.heroDesc2}</p><div className="flex flex-col sm:flex-row gap-5 items-center sm:items-start"><Linkhref="/register"className="group relative px-10 py-5 bg-white text-black font-black text-xl rounded-2xl transition-all hover:scale-105 hover:shadow-lg"><div className="absolute inset-0 rounded-2xl bg-gradient-to-r from-cyan-400 to-emerald-400 opacity-0 group-hover:opacity-40 transition-opacity blur-md -z-10" /><span className="flex items-center gap-2">{t.tryFree} <ArrowRight className="w-6 h-6 group-hover:translate-x-1 transition-transform" /></span></Link><div className="text-sm text-slate-500 mt-4 flex items-center gap-2"><Shield className="w-4 h-4 text-emerald-500" /><span className="font-medium">{t.freeDays}</span></div></div></motion.div>{/* Hero Visual - 3D Image floating on right */}<motion.divinitial={{ opacity: 0, scale: 0.9 }}animate={{ opacity: 1, scale: 1 }}transition={{ duration: 1, delay: 0.2 }}className="relative lg:h-[700px] flex items-center justify-center lg:-mr-20 will-change-transform">{/* Back Glow */}<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[100%] h-[100%] bg-cyan-500/15 blur-[80px] rounded-full pointer-events-none" /><motion.divanimate={{ y: [0, -20, 0] }}transition={{ duration: 6, repeat: Infinity, ease: "easeInOut" }}className="relative z-10 w-full will-change-transform"><imgsrc="/hero-3d.png"alt="MicroFunnel AI Dashboard"className="w-full max-w-full lg:max-w-[140%] h-auto object-contain drop-shadow-2xl mx-auto"/></motion.div></motion.div>1 unmodified line</section>{/* 3. COMPANIES MARQUEE - Seamless Infinite Scroll */}<section className="py-10 border-y border-white/5 bg-white/[0.01] overflow-hidden"><div className="relative overflow-hidden [mask-image:_linear-gradient(to_right,transparent_0,_black_128px,_black_calc(100%-128px),transparent_100%)]"><div className="flex w-max animate-marquee-infinite">{[...trustLogos, ...trustLogos, ...trustLogos, ...trustLogos].map((logo, i) => (164 unmodified lines</section>{/* 5. HOW IT WORKS - 5 minute setup */}<section id="how-it-works" className="py-24 bg-[#080911] border-y border-white/5"><div className="max-w-7xl mx-auto px-6"><div className="flex flex-col md:flex-row items-center justify-between gap-12"><div className="md:w-1/3">5 unmodified lines678910111264 unmodified lines7778798081828363 unmodified lines14714814915015115215315415515615715815916016116298 unmodified lines2612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403411 unmodified line343344345346347348349164 unmodified lines5145155165175185195205 unmodified linesCheckCircle, TrendingUp, Sparkles, Clock, UserX,Calendar, MessageCircle, ChevronDown, Check, Send,Globe, Mic, AlertTriangle, RefreshCw, FileText, Users,XCircle, Timer, DollarSign, ShoppingBag, LogIn, Handshake} from 'lucide-react'import { motion, AnimatePresence } from 'framer-motion'import { useState, useRef, useEffect } from 'react'64 unmodified lines{ q: 'Есть ли скидки при оплате за год?', a: 'Да, вы экономите 30% при оплате годовой подписки.' },]const T = {ru: {// Navfeatures: 'Что умеет', pricing: 'Тарифы', howItWorks: 'Быстрый старт', login: 'Войти', partner: 'Партнёрам',63 unmodified lines// FooterfooterDesc: 'AI-продавец для Telegram. Закрывает сделки, записывает на встречи, продаёт из каталога — 24/7.',footerProduct: 'Продукт', footerCompany: 'Компания', footerDocs: 'Документация', footerApi: 'API', footerBlog: 'Блог', footerAbout: 'О нас', footerCareers: 'Карьера', footerContact: 'Контакты'}}// --- COMPONENT ---export default function HomePage() {const [activeFaq, setActiveFaq] = useState<number | null>(null)const [isYearly, setIsYearly] = useState(true)const [trustLogos, setTrustLogos] = useState<string[]>(DEFAULT_TRUST_LOGOS)const t = T.ru // Russian only// Demo Chat Stateconst [messages, setMessages] = useState<{ role: 'bot' | 'user', text: string }[]>([98 unmodified lines</div><div className="flex items-center gap-3">{/* Login Button */}<Linkhref="/login"className="flex items-center gap-2 px-4 py-2.5 rounded-xl bg-gradient-to-r from-cyan-500 to-emerald-500 hover:from-cyan-400 hover:to-emerald-400 transition-all text-sm font-bold text-white shadow-lg shadow-cyan-500/20"><LogIn className="w-4 h-4" /><span>Войти</span></Link></div></div></nav>{/* 2. HERO SECTION - Mobile-first */}<section className="relative pt-24 pb-12 md:pt-32 md:pb-20 lg:pt-48 lg:pb-32 overflow-hidden"><div className="max-w-7xl mx-auto px-4 md:px-6 grid lg:grid-cols-2 gap-8 lg:gap-12 items-center"><motion.divinitial={{ opacity: 0, y: 20 }}animate={{ opacity: 1, y: 0 }}transition={{ duration: 0.6, ease: "easeOut" }}className="z-10 relative text-center lg:text-left"><h1 className="text-3xl sm:text-4xl md:text-6xl lg:text-7xl font-black text-white leading-[1.05] mb-4 md:mb-8 tracking-tight">{t.heroTitle1} <br />{t.heroTitle2 && <>{t.heroTitle2} <br /></>}{/* Massive Glowing ЗАКРЫВАЕТ */}<span className="block text-5xl sm:text-7xl md:text-[120px] lg:text-[140px] leading-[0.9] text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 via-emerald-400 to-green-500 drop-shadow-[0_0_30px_rgba(34,211,238,0.4)] mt-1 md:mt-2">{t.heroTitle3}</span>{t.heroTitle4 && <span className="block text-3xl sm:text-4xl md:text-6xl mt-2">{t.heroTitle4}</span>}</h1><p className="text-lg md:text-xl font-medium text-slate-200 mb-2">{t.heroDesc1}</p><p className="text-base md:text-lg text-slate-400 mb-6 md:mb-10 leading-relaxed max-w-xl mx-auto lg:mx-0">{t.heroDesc2}</p><div className="flex flex-col gap-4 items-center lg:items-start"><Linkhref="/register"className="group w-full sm:w-auto px-8 py-4 bg-gradient-to-r from-cyan-500 to-emerald-500 hover:from-cyan-400 hover:to-emerald-400 text-white font-bold text-lg rounded-2xl transition-all hover:scale-105 shadow-lg shadow-cyan-500/25 text-center"><span className="flex items-center justify-center gap-2">{t.tryFree} <ArrowRight className="w-5 h-5 group-hover:translate-x-1 transition-transform" /></span></Link><div className="text-sm text-slate-500 flex items-center gap-2"><Shield className="w-4 h-4 text-emerald-500" /><span className="font-medium">{t.freeDays}</span></div></div></motion.div>{/* Hero Visual - Hidden on mobile for cleaner experience */}<motion.divinitial={{ opacity: 0, scale: 0.9 }}animate={{ opacity: 1, scale: 1 }}transition={{ duration: 1, delay: 0.3 }}className="relative hidden lg:flex lg:h-[600px] items-center justify-center lg:-mr-20">{/* Back Glow */}<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full h-full bg-cyan-500/15 blur-[80px] rounded-full pointer-events-none" /><motion.divanimate={{ y: [0, -15, 0] }}transition={{ duration: 5, repeat: Infinity, ease: "easeInOut" }}className="relative z-10 w-full"><imgsrc="/hero-3d.png"alt="MicroFunnel AI Dashboard"className="w-full max-w-[130%] h-auto object-contain drop-shadow-2xl"/></motion.div></motion.div>1 unmodified line</section>{/* 3. COMPANIES MARQUEE - Seamless Infinite Scroll */}<section className="py-10 overflow-hidden"><div className="relative overflow-hidden [mask-image:_linear-gradient(to_right,transparent_0,_black_128px,_black_calc(100%-128px),transparent_100%)]"><div className="flex w-max animate-marquee-infinite">{[...trustLogos, ...trustLogos, ...trustLogos, ...trustLogos].map((logo, i) => (164 unmodified lines</section>{/* 5. HOW IT WORKS - 5 minute setup */}<section id="how-it-works" className="py-16 md:py-24 relative"><div className="max-w-7xl mx-auto px-6"><div className="flex flex-col md:flex-row items-center justify-between gap-12"><div className="md:w-1/3">
27 unmodified lines28293031323334353637383918 unmodified lines585960616263646527 unmodified linesconst [queryClient] = useState(() => new QueryClient({defaultOptions: {queries: {staleTime: 5 * 60 * 1000, // 5 minutes - data is freshgcTime: 24 * 60 * 60 * 1000, // 24 hours - keep in cache for persistencerefetchOnWindowFocus: false, // Don't refetch on tab focusrefetchOnMount: false, // Use cached data on mountrefetchOnReconnect: false, // Don't refetch on reconnectretry: 2, // Retry failed requests twice},},}))18 unmodified linesclient={queryClient}persistOptions={{persister,maxAge: 24 * 60 * 60 * 1000, // 24 hoursbuster: 'v1', // Change this to invalidate all caches}}><LanguageProvider>27 unmodified lines28293031323334353637383918 unmodified lines585960616263646527 unmodified linesconst [queryClient] = useState(() => new QueryClient({defaultOptions: {queries: {staleTime: 60 * 1000, // 1 minute - more responsive to changesgcTime: 24 * 60 * 60 * 1000, // 24 hours - keep in cache for persistencerefetchOnWindowFocus: true, // Refetch when user returns to tabrefetchOnMount: true, // Refetch on component mount for fresh datarefetchOnReconnect: true, // Refetch on reconnectretry: 2, // Retry failed requests twice},},}))18 unmodified linesclient={queryClient}persistOptions={{persister,maxAge: 12 * 60 * 60 * 1000, // 12 hours (reduced from 24)buster: 'v2', // Updated to invalidate all old caches}}><LanguageProvider>
frontend/app/page.tsx+33-192
frontend/app/providers.tsx+8-8