* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0b1120;
  color: #e5e7eb;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.narrow {
  max-width: 800px;
  text-align: center;
}

/* NAVBAR */

header {
  position: sticky;
  top: 0;
  background: rgba(8, 12, 28, 0.95);
  backdrop-filter: blur(12px);
  padding: 18px 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 20px;
}

.logo img {
  height: 100px;
  width: auto;
  display: block;
}

.logo span {
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: white;
}

/* HERO */

.hero {
  position: relative;
  min-height: 80vh;
  padding: 120px 0;
  display: flex;
  align-items: center;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(99,102,241,0.15),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(59,130,246,0.15),
      transparent 40%
    ),
    #0b1120;
}

.hero-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.30;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11,17,32,0.65),
    rgba(11,17,32,0.85)
  );
}

.hero-text {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero p {
  color: #94a3b8;
  margin-bottom: 30px;
  font-size: 18px;
}

/* BUTTONS */

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  margin-right: 15px;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59,130,246,0.3);
}

.btn-secondary {
  border: 1px solid #334155;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  color: #cbd5e1;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
}

/* ABOUT */

.about {
  padding: 120px 0;
}

.about h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about p {
  margin-bottom: 60px;
  color: #94a3b8;
}

.features {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.feature {
  max-width: 250px;
}

.feature h3 {
  margin-bottom: 10px;
}

/* CTA */

.cta {
  padding: 100px 0;
  background: rgba(255,255,255,0.03);
  text-align: center;
}

.cta h2 {
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 30px;
  color: #94a3b8;
}

/* FOOTER */

footer {
  padding: 30px 0;
  text-align: center;
  font-size: 14px;
  color: #64748b;
}
/* PAGE HERO */

.page-hero {
  padding: 120px 0 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: 40px;
  margin-bottom: 15px;
}

.page-hero p {
  color: #94a3b8;
}

/* PROJECTS */

.projects {
  padding: 80px 0;
}

.projects .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.project-card {
  display: flex;
  gap: 30px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  gap: 30px;
  align-items: center;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.4);
}

.project-image {
  width: 250px;
  background: linear-gradient(135deg, #1e293b, #0b1120);
}

.project-content {
  padding: 30px;
}

.project-content h3 {
  margin-bottom: 10px;
}

.project-content p {
  color: #94a3b8;
  margin-bottom: 15px;
}

.tech {
  font-size: 14px;
  color: #6366f1;
}
/* PROJECT PAGE */

.project-hero {
  padding: 120px 0 60px;
  text-align: center;
}

.screenshots {
  padding: 60px 0;
}

.screens {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.screens img {
  width: 300px;
  border-radius: 12px;
}

.case-study {
  padding: 80px 0;
}

.block {
  margin-bottom: 40px;
}

.block h2 {
  margin-bottom: 10px;
}

.block p {
  color: #94a3b8;
}

.tech-stack {
  padding: 60px 0;
  text-align: center;
}
.project-image {
  width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;

  background: #0b1120; /* jednolite tło */
  border: 1px solid rgba(255,255,255,0.05);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px; /* KLUCZOWE */
    background: linear-gradient(
    145deg,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.01)
  );
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  border-radius: 12px; /* ujednolicenie rogów */
}

.project-image:hover img {
  transform: none;
}

.project-image img {
  transition: 0.4s ease;
}
.project-content a {
  color: white;
  text-decoration: none;
}

.project-content a:hover {
  color: #6366f1;
}
.project-image:hover {
  transform: none;
  transition: 0.3s ease;
}
/* ABOUT PAGE */

.about-page {
  padding: 80px 0;
}

.about-page .lead {
  font-size: 20px;
  margin-bottom: 20px;
}

/* PROCESS */

.process {
  padding: 80px 0;
}

.process h2 {
  text-align: center;
  margin-bottom: 40px;
}

.steps {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  max-width: 220px;
  text-align: center;
}

.step h3 {
  margin-bottom: 10px;
}
/* CONTACT */

.contact {
  padding: 80px 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 6px;
  font-size: 14px;
  color: #94a3b8;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #1e293b;
  background: #020617;
  color: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6366f1;
}

.contact-alt {
  margin-top: 30px;
  text-align: center;
}

.contact-alt a {
  color: #6366f1;
  text-decoration: none;
}
/* DOWNLOAD */

.download {
  padding: 80px 0;
}

.download .container {
  background: rgba(255,255,255,0.03);
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
}
.download h2 {
  margin-bottom: 10px;
}

.download p {
  margin-bottom: 30px;
  color: #94a3b8;
}
.store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 25px;
}

.store-btn img {
  height: 48px;
  width: auto;
  transition: 0.3s ease;
}

.store-btn:hover img {
  transform: translateY(-3px);
}
.store-btn {
  display: inline-block;
  transition: 0.3s ease;
}

.store-btn:hover {
  transform: translateY(-4px) scale(1.03);
}