/* Klaybyte Office 360 landing page: resources/views/landing/klaybyte-office360/index.blade.php */
:root {
    --brand-900: #0a2a7a;
    --brand-700: #0044C9;
    --brand-600: #0055F6;
    --brand-400: #3B82F6;
    --brand-50: #eef4ff;
    --ink: #101828;
    --ink-2: #344054;
    --muted: #5d6779;
    --line: #e4e7ec;
    --bg: #ffffff;
    --bg-2: #f6f8fc;
    --ok: #12b76a;
    --radius: 14px;
    --shadow: 0 20px 50px -20px rgba(16, 40, 120, .35);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-bn: 'Hind Siliguri', 'Noto Sans Bengali', 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
html[lang="bn"] body { font-family: var(--font-bn); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; }

/* buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .8em 1.4em; border-radius: 10px; font-weight: 600; text-decoration: none;
    border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
    font-size: 1rem; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55em 1em; font-size: .9rem; }
.btn-primary { background: linear-gradient(135deg, var(--brand-700), var(--brand-600)); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 85, 246, .6); }
.btn-ghost { background: #fff; color: var(--brand-700); border-color: #c9d8fb; }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }

/* header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; }
.brand-name { font-family: var(--font); font-size: 1.3rem; font-weight: 700; }
.brand-name b { color: var(--brand-600); }
.brand-name small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1; margin-bottom: 2px; }
.brand-name span { display: block; line-height: 1.1; }
.main-nav { display: flex; gap: 22px; margin-left: 12px; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.main-nav a:hover { color: var(--brand-600); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* hero */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(59, 130, 246, .22), transparent 60%),
        radial-gradient(700px 400px at -10% 20%, rgba(0, 68, 201, .12), transparent 60%),
        linear-gradient(180deg, #f5f8ff 0%, #fff 100%);
    padding: 72px 0 80px;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--brand-600); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8em; }
html[lang="bn"] .eyebrow { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--brand-700), var(--brand-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-weight: 500; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before, .check-list li::before {
    content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
    background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* browser frame */
.browser { margin: 0; background: #fff; border-radius: 12px; border: 1px solid #d9e2f3; box-shadow: var(--shadow); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #f1f4f9; border-bottom: 1px solid #e3e8f1; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d0d6e0; }
.browser-bar i:nth-child(1) { background: #ff6159; }
.browser-bar i:nth-child(2) { background: #ffbd2e; }
.browser-bar i:nth-child(3) { background: #28c941; }
.browser-bar span { margin-left: 10px; font-size: .75rem; color: var(--muted); }
.hero-shot { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }

/* sections */
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2, .split-copy h2, .cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.value { background: #fff; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; transition: box-shadow .2s, transform .2s; }
.value-card:hover { box-shadow: 0 14px 30px -18px rgba(16, 40, 120, .4); transform: translateY(-2px); }
.value-card h3 { font-size: 1.12rem; }
.value-card p { color: var(--muted); margin: 0; }
.icon { display: inline-block; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px; background: var(--brand-50) center / 22px no-repeat; }
.icon-link { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230055F6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E"); }
.icon-check { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230055F6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E"); }
.icon-user { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230055F6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1'/%3E%3C/svg%3E"); }
.icon-shield { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230055F6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }

/* modules tabs */
.modules { background: var(--bg-2); }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tabs button {
    border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: 10px 22px; border-radius: 999px;
    font-weight: 600; font-size: 1rem; font-family: inherit; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.panel-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: center; }
.module-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.module-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; color: var(--muted); font-size: .95rem; }
.module-list b { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 2px; }

/* split sections */
.split-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.split-alt { background: linear-gradient(180deg, #fff, var(--bg-2)); }
.split-alt .split-inner { grid-template-columns: 1.2fr 1fr; }
.split-copy > p { color: var(--muted); font-size: 1.06rem; }
.check-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.check-list li::before { margin-top: 4px; }

/* security */
.security { background: linear-gradient(160deg, var(--brand-900), var(--brand-700) 60%, var(--brand-600)); color: #fff; }
.security .eyebrow { color: #a9c6ff; }
.security .section-head p { color: #d6e3ff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 24px; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: #dbe6ff; margin: 0; }

/* gallery */
.gallery { background: #fff; }
.gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.thumb { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in; text-align: left; font: inherit; color: inherit; transition: box-shadow .2s, transform .2s; }
.thumb:hover { box-shadow: 0 14px 30px -18px rgba(16, 40, 120, .45); transform: translateY(-2px); }
.thumb img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.cap { display: block; padding: 10px 14px; font-weight: 600; font-size: .95rem; }

/* faq */
.faq { background: var(--bg-2); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand-600); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* cta */
.cta { background: linear-gradient(135deg, var(--brand-700), var(--brand-400)); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta p { color: #e3ecff; margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-contact { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; color: #e3ecff; font-size: .98rem; }
.cta-contact a { color: #fff; text-decoration: none; font-weight: 600; }
.cta-contact a:hover { text-decoration: underline; }

/* footer */
.site-footer { background: #0b1530; color: #aeb8cf; padding: 36px 0; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { width: 28px; height: 28px; }
.site-footer .brand-name b { color: #7fb0ff; }
.site-footer .brand-name small { color: #aeb8cf; }
.site-footer p { margin: 0; }
.site-footer .copy { margin-left: auto; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 12, 30, .88); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1440px, 100%); max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox-close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
body.no-scroll { overflow: hidden; }

/* responsive */
@media (max-width: 1080px) {
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .main-nav { gap: 16px; }
}
@media (max-width: 900px) {
    .hero { padding: 48px 0 56px; }
    .hero-inner, .panel-grid, .split-inner, .split-alt .split-inner { grid-template-columns: 1fr; gap: 32px; }
    .split-alt .split-inner .browser { order: 2; }
    .hero-shot { transform: none; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 64px 0; }
    .nav-toggle { display: block; }
    .main-nav {
        display: none; position: absolute; top: 68px; left: 0; right: 0; margin: 0;
        flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .header-inner { gap: 10px; }
    .hide-sm { display: none; }
    .brand-name { font-size: 1.15rem; }
    .value-grid, .feature-grid, .gallery-grid { grid-template-columns: 1fr; }
    .tabs button { padding: 8px 14px; font-size: .92rem; }
    .lead { font-size: 1.05rem; }
    .hero-cta .btn, .cta-actions .btn { flex: 1 1 100%; }
    .site-footer .copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .value-card, .thumb { transition: none; }
}
