* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Tahoma, sans-serif;
  background:
    radial-gradient(circle at top, #1a2455 0, #080b18 42%, #040610 100%);
  color: #f4f7ff;
}

a {
  color: inherit;
}

nav {
  min-height: 74px;
  padding: 18px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(4,6,16,.8);
  backdrop-filter: blur(18px);
}

nav .links {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
}

.brand {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.5px;
}

main {
  width: min(1120px, 92%);
  margin: 60px auto;
}

.hero {
  min-height: 460px;
  display: grid;
  align-items: center;
}

.hero h1 {
  max-width: 800px;
  margin: 0 0 18px;
  font-size: clamp(45px, 7vw, 82px);
  line-height: .98;
}

.hero p {
  max-width: 720px;
  margin: 0 0 28px;
  color: #bac4e5;
  font-size: 20px;
  line-height: 1.7;
}

.card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: rgba(17,22,43,.88);
  box-shadow: 0 24px 70px rgba(0,0,0,.3);
}

.form-card {
  width: min(470px, 100%);
  margin: 0 auto;
}

label {
  display: block;
  margin: 17px 0 8px;
  color: #dbe2ff;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #394363;
  border-radius: 12px;
  outline: none;
  background: #080c1b;
  color: #fff;
  font-size: 16px;
}

input:focus {
  border-color: #7180ff;
  box-shadow: 0 0 0 3px rgba(113,128,255,.18);
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  margin-top: 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #786cff, #4f7cff);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.secondary {
  background: #202943;
}

.message {
  min-height: 24px;
  margin-top: 15px;
}

.error {
  color: #ff9d9d;
}

.success {
  color: #91f2ae;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.plan h2 {
  margin-top: 0;
}

.price {
  margin: 18px 0 4px;
  font-size: 40px;
  font-weight: 900;
}

.muted {
  color: #aeb8d6;
}

.account-row {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

@media (max-width: 850px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  nav {
    align-items: flex-start;
    gap: 15px;
  }

  nav .links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 14px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  main {
    margin-top: 35px;
  }
}

.link-button {
  appearance: none;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
}

.link-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

[hidden] {
  display: none !important;
}

/* Shared authenticated-user header */
.global-auth-user-menu {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.global-auth-user-name {
  max-width: 220px;
  overflow: hidden;
  color: var(--text, #f8fafc);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-auth-logout {
  appearance: none;
  cursor: pointer;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
}

.global-auth-logout:hover {
  opacity: 0.8;
}

.global-auth-logout:disabled {
  cursor: wait;
  opacity: 0.55;
}

@media (max-width: 700px) {
  .global-auth-user-menu {
    gap: 9px;
  }

  .global-auth-user-name {
    max-width: 120px;
  }
}

/* Global authenticated header alignment */
nav .links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.global-auth-user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.global-auth-user-name {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.global-auth-user-menu a,
.global-auth-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  vertical-align: middle;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.global-auth-user-menu a:hover,
.global-auth-logout:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.65);
  background: rgba(45, 212, 191, 0.14);
}

.global-auth-logout {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
}

.global-auth-logout:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}

@media (max-width: 700px) {
  nav .links,
  .global-auth-user-menu {
    flex-wrap: wrap;
  }

  .global-auth-user-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

nav .links .global-auth-user-menu {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

nav .links .global-auth-user-menu .global-auth-user-name,
nav .links .global-auth-user-menu a,
nav .links .global-auth-user-menu button.global-auth-logout {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 15px !important;
  margin: 0 !important;
  border: 1px solid rgba(45, 212, 191, 0.45) !important;
  border-radius: 10px !important;
  color: #f8fafc !important;
  background: rgba(15, 118, 110, 0.18) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  vertical-align: middle !important;
}

nav .links .global-auth-user-menu a:hover,
nav .links .global-auth-user-menu button.global-auth-logout:hover {
  border-color: #2dd4bf !important;
  background: rgba(45, 212, 191, 0.3) !important;
  transform: translateY(-1px);
}

nav .links .global-auth-user-menu button.global-auth-logout {
  appearance: none !important;
  cursor: pointer !important;
}


/* Dubora home and legal pages */
.nav-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 9px;
}

.legal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform .15s ease,
    border-color .15s ease,
    background .15s ease;
}

.privacy-link {
  color: #bdf9ee;
  border-color: rgba(45, 212, 191, .55);
  background: rgba(13, 148, 136, .2);
}

.terms-link {
  color: #ffe3a3;
  border-color: rgba(251, 191, 36, .55);
  background: rgba(217, 119, 6, .2);
}

.legal-link:hover,
.legal-link.active {
  transform: translateY(-1px);
}

.privacy-link:hover,
.privacy-link.active {
  border-color: #2dd4bf;
  background: rgba(13, 148, 136, .36);
}

.terms-link:hover,
.terms-link.active {
  border-color: #fbbf24;
  background: rgba(217, 119, 6, .36);
}

.hero-kicker,
.legal-kicker {
  margin-bottom: 15px;
  color: #78f2dd;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
}

.language-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
}

.language-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(129, 140, 248, .48);
  border-radius: 999px;
  color: #e6e9ff;
  background: rgba(79, 70, 229, .18);
  font-size: 14px;
  font-weight: 800;
}

.persian-chip {
  border-color: rgba(45, 212, 191, .6);
  color: #bdf9ee;
  background: rgba(13, 148, 136, .24);
}

.language-arrow {
  color: #fbbf24;
  font-size: 26px;
  font-weight: 900;
}

.hero-note {
  max-width: 680px !important;
  margin-bottom: 8px !important;
  color: #8f9abd !important;
  font-size: 16px !important;
}

.legal-page {
  width: min(920px, 92%);
  margin-top: 45px;
  margin-bottom: 70px;
}

.legal-card {
  padding: clamp(26px, 5vw, 54px);
}

.legal-card h1 {
  margin: 0 0 10px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1;
}

.legal-card h2 {
  margin: 34px 0 10px;
  color: #f5f7ff;
  font-size: 22px;
}

.legal-card p {
  color: #bac4e5;
  font-size: 16px;
  line-height: 1.8;
}

.legal-updated {
  margin-bottom: 30px;
  color: #8f9abd !important;
  font-size: 14px !important;
}

.support-email {
  display: inline-flex;
  padding: 11px 15px;
  border: 1px solid rgba(45, 212, 191, .55);
  border-radius: 10px;
  color: #bdf9ee;
  background: rgba(13, 148, 136, .2);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1050px) {
  nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-left {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 620px) {
  .nav-left {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .legal-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .legal-link {
    flex: 1 1 auto;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }
}


/* DUBORA_HOME_OLD_STYLE_V2 */

.dubora-home {
  --home-bg:#070913;
  --home-surface:rgba(18,23,45,.78);
  --home-text:#f4f7ff;
  --home-muted:#aeb8d3;
  --home-cyan:#45e9ff;
  --home-blue:#6575ff;
  --home-purple:#b76cff;
  --home-line:rgba(128,150,255,.20);
  --home-success:#68f2bc;

  margin:0;
  min-height:100vh;

  color:var(--home-text);

  background:
    radial-gradient(
      circle at 85% -10%,
      rgba(101,117,255,.25),
      transparent 34rem
    ),
    radial-gradient(
      circle at 5% 30%,
      rgba(69,233,255,.12),
      transparent 30rem
    ),
    var(--home-bg);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}


.dubora-home .home-nav {
  position:sticky;
  top:0;
  z-index:50;

  min-height:76px;
  padding:0;

  border-bottom:1px solid var(--home-line);

  background:rgba(7,9,19,.86);

  backdrop-filter:blur(18px);
}


.dubora-home .home-nav-inner {
  width:min(1120px,calc(100% - 40px));
  min-height:76px;

  margin-inline:auto;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:24px;
}


.dubora-home .nav-left {
  display:flex;
  align-items:center;
  gap:25px;
}


.dubora-home .home-brand {
  display:inline-flex;
  align-items:center;
  gap:11px;

  color:#fff;

  text-decoration:none;

  font-size:1.18rem;
  font-weight:800;
}


.dubora-home .home-brand img {
  width:44px;
  height:44px;

  object-fit:contain;

  border-radius:12px;

  box-shadow:
    0 0 30px rgba(69,233,255,.30),
    0 0 45px rgba(183,108,255,.16);
}


.dubora-home .legal-links {
  display:flex;
  align-items:center;
  gap:16px;
}


.dubora-home .legal-link {
  font-size:.84rem;
  font-weight:700;

  text-decoration:none;
}


.dubora-home .privacy-link {
  color:#45e9ff;
}


.dubora-home .terms-link {
  color:#c88aff;
}


.dubora-home .home-main {
  width:100%;
  margin:0;
}


.dubora-home .home-hero {
  width:min(1120px,calc(100% - 40px));

  min-height:calc(100vh - 76px);

  margin-inline:auto;
  padding:84px 0;

  display:grid;
  grid-template-columns:1.06fr .94fr;
  align-items:center;

  gap:64px;
}


.dubora-home .home-eyebrow {
  width:max-content;

  display:inline-flex;
  align-items:center;
  gap:9px;

  padding:7px 12px;
  margin:0 0 22px;

  border:1px solid rgba(69,233,255,.25);
  border-radius:999px;

  color:var(--home-cyan);

  background:rgba(69,233,255,.06);

  font-size:.78rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}


.dubora-home .home-eyebrow::before {
  content:"";

  width:7px;
  height:7px;

  border-radius:50%;

  background:var(--home-success);

  box-shadow:0 0 14px var(--home-success);
}


.dubora-home .home-hero h1 {
  max-width:760px;

  margin:0;

  font-size:clamp(3.3rem,7vw,6.4rem);
  line-height:1.02;
  letter-spacing:-.05em;
}


.dubora-home .home-gradient {
  color:transparent;

  background:
    linear-gradient(
      112deg,
      var(--home-cyan),
      #9faaff 50%,
      var(--home-purple)
    );

  background-clip:text;
  -webkit-background-clip:text;
}


.dubora-home .home-lead {
  max-width:650px;

  margin:26px 0 0;

  color:var(--home-muted);

  font-size:clamp(1.05rem,2vw,1.28rem);
  line-height:1.7;
}


.dubora-home .language-flow {
  display:flex;
  flex-wrap:wrap;
  align-items:center;

  gap:8px;

  margin-top:27px;
}


.dubora-home .language-chip {
  padding:7px 11px;

  border:1px solid var(--home-line);
  border-radius:999px;

  color:#dce5ff;

  background:rgba(255,255,255,.035);

  font-size:.82rem;
  font-weight:700;
}


.dubora-home .persian-chip {
  color:#080b18;

  border-color:transparent;

  background:
    linear-gradient(
      110deg,
      var(--home-cyan),
      #9b9eff
    );
}


.dubora-home .language-arrow {
  padding:0 3px;

  color:var(--home-cyan);

  font-size:1.2rem;
}


.dubora-home .home-actions {
  display:flex;
  flex-wrap:wrap;

  gap:14px;

  margin-top:32px;
}


.dubora-home .home-actions .button {
  margin:0;

  min-height:50px;

  padding:0 22px;

  border-radius:14px;
}


.dubora-home .primary-home {
  color:#070913;

  border-color:transparent;

  background:
    linear-gradient(
      110deg,
      var(--home-cyan),
      #8f94ff
    );

  box-shadow:
    0 14px 38px rgba(69,233,255,.18);
}


.dubora-home .secondary-home {
  border:1px solid var(--home-line);

  color:#fff;

  background:rgba(255,255,255,.035);
}


.dubora-home .dubora-product-card {
  position:relative;

  padding:30px;

  overflow:hidden;

  border:1px solid rgba(121,143,255,.24);
  border-radius:30px;

  background:
    linear-gradient(
      145deg,
      rgba(26,34,68,.96),
      rgba(11,15,33,.94)
    );

  box-shadow:
    0 28px 90px rgba(0,0,0,.45);
}


.dubora-home .dubora-product-card::after {
  content:"";

  position:absolute;

  width:210px;
  height:210px;

  top:-90px;
  right:-90px;

  border-radius:50%;

  background:rgba(183,108,255,.18);

  filter:blur(30px);

  pointer-events:none;
}


.dubora-home .dubora-product-top {
  position:relative;
  z-index:2;

  display:flex;
  align-items:center;

  gap:18px;
}


.dubora-home .dubora-product-top img {
  width:92px;
  height:92px;

  object-fit:contain;

  border-radius:24px;

  box-shadow:
    0 0 28px rgba(69,233,255,.26),
    0 0 45px rgba(183,108,255,.15);
}


.dubora-home .dubora-product-top h2 {
  margin:0 0 4px;

  font-size:1.9rem;
}


.dubora-home .dubora-product-top p {
  margin:0;

  color:var(--home-muted);
}


.dubora-home .dubora-wave {
  height:130px;

  display:flex;
  align-items:center;
  justify-content:center;

  gap:6px;

  margin:28px 0;

  border:1px solid var(--home-line);
  border-radius:20px;

  background:rgba(4,7,18,.56);
}


.dubora-home .dubora-wave i {
  display:block;

  width:6px;
  height:var(--h);

  border-radius:999px;

  background:
    linear-gradient(
      var(--home-cyan),
      var(--home-purple)
    );

  box-shadow:
    0 0 14px rgba(69,233,255,.22);

  animation:
    duboraWave 1.45s ease-in-out infinite alternate;
}


.dubora-home .dubora-wave i:nth-child(2n) {
  animation-delay:-.5s;
}


.dubora-home .dubora-wave i:nth-child(3n) {
  animation-delay:-.9s;
}


@keyframes duboraWave {
  from {
    transform:scaleY(.6);
    opacity:.72;
  }

  to {
    transform:scaleY(1);
    opacity:1;
  }
}


.dubora-home .dubora-status {
  position:relative;
  z-index:2;

  display:flex;
  justify-content:space-between;

  gap:18px;

  color:var(--home-muted);

  font-size:.88rem;
}


.dubora-home .dubora-status strong {
  color:var(--home-success);
}


.dubora-home .chrome-store-button {
  position:relative;
  z-index:2;

  width:100%;

  display:flex;
  align-items:center;
  justify-content:center;

  min-height:48px;

  margin-top:24px;
  padding:0 18px;

  border:1px solid rgba(69,233,255,.25);
  border-radius:14px;

  color:#e7fbff;

  background:rgba(69,233,255,.07);

  text-decoration:none;

  font-weight:800;
}


.dubora-home .chrome-store-button:hover {
  border-color:rgba(69,233,255,.65);

  background:rgba(69,233,255,.12);
}


.dubora-home .home-section {
  padding:90px max(20px,calc((100% - 1120px)/2));

  border-top:1px solid var(--home-line);

  background:rgba(255,255,255,.018);
}


.dubora-home .home-section-heading {
  max-width:720px;

  margin-bottom:38px;
}


.dubora-home .home-section-heading h2 {
  margin:0;

  font-size:clamp(2.2rem,5vw,4rem);
  line-height:1.1;
}


.dubora-home .home-grid {
  display:grid;

  grid-template-columns:repeat(3,1fr);

  gap:18px;
}


.dubora-home .home-card {
  padding:25px;

  border:1px solid var(--home-line);
  border-radius:20px;

  background:var(--home-surface);
}


.dubora-home .home-card h3 {
  margin:18px 0 10px;
}


.dubora-home .home-card p {
  margin:0;

  color:var(--home-muted);

  line-height:1.65;
}


.dubora-home .home-number {
  display:inline-grid;
  place-items:center;

  width:38px;
  height:38px;

  border-radius:12px;

  color:#070913;

  background:
    linear-gradient(
      120deg,
      var(--home-cyan),
      #a6a8ff
    );

  font-weight:900;
}


.dubora-home .home-footer {
  padding:34px 20px;

  border-top:1px solid var(--home-line);

  color:var(--home-muted);

  background:#050711;
}


.dubora-home .home-footer-inner {
  width:min(1120px,100%);

  margin:auto;

  display:flex;
  justify-content:space-between;
  align-items:center;

  gap:25px;
}


.dubora-home .home-footer-inner div {
  display:flex;
  flex-wrap:wrap;

  gap:18px;
}


.dubora-home .home-footer a {
  color:var(--home-muted);

  text-decoration:none;
}


.dubora-home .home-footer a:hover {
  color:var(--home-cyan);
}


@media(max-width:850px) {

  .dubora-home .home-hero {
    grid-template-columns:1fr;

    padding:60px 0;
  }


  .dubora-home .dubora-product-card {
    max-width:620px;
  }


  .dubora-home .home-grid {
    grid-template-columns:1fr;
  }

}


@media(max-width:700px) {

  .dubora-home .home-nav-inner {
    align-items:flex-start;

    padding:14px 0;
  }


  .dubora-home .nav-left {
    align-items:flex-start;
    flex-direction:column;

    gap:8px;
  }


  .dubora-home .legal-links {
    gap:10px;
  }


  .dubora-home .home-nav .links {
    flex-wrap:wrap;
    justify-content:flex-end;
  }

}


@media(max-width:560px) {

  .dubora-home .home-nav-inner,
  .dubora-home .home-hero {
    width:min(calc(100% - 28px),1120px);
  }


  .dubora-home .home-hero h1 {
    font-size:clamp(3rem,14vw,4.5rem);
  }


  .dubora-home .dubora-status {
    flex-direction:column;

    gap:5px;
  }


  .dubora-home .dubora-product-card {
    padding:22px;
  }


  .dubora-home .dubora-product-top img {
    width:72px;
    height:72px;
  }


  .dubora-home .home-footer-inner {
    align-items:flex-start;
    flex-direction:column;
  }

}


@media(prefers-reduced-motion:reduce) {

  .dubora-home .dubora-wave i {
    animation:none;
  }

}


/* CHROME_HIGHLIGHT_V1 */
.dubora-home .chrome-highlight {
  color: #ffe85a;
  font-weight: 800;
  text-shadow:
    0 0 8px rgba(255, 232, 90, 0.45),
    0 0 16px rgba(255, 214, 0, 0.18);
}


/* HEADER_OUTLINE_LINKS_V1 */
.dubora-home .home-nav .header-outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(69, 233, 255, 0.42);
  border-radius: 10px;
  background: rgba(69, 233, 255, 0.04);
  color: #eefcff;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform .15s ease,
    border-color .15s ease,
    background .15s ease,
    box-shadow .15s ease;
}

.dubora-home .home-nav .header-outline-link:hover {
  transform: translateY(-1px);
  border-color: rgba(69, 233, 255, 0.8);
  background: rgba(69, 233, 255, 0.10);
  box-shadow: 0 0 16px rgba(69, 233, 255, 0.18);
}
