:root {
  --deep-blue: #0A2A43;
  --graphite: #2A2A2A;
  --silver: #A9A9A9;
  --electric-blue: #007BFF;
  --text: #f7f9fc;
  --muted: #d8e0e8;
}

* { box-sizing: border-box; }

main { flex: 1; display: flex; flex-direction: column; justify-content: center; }

html{
    scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--deep-blue), var(--graphite));
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("images/noise.jpg");
  opacity: 0.02;
  pointer-events: none;
  animation: noiseShift 12s ease-in-out infinite alternate;
}

@keyframes noiseShift {
  from { transform: translate(0, 0); }
  to { transform: translate(1px, -1px); }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center,
    transparent 0%,
    rgba(0,0,0,0.25) 100%
  );
  opacity: 0.25;
}

html, body {
  height: 100%;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1100px, calc(100% - 2rem)); margin: 0 auto; }

header { padding: 1.4rem 0 0; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
}

.topbar:hover{
    box-shadow: 0 0 18px rgba(255,255,255,0.08);
}

.topbar span {
  letter-spacing: 0.5px;
  font-weight: 500;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
}

.brand img {
  height: 48px;
  width: auto;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  justify-content: space-between;
}

.hero h1 {
  max-width: 600px;
  font-size: clamp(1.25rem, 3vw, 2.1rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.3rem;
}

.hero > div:first-child {
  transform: translateZ(0);
  backdrop-filter: blur(2px);
}


.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { 
    background: var(--electric-blue);
    color: white;
    position: relative;
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 20px rgba(0,123,255,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::after { opacity: 1; }

.panel {
  background: rgba(255,255,255,0.08);
  width: fit-content;
  max-width: none;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 1.1rem;
  padding: 1.2rem;
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
  justify-self: end;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
  white-space: normal;
}

.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.08), transparent 40%);
    pointer-events: none;
}

.panel .logo-preview {
  max-width: 100%;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.panel .logo-preview img {
  max-width: 100%;
  height: auto;
}

.panel ul {
  display: inline-block;
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  white-space: normal;
}

.panel li {
    display: list-item;
    white-space: nowrap;
}

section { padding: 1rem 0 1.7rem; }
.section-title { 
    font-size: 1.15rem; 
    font-weight: 700; 
    margin-bottom: 0.75rem;
    position: relative; 
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -0.3rem;
    left: 0;
    bottom: -6px;
    width: 40px;
    height: 2px;
    background: var(--electric-blue);
    border-radius: 2px;
}

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(4px);
}

.card:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.card h3 { margin: 0 0 0.2rem; color: white; }
.card p { margin: 0 0 0.4rem 0; color: var(--muted); }

.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact {
  background: linear-gradient(90deg, rgba(0,123,255,0.22), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 1rem;
  padding: 1.2rem;
}

.contact a { color: #8fd0ff; }

footer {
  padding: 1rem 0 2rem;
  color: var(--silver);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
}
