@import url("./design-kit.css");

:root {
  --site-bg: #1c1e2a;
  --site-surface: #2e2f36;
  --site-surface-2: #444653;
  --site-text: #ffffff;
  --site-muted: rgba(255, 255, 255, 0.75);
  --site-primary: #ffdd64;
  --site-primary-dark: #2d2b27;
  --site-accent: #be84ff;
  --site-success: #4caf50;
  --content-max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(168.05deg, #0B0D11 0%, #15171F 100%);
  color: var(--site-text);
  font-family: "Poppins", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 30, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex!important;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.site-header .brand,
.simple-header .brand {
  font-size: var(--font-size-3xl);
}

.site-footer .brand {
  font-size: var(--font-size-3xl                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           );
}

.brand img {
  width: auto;
  height: 36px;
  object-fit: contain;
}

.main-nav {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0;
  background: #212431;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
  color: var(--site-muted);
  font-size: 14px;
}

.main-nav a {
  padding: 12px 20px;
}

.main-nav__cta {
  display: none;
}

.main-nav--open {
  display: flex;
}

.main-nav--open .main-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 10px 20px 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--site-primary);
  color: var(--site-primary-dark);
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--site-primary);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.site-header__burger {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 221, 100, 0.5);
  border-radius: 999px;
  background: transparent;
  color: var(--site-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.site-header__burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
}

.site-header__burger span::before,
.site-header__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.site-header__burger span::before {
  top: -5px;
}

.site-header__burger span::after {
  top: 5px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: var(--site-primary);
  color: var(--site-primary-dark);
}

.btn-primary:hover {
  background: #f4cb3a;
}

.btn-outline {
  border: 1px solid var(--site-primary);
  color: var(--site-primary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 221, 100, 0.14);
}

.hero {
  padding: 56px 0;
}

.hero-grid {
  display: grid;
  gap: 24px;
}

.hero-card {
  background: var(--site-surface);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.2;
}

.muted {
  color: var(--site-muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}

.section {
  padding: 48px 0;
}

.section h2 {
  margin: 0 0 12px;
}

.cards {
  display: grid;
  gap: 14px;
}

.card {
  background: var(--site-surface);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--site-surface);
  border-radius: 14px;
  overflow: hidden;
}

th,
td {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  text-align: left;
}

th {
  background: #3a3552;
}

.page-shell {
  padding: 36px 0 64px;
}

.center-shell {
  min-height: calc(100vh - 72px - 300px);
  display: flex;
  align-items: center;
}

.center-card {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  background: var(--site-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
}

.simple-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--site-bg);
}

label {
  display: block;
  font-size: 14px;
  color: var(--site-muted);
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--site-surface-2);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.row-2 {
  display: grid;
  gap: 12px;
}

.alert {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
}

.alert.error {
  display: none;
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #ffc8ce;
}

.success-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.25);
  border: 2px solid rgba(76, 175, 80, 0.8);
  color: #9bf2a0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 16px;
}

.site-footer {
  margin-top: 40px;
  background: var(--site-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.site-footer .container {
  padding-left: 20px;
  padding-right: 20px;
}

.footer-top {
  padding: 36px 0 22px;
  display: grid;
  gap: 20px;
}

.footer-col h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 15px;
}

.footer-col a {
  display: block;
  color: var(--site-muted);
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--site-primary);
}

.ssl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 221, 100, 0.35);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--site-primary);
  font-size: 13px;
  margin-top: 8px;
}

.ssl-badge::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10V8a5 5 0 0110 0v2' stroke='%23FFDD64' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='5' y='10' width='14' height='11' rx='2.5' stroke='%23FFDD64' stroke-width='2'/%3E%3Ccircle cx='12' cy='15.5' r='1.4' fill='%23FFDD64'/%3E%3Cpath d='M12 16.9v2.1' stroke='%23FFDD64' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.footer-disclaimer {
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0 24px;
}

.footer-disclaimer__title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.footer-disclaimer p {
  margin: 0;
}

.copyright {
  margin-top: 10px;
  font-size: 12px;
}

/* Contact page: app-style form + details cards */
.contact-page__form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.contact-page__form .dk-form-group {
  margin-bottom: 14px;
}

.contact-page__form .dk-label {
  color: var(--site-muted);
}

.contact-page__form .dk-input,
.contact-page__form .dk-textarea {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.contact-page__form .dk-input:focus,
.contact-page__form .dk-textarea:focus {
  border-bottom-color: var(--site-primary);
}

.contact-details-grid {
  display: grid;
  gap: 12px;
}

.contact-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(68, 70, 83, 0.55) 0%, rgba(46, 47, 54, 0.75) 100%);
}

.contact-detail-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--site-primary);
  background: rgba(255, 221, 100, 0.12);
  border: 1px solid rgba(255, 221, 100, 0.35);
}

.contact-detail-card__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.contact-detail-card h3 {
  margin: 0 0 6px;
}

.contact-detail-card p {
  margin: 0;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 20px;
    background: transparent;
    border-bottom: 0;
    padding: 0;
  }

  .main-nav a {
    display: inline-flex;
    padding: 0;
    white-space: nowrap;
  }

  .main-nav__cta {
    display: none !important;
  }

  .site-header__burger {
    display: none;
  }

  .header-actions {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }

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