/* ============================================================
   STYLE.CSS - COMMON STYLES FOR ALL PAGES
   ============================================================ */

/* ============================================================
   GENERAL RESET & BASE
   ============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: #ffffff;
  color: #1a1a2e;
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0;
}

p,
span,
li,
td,
label,
input,
button,
a {
  line-height: 1.45;
}

/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
  --storix-ink: #151526;
  --storix-muted: #526174;
  --storix-line: #e5eaf1;
  --storix-soft: #f7f9fc;
  --storix-yellow: #ffd30e;
  --storix-yellow-deep: #e8b900;
  --storix-shadow-sm: 0 8px 24px rgba(21, 21, 38, 0.07);
  --storix-shadow-md: 0 18px 42px rgba(21, 21, 38, 0.1);
}

/* ============================================================
   CONTAINERS
   ============================================================ */
.container-fluid-custom {
  width: 100%;
  padding-right: 40px;
  padding-left: 40px;
  margin-right: auto;
  margin-left: auto;
}

.container-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   NAVBAR (COMMON)
   ============================================================ */
.navbar-custom {
  background-color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(21, 21, 38, 0.055);
  padding: 14px 0;
}

.navbar-custom .navbar-brand {
  font-weight: 700;
  font-size: 1.7rem !important;
  color: #1a1a2e !important;
  letter-spacing: -0.3px;
}

.navbar-custom .navbar-brand i {
  color: #ffd30e;
  margin-right: 4px;
}

.navbar-custom .nav-link {
  color: #2d2d3f !important;
  font-weight: 500;
  font-size: 0.96rem !important;
  padding: 8px 18px !important;
  transition: color 0.2s;
  border-radius: 999px;
}

.navbar-custom .nav-link:hover {
  color: #ffd30e !important;
  background: #fff8d8;
}

.navbar-custom .nav-link.active {
  color: #1a1a2e !important;
  background: #fff4bf;
}

.uae-badge {
  background: #f0f4f8;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.95rem !important;
  font-weight: 500;
  color: #1a1a2e;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.uae-badge i {
  color: #ffd30e;
}

.btn-login {
  color: #1a1a2e !important;
  font-weight: 600;
  font-size: 0.95rem !important;
  padding: 8px 20px !important;
  border-radius: 50px;
  transition: background 0.2s;
}

.btn-login:hover {
  background: #f5f5f5;
}

.btn-getstarted {
  background-color: #ffd30e;
  border: none;
  color: #1a1a2e !important;
  font-weight: 600;
  font-size: 0.96rem !important;
  padding: 12px 32px !important;
  border-radius: 50px;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  box-shadow: 0 8px 20px rgba(21, 21, 38, 0.06);
}

.btn-getstarted:hover {
  background-color: #f5c000;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 211, 14, 0.26);
  color: #1a1a2e !important;
}

.btn-hero-secondary {
  border: 2px solid #e0e0e0;
  color: #1a1a2e;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.96rem !important;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  min-height: 44px;
  box-shadow: 0 8px 20px rgba(21, 21, 38, 0.06);
}

.btn-hero-secondary:hover {
  background: #f8f8f8;
  border-color: #c0c0c0;
  color: #1a1a2e;
}

/* ============================================================
   STORAGE STEPS (COMMON)
   ============================================================ */
.storage-steps {
  display: flex;
  align-items: center;
  width: 100%;
  background: #ffffff;
  padding: 8px 0;
  gap: 0;
}

.storage-step {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  position: relative;
}

.storage-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  width: 1px;
  height: 48px;
  background: #e3e6ea;
}

.step-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #fff3a8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  font-size: 18px;
  border: 1px solid rgba(232, 185, 0, 0.28);
  background: linear-gradient(180deg, #fffdf0, #fff4b8);
}

.step-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-title {
  color: #1a1a2e;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 3px;
}

.step-desc {
  color: #5b6675;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.3;
}

/* ============================================================
   TRUST ROW (COMMON)
   ============================================================ */
.trust-row {
  background: #ffffff;
  padding: 0;
  margin: 30px 0 10px 0;
  border-radius: 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border: 1px solid #d0d7e0;
  overflow: hidden;
  border-radius: 16px;
  padding: 0;
  margin: 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.4rem 0.8rem;
  background: #ffffff;
  border-left: 1px solid #d0d7e0;
  min-height: 190px;
  justify-content: center;
  flex: 1 1 0;
}

.trust-items .trust-item:first-of-type {
  border-left: none;
}

.trust-item .icon-circle {
  width: 4.5rem;
  height: 4.5rem;
  background: #f0f4fa;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #1a1a2e;
  margin-bottom: 0.8rem;
  border: 1px solid #e2e8f0;
  transition: background 0.2s;
}

.trust-item:hover .icon-circle {
  background: #ffd30e;
  border-color: #e8c20a;
}

.trust-item .title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.trust-item .desc {
  font-size: 0.9rem;
  color: #4a5a6e;
  font-weight: 400;
  line-height: 1.4;
  max-width: 170px;
  margin: 0 auto;
}

.trust-item.rating {
  align-items: flex-start;
  text-align: start;
  padding-left: 1.8rem;
  padding-right: 1.8rem;
  flex: 1.5 1 0;
  min-width: 200px;
}

.trust-item.rating .rating-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.trust-item.rating .rating-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 0.1rem;
}

.trust-item.rating .stars {
  display: flex;
  gap: 3px;
  margin: 0.1rem 0;
}

.trust-item.rating .stars i {
  font-size: 0.9rem;
  color: #f5b342;
}

.trust-item.rating .rating-score {
  font-size: 0.95rem;
  font-weight: 500;
  color: #3a4a5e;
  margin-top: 0.1rem;
}

/* ============================================================
   FOOTER (COMMON)
   ============================================================ */
.site-footer {
  background: #151526;
  color: #ffffff;
  padding: 44px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd30e;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.site-footer h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffd30e;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 28px;
  padding-top: 16px;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1.5rem;
}
.mt-5 {
  margin-top: 3rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mb-5 {
  margin-bottom: 3rem;
}
.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.d-flex {
  display: flex;
}
.align-items-center {
  align-items: center;
}
.justify-content-center {
  justify-content: center;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.flex-wrap {
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE (COMMON)
   ============================================================ */
@media (max-width: 1200px) {
  .container-fluid-custom {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (max-width: 992px) {
  .navbar-custom .nav-link {
    padding: 10px 0 !important;
  }

  .uae-badge {
    margin: 10px 0;
  }

  .btn-login,
  .btn-getstarted {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin: 5px 0;
  }

  .trust-item {
    border-left: none !important;
    border-top: 1px solid #d0d7e0;
    min-height: 150px;
    padding: 1.2rem 0.8rem;
    flex: 1 1 50%;
  }

  .trust-items .trust-item:first-of-type {
    border-top: none;
  }

  .trust-item.rating {
    flex: 1 1 100%;
    border-top: none !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    min-height: 130px;
  }

  .trust-item.rating .stars i {
    font-size: 0.85rem;
  }

  .storage-step {
    padding: 12px 16px;
    gap: 10px;
  }

  .step-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 16px;
  }

  .step-title {
    font-size: 0.9rem;
  }

  .step-desc {
    font-size: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .storage-steps {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .storage-step {
    flex: 1 1 50%;
    padding: 10px 14px;
  }

  .storage-step:nth-child(2)::after {
    display: none;
  }

  .trust-item {
    flex: 1 1 50%;
    min-height: 140px;
    padding: 1rem 0.6rem;
    border-top: 1px solid #d0d7e0;
  }

  .trust-item.rating {
    flex: 1 1 100%;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    min-height: 120px;
  }

  .trust-item .icon-circle {
    width: 3.8rem;
    height: 3.8rem;
    font-size: 1.7rem;
  }

  .trust-item .title {
    font-size: 0.95rem;
  }

  .trust-item .desc {
    font-size: 0.82rem;
    max-width: 140px;
  }

  .trust-item.rating .rating-title {
    font-size: 0.95rem;
  }

  .trust-item.rating .stars i {
    font-size: 0.75rem;
  }

  .trust-item.rating .rating-score {
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .storage-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 20px !important;
  }

  .storage-step {
    padding: 12px 8px;
    gap: 8px;
    flex: 1 1 auto;
  }

  .storage-step:not(:last-child)::after {
    height: 35px;
    top: 12px;
  }

  .storage-step:nth-child(2)::after {
    display: none;
  }

  .storage-step:nth-child(3)::after {
    display: block;
  }

  .step-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 14px;
  }

  .step-title {
    font-size: 0.8rem;
  }

  .step-desc {
    font-size: 0.7rem;
    white-space: normal;
  }

  .trust-item {
    flex: 1 1 100%;
    min-height: 120px;
    padding: 0.8rem 0.5rem;
    border-top: 1px solid #d0d7e0;
  }

  .trust-item.rating {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    min-height: 110px;
  }

  .trust-item .icon-circle {
    width: 3.4rem;
    height: 3.4rem;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .trust-item .title {
    font-size: 0.9rem;
  }

  .trust-item .desc {
    font-size: 0.78rem;
    max-width: 100%;
  }

  .trust-item.rating .rating-title {
    font-size: 0.88rem;
  }

  .trust-item.rating .stars i {
    font-size: 0.7rem;
  }

  .trust-item.rating .rating-score {
    font-size: 0.8rem;
  }

  .trust-items {
    border-radius: 10px;
  }

  .container-fluid-custom {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-width: 400px) {
  .navbar-custom .navbar-brand {
    font-size: 1.4rem !important;
  }

  .storage-step {
    padding: 10px 6px;
  }

  .step-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 12px;
  }

  .step-title {
    font-size: 0.75rem;
  }

  .step-desc {
    font-size: 0.65rem;
  }

  .trust-item {
    min-height: 105px;
    padding: 0.6rem 0.4rem;
  }

  .trust-item .icon-circle {
    width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
  }

  .trust-item .title {
    font-size: 0.82rem;
  }

  .trust-item .desc {
    font-size: 0.72rem;
  }

  .trust-item.rating .rating-title {
    font-size: 0.82rem;
  }

  .trust-item.rating .stars i {
    font-size: 0.6rem;
  }

  .trust-item.rating .rating-score {
    font-size: 0.75rem;
  }
}
