:root {
    color-scheme: light;
    --ink: #17172a;
    --muted: #65657a;
    --purple: #6d4aff;
    --line: #e9e9f1;
    --surface: #fff;
    --page: #f7f7fb;
    font-family: "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); }
a { color: inherit; }
button { font: inherit; }

.site-header {
    position: relative;
    z-index: 3;
    display: flex;
    width: min(1192px, calc(100% - 64px));
    height: 82px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; font-weight: 700; letter-spacing: -.7px; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg, #8b70ff, #5f3fee); box-shadow: 0 5px 12px #6947f331; font-size: 18px; font-weight: 700; }
.brand-accent { color: var(--purple); }
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav > a { color: #45445a; font-size: 13px; font-weight: 600; text-decoration: none; }
.header-nav > a:hover, .text-link:hover { color: #5030dd; }
.header-nav form { margin: 0; }
.language-switch { padding: 8px 13px; border: 1px solid #e6e3f2; border-radius: 9px; color: #484458; background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
.language-switch:hover { border-color: #b6a8ff; background: #faf9ff; }

.hero { position: relative; display: grid; min-height: 558px; overflow: hidden; grid-template-columns: 1fr 1fr; align-items: center; gap: 55px; padding: 65px max(32px, calc((100% - 1110px) / 2)) 82px; background: radial-gradient(ellipse at 87% 48%, #eeeaff 0, #f8f7ff 35%, transparent 67%), linear-gradient(115deg, #fff 5%, #fbfaff 72%, #f5f2ff); }
.hero-copy { position: relative; z-index: 1; max-width: 500px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 9px; color: #6148d9; font-size: 11px; font-weight: 700; letter-spacing: .045em; }
.eyebrow { padding: 8px 12px; border: 1px solid #e4ddff; border-radius: 99px; background: #fff; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #7657fa; box-shadow: 0 0 0 3px #eee9ff; }
.hero h1 { max-width: 480px; margin: 24px 0 16px; font-size: clamp(42px, 5vw, 61px); font-weight: 700; line-height: 1.07; letter-spacing: -3.2px; }
.hero-description { max-width: 410px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; color: #5f42e8; font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link span { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid #dcd4ff; border-radius: 50%; background: #fff; }

.workspace-preview { position: relative; z-index: 1; width: min(100%, 465px); justify-self: end; overflow: hidden; border: 1px solid #e8e5f1; border-radius: 17px; background: #fff; box-shadow: 0 32px 80px #33206419, 0 5px 16px #3320640b; transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); }
.preview-topbar { display: flex; height: 50px; align-items: center; gap: 14px; padding: 0 17px; border-bottom: 1px solid #f0eef5; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #dedbe8; }
.window-dots i:first-child { background: #ffaaa9; }
.window-dots i:nth-child(2) { background: #ffd58a; }
.window-dots i:nth-child(3) { background: #8edbc2; }
.preview-label { color: #838196; font-size: 9px; font-weight: 600; }
.preview-label span { padding: 0 4px; color: #c6c3d0; }
.preview-avatar { display: grid; width: 24px; height: 24px; margin-left: auto; place-items: center; border-radius: 8px; color: #fff; background: #7657fa; font-size: 11px; font-weight: 700; }
.preview-content { padding: 24px; }
.preview-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 21px; }
.preview-kicker { color: #9c99ad; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.preview-heading h2 { margin: 4px 0 0; font-size: 18px; letter-spacing: -.5px; }
.preview-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 99px; color: #5d50a0; background: #f4f1ff; font-size: 8px; font-weight: 700; }
.preview-pill i { width: 5px; height: 5px; border-radius: 50%; background: #8165ef; }
.preview-card { display: flex; min-height: 68px; align-items: center; gap: 12px; margin-top: 9px; padding: 11px 12px; border: 1px solid #eeedf3; border-radius: 11px; background: #fff; }
.preview-card-icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 10px; }
.preview-card-icon svg { width: 19px; height: 19px; fill: currentColor; }
.icon-purple { color: #7052ed; background: #f2efff; }
.icon-orange { color: #e39432; background: #fff5e8; }
.preview-card-copy { display: grid; gap: 5px; }
.preview-card-copy strong { font-size: 10px; }
.preview-card-copy span { color: #9290a1; font-size: 8px; }
.preview-card-copy b { padding: 0 3px; color: #d3d1db; }
.preview-arrow { margin-left: auto; color: #aaa7b7; font-size: 14px; }
.preview-note { display: flex; gap: 9px; margin-top: 16px; padding: 12px; border-radius: 9px; background: #f8f7fb; }
.note-icon { display: grid; width: 15px; height: 15px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #6b55d9; background: #eae5ff; font-size: 9px; font-weight: 700; }
.preview-note p { margin: 0; color: #6f6d7e; font-size: 9px; line-height: 1.65; }
.hero-orb { position: absolute; width: 250px; height: 250px; border: 1px solid #dfd7ff75; border-radius: 50%; pointer-events: none; }
.orb-one { top: -180px; right: 16%; }
.orb-two { right: 3%; bottom: -204px; width: 330px; height: 330px; }

.platform-section { width: min(1110px, calc(100% - 64px)); margin: 0 auto; padding: 86px 0 94px; }
.section-heading { max-width: 570px; margin: 0 auto 37px; text-align: center; }
.section-kicker { font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.section-heading h2, .trust-copy h2 { margin: 12px 0 0; font-size: clamp(27px, 3.4vw, 37px); line-height: 1.2; letter-spacing: -1.4px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card { min-height: 196px; padding: 22px 19px; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.feature-card:hover { transform: translateY(-3px); border-color: #ded8fb; box-shadow: 0 13px 32px #3020520b; }
.feature-icon { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 11px; }
.feature-icon svg { width: 20px; height: 20px; fill: currentColor; }
.feature-icon.purple { color: #6d4aff; background: #f1edff; }
.feature-icon.coral { color: #ea6c66; background: #fff0ef; }
.feature-icon.mint { color: #3b9c77; background: #eaf8f1; }
.feature-icon.blue { color: #4a79de; background: #edf3ff; }
.feature-card h3 { margin: 19px 0 8px; font-size: 14px; letter-spacing: -.2px; }
.feature-card p { margin: 0; color: #777689; font-size: 11px; line-height: 1.75; }

.trust-section { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; padding: 68px max(32px, calc((100% - 1040px) / 2)); background: #faf9fd; }
.trust-copy { max-width: 390px; }
.trust-copy > p { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.trust-points { display: grid; gap: 18px; }
.trust-point { display: flex; gap: 15px; }
.trust-point > span { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border: 1px solid #e8e2ff; border-radius: 9px; color: #7055df; background: #fff; font-size: 9px; font-weight: 700; }
.trust-point h3 { margin: 1px 0 4px; font-size: 12px; }
.trust-point p { margin: 0; color: #777689; font-size: 10px; line-height: 1.7; }

.site-footer { display: flex; width: min(1110px, calc(100% - 64px)); min-height: 76px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-size: 15px; }
.footer-brand .brand-mark { width: 28px; height: 28px; border-radius: 9px; font-size: 15px; }
.site-footer > p { margin: 0; color: #8a8898; font-size: 10px; }

@media (min-width: 1440px) { .hero { padding-right: max(32px, calc((100% - 1110px) / 2)); padding-left: max(32px, calc((100% - 1110px) / 2)); } }
@media (max-width: 900px) {
    .hero { min-height: auto; grid-template-columns: 1fr; gap: 45px; padding-top: 68px; padding-bottom: 70px; }
    .hero-copy { max-width: 620px; }
    .workspace-preview { justify-self: start; transform: none; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-section { grid-template-columns: 1fr 1fr; gap: 38px; }
}
@media (max-width: 600px) {
    .site-header { width: calc(100% - 36px); height: 67px; }
    .brand { gap: 8px; font-size: 17px; }
    .brand-mark { width: 31px; height: 31px; }
    .header-nav { gap: 12px; }
    .header-nav > a { max-width: 120px; font-size: 10px; }
    .language-switch { padding: 7px 10px; font-size: 10px; }
    .hero { gap: 34px; padding: 50px 18px 55px; }
    .hero h1 { margin-top: 20px; font-size: clamp(38px, 11vw, 53px); letter-spacing: -2.4px; }
    .hero-description { font-size: 14px; }
    .workspace-preview { width: 100%; border-radius: 13px; }
    .preview-content { padding: 17px; }
    .preview-heading h2 { font-size: 16px; }
    .preview-pill { max-width: 120px; font-size: 7px; }
    .platform-section { width: calc(100% - 36px); padding: 62px 0; }
    .section-heading { margin-bottom: 26px; }
    .section-heading h2, .trust-copy h2 { font-size: 28px; letter-spacing: -.8px; }
    .feature-grid { grid-template-columns: 1fr; gap: 10px; }
    .feature-card { min-height: unset; padding: 19px; }
    .feature-card h3 { margin-top: 14px; }
    .trust-section { grid-template-columns: 1fr; gap: 30px; padding: 48px 20px; }
    .site-footer { width: calc(100% - 36px); min-height: 77px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 10px; padding: 16px 0; }
    .site-footer > p { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.header-nav .header-cta { padding: 10px 14px; border-radius: 9px; color: #fff; background: #6d4aff; }
.header-nav .header-cta:hover { color: #fff; background: #5836e8; }
.account-page { min-height: 100vh; background: #f7f7fb; }
.account-header { display: flex; width: min(1120px, calc(100% - 48px)); min-height: 76px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 20px; }
.account-header-actions { display: flex; align-items: center; gap: 18px; }
.account-header-actions form { margin: 0; }
.account-nav-link { border: 0; color: #45445a; background: transparent; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.account-nav-link:hover { color: #5030dd; }
.account-main { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 76px; }
.auth-card { width: min(100%, 470px); margin: 0 auto; padding: 36px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 48px #3020520b; }
.auth-card h1, .profile-heading h1 { margin: 12px 0 8px; font-size: clamp(26px, 4vw, 34px); line-height: 1.2; letter-spacing: -.8px; }
.auth-intro { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.account-form { display: grid; gap: 9px; }
.account-form label { margin-top: 9px; font-size: 13px; font-weight: 650; }
.account-form input:not([type="checkbox"]), .account-form textarea, .account-form select { width: 100%; min-height: 45px; padding: 11px 12px; border: 1px solid #dedde8; border-radius: 9px; color: var(--ink); background: #fff; font: inherit; font-size: 14px; }
.account-form textarea { min-height: 100px; resize: vertical; }
.account-form input:focus, .account-form textarea:focus, .account-form select:focus { outline: 3px solid #6d4aff2b; border-color: #8067ed; }
.checkbox-label { display: flex; align-items: center; gap: 9px; color: #56556b; cursor: pointer; }
.checkbox-label input { width: 16px; height: 16px; accent-color: var(--purple); }
.account-submit { display: inline-flex; min-height: 45px; margin-top: 10px; align-items: center; justify-content: center; padding: 11px 16px; border: 0; border-radius: 9px; color: #fff; background: var(--purple); font: inherit; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.account-submit:hover { background: #5836e8; }
.account-link-button { width: 100%; }
.auth-links, .auth-switch { margin: 18px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.auth-links a, .auth-switch a { color: #5f42e8; font-weight: 650; text-decoration: none; }
.form-status { margin: 0 0 20px; padding: 12px 14px; border: 1px solid #b8e4ce; border-radius: 9px; color: #236947; background: #effaf4; font-size: 13px; line-height: 1.6; }
.form-error { margin: 0 0 3px; color: #b42318; font-size: 12px; line-height: 1.5; }
.form-hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.profile-page { width: min(100%, 740px); margin: 0 auto; }
.profile-heading { margin-bottom: 25px; }
.settings-card { margin-top: 18px; padding: 27px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.settings-card h2 { margin: 0 0 8px; font-size: 18px; }
.danger-card { border-color: #f1d2d0; }
.danger-submit { background: #ba3434; }
.danger-submit:hover { background: #992727; }
.account-summary { display: grid; gap: 13px; margin: 0 0 22px; }
.account-summary > div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #f0eef5; }
.account-summary dt { color: var(--muted); font-size: 13px; }
.account-summary dd { margin: 0; font-size: 13px; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.workspace-page { width: min(100%, 980px); margin: 0 auto; }
.workspace-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.workspace-heading h1 { margin: 10px 0 7px; font-size: clamp(27px, 4vw, 36px); letter-spacing: -.8px; }
.workspace-heading .auth-intro { margin-bottom: 0; }
.workspace-list { display: grid; gap: 13px; }
.workspace-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.workspace-item-copy { min-width: 0; }
.workspace-item-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.workspace-item-title h2 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.workspace-item-copy > p, .video-library-details > p, .public-video-copy > p { margin: 8px 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.workspace-meta { color: #777689; font-size: 12px; }
.workspace-item-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.workspace-item-actions form { margin: 0; }
.secondary-button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid #e3e1eb; border-radius: 8px; color: #48465c; background: #fff; font: inherit; font-size: 12px; font-weight: 650; text-decoration: none; cursor: pointer; }
.secondary-button:hover { border-color: #c9c0f1; background: #faf9ff; }
.danger-text { color: #ae3030; }
.status-badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 99px; color: #665c89; background: #f0eef6; font-size: 11px; font-weight: 700; }
.status-active, .status-ready { color: #236947; background: #effaf4; }
.status-inactive, .status-failed { color: #a33131; background: #fff0ef; }
.status-processing { color: #745222; background: #fff6e8; }
.status-uploaded, .status-draft { color: #5d50a0; background: #f4f1ff; }
.empty-state { padding: 50px 24px; border: 1px dashed #d8d5e4; border-radius: 14px; background: #fff; text-align: center; }
.empty-state h2 { margin: 0 0 8px; font-size: 19px; }
.empty-state p { margin: 0 0 17px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.empty-state > a { color: #5f42e8; font-size: 13px; font-weight: 700; }
.pagination-links { margin-top: 20px; }
.pagination-links nav { display: flex; justify-content: center; }
.pagination-links nav > div:first-child { display: none; }
.pagination-links nav > div:last-child > span, .pagination-links nav > div:last-child > a { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; padding: 7px; border: 1px solid #e3e1eb; background: #fff; font-size: 12px; text-decoration: none; }
.video-library { display: grid; gap: 16px; }
.video-library-item { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.video-library-preview { display: grid; min-height: 190px; place-items: center; background: #17172a; }
.video-library-preview video { display: block; width: 100%; height: auto; max-height: 320px; aspect-ratio: auto 16 / 9; object-fit: contain; background: #111; }
.video-placeholder { color: #fff; font-size: 34px; }
.video-library-details { min-width: 0; padding: 21px; }
.video-library-details form { margin-top: 15px; }
.video-library-details .secondary-button { margin-top: 2px; }
.video-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; color: #666479; font-size: 11px; }
.video-meta > span { padding: 5px 8px; border-radius: 6px; background: #f6f5f9; }
.upload-progress-container { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; margin: 13px 0; }
.upload-progress-container label { grid-column: 1 / -1; }
.upload-progress-container progress { width: 100%; height: 12px; accent-color: var(--purple); }
.upload-progress-container span { color: var(--muted); font-size: 12px; }
.public-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px; }
.public-video-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.public-video-media { position: relative; overflow: hidden; background: #111; }
.public-video-media > video { display: block; width: 100%; height: auto; max-height: 470px; aspect-ratio: auto 16 / 9; object-fit: contain; background: #111; }
.video-contact-overlay { position: absolute; z-index: 1; top: 10px; left: 10px; pointer-events: none; }
.video-contact-menu { position: relative; pointer-events: auto; }
.video-contact-menu > summary { list-style: none; cursor: pointer; }
.video-contact-menu > summary::-webkit-details-marker { display: none; }
.video-contact-number, .video-contact-actions a { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; background: rgba(21,19,32,.82); font-size: 11px; font-weight: 700; line-height: 1.2; text-decoration: none; backdrop-filter: blur(8px); pointer-events: auto; }
.video-contact-actions { position: absolute; top: calc(100% + 6px); left: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; min-width: 90px; max-width: calc(100vw - 32px); padding: 7px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(21,19,32,.92); backdrop-filter: blur(8px); pointer-events: auto; }
.video-contact-number:hover, .video-contact-actions a:hover { background: rgba(83,61,195,.96); }
.public-video-copy { padding: 16px; }
.public-video-copy h2 { font-size: 15px; }
.video-duration { padding: 5px 7px; border-radius: 6px; color: #5b5870; background: #f4f3f8; font-size: 11px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.contact-links a { padding: 7px 9px; border: 1px solid #e7e4f0; border-radius: 7px; color: #5f42e8; font-size: 11px; font-weight: 650; text-decoration: none; }
.contact-links a:hover { background: #f8f6ff; }
.workspace-actions { display: grid; gap: 3px; margin-top: 11px; }
@media (max-width: 640px) {
    .header-nav { gap: 10px; }
    .header-nav > a { max-width: none; font-size: 11px; }
    .header-nav > a:first-child { display: none; }
    .header-nav .header-cta { padding: 8px 9px; }
    .account-header, .account-main { width: calc(100% - 32px); }
    .account-header { min-height: 66px; }
    .account-header-actions { gap: 10px; }
    .account-header-actions .account-nav-link { font-size: 11px; }
    .account-main { padding-top: 26px; }
    .auth-card { padding: 25px 20px; }
    .settings-card { padding: 21px 17px; }
    .account-summary > div { flex-direction: column; gap: 5px; }
    .account-summary dd { text-align: left; }
    .workspace-heading { align-items: stretch; flex-direction: column; gap: 13px; }
    .workspace-heading > .account-submit { width: 100%; }
    .workspace-item { align-items: flex-start; flex-direction: column; gap: 15px; padding: 17px; }
    .workspace-item-actions { width: 100%; flex-wrap: wrap; }
    .workspace-item-actions form { flex: 1; }
    .workspace-item-actions .secondary-button { width: 100%; }
    .video-library-item { grid-template-columns: 1fr; }
    .video-library-preview { min-height: 210px; max-height: 420px; }
    .video-library-preview video { max-height: 420px; }
    .public-video-grid { grid-template-columns: 1fr; }
    .public-video-media > video { max-height: min(78vh, 640px); }
    .video-contact-overlay { top: 8px; left: 8px; right: 8px; }
    .video-contact-number, .video-contact-actions a { min-height: 32px; padding: 6px 8px; font-size: 10px; }
}
