/* ============================================
   Pakster d.o.o. — One-page site
   ============================================ */

:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #a1a1aa;
  --muted-strong: #d4d4d8;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-800: #27272a;
  --zinc-900: #18181b;
  --zinc-950: #09090b;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-glow: rgba(37, 99, 235, 0.35);

  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: rgba(59, 130, 246, 0.3); color: #fff; }

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-blue { color: var(--blue-500); }

/* ============ NAV ============ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  border-radius: 0.375rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.nav-cta {
  background: var(--blue-600);
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--blue-500); }

@media (max-width: 640px) {
  .nav-cta { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 5rem 1.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: rgba(37, 99, 235, 0.18);
  filter: blur(120px);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.hero-logo-card {
  display: inline-flex;
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--zinc-950);
  border: 1px solid var(--zinc-800);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6);
  margin-bottom: 2.5rem;
}

.hero-logo {
  width: 18rem;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px var(--blue-glow));
}

@media (max-width: 640px) {
  .hero-logo { width: 14rem; }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-sub { font-size: 1.25rem; }
}

.hero-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: var(--blue-600);
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-cta:hover { background: var(--blue-500); transform: translateY(-1px); }

.hero-cta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(219, 234, 254, 0.8);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.hero-cta-email {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ============ ABOUT ============ */
.about {
  padding: 6rem 1.5rem;
}

.about-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
}

.eyebrow {
  color: var(--blue-500);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}

.about-head h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-head p {
  color: var(--muted);
  max-width: 48rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.divider {
  width: 6rem;
  height: 0.25rem;
  background: var(--blue-600);
  border-radius: 9999px;
  margin-top: 2.5rem;
}

/* ============ SERVICES ============ */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 6rem;
}

@media (min-width: 768px) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.service-card {
  padding: 2rem;
  background: rgba(24, 24, 27, 0.5);
  border: 1px solid var(--zinc-800);
  border-radius: 1.5rem;
  transition: border-color 0.2s ease;
}
.service-card:hover { border-color: rgba(59, 130, 246, 0.5); }

.service-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
  margin-bottom: 1.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.service-icon svg { width: 1.5rem; height: 1.5rem; }
.service-card:hover .service-icon {
  background: var(--blue-600);
  color: #fff;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ============ INFO GRID ============ */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.info-card,
.contact-card {
  padding: 2rem;
  background: var(--zinc-950);
  border: 1px solid var(--zinc-800);
  border-radius: 1.5rem;
}

.info-label {
  display: block;
  font-size: 0.625rem;
  color: var(--blue-500);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.info-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  word-break: break-word;
}

.info-sub {
  color: var(--zinc-500);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Contact card */
.contact-card {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(37, 99, 235, 0.5);
  transition: transform 0.2s ease;
}
.contact-card:hover { transform: translateY(-2px); }

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(37, 99, 235, 0.05);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.contact-card:hover::before { opacity: 1; }

.contact-card > * { position: relative; }

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue-500);
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 1.5rem;
}
.contact-cta svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}
.contact-card:hover .contact-cta svg { transform: translateX(0.25rem); }

/* ============ FOOTER ============ */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--zinc-900);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner { flex-direction: row; text-align: left; }
}

.footer p {
  color: var(--zinc-600);
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  color: var(--zinc-600);
  font-size: 0.875rem;
}

.footer-links a:hover { color: var(--blue-500); }
