/* Home (Sider-style) landing page styles. Loads after navbar.css. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Hero btn variants (outline + lg) used outside navbar ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s;
    font-family: inherit;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45);
}
.btn-outline {
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 12px; }

/* ── Hero ── */
.hero {
    position: relative;
    padding: 90px 0 100px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 400px at 20% 10%, rgba(124, 58, 237, 0.12), transparent 60%),
        radial-gradient(ellipse 700px 350px at 80% 30%, rgba(236, 72, 153, 0.10), transparent 60%);
    z-index: -1;
}
.hero-inner {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 99px;
    background: var(--primary-100);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 20px;
}
.hero h1 .grad {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p.lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.55;
}
.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.check-ico { color: #10b981; font-weight: 700; }

/* ── Hero visual (browser mock) ── */
.hero-visual {
    margin-top: 60px;
    position: relative;
}
.browser-mock {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f1f5f9;
    border-bottom: 1px solid var(--border);
}
.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.browser-dot.r { background: #fb7185; }
.browser-dot.y { background: #fbbf24; }
.browser-dot.g { background: #34d399; }
.browser-url {
    margin-left: 12px;
    flex: 1;
    height: 28px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 7px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.browser-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    min-height: 480px;
}
@media (max-width: 780px) {
    .browser-body { grid-template-columns: 1fr; }
    .browser-body > .browser-main { display: none; }
}
.browser-main {
    padding: 32px;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}
.browser-main h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #334155;
}
.skel {
    height: 10px;
    background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 50%, #e2e8f0 100%);
    border-radius: 5px;
    margin-bottom: 10px;
}
.skel.w-80 { width: 80%; }
.skel.w-60 { width: 60%; }
.skel.w-40 { width: 40%; }
.skel.w-70 { width: 70%; }
.skel.w-90 { width: 90%; }
.browser-side {
    background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
    border-left: 1px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-soft);
}
.side-title {
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.side-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}
.chat-msg {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 90%;
}
.chat-msg.user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.chat-msg.ai {
    background: white;
    border: 1px solid var(--border);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}
.chat-input {
    margin-top: auto;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.send-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ── Model strip ── */
.models-strip {
    padding: 50px 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    background: var(--bg-muted);
}
.models-strip p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.models-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.model-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #475569;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.model-chip:hover { opacity: 1; }
.model-ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}
.model-ico svg {
    width: 16px;
    height: 16px;
    display: block;
}
.ico-gpt { background: #10a37f; }
.ico-claude { background: #d97706; }
.ico-gemini { background: linear-gradient(135deg, #4285f4, #9b72cb); }
.ico-grok { background: #000; }
.ico-deepseek { background: #4d6bfe; }

/* ── Sections ── */
section.block {
    padding: 100px 0;
}
.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}
.eyebrow {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-head h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 16px;
}
.section-head p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ── Feature grid ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: white;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: var(--primary-100);
    color: var(--primary);
}
.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── Showcase (alternating 2-col with video) ── */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}
.showcase:last-child { margin-bottom: 0; }
.showcase.reverse .showcase-text { order: 2; }
@media (max-width: 880px) {
    .showcase, .showcase.reverse { grid-template-columns: 1fr; gap: 40px; }
    .showcase.reverse .showcase-text { order: 0; }
}
.showcase-text h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 18px;
}
.showcase-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}
.showcase-list {
    list-style: none;
    margin-bottom: 28px;
}
.showcase-list li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #334155;
    font-size: 0.98rem;
}
.showcase-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 900;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-100);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-top: 2px;
}
.showcase-visual {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-50) 0%, #fce7f3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary-100);
}
.showcase-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.2), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(236, 72, 153, 0.2), transparent 50%);
}
.showcase-emoji { position: relative; z-index: 1; }
.showcase-video {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
    display: block;
    background: #0f172a;
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    box-shadow:
        0 0 0 1px rgba(124, 58, 237, 0.15),
        0 18px 40px rgba(124, 58, 237, 0.25);
}

/* ── Stats ── */
.stats {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 50%, var(--accent) 100%);
    padding: 80px 0;
    color: white;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    text-align: center;
}
.stat-number {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ── Testimonials ── */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.testi-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--border);
}
.testi-stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 14px;
}
.testi-quote {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 22px;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.testi-name {
    font-weight: 700;
    font-size: 0.95rem;
}
.testi-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── CTA ── */
.cta-band {
    padding: 100px 0;
    text-align: center;
}
.cta-box {
    background: linear-gradient(135deg, #1e1b4b 0%, var(--primary) 50%, var(--accent) 100%);
    border-radius: 32px;
    padding: 70px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15), transparent 40%);
}
.cta-box h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
    position: relative;
}
.cta-box p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 32px;
    position: relative;
}
.cta-btn {
    position: relative;
    background: white;
    color: var(--primary-dark);
}
.cta-btn:hover { background: #f5f3ff; }

/* ── Footer ── */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 70px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}
@media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-about p {
    color: #94a3b8;
    margin-top: 14px;
    font-size: 0.9rem;
    max-width: 280px;
    line-height: 1.6;
}
.footer-col h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.15s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
    color: #64748b;
}
.socials {
    display: flex;
    gap: 12px;
}
.socials a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #1e293b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: background 0.2s, color 0.2s;
}
.socials a:hover { background: var(--primary); color: white; }
