/* ===== RESET & VARIABLES ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;color:#334155;background:#fff;line-height:1.6;overflow-x:hidden}
h1,h2,h3,h4,h5,h6{font-family:'Poppins',sans-serif;color:#0F172A}
a{text-decoration:none;color:inherit}
ul{list-style:none}
img{max-width:100%;height:auto}
.container{max-width:1200px;margin:0 auto;padding:0 24px}

:root{
    --primary:#7C3AED;--primary-dark:#6D28D9;--primary-light:#A78BFA;--primary-bg:#F5F3FF;
    --dark:#0F172A;--text:#334155;--text-light:#64748B;--white:#fff;--gray-bg:#F8FAFC;
    --border:#E2E8F0;
    --shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06);
    --shadow-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);
    --shadow-lg:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);
    --shadow-xl:0 25px 50px -12px rgba(0,0,0,.15);
    --radius:12px;--radius-lg:16px;--radius-xl:24px;
}

/* ===== ANIMATIONS ===== */
[data-animate]{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
[data-animate].visible{opacity:1;transform:translateY(0)}

/* ===== BUTTONS ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:'Poppins',sans-serif;font-weight:600;font-size:14px;padding:10px 24px;border-radius:50px;border:2px solid transparent;cursor:pointer;transition:all .25s;white-space:nowrap}
.btn-primary{background:var(--primary);color:var(--white);border-color:var(--primary)}
.btn-primary:hover{background:var(--primary-dark);border-color:var(--primary-dark);transform:translateY(-2px);box-shadow:0 8px 24px rgba(124,58,237,.3)}
.btn-outline{background:transparent;border-color:var(--primary);color:var(--primary)}
.btn-outline:hover{background:var(--primary);color:var(--white);transform:translateY(-2px)}
.btn-ghost{background:transparent;color:var(--text);padding:10px 16px}
.btn-ghost:hover{color:var(--primary)}
.btn-white{background:var(--white);color:var(--primary);border-color:var(--white)}
.btn-white:hover{background:var(--primary-bg);transform:translateY(-2px);box-shadow:0 8px 24px rgba(255,255,255,.2)}
.btn-lg{padding:14px 32px;font-size:16px}

/* ===== HEADER ===== */
.header{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(255,255,255,.85);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid transparent;transition:all .3s}
.header.scrolled{border-bottom-color:var(--border);box-shadow:var(--shadow)}
.header .container{display:flex;align-items:center;justify-content:space-between;height:72px}
.logo img{height:38px}
.nav{display:flex;align-items:center;gap:32px}
.nav a{font-family:'Poppins',sans-serif;font-weight:500;font-size:15px;color:var(--text);transition:color .2s;position:relative}
.nav a:hover{color:var(--primary)}
.nav a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:var(--primary);transition:width .2s}
.nav a:hover::after{width:100%}
.nav-buttons{display:flex;gap:12px;align-items:center}
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;position:relative;width:32px;height:24px;z-index:1001}
.menu-toggle span{display:block;width:24px;height:2px;background:var(--dark);position:absolute;left:4px;transition:.3s}
.menu-toggle span:nth-child(1){top:2px}
.menu-toggle span:nth-child(2){top:11px}
.menu-toggle span:nth-child(3){top:20px}
.menu-toggle.open span:nth-child(1){transform:rotate(45deg);top:11px}
.menu-toggle.open span:nth-child(2){opacity:0}
.menu-toggle.open span:nth-child(3){transform:rotate(-45deg);top:11px}
.mobile-nav{display:none;position:fixed;top:72px;left:0;right:0;background:var(--white);padding:16px 24px 24px;border-bottom:1px solid var(--border);box-shadow:var(--shadow-lg);flex-direction:column;gap:8px;z-index:999;transform:translateY(-110%);transition:transform .3s}
.mobile-nav.open{transform:translateY(0)}
.mobile-nav a{font-family:'Poppins',sans-serif;font-weight:500;font-size:16px;padding:12px 0;color:var(--text);border-bottom:1px solid var(--border)}
.mobile-nav-buttons{display:flex;flex-direction:column;gap:12px;margin-top:16px}

/* ===== HERO ===== */
.hero{padding:140px 0 80px;position:relative;overflow:hidden}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-gradient{position:absolute;inset:0;background:linear-gradient(180deg,var(--primary-bg) 0%,#fff 80%)}
.hero-grid-pattern{position:absolute;inset:0;background-image:radial-gradient(circle at 1px 1px,rgba(124,58,237,.07) 1px,transparent 0);background-size:40px 40px;mask-image:radial-gradient(ellipse 70% 60% at 50% 30%,#000 30%,transparent 100%)}
.hero-container{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;position:relative;z-index:1}
.hero-content{max-width:560px}
.hero-badge{display:inline-flex;align-items:center;gap:10px;background:var(--white);border:1px solid var(--border);border-radius:50px;padding:6px 18px;font-size:13px;font-weight:600;color:var(--primary);margin-bottom:28px;box-shadow:var(--shadow)}
.badge-dot{width:8px;height:8px;border-radius:50%;background:#10B981;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
.hero h1{font-size:50px;font-weight:800;line-height:1.12;margin-bottom:20px}
.gradient-text{background:linear-gradient(135deg,#7C3AED 0%,#A78BFA 50%,#C084FC 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero-desc{font-size:18px;color:var(--text-light);margin-bottom:36px;line-height:1.7}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap}
.hero-stats{display:flex;gap:36px;margin-top:52px;padding-top:28px;border-top:1px solid var(--border)}
.stat strong{display:block;font-family:'Poppins',sans-serif;font-size:28px;font-weight:700;color:var(--primary)}
.stat span{font-size:14px;color:var(--text-light)}
.stat-divider{width:1px;background:var(--border);align-self:stretch}
.hero-visual{position:relative;display:flex;justify-content:center}

/* ===== MOCKUP ===== */
.hero-mockup{width:100%;max-width:540px;background:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow-xl);border:1px solid var(--border);overflow:hidden}
.mockup-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--primary);color:var(--white)}
.mockup-dots{display:flex;gap:6px}
.mockup-dots span{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.3)}
.mockup-dots span:first-child{background:#EF4444}
.mockup-dots span:nth-child(2){background:#F59E0B}
.mockup-dots span:last-child{background:#10B981}
.mockup-title{font-family:'Poppins',sans-serif;font-weight:600;font-size:14px}
.mockup-body{display:flex;height:340px}
.mockup-sidebar{width:200px;border-right:1px solid var(--border);overflow:hidden;flex-shrink:0}
.mockup-search{height:36px;margin:10px;border-radius:8px;background:var(--gray-bg);border:1px solid var(--border)}
.mockup-chat-item{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;transition:background .2s;border-left:3px solid transparent}
.mockup-chat-item.active{background:var(--primary-bg);border-left-color:var(--primary)}
.mockup-chat-item:hover{background:var(--gray-bg)}
.chat-avatar{width:36px;height:36px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;font-weight:600}
.chat-avatar.small{width:28px;height:28px}
.chat-info{flex:1;min-width:0}
.chat-name{font-size:13px;font-weight:600;color:var(--dark);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-preview{font-size:11px;color:var(--text-light);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-status{font-size:10px;color:#10B981;font-weight:500}
.chat-badge{width:20px;height:20px;border-radius:50%;background:var(--primary);color:#fff;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.mockup-main{flex:1;display:flex;flex-direction:column}
.mockup-chat-header{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--border)}
.mockup-messages{flex:1;padding:12px;display:flex;flex-direction:column;gap:8px;overflow:hidden}
.msg{display:flex;flex-direction:column;max-width:85%}
.msg-in{align-self:flex-start}
.msg-out{align-self:flex-end}
.msg-bubble{padding:8px 12px;border-radius:12px;font-size:12px;line-height:1.5}
.msg-in .msg-bubble{background:var(--gray-bg);color:var(--text);border-bottom-left-radius:4px}
.msg-out .msg-bubble{background:var(--primary);color:#fff;border-bottom-right-radius:4px}
.msg-bubble.ai{position:relative;padding-left:32px}
.ai-badge{position:absolute;left:8px;top:8px;font-size:9px;font-weight:700;background:rgba(255,255,255,.25);padding:1px 5px;border-radius:4px}
.msg-time{font-size:9px;color:var(--text-light);margin-top:2px}
.msg-out .msg-time{text-align:right}
.mockup-input{display:flex;align-items:center;gap:8px;padding:8px 12px;border-top:1px solid var(--border)}
.input-placeholder{flex:1;padding:8px 12px;border-radius:20px;background:var(--gray-bg);font-size:11px;color:var(--text-light)}
.input-send{width:28px;height:28px;border-radius:50%;background:var(--primary);flex-shrink:0}
.hero-float{position:absolute;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:10px 16px;display:flex;align-items:center;gap:8px;box-shadow:var(--shadow-md);font-size:13px;font-weight:600;color:var(--dark);animation:float 3s ease-in-out infinite}
.float-icon{font-size:20px}
.float-1{top:20px;right:-10px;animation-delay:0s}
.float-2{bottom:80px;left:-20px;animation-delay:1s}
.float-3{bottom:20px;right:20px;animation-delay:2s}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* ===== BRANDS ===== */
.brands{padding:32px 0;background:var(--white);border-bottom:1px solid var(--border)}
.brands-label{text-align:center;font-size:12px;color:var(--text-light);font-weight:600;text-transform:uppercase;letter-spacing:2px;margin-bottom:20px}
.brands-track{display:flex;justify-content:center;align-items:center;gap:40px;flex-wrap:wrap}
.brand-item{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--text-light);opacity:.6;transition:opacity .2s}
.brand-item:hover{opacity:1}

/* ===== SECTIONS COMMON ===== */
.section-header{text-align:center;max-width:640px;margin:0 auto 60px}
.section-tag{display:inline-block;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:var(--primary);margin-bottom:12px}
.section-header h2{font-size:36px;font-weight:700;margin-bottom:14px}
.section-header p{font-size:17px;color:var(--text-light);line-height:1.7}

/* ===== FEATURES ===== */
.features{padding:100px 0;background:var(--white)}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.feature-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);padding:32px 28px;transition:all .3s}
.feature-card:hover{border-color:var(--primary-light);box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.feature-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.feature-icon.purple{background:#F3E8FF;color:#7C3AED}
.feature-icon.blue{background:#DBEAFE;color:#2563EB}
.feature-icon.green{background:#DCFCE7;color:#16A34A}
.feature-icon.orange{background:#FEF3C7;color:#D97706}
.feature-icon.pink{background:#FCE7F3;color:#DB2777}
.feature-icon.cyan{background:#CFFAFE;color:#0891B2}
.feature-card h3{font-size:17px;font-weight:600;margin-bottom:8px}
.feature-card p{font-size:14px;color:var(--text-light);line-height:1.65}

/* ===== HOW IT WORKS ===== */
.how-it-works{padding:100px 0;background:var(--gray-bg)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;position:relative}
.step{text-align:center;padding:32px 24px;position:relative}
.step-number{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--primary-light));color:#fff;font-family:'Poppins',sans-serif;font-size:22px;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;box-shadow:0 8px 20px rgba(124,58,237,.25)}
.step-line{display:none;position:absolute;top:54px;left:calc(50% + 40px);width:calc(100% - 80px);height:2px;background:var(--border)}
.step:not(:last-child) .step-line{display:block}
.step h3{font-size:18px;font-weight:600;margin-bottom:8px}
.step p{font-size:14px;color:var(--text-light);line-height:1.65}

/* ===== INTEGRATIONS ===== */
.integrations{padding:100px 0;background:var(--white)}
.integrations-container{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.int-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.int-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:20px;text-align:center;transition:all .3s}
.int-card:hover{border-color:var(--primary-light);box-shadow:var(--shadow-md);transform:translateY(-3px)}
.int-icon{width:52px;height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 10px}
.int-card span{font-size:13px;font-weight:600;color:var(--text)}
.integrations-content h2{font-size:32px;font-weight:700;margin-bottom:14px}
.integrations-content p{font-size:16px;color:var(--text-light);margin-bottom:24px;line-height:1.7}
.check-list{display:flex;flex-direction:column;gap:12px;margin-bottom:28px}
.check-list li{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--text)}
.check-icon{width:24px;height:24px;border-radius:50%;background:var(--primary-bg);display:flex;align-items:center;justify-content:center;flex-shrink:0}

/* ===== PRICING ===== */
.pricing{padding:100px 0;background:var(--gray-bg)}
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:start}
.pricing-card{background:var(--white);border:2px solid var(--border);border-radius:var(--radius-xl);padding:36px 28px;transition:all .3s;position:relative}
.pricing-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.pricing-card.featured{border-color:var(--primary);box-shadow:var(--shadow-lg)}
.popular-badge{position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,var(--primary),var(--primary-light));color:#fff;padding:5px 20px;border-radius:50px;font-size:12px;font-weight:700;font-family:'Poppins',sans-serif;white-space:nowrap}
.pricing-name{font-size:22px;font-weight:600}
.pricing-desc{font-size:14px;color:var(--text-light);margin-top:4px}
.pricing-price-wrap{margin:24px 0 8px}
.pricing-price{display:flex;align-items:baseline;gap:2px}
.currency{font-family:'Poppins',sans-serif;font-size:22px;font-weight:600;color:var(--dark)}
.amount{font-family:'Poppins',sans-serif;font-size:56px;font-weight:800;color:var(--dark);line-height:1}
.custom-amount{font-size:32px!important}
.period{font-size:15px;color:var(--text-light)}
.annual{font-size:13px;color:var(--primary);font-weight:600;margin-top:6px}
.save-badge{background:var(--primary-bg);padding:2px 8px;border-radius:50px;font-size:11px}
.pricing-divider{border:none;border-top:1px solid var(--border);margin:24px 0}
.pricing-features{display:flex;flex-direction:column;gap:11px;margin-bottom:28px}
.pricing-features li{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--text)}
.pricing-features svg{flex-shrink:0}
.pricing-note{text-align:center;margin-top:24px;font-size:14px;color:var(--text-light)}

/* ===== CTA ===== */
.cta{padding:100px 0;background:linear-gradient(135deg,var(--primary-dark) 0%,var(--primary) 50%,var(--primary-light) 100%);color:#fff;text-align:center;position:relative;overflow:hidden}
.cta::before{content:'';position:absolute;top:-200px;right:-100px;width:500px;height:500px;border-radius:50%;background:rgba(255,255,255,.06)}
.cta::after{content:'';position:absolute;bottom:-150px;left:-50px;width:400px;height:400px;border-radius:50%;background:rgba(255,255,255,.04)}
.cta-content{position:relative;z-index:1}
.cta h2{font-size:40px;font-weight:700;margin-bottom:16px;color:#fff}
.cta p{font-size:18px;opacity:.9;margin-bottom:36px;max-width:600px;margin-left:auto;margin-right:auto;color:#fff}

/* ===== FAQ ===== */
.faq{padding:100px 0;background:var(--white)}
.faq-list{max-width:720px;margin:0 auto;display:flex;flex-direction:column;gap:10px}
.faq-item{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:all .3s}
.faq-item.active{border-color:var(--primary-light);box-shadow:var(--shadow)}
.faq-q{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;cursor:pointer;font-family:'Poppins',sans-serif;font-size:15px;font-weight:600;color:var(--dark);background:var(--white);border:none;width:100%;text-align:left;transition:background .2s;gap:16px}
.faq-q:hover{background:var(--primary-bg)}
.faq-arrow{transition:transform .3s;color:var(--primary);flex-shrink:0}
.faq-item.active .faq-arrow{transform:rotate(180deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq-item.active .faq-a{max-height:200px}
.faq-a p{padding:0 22px 18px;font-size:14px;color:var(--text-light);line-height:1.7}

/* ===== FOOTER ===== */
.footer{padding:60px 0 28px;background:var(--dark);color:var(--white)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;margin-bottom:48px}
.footer-brand img{height:34px;filter:brightness(10)}
.footer-brand p{font-size:14px;color:rgba(255,255,255,.5);margin-top:14px;line-height:1.7}
.footer-col h4{font-size:14px;font-weight:600;margin-bottom:18px;color:rgba(255,255,255,.9)}
.footer-col ul{display:flex;flex-direction:column;gap:10px}
.footer-col a{font-size:14px;color:rgba(255,255,255,.5);transition:color .2s}
.footer-col a:hover{color:var(--primary-light)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:24px;display:flex;justify-content:space-between;align-items:center}
.footer-bottom p{font-size:13px;color:rgba(255,255,255,.35)}
.footer-social{display:flex;gap:12px}
.footer-social a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.5);transition:all .2s}
.footer-social a:hover{background:var(--primary);color:#fff}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){
    .hero-container{grid-template-columns:1fr;text-align:center}
    .hero-content{max-width:100%}
    .hero-desc{margin-left:auto;margin-right:auto}
    .hero-actions{justify-content:center}
    .hero-stats{justify-content:center}
    .hero-visual{margin-top:40px}
    .hero-float{display:none}
    .features-grid{grid-template-columns:repeat(2,1fr)}
    .integrations-container{grid-template-columns:1fr}
    .integrations-content{text-align:center}
    .int-grid{order:2}
    .pricing-grid{grid-template-columns:1fr;max-width:420px;margin-left:auto;margin-right:auto}
    .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
    .nav,.nav-buttons{display:none}
    .mobile-nav{display:flex}
    .menu-toggle{display:block}
    .hero{padding:120px 0 60px}
    .hero h1{font-size:34px}
    .hero-desc{font-size:16px}
    .features,.how-it-works,.integrations,.pricing,.cta,.faq{padding:72px 0}
    .section-header h2{font-size:28px}
    .features-grid{grid-template-columns:1fr}
    .steps{grid-template-columns:1fr;max-width:360px;margin:0 auto}
    .step-line{display:none!important}
    .int-grid{grid-template-columns:repeat(2,1fr)}
    .cta h2{font-size:28px}
    .footer-grid{grid-template-columns:1fr;gap:32px}
    .footer-bottom{flex-direction:column;gap:16px;text-align:center}
    .stat strong{font-size:22px}
}
