/* =========================================
   INTER — Company Website
   Design: Dark premium, modern, minimal
   ========================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:         #0a0a0f;
  --bg-2:       #0f0f18;
  --bg-card:    #13131e;
  --bg-accent:  #0d1a2e;
  --border:     rgba(255,255,255,0.07);
  --border-2:   rgba(255,255,255,0.12);

  --text:       #f0f0f5;
  --text-muted: #8888aa;
  --text-dim:   #555570;

  --accent:     #4f6ef7;
  --accent-2:   #7c3aed;
  --accent-glow: rgba(79, 110, 247, 0.25);

  --grad: linear-gradient(135deg, #4f6ef7, #7c3aed);

  --font:       'Inter', -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --radius:     12px;
  --radius-lg:  20px;
  --section-pad: 120px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: var(--font);
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 30px var(--accent-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 40px rgba(79,110,247,0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-2);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

.btn--full { width: 100%; justify-content: center; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 0;
}

.nav.scrolled {
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav__links a:hover { color: var(--text); }

.nav__cta {
  background: var(--grad) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 500 !important;
  color: transparent !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-muted);
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,110,247,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,110,247,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* Glow orbs */
.hero__bg::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(79,110,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__bg::after {
  content: '';
  position: absolute;
  top: 30%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ── STATS ── */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--border);
}
.stat {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat:last-child { border-right: none; }

.stat__num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ── SECTIONS ── */
.section {
  padding: var(--section-pad) 0;
}
.section--dark {
  background: var(--bg-2);
}
.section--accent {
  background: var(--bg-accent);
}

.section__header {
  margin-bottom: 64px;
}
.section__header--center {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  background: rgba(79,110,247,0.12);
  padding: 4px 12px;
  border-radius: 4px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section__desc {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── ABOUT ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}
.about__text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
}
.about__values {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value__icon {
  font-size: 18px;
  color: var(--accent);
  line-height: 1.5;
  flex-shrink: 0;
}
.value strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.value p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* TIMELINE */
.timeline {
  border-left: 1px solid var(--border-2);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
}
.timeline__item {
  position: relative;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.timeline__item:last-child { border-bottom: none; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 36px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.timeline__year {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.timeline__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── FEATURES ── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature {
  background: var(--bg-2);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature:hover {
  background: var(--bg-card);
}

.feature__icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature__icon svg {
  width: 100%;
  height: 100%;
}

.feature h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── SERVICES ── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
}
.service:hover::before {
  transform: scaleX(1);
}

.service--large {
  grid-column: span 2;
}

.service__num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--border-2);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.service h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.service p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}
.service__list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service__list li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── INDUSTRIES ── */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.industry {
  padding: 10px 22px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s;
  cursor: default;
}
.industry:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(79,110,247,0.08);
}

/* ── CONTACT ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact__text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 20px 0 36px;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact__item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.contact__item a {
  color: var(--text-muted);
  font-size: 15px;
  transition: color 0.2s;
}
.contact__item a:hover { color: var(--text); }

.contact__badge {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.contact__badge span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.contact__badge strong {
  font-size: 15px;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── FORM ── */
.form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form__group label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.form__group input,
.form__group select,
.form__group textarea {
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  resize: vertical;
}
.form__group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  cursor: pointer;
}
.form__group select option {
  background: var(--bg-card);
  color: var(--text);
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,110,247,0.12);
}
.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--text-dim);
}
/* Honeypot — absolutnie niewidoczne */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form__note {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 12px;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.footer__brand p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}
.footer__links {
  display: flex;
  gap: 28px;
}
.footer__links a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--text-muted); }
.footer__copy p {
  font-size: 13px;
  color: var(--text-dim);
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }

  .about__grid { gap: 48px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service--large { grid-column: span 2; }
  .contact__grid { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 72px 0 0;
    background: rgba(10,10,15,0.97);
    backdrop-filter: blur(20px);
    padding: 40px 24px;
    gap: 20px;
    z-index: 99;
    align-items: flex-start;
  }
  .nav__links.open a {
    font-size: 22px;
    font-weight: 500;
  }
  .nav__burger { display: flex; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:last-child, .stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }

  .features__grid { grid-template-columns: 1fr; }

  .services__grid { grid-template-columns: 1fr; }
  .service--large { grid-column: span 1; }

  .contact__grid { grid-template-columns: 1fr; gap: 40px; }

  .form { padding: 28px 20px; }
  .form__row { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }

  .hero__title { font-size: clamp(38px, 10vw, 56px); }
  .hero__sub { font-size: 16px; }
  .hero__content { padding-top: 100px; }

  .hero__scroll { display: none; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
