*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent: #38bdf8;
  --accent2: #0ea5e9;
  --muted: rgba(255, 255, 255, 0.45);
  --card-bg: #0f1c2e;
  --glass-border: rgba(56, 189, 248, 0.15);
}

body {
  min-height: 100vh;
  background: linear-gradient(-45deg, #0f172a, #0b1f3a, #0f172a, #112240);
  background-size: 400% 400%;
  animation: gradMove 12s ease infinite;
  color: white;
  font-family: "Inter", "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
}

@keyframes gradMove {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden {
  display: none !important;
}

/* ── NAV ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.7);
  animation: fadeInDown 0.5s ease-out;
}
.logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.nav-logo {
  height: 32px;
  width: auto;
}

.logo span:first-child {
  color: white !important;
}
.logo span:last-child {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: 0.25s;
}
.btn-back:hover {
  background: rgba(56, 189, 248, 0.15);
  transform: translateX(-3px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.2);
}

/* ── MAIN ── */
main {
  flex: 1;
  padding: 50px 60px 80px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* ── BRAND HEADER ── */
.brand-header {
  text-align: center;
  margin-bottom: 48px;
  animation: fadeInUp 0.7s ease-out;
}

.brand-logo-container {
  width: 300px;
  height: 300px;
  margin: 0 auto 24px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
  transition: transform 0.5s ease;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.brand-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.brand-header h1 span:first-child {
  color: white;
}

.brand-header h1 span:nth-child(2) {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

.brand-header p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── LAYOUT ── */
.brand-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
  animation: fadeInUp 0.7s ease-out 0.1s backwards;
}

/* ── BRAND CARD ── */
.brand-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.brand-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  background: rgba(56, 189, 248, 0.05);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.brand-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.brand-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.brand-section p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── VALUES GRID ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.value-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(56, 189, 248, 0.1);
  border-radius: 16px;
  transition: 0.25s;
}

.value-item:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.05);
  transform: translateY(-2px);
}

.value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.value-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.value-item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ── GUIDELINES LIST ── */
.guidelines-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.guideline-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(56, 189, 248, 0.1);
  border-radius: 16px;
  transition: 0.25s;
}

.guideline-item:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.05);
}

.guideline-number {
  width: 40px;
  height: 40px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

.guideline-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: white;
}

.guideline-content p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ── SIDEBAR ── */
.info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: 0.25s;
  animation: fadeInUp 0.7s ease-out backwards;
}
.info-card:nth-child(1) {
  animation-delay: 0.15s;
}
.info-card:nth-child(2) {
  animation-delay: 0.25s;
}
.info-card:nth-child(3) {
  animation-delay: 0.35s;
}
.info-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.03);
}

.info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.info-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.info-card p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ── CONTACT SECTION ── */
.contact-section {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 18px 20px;
  animation: fadeInUp 0.7s ease-out 0.4s backwards;
}

.contact-section h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-item:first-child {
  border-top: none;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* ── SCROLL TO TOP ── */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}
#scrollTop.visible {
  opacity: 1;
  transform: translateY(0);
}
#scrollTop:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.5);
}

/* ── BRAND LOGO SECTION ── */
.brand-logo-section {
  text-align: center;
  padding: 60px 0 40px;
  animation: fadeInUp 0.7s ease-out 0.5s backwards;
}

.brand-footer-logo {
  max-width: 95vw;
  height: auto;
  max-height: 70vh;
  opacity: 1;
  transition: opacity 0.3s, transform 0.3s;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.05);
  padding: 15px;
  border: 1px solid rgba(56, 189, 248, 0.15);
}

.brand-footer-logo:hover {
  opacity: 0.9;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.3);
}

.brand-logo-text {
  margin-top: 30px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.brand-logo-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-logo-text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.brand-additional-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.1) 0%, rgba(56, 189, 248, 0.05) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.logo-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 6px;
  padding: 8px 12px;
  white-space: nowrap;
  min-width: 120px;
  text-align: center;
}

.additional-logo {
  max-height: 120px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s, transform 0.3s;
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.additional-logo:hover {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 20px 60px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.footer-link {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 13px;
  transition: 0.25s;
}
.footer-link:hover {
  color: var(--accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  main {
    padding: 30px 24px 60px;
  }
  nav {
    padding: 14px 20px;
  }
  footer {
    padding: 16px 20px;
    flex-direction: column;
    gap: 8px;
  }
  .brand-container {
    grid-template-columns: 1fr;
  }
  .info-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .contact-section {
    grid-column: span 2;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  main {
    padding: 24px 16px 50px;
  }
  nav {
    padding: 12px 16px;
  }
  .brand-card {
    border-radius: 18px;
  }
  .brand-content {
    padding: 20px 16px;
  }
  .brand-card-header {
    padding: 16px 20px;
  }
  .info-sidebar {
    grid-template-columns: 1fr;
  }
  .contact-section {
    grid-column: span 1;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .guidelines-list {
    gap: 12px;
  }
  .guideline-item {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}