:root {
  --primary-blue: #0a6ebd;
  --secondary-blue: #00d4c8;
  --dark-bg: #0b1f3a;
  --light-bg: #f2f7fb;
  --accent-orange: #ff6a3d;
  --text-main: #1c2a3a;
  --text-light: #5a6b7d;
  --gold: #f1c40f;
  --coral: #e88a7a;
  --navy: #0d4f8b;
  --live: #00c2b5;
}

* { box-sizing: border-box; }

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-main);
  background: #fff;
  line-height: 1.8;
  overflow-x: hidden;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(8px);
  color: #fff;
}

.site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand span { color: var(--secondary-blue); }

.brand-365 {
  display: inline-block;
  margin-right: 6px;
  font-size: 0.72em;
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: 0.02em;
  vertical-align: super;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 212, 200, 0.18);
  border: 1px solid rgba(0, 212, 200, 0.45);
  color: #b8fff8;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}

.brand-tagline {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.55;
}

.footer-tagline {
  margin-top: 8px;
  opacity: 0.88;
  font-size: 0.92rem;
}

.nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav a {
  text-decoration: none;
  opacity: 0.9;
  font-weight: 600;
}
.nav a:hover { opacity: 1; color: var(--secondary-blue); }

.nav .buy {
  background: var(--accent-orange);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
}

.account-btn {
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}

.lang-btn.active {
  background: var(--secondary-blue);
  color: #0b1f3a;
}

html[dir="ltr"] body {
  text-align: left;
}

html[dir="ltr"] .site-header .inner,
html[dir="ltr"] .nav,
html[dir="ltr"] .feature-list li,
html[dir="ltr"] .check-list,
html[dir="ltr"] .price-block {
  direction: ltr;
}

html[dir="ltr"] .feature-list li,
html[dir="ltr"] .check-list li {
  text-align: left;
}

html[dir="ltr"] .order-wrap ul,
html[dir="ltr"] .pricing-hero,
html[dir="ltr"] .cloud-hero-title,
html[dir="ltr"] .subtitle {
  text-align: left;
}

html[dir="ltr"] .hero .container,
html[dir="ltr"] .pricing-hero .container {
  text-align: center;
}

html[dir="ltr"] .text-center {
  text-align: center !important;
}

.account-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--secondary-blue);
  color: var(--secondary-blue);
}

@media (max-width: 720px) {
  .site-header .inner {
    flex-wrap: wrap;
  }
  .account-btn {
    order: 3;
  }
}

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

.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10, 28, 58, 0.72) 0%, rgba(14, 55, 110, 0.55) 45%, rgba(10, 28, 58, 0.82) 100%),
    url("/assets/hero-devices-cloud.png") center / cover no-repeat;
  color: #fff;
  padding: 88px 0 48px;
  text-align: center;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-devices-caption {
  margin: 28px auto 0;
  max-width: 760px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
  color: #e8f4ff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.cloud-hero-title {
  text-align: center;
  direction: rtl;
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.45);
}

.cloud-hero-title .highlight {
  background: linear-gradient(135deg, #00c3ff 0%, #4facfe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-top: 10px;
}

.hero p.subtitle {
  font-size: 1.35rem;
  max-width: 820px;
  margin: 0 auto 30px;
  opacity: 0.92;
}

.cta-button {
  display: inline-block;
  background: var(--accent-orange);
  color: #fff;
  font-size: 1.35rem;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 25px rgba(255, 107, 107, 0.55);
}

.threat-section {
  background: var(--secondary-blue);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}

.threat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.threat-card {
  background: #fff;
  color: var(--primary-blue);
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  font-size: 1.1rem;
}

.content-section { padding: 80px 0; }
.content-section.light { background: var(--light-bg); }
.text-center { text-align: center; }

.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.flex-half { flex: 1; min-width: 280px; }

ul.check-list { list-style: none; padding: 0; margin: 0; }
ul.check-list li {
  position: relative;
  padding-right: 35px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}
ul.check-list li::before {
  content: "✔";
  position: absolute;
  right: 0;
  top: 0;
  color: #27ae60;
  font-size: 1.4rem;
  font-weight: bold;
}

.table-responsive { overflow-x: auto; margin-top: 40px; }

table.comparison {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}

table.comparison th,
table.comparison td {
  padding: 18px 16px;
  border-bottom: 1px solid #eee;
}

table.comparison th {
  background: var(--primary-blue);
  color: #fff;
  font-size: 1.1rem;
}

table.comparison th:first-child,
table.comparison td:first-child {
  text-align: right;
}

table.comparison th:first-child { background: var(--dark-bg); }
table.comparison td:first-child {
  font-weight: bold;
  background: #fafafa;
}

.check { color: var(--primary-blue); font-weight: bold; font-size: 1.4rem; }
.cross { color: #e74c3c; font-weight: bold; font-size: 1.4rem; }

.faq-item {
  background: #fff;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border-right: 4px solid var(--primary-blue);
}

.faq-item h4 {
  margin-top: 0;
  color: var(--primary-blue);
  font-size: 1.15rem;
}

/* Pricing */
.pricing-hero {
  background: linear-gradient(135deg, #eef3f8, #f7f9fc);
  padding: 50px 0 20px;
  text-align: center;
}

.pricing-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 10px;
  color: var(--dark-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 30px 0 70px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(20, 40, 80, 0.08);
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #e8eef5;
}

.price-card.recommended {
  border: 3px solid var(--navy);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(26, 79, 139, 0.18);
}

.rec-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pkg-badge {
  display: inline-block;
  align-self: flex-start;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.price-card h2 {
  font-size: 1.15rem;
  line-height: 1.45;
  margin: 0 0 16px;
  min-height: 3.2em;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  flex: 1;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.feature-list .ico {
  width: 22px;
  flex: 0 0 22px;
  text-align: center;
}

.pkg-visual {
  margin: 4px 0 14px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef3f8;
  border: 1px solid #e2eaf2;
  line-height: 0;
  aspect-ratio: 16 / 9;
}

.pkg-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.price-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0 16px;
}

.price-was {
  text-decoration: line-through;
  color: #999;
  font-size: 1.05rem;
}

.price-now {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark-bg);
  line-height: 1;
}

.price-now small {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
}

.discount-pill {
  background: #e74c3c;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.buy-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 16px;
  border-radius: 10px;
  transition: filter 0.2s, transform 0.2s;
}

.buy-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.cta-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
}

.promo-365-banner {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 24px auto 28px;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: linear-gradient(90deg, #ff6e28 0%, #1a2f66 100%);
}

.promo-365-banner img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

.promo-365-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

@media (max-width: 720px) {
  .promo-365-banner {
    margin: 16px 0 20px;
    border-radius: 10px;
  }
  .promo-365-banner img {
    height: auto;
    max-height: none;
  }
}

.home-promo-band {
  background: linear-gradient(180deg, #fff7f0 0%, #fff 100%);
  padding: 8px 0 4px;
}

/* 9:16 Reels rails on homepage sides */
.reels-promo {
  position: relative;
  background: linear-gradient(180deg, #0b1f44 0%, #143a6b 45%, #f4f7f6 45%, #f4f7f6 100%);
  padding: 28px 12px 40px;
  overflow: hidden;
}

.reels-layout {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) minmax(120px, 180px);
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}

.reels-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 88px;
}

.reel-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #0a1630;
  aspect-ratio: 9 / 16;
}

.reel-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.reel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reels-center {
  color: #fff;
  padding: 12px 8px 8px;
}

.reels-center .container.narrow {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.reels-center h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.reels-center p {
  margin: 0 auto 22px;
  font-size: 1.08rem;
  line-height: 1.7;
  opacity: 0.95;
  max-width: 36em;
}

.reels-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
}

.cta-button.cta-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #fff !important;
}

.cta-button.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.reels-mobile-strip {
  display: none;
}

@media (max-width: 980px) {
  .reels-layout {
    grid-template-columns: 1fr;
  }
  .reels-rail {
    display: none;
  }
  .reels-promo {
    background: linear-gradient(180deg, #0b1f44 0%, #1a4f8b 100%);
    padding-bottom: 28px;
  }
  .reels-mobile-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
  }
  .reels-mobile-strip a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }
  .reels-mobile-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Order form */
.order-wrap {
  max-width: 640px;
  margin: 40px auto 80px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(20, 40, 80, 0.08);
  padding: 28px;
  border: 1px solid #e8eef5;
}

.order-wrap h1 { margin-top: 0; color: var(--dark-bg); }
.order-summary {
  background: #f4f8fc;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.form-row { margin-bottom: 14px; }
.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d2dce6;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
}

.form-row textarea { min-height: 90px; resize: vertical; }

.site-footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.85);
  padding: 28px 0;
  text-align: center;
  font-size: 0.95rem;
}

.site-footer a { color: var(--secondary-blue); }

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.recommended { transform: none; }
  .cloud-hero-title { font-size: 2.1rem; }
}
