/* ===== Variables ===== */
:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --accent-soft: rgba(99, 102, 241, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --header-scrolled: rgba(10, 10, 15, 0.85);
  --hero-grid: rgba(255, 255, 255, 0.02);
  --work-card-overlay: rgba(0, 0, 0, 0.3);
  --work-card-hover-border: rgba(255, 255, 255, 0.12);
  --cursor-glow: rgba(99, 102, 241, 0.15);
  --btn-ghost-hover: rgba(255, 255, 255, 0.03);
  --hero-orb-opacity: 0.5;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] {
  --bg: #f5f5f9;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #64748b;
  --accent: #4f46e5;
  --accent-hover: #6366f1;
  --accent-soft: rgba(79, 70, 229, 0.12);
  --border: rgba(0, 0, 0, 0.08);
  --header-scrolled: rgba(255, 255, 255, 0.9);
  --hero-grid: rgba(0, 0, 0, 0.04);
  --work-card-overlay: rgba(0, 0, 0, 0.2);
  --work-card-hover-border: rgba(79, 70, 229, 0.3);
  --cursor-glow: rgba(79, 70, 229, 0.12);
  --btn-ghost-hover: rgba(0, 0, 0, 0.04);
  --hero-orb-opacity: 0.35;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background 0.4s var(--ease-out-expo), color 0.3s;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 1.5rem;
  padding-top: max(1.25rem, env(safe-area-inset-top));
  transition: background 0.4s var(--ease-out-expo), backdrop-filter 0.4s;
}

.header.scrolled {
  background: var(--header-scrolled);
  backdrop-filter: blur(12px);
}

.nav {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  transition: transform 0.3s var(--ease-spring);
}

.logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  color: var(--accent);
}

.logo-img {
  height: 3rem;
  width: auto;
  max-width: 220px;
  min-height: 36px;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: white !important;
  border-radius: 8px;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text);
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.theme-toggle:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.theme-icon {
  position: absolute;
  transition: opacity 0.3s, transform 0.3s;
}

.theme-icon-sun {
  opacity: 1;
}

.theme-icon-moon {
  opacity: 0;
}

[data-theme="light"] .theme-icon-sun {
  opacity: 0;
}

[data-theme="light"] .theme-icon-moon {
  opacity: 1;
}

.theme-toggle {
  position: relative;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(99, 102, 241, 0.1), transparent);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--hero-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: var(--hero-orb-opacity, 0.5);
  animation: float 15s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: #ec4899;
  bottom: -50px;
  left: -50px;
  animation-delay: -7s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
}

.hero-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.5); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: var(--btn-ghost-hover);
}

/* ===== Section Headers ===== */
.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ===== Work ===== */
.work {
  padding: 6rem 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.work-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s, box-shadow 0.4s;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: var(--work-card-hover-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.work-card-featured {
  grid-row: span 2;
}

.work-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.work-card-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--accent, var(--accent)) 0%, var(--work-card-overlay) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.work-card-featured .work-card-visual {
  aspect-ratio: auto;
  flex: 1;
  min-height: 300px;
}

.work-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
}

.work-tag {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
}

.work-card-content {
  padding: 1.5rem;
}

.work-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.work-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Services ===== */
.services {
  padding: 6rem 0;
  background: var(--bg-elevated);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s, background 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.service-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Pricing ===== */
.pricing {
  padding: 6rem 0;
}

.pricing-card {
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(236, 72, 153, 0.1) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #ec4899);
}

.pricing-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.pricing-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.pricing-highlight {
  background: linear-gradient(135deg, var(--accent), #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-desc {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.pricing .btn {
  margin-top: 0.5rem;
}

/* ===== About ===== */
.about {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-content > p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
}

.about-shape {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, #ec4899 100%);
  border-radius: 24px;
  opacity: 0.2;
  transform: rotate(-6deg);
  transition: transform 0.5s var(--ease-spring);
}

.about-visual:hover .about-shape {
  transform: rotate(0deg) scale(1.02);
}

/* ===== Testimonial ===== */
.testimonial {
  padding: 6rem 0;
  background: var(--bg-elevated);
}

.testimonial-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border: none;
}

.testimonial-quote p {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.testimonial-quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-quote strong {
  font-family: var(--font-display);
}

.testimonial-quote span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Contact ===== */
.contact {
  padding: 6rem 0;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-content > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  align-self: center;
}

@keyframes confetti-burst {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

/* ===== Footer ===== */
.footer {
  padding: 3rem 0;
  padding-bottom: max(3rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
  margin: 0;
}

/* ===== Animations (scroll-triggered) ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate].hero-label { transition-delay: 0.1s; }
[data-animate].hero-title { transition-delay: 0.2s; }
[data-animate].hero-desc { transition-delay: 0.35s; }
[data-animate].hero-actions { transition-delay: 0.5s; }
[data-animate].hero-scroll {
  transition-delay: 0.7s;
  transform: translateY(24px);
}
[data-animate].hero-scroll.visible {
  transform: translateY(0);
}

/* Work cards - subtelna animacja pojawiania z opóźnieniem */
.work-card[data-animate] {
  transform: translateY(20px) scale(0.98);
  opacity: 0;
}
.work-card[data-animate].visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.work-card:nth-child(1)[data-animate] { transition-delay: 0.05s; }
.work-card:nth-child(2)[data-animate] { transition-delay: 0.15s; }
.work-card:nth-child(3)[data-animate] { transition-delay: 0.25s; }

/* Service cards - stagger */
.service-card:nth-child(1)[data-animate] { transition-delay: 0.05s; }
.service-card:nth-child(2)[data-animate] { transition-delay: 0.12s; }
.service-card:nth-child(3)[data-animate] { transition-delay: 0.19s; }

/* Cursor glow (optional) */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--cursor-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ===== Responsive ===== */

/* Tablet (900px - 1200px): 2-column grids */
@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-card-featured {
    grid-column: span 2;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet narrow (768px - 900px) */
@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card-featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-visual {
    order: -1;
    max-height: 300px;
  }

  .work, .services, .pricing, .about, .contact {
    padding: 4rem 0;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }

  .hero-orb-1 {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -80px;
  }

  .hero-orb-2 {
    width: 200px;
    height: 200px;
    bottom: -30px;
    left: -30px;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .pricing-card {
    padding: 2.5rem 2rem;
  }

  .cursor-glow {
    width: 250px;
    height: 250px;
  }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  .header {
    padding: 1rem;
    padding-top: max(1rem, env(safe-area-inset-top));
  }

  .nav {
    padding: 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-elevated);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
    box-shadow: none;
  }

  .nav-links.open {
    transform: translateX(0);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    min-height: 44px;
  }

  .nav-toggle {
    display: flex;
    z-index: 101;
  }

  body.nav-open {
    overflow: hidden;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .logo-img {
    height: 2.5rem;
    max-width: 160px;
  }

  .hero {
    padding: 5rem 1rem 2.5rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-scroll {
    bottom: 1.5rem;
  }

  .work, .services, .pricing, .about, .contact {
    padding: 3rem 0;
  }

  .work-grid {
    gap: 1rem;
  }

  .work-card-content {
    padding: 1.25rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .pricing-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .contact-content > p {
    margin-bottom: 1.5rem;
  }

  .contact-form .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* Small phones (max 480px) */
@media (max-width: 480px) {
  .hero-title br {
    display: block;
  }

  .section-header h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .section-header p {
    font-size: 1rem;
  }

  .hero-orb-1 {
    width: 200px;
    height: 200px;
  }

  .hero-orb-2 {
    width: 150px;
    height: 150px;
  }

  .cursor-glow {
    display: none;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .footer {
    padding: 2rem 0;
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  .footer p {
    font-size: 0.8rem;
  }
}

/* Ensure header/footer use full width and don't overflow */
@media (max-width: 480px) {
  .header {
    padding: 0.75rem 1rem;
    padding-top: max(0.75rem, env(safe-area-inset-top));
  }
}
