/* =====================================================
   NOVASOFT - PREMIUM LANDING
   style.css
===================================================== */

/* =========================
   RESET
========================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;

  box-sizing: border-box;
}

:root {
  --bg: #030712;

  --white: #ffffff;

  --muted: #9ca3af;

  --glass: rgba(255, 255, 255, 0.055);

  --glass-border: rgba(255, 255, 255, 0.12);

  --blue: #3b82f6;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --purple: #a855f7;
}

/* =========================
   BODY
========================= */

html,
body {
  width: 100%;
  height: 100%;

  overflow: hidden;

  background: var(--bg);

  color: white;

  font-family: "Inter", sans-serif;
}

/* =========================
   THREE CONTAINER
========================= */

#scene {
  position: fixed;

  inset: 0;

  z-index: 0;
}

/* =========================
   CURSOR LIGHT
========================= */

#cursorGlow {
  position: fixed;

  width: 350px;

  height: 350px;

  border-radius: 50%;

  pointer-events: none;

  z-index: 2;

  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.18),
    transparent 70%
  );

  transform: translate(-50%, -50%);

  filter: blur(40px);

  opacity: 0.8;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;

  z-index: 10;

  width: 100%;

  height: 100%;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 90px;

  padding: 40px;
}

/* =========================
   GLASS CARD
========================= */

.glass-card {
  position: relative;

  width: 390px;

  padding: 48px;

  border-radius: 32px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.025)
  );

  border: 1px solid var(--glass-border);

  backdrop-filter: blur(35px);

  -webkit-backdrop-filter: blur(35px);

  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.12),
    0 0 80px rgba(99, 102, 241, 0.12);

  overflow: hidden;

  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    border 0.45s;
}

/* światło na karcie */

.glass-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background: radial-gradient(
    350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.16),
    transparent 45%
  );

  opacity: 0.8;

  pointer-events: none;

  transition: 0.15s;
}

@keyframes cardGlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.glass-card:hover {
  transform: translateY(-10px) scale(1.025);

  border-color: rgba(255, 255, 255, 0.25);
}

/* =========================
   TAGS
========================= */

.tag {
  position: relative;

  display: inline-flex;

  padding: 8px 18px;

  border-radius: 50px;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.25em;

  background: linear-gradient(135deg, var(--blue), var(--indigo));

  box-shadow: 0 0 35px rgba(99, 102, 241, 0.5);
}

.company-tag {
  background: linear-gradient(135deg, var(--violet), var(--purple));
}

/* =========================
   TEXT
========================= */

h1 {
  position: relative;

  margin-top: 28px;

  font-size: 34px;

  letter-spacing: -0.05em;

  cursor: pointer;

  transition: 0.35s;
}

h1:hover {
  color: #ddd6fe;

  text-shadow: 0 0 40px rgba(168, 85, 247, 0.7);
}

h2 {
  position: relative;

  margin-top: 28px;

  font-size: 34px;

  letter-spacing: -0.05em;
}

p {
  position: relative;

  margin-top: 20px;

  color: var(--muted);

  font-size: 15px;

  line-height: 1.8;
}

/* =========================
   CHIPS
========================= */

.chips {
  display: flex;

  gap: 10px;

  margin-top: 30px;
}

.chips span {
  padding: 8px 16px;

  border-radius: 50px;

  font-size: 12px;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.12);

  color: #d1d5db;
}

/* =========================
   COPY TOAST
========================= */

#toast {
  position: relative;

  display: inline-block;

  margin-top: 20px;

  padding: 8px 18px;

  border-radius: 50px;

  color: #7dd3fc;

  background: rgba(59, 130, 246, 0.15);

  border: 1px solid rgba(125, 211, 252, 0.2);

  opacity: 0;

  transform: translateY(10px);

  transition: 0.35s;
}

#toast.show {
  opacity: 1;

  transform: translateY(0);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
  .hero {
    flex-direction: column;

    gap: 30px;

    overflow: auto;

    padding: 30px;
  }

  .glass-card {
    width: min(100%, 390px);

    padding: 38px;
  }

  h1,
  h2 {
    font-size: 26px;
  }
}

/* =========================
   INTRO ANIMATION
========================= */

.glass-card {
  opacity: 0;
}

/* =========================
   ACCESSIBILITY
========================= */

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  animation: none !important;

  transition: none !important;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

.mobile .glass-card:hover {
  transform: none;
}

.mobile #cursorGlow {
  display: none;
}

.email-title {
  font-size: clamp(12px, 3vw, 24px);

  letter-spacing: -0.03em;

  word-break: break-word;

  white-space: nowrap;
}

.contact-card .email-title {
  margin-top: 28px;

  margin-bottom: 8px;

  line-height: 1.3;
}
