/* Product-led home page. All layouts also support RTL. */
.premium-home .home-hero { padding: 84px 0 64px; background: #f5f8fc; border-bottom: 1px solid #e2eaf3; }
.premium-home .hero-layout { display: grid; grid-template-columns: 1fr 1.13fr; gap: 56px; align-items: center; }
.premium-home .hero-copy { min-width: 0; }
.premium-home .eyebrow { display: block; color: #0a66c2; font-size: 12px; line-height: 1.5; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.premium-home .hero-heading { font-size: clamp(38px, 4.1vw, 58px); line-height: 1.13; letter-spacing: -.045em; font-weight: 600; margin: 0 0 24px; color: #14263d; }
.premium-home .hero-heading span { display: block; }
.premium-home .hero-heading .accent { color: #0a66c2; }
.premium-home .hero-description { font-size: 17px; line-height: 1.8; color: #52647a; max-width: 540px; margin: 0 0 28px; }
.premium-home .home-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.premium-home .home-actions .btn i { font-size: 13px; }
.premium-home .hero-product { min-width: 0; margin: 0; position: relative; }
.premium-home .product-surround { padding: 30px 0 32px; position: relative; }
.premium-home .product-surround::before { content: ''; position: absolute; inset: 0 24px; background: #e2ecf8; border: 1px solid #d4e2f2; border-radius: 28px; transform: rotate(-3deg); }
.premium-home .product-window { position: relative; background: #fff; border-radius: 14px; border: 1px solid #c9d8e9; box-shadow: 0 24px 60px -30px #23497755; overflow: hidden; }
.premium-home .window-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid #e2eaf3; background: #fff; }
.premium-home .window-dot { width: 6px; height: 6px; border-radius: 50%; background: #ccd7e5; }
.premium-home .window-title { margin-inline-start: 12px; color: #536a81; font-size: 11px; font-weight: 500; }
.premium-home .preview-link { display: block; position: relative; background: #fff; }
.premium-home .preview-link picture, .premium-home .preview-link img { display: block; width: 100%; }
.premium-home .preview-link img { height: auto; }
.premium-home .expand-icon { position: absolute; inset-block-end: 12px; inset-inline-end: 12px; width: 36px; height: 36px; display: grid; place-items: center; color: #0a66c2; background: #fff; border: 1px solid #ccd9e8; border-radius: 8px; }
.premium-home .hero-product figcaption { margin-top: 14px; font-size: 11px; color: #607187; text-align: center; }
.premium-home .product-topics { display: flex; gap: 24px; justify-content: center; margin-top: 20px; flex-wrap: wrap; color: #334d68; font-size: 12px; }
.premium-home .product-topics span { display: flex; align-items: center; gap: 8px; }
.premium-home .product-topics i { color: #0a66c2; }
.premium-home .home-section { padding: 96px 0; }
.premium-home .section-intro { max-width: 680px; margin-bottom: 48px; }
.premium-home h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.22; letter-spacing: -.035em; font-weight: 600; margin: 0 0 20px; color: #14263d; }
.premium-home .section-intro > p:not(.eyebrow), .premium-home .mobile-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.8; color: #52647a; margin-bottom: 0; }
.premium-home .use-cases { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 36px; }
.premium-home .use-case { border-top: 1px solid #cfdeed; padding-top: 28px; }
.premium-home .use-case-icon { color: #0a66c2; width: 44px; height: 44px; border: 1px solid #dce7f4; background: #f5f8fc; border-radius: 10px; display: grid; place-items: center; font-size: 18px; margin-bottom: 22px; }
.premium-home .use-case h3 { font-size: 20px; line-height: 1.4; font-weight: 600; margin: 0 0 12px; letter-spacing: -.025em; }
.premium-home .use-case p { font-size: 15px; line-height: 1.8; margin: 0; color: #52647a; }
.premium-home .workflow { background: #142b45; padding: 84px 0; }
.premium-home .workflow .eyebrow { color: #9ac8f7; }
.premium-home .workflow h2, .premium-home .workflow h3 { color: #fff; }
.premium-home .workflow .section-intro > p { color: #c3d2e2; }
.premium-home .workflow-steps { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; margin: 0; padding: 0; }
.premium-home .step-number { display: block; color: #9ac8f7; font-size: 13px; font-weight: 500; letter-spacing: .1em; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid #41607e; }
.premium-home .workflow-steps h3 { font-size: 22px; font-weight: 500; margin: 0 0 12px; }
.premium-home .workflow-steps p { color: #c3d2e2; font-size: 15px; line-height: 1.8; margin: 0; }
.premium-home .mobile-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.premium-home .mobile-stage { min-width: 0; background: #eef4fb; border-radius: 24px; padding: 36px 24px 24px; text-align: center; margin: 0; }
.premium-home .phone-frame { width: 260px; max-width: 100%; margin: 0 auto; overflow: hidden; border: 7px solid #20374f; border-radius: 30px; background: #20374f; box-shadow: 0 24px 40px -24px #132f5566; }
.premium-home .phone-frame picture { display: block; }
/* Slightly taller than the previous 435px cap so the narrower frame keeps the
   original framing. object-fit stays cover to avoid a 2.2x taller hero. */
.premium-home .phone-frame img { display: block; width: 100%; height: 470px; object-fit: cover; object-position: 50% 25%; border-radius: 22px; }
.premium-home .mobile-stage figcaption { color: #52647a; font-size: 11px; line-height: 1.6; margin: 20px 0 0; }
.premium-home .mobile-points { list-style: none; margin: 26px 0; padding: 0; }
.premium-home .mobile-points li { display: flex; gap: 12px; align-items: start; padding-block: 10px; font-size: 15px; color: #344d67; }
.premium-home .mobile-points i { font-size: 12px; color: #0a66c2; margin-top: 7px; }
.premium-home .mobile-cta-group { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 16px; }
.premium-home .mobile-cta-label { margin: 0; font-size: 14px; font-weight: 500; color: #14263d; }
.premium-home .playstore-badge { display: inline-flex; align-items: center; gap: 12px; background: #0f1c2e; color: #fff !important; border: 1px solid #223c5b; border-radius: 10px; padding: 8px 16px; text-decoration: none !important; box-shadow: 0 4px 14px -4px rgba(10, 24, 44, 0.4); width: fit-content; max-width: 100%; }
.premium-home .playstore-badge:hover { background: #14263d; border-color: #3b5f88; transform: translateY(-1px); }
.premium-home .playstore-icon { width: 26px !important; height: 26px !important; max-width: 26px !important; max-height: 26px !important; flex-shrink: 0; display: block; }
.premium-home .playstore-text { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.premium-home .playstore-sub { font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #a0b3c6; opacity: .9; }
.premium-home .playstore-title { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.premium-home .text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #0a66c2; font-size: 14px; font-weight: 500; }
.premium-home .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.premium-home .development { padding-bottom: 96px; }
.premium-home .development-panel { display: grid; grid-template-columns: 1fr 1.2fr; align-items: start; gap: 64px; border-block: 1px solid #dfe7ef; padding-block: 40px; }
.premium-home .development-panel .eyebrow { margin-bottom: 12px; }
.premium-home .development-panel h2 { font-size: 25px; margin: 0; }
.premium-home .development-panel p { color: #52647a; font-size: 15px; line-height: 1.8; margin: 0 0 12px; }
.premium-home .home-closing { padding: 72px 0; background: #edf4fc; text-align: center; border-top: 1px solid #e0eaf5; }
.premium-home .home-closing h2 { font-size: clamp(28px, 3vw, 38px); }
.premium-home .home-closing p { font-size: 16px; color: #52647a; max-width: 640px; margin: 0 auto 28px; }
.premium-home .home-closing .home-actions { justify-content: center; }
.premium-home .image-dialog { border: 1px solid #d4deeb; padding: 16px 20px 20px; width: min(1400px,calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; border-radius: 14px; background: #fff; }
.premium-home:has(.image-dialog[open]) { overflow: hidden; }
.premium-home .image-dialog::backdrop { background: #091e36c9; }
.premium-home .image-dialog img { display: block; width: 100%; height: auto; }
.premium-home .image-dialog button { position: sticky; top: 0; z-index: 1; display: block; margin-inline-start: auto; margin-bottom: 12px; min-height: 44px; border: 0; background: #eef4fb; color: #14263d; border-radius: 7px; padding: 8px 16px; font: inherit; font-size: 14px; cursor: pointer; }
.premium-home .back-to-top { position: fixed; display: grid; place-items: center; background: #0a66c2; color: #fff; border: 0; border-radius: 50%; opacity: 0; visibility: hidden; z-index: 999; cursor: pointer; }
.premium-home .back-to-top.show { opacity: 1; visibility: visible; }
[dir="rtl"] .premium-home .hero-heading, [dir="rtl"] .premium-home h2, [dir="rtl"] .premium-home h3 { letter-spacing: 0; }
[dir="rtl"] .premium-home .eyebrow { letter-spacing: 0; }
[dir="rtl"] .premium-home .fa-arrow-right { transform: rotate(180deg); }
@media (max-width: 1100px) {
  .premium-home .hero-layout { gap: 32px; grid-template-columns: 1fr 1fr; }
  .premium-home .hero-heading { font-size: 43px; }
  .premium-home .home-actions { gap: 10px; }
  .premium-home .home-actions .btn { font-size: 14px; padding-inline: 17px; }
  .premium-home .mobile-layout { gap: 60px; }
}
@media (max-width: 900px) {
  .premium-home .home-hero { padding: 60px 0; }
  .premium-home .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .premium-home .hero-copy { max-width: 630px; }
  .premium-home .hero-heading { font-size: 48px; }
  .premium-home .hero-product { max-width: 640px; width: 100%; margin-inline: auto; }
  .premium-home .home-section { padding: 72px 0; }
  .premium-home .use-cases { gap: 22px; }
  .premium-home .use-case h3 { font-size: 18px; }
  .premium-home .workflow-steps { gap: 24px; }
  .premium-home .mobile-layout { gap: 35px; }
  .premium-home .development-panel { gap: 32px; }
}
@media (max-width: 600px) {
  .premium-home .home-hero { padding: 40px 0; }
  .premium-home .eyebrow { font-size: 11px; margin-bottom: 18px; }
  .premium-home .hero-heading { font-size: clamp(33px, 9vw, 40px); line-height: 1.17; margin-bottom: 20px; }
  .premium-home .hero-description { font-size: 16px; line-height: 1.75; margin-bottom: 24px; }
  .premium-home .home-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .premium-home .home-actions .btn { font-size: 15px; width: 100%; }
  .premium-home .hero-layout { gap: 20px; }
  .premium-home .product-surround { padding: 20px 0; }
  .premium-home .product-surround::before { inset-inline: 12px; border-radius: 18px; }
  .premium-home .window-title { font-size: 10px; margin-inline-start: 6px; }
  .premium-home .window-bar { padding: 12px; }
  .premium-home .preview-link img { height: 320px; object-fit: cover; object-position: top; }
  .premium-home .product-topics { gap: 10px 16px; font-size: 11px; margin-top: 14px; }
  .premium-home .hero-product figcaption { font-size: 11px; }
  .premium-home .home-section { padding: 56px 0; }
  .premium-home .section-intro { margin-bottom: 32px; }
  .premium-home h2 { font-size: 29px; }
  .premium-home .use-cases { grid-template-columns: 1fr; gap: 28px; }
  .premium-home .use-case { padding-top: 24px; }
  .premium-home .use-case-icon { margin-bottom: 16px; }
  .premium-home .use-case h3 { font-size: 20px; }
  .premium-home .use-case p { font-size: 16px; }
  .premium-home .workflow { padding: 56px 0; }
  .premium-home .workflow-steps { grid-template-columns: 1fr; gap: 28px; }
  .premium-home .step-number { padding-bottom: 12px; margin-bottom: 14px; }
  .premium-home .workflow-steps p { font-size: 16px; }
  .premium-home .mobile-layout { grid-template-columns: 1fr; gap: 32px; }
  .premium-home .mobile-copy { grid-row: 1; }
  .premium-home .mobile-points li { font-size: 16px; }
  .premium-home .mobile-stage { padding-top: 28px; }
  .premium-home .development { padding-bottom: 56px; }
  .premium-home .development-panel { grid-template-columns: 1fr; gap: 20px; padding-block: 32px; }
  .premium-home .development-panel p { font-size: 16px; }
  .premium-home .home-closing { padding: 56px 0; text-align: start; }
  .premium-home .image-dialog { padding: 12px; }
}
@media (max-width: 900px) {
  .premium-home:not(.js-ready) .nav-container { height: auto; padding-block: 14px; flex-wrap: wrap; }
  .premium-home:not(.js-ready) .nav-menu { position: static; flex-direction: row; flex-wrap: wrap; padding: 0; border: 0; }
  .premium-home:not(.js-ready) .nav-toggle { display: none !important; }
}
