/* ==========================================================================
   OPSWEB - STRONY DLA FIRM
   Brutalist design, spójny z OPSWRO
   ========================================================================== */

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

:root {
  --black: #0f172a;
  --black-light: #1e293b;
  --black-lighter: #334155;
  --white: #f5f5f4;
  --white-pure: #fafaf9;
  --surface: #e7e5e4;
  --red: #dc2626;
  --green: #059669;
  --accent: #b91c1c;
  --accent-hover: #991b1b;
  --accent-dark: #7f1d1d;
  --border-width: 2px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.4;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 3px solid var(--black);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-ops {
  background: var(--accent);
  color: var(--white);
  padding: 2px 8px;
  margin-right: 2px;
}


.nav-links {
  display: flex;
  gap: 40px;
  font-family: "Space Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.nav-links a {
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--black);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 12px 24px !important;
}

.nav-cta:hover {
  background: var(--black);
}

.nav-cta::after {
  display: none !important;
}

.mobile-menu-toggle {
  display: none;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}

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

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 80px 60px;
  background: linear-gradient(135deg, var(--black-light) 0%, var(--black) 100%);
  color: var(--white);
  border-bottom: 3px solid var(--black);
}

.hero-content {
  max-width: 800px;
}

.hero-label {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.5;
  display: block;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(48px, 10vw, 120px);
  line-height: 0.95;
  font-weight: 700;
  margin-bottom: 30px;
}

.hero h1 .line {
  display: block;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 20px;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 40px;
}

.hero-sub strong {
  color: var(--white);
  opacity: 1;
}

.hero-cta {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.btn-primary {
  display: inline-block;
  padding: 20px 40px;
  background: var(--accent);
  color: var(--white);
  font-family: "Space Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 3px solid var(--accent);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow: 6px 6px 0 var(--accent);
  transform: translate(-3px, -3px);
}

.btn-ghost {
  display: inline-block;
  padding: 20px 40px;
  background: transparent;
  color: var(--white);
  font-family: "Space Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.hero-price {
  display: flex;
  align-items: baseline;
  gap: 15px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-price .price-from {
  font-family: "Space Mono", monospace;
  font-size: 14px;
  opacity: 0.5;
}

.hero-price .price-amount {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
}

.hero-price .price-note {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  opacity: 0.5;
}

.hero-price .price-divider {
  font-family: "Space Mono", monospace;
  font-size: 14px;
  opacity: 0.35;
  padding: 0 5px;
}

.hero-price .price-monthly {
  font-size: 32px;
  color: #22c55e;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */

.trust-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 25px 40px;
  background: var(--accent);
  color: var(--white);
  border-bottom: 3px solid var(--black);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.trust-icon {
  font-weight: 700;
}


/* ==========================================================================
   EXAMPLE SITES / PRZYKŁADOWE STRONY
   ========================================================================== */

.examples {
  border-bottom: 3px solid var(--black);
  background: var(--white);
}

.examples-header {
  padding: 50px 60px 40px;
  text-align: center;
}

.examples-label {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.5;
  display: block;
  margin-bottom: 15px;
}

.examples-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.examples-subtitle {
  font-size: 16px;
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Carousel Wrapper */
.examples-carousel-wrapper {
  position: relative;
  border-top: 3px solid var(--black);
  overflow: hidden;
}

.examples-carousel {
  display: flex;
  transition: transform 0.5s ease-out;
}

.example-card {
  flex: 0 0 33.333%;
  box-sizing: border-box;
  min-width: 0;
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  background: var(--white);
  transition: all 0.3s ease;
  cursor: pointer;
}

.example-card:last-child {
  border-right: none;
}

.example-card.hidden {
  display: none;
}

.example-card:hover {
  background: var(--surface);
}

.example-card:hover .example-thumbnail img {
  transform: scale(1.05);
}

.example-card:hover .example-overlay {
  opacity: 1;
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.carousel-nav:hover:not(:disabled) {
  background: var(--accent);
}

.carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

/* Carousel Footer */
.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 25px;
  background: var(--surface);
  border-bottom: 3px solid var(--black);
}

.carousel-indicators {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background: var(--black);
  opacity: 0.2;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-dot.active {
  opacity: 1;
  background: var(--accent);
}

.carousel-dot:hover {
  opacity: 0.6;
}

.see-all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--black);
  color: var(--white);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.see-all-link:hover {
  background: var(--accent);
}

/* Category Filter - deprecated but keeping for modal */
.category-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  padding: 10px 18px;
  background: transparent;
  border: 2px solid var(--black);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: var(--black);
  color: var(--white);
}

.filter-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* Thumbnail */
.example-thumbnail {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--black-lighter);
  border-bottom: 3px solid var(--black);
}

.example-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

/* Overlay */
.example-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.preview-icon {
  display: inline-block;
  padding: 15px 30px;
  background: var(--accent);
  color: var(--white);
  font-family: "Space Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: all 0.2s ease;
}

.example-card:hover .preview-icon {
  transform: scale(1.05);
}

/* Example Info */
.example-info {
  padding: 25px;
}

.example-category {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.example-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.example-info p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.7;
}

/* CTA Section */
.examples-cta {
  padding: 40px 60px;
  background: var(--surface);
  border-top: 3px solid var(--black);
  text-align: center;
}

.examples-cta p {
  font-size: 16px;
  margin-bottom: 20px;
}

.examples-cta .btn-primary {
  display: inline-block;
}

/* ==========================================================================
   PREVIEW MODAL
   ========================================================================== */

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.3s, opacity 0.3s ease;
}

.preview-modal.active {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s, opacity 0.3s ease;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
}

.modal-container {
  position: relative;
  width: 95vw;
  height: 95vh;
  max-width: 1600px;
  background: var(--white);
  border: 3px solid var(--black);
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.preview-modal.active .modal-container {
  transform: scale(1);
}

/* Modal Header */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 25px;
  border-bottom: 3px solid var(--black);
  background: var(--surface);
  flex-shrink: 0;
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.modal-category {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  background: var(--accent);
  color: var(--white);
  padding: 5px 12px;
}

.modal-name {
  font-size: 18px;
  font-weight: 700;
}

/* Device Switcher in Modal */
.modal-header .device-switcher {
  display: flex;
  gap: 8px;
}

.device-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--white);
  border: 2px solid var(--black);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.device-btn svg {
  width: 18px;
  height: 18px;
}

.device-btn:hover {
  background: var(--black);
  color: var(--white);
}

.device-btn.active {
  background: var(--black);
  color: var(--white);
}

/* Modal Actions */
.modal-actions {
  display: flex;
  gap: 10px;
}

.modal-external {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 2px solid var(--black);
  color: var(--black);
  transition: all 0.2s ease;
}

.modal-external:hover {
  background: var(--black);
  color: var(--white);
}

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  border: 2px solid var(--accent);
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--black);
  border-color: var(--black);
}

/* Modal Preview Area */
.modal-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-lighter);
  overflow: hidden;
  padding: 20px;
}

.preview-frame-wrapper {
  width: 100%;
  height: 100%;
  background: var(--white);
  border: 3px solid var(--black);
  transition: all 0.4s ease;
}

.modal-preview[data-device="desktop"] .preview-frame-wrapper {
  width: 100%;
  height: 100%;
}

.modal-preview[data-device="tablet"] .preview-frame-wrapper {
  width: 768px;
  height: 100%;
  max-height: 1024px;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.modal-preview[data-device="mobile"] .preview-frame-wrapper {
  width: 375px;
  height: 100%;
  max-height: 812px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.preview-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive Examples */
@media (max-width: 1200px) {
  .example-card {
    flex: 0 0 50%;
  }
}

@media (max-width: 900px) {
  .modal-header {
    flex-wrap: wrap;
    gap: 15px;
  }

  .modal-title {
    order: 1;
    flex: 1 1 100%;
  }

  .modal-header .device-switcher {
    order: 2;
  }

  .modal-actions {
    order: 3;
  }

  .device-btn span {
    display: none;
  }

  .modal-preview[data-device="tablet"] .preview-frame-wrapper,
  .modal-preview[data-device="mobile"] .preview-frame-wrapper {
    width: 100%;
    max-width: 768px;
  }
}

@media (max-width: 768px) {
  .examples-header {
    padding: 40px 20px 30px;
  }

  .examples-header h2 {
    font-size: 28px;
  }

  .example-card {
    flex: 0 0 100%;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }

  .carousel-footer {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  .see-all-link {
    font-size: 10px;
    padding: 10px 16px;
  }

  .examples-cta {
    padding: 30px 20px;
  }

  .modal-container {
    width: 100vw;
    height: 100vh;
    border: none;
  }

  .modal-header {
    padding: 10px 15px;
  }

  .modal-name {
    font-size: 14px;
  }

  .modal-preview {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .example-info {
    padding: 20px 15px;
  }

  .example-info h3 {
    font-size: 18px;
  }
}

/* ==========================================================================
   CLIENT PROJECTS / ZREALIZOWANE DLA KLIENTÓW
   ========================================================================== */

.client-projects {
  border-bottom: 3px solid var(--black);
  background: var(--black);
  color: var(--white);
}

.client-projects-header {
  padding: 50px 60px 40px;
  text-align: center;
}

.client-projects-label {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  display: inline-block;
  padding: 8px 16px;
  background: var(--green);
  color: var(--white);
  margin-bottom: 15px;
}

.client-projects-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.client-projects-subtitle {
  font-size: 16px;
  opacity: 0.6;
  max-width: 600px;
  margin: 0 auto;
}

.client-projects-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0 60px 50px;
  flex-wrap: wrap;
}

.client-card {
  display: block;
  max-width: 400px;
  width: 100%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  background: var(--black-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: var(--white);
  overflow: hidden;
}

.client-card:hover {
  border-color: var(--green);
  box-shadow: 6px 6px 0 var(--green);
  transform: translate(-3px, -3px);
}

.client-card:hover .client-thumbnail img {
  transform: scale(1.05);
}

.client-thumbnail {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--black-lighter);
  border-bottom: 3px solid rgba(255, 255, 255, 0.15);
}

.client-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.client-badge-live {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 14px;
  background: var(--green);
  color: var(--white);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.client-info {
  padding: 25px;
}

.client-category {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--green);
  display: block;
  margin-bottom: 8px;
}

.client-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.client-info p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.7;
  margin-bottom: 15px;
}

.client-url {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.client-card:hover .client-url {
  color: var(--white);
}

@media (max-width: 768px) {
  .client-projects-header {
    padding: 40px 20px 30px;
  }

  .client-projects-header h2 {
    font-size: 28px;
  }

  .client-projects-grid {
    padding: 0 20px 40px;
  }

  .client-card {
    max-width: 100%;
  }
}

/* ==========================================================================
   PROBLEM / SOLUTION
   ========================================================================== */

.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 3px solid var(--black);
}

.problem,
.solution {
  padding: 60px;
}

.problem {
  background: var(--surface);
  border-right: 3px solid var(--black);
}

.solution {
  background: var(--white);
}

.section-label {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 20px;
}

.problem .section-label {
  background: var(--black);
  color: var(--white);
}

.solution .section-label {
  background: var(--green);
  color: var(--white);
}

.problem-solution h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.problem-solution ul {
  list-style: none;
}

.problem-solution li {
  padding: 12px 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-left: 25px;
  position: relative;
}

.problem li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.solution li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-header {
  display: flex;
  align-items: baseline;
  gap: 30px;
  padding: 40px 60px;
  border-bottom: 3px solid var(--black);
  background: var(--white);
}

.section-header-light {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
}

.section-num {
  font-family: "Space Mono", monospace;
  font-size: 14px;
  opacity: 0.5;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 700;
}

/* ==========================================================================
   PACKAGES
   ========================================================================== */

.packages {
  border-bottom: 3px solid var(--black);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.package-card {
  padding: 50px 40px;
  border-right: 3px solid var(--black);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.package-card:last-child {
  border-right: none;
}

.package-card:hover {
  background: var(--surface);
}

.package-featured {
  background: var(--black);
  color: var(--white);
}

.package-featured:hover {
  background: var(--black-light);
}

.package-badge {
  position: absolute;
  top: 0;
  right: 30px;
  background: var(--accent);
  color: var(--white);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 8px 16px;
  letter-spacing: 0.1em;
}

.package-header {
  margin-bottom: 30px;
}

.package-name {
  display: block;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.package-for {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  opacity: 0.6;
}

.package-price {
  padding: 25px 0;
  margin-bottom: 30px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.package-featured .package-price {
  border-color: rgba(255, 255, 255, 0.2);
}

.package-price .price-amount {
  font-size: 48px;
  font-weight: 700;
}

.package-price .price-currency {
  font-size: 24px;
  font-weight: 700;
  margin-left: 5px;
}

.package-price .price-note {
  display: block;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  opacity: 0.5;
  margin-top: 5px;
}

.package-features {
  list-style: none;
  flex-grow: 1;
  margin-bottom: 30px;
}

.package-features li {
  padding: 10px 0;
  font-size: 14px;
  padding-left: 25px;
  position: relative;
  border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.package-features li.included::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.package-features li.not-included {
  opacity: 0.4;
}

.package-features li.not-included::before {
  content: "—";
  position: absolute;
  left: 0;
}

.package-cta {
  display: block;
  padding: 18px 30px;
  background: transparent;
  color: var(--black);
  font-family: "Space Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 3px solid var(--black);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.package-cta:hover {
  background: var(--black);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--accent);
  transform: translate(-2px, -2px);
}

.package-cta-featured {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.package-cta-featured:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* Billing Toggle */
.billing-toggle-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 40px 30px;
  background: var(--white);
  border-bottom: 3px solid var(--black);
}

.billing-toggle-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.billing-label {
  font-family: "Space Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--black);
  opacity: 0.4;
  transition: opacity 0.3s ease, color 0.3s ease;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.billing-label.active {
  opacity: 1;
  color: var(--black);
}

.billing-recommended {
  display: inline-block;
  padding: 4px 10px;
  background: var(--green);
  color: var(--white);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  vertical-align: middle;
  opacity: 1;
}

.billing-toggle {
  position: relative;
  width: 72px;
  height: 38px;
  background: var(--black);
  border: 3px solid var(--black);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}

.billing-toggle-thumb {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: var(--white);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.billing-toggle[data-mode="monthly"] .billing-toggle-thumb {
  transform: translateX(-38px);
}

.billing-toggle[data-mode="yearly"] .billing-toggle-thumb {
  transform: translateX(0);
}

.billing-toggle:hover {
  background: var(--black-light);
}

.billing-toggle:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.billing-subtitle {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  opacity: 0.5;
  margin-top: 15px;
  text-align: center;
  transition: opacity 0.3s ease;
  min-height: 1.4em;
}

/* Savings Badge */
.savings-badge {
  margin-bottom: 20px;
  overflow: hidden;
  max-height: 40px;
  opacity: 1;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              margin 0.3s ease;
}

.savings-badge.hidden {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
}

.savings-text {
  display: inline-block;
  padding: 8px 16px;
  background: var(--green);
  color: var(--white);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.package-featured .savings-text {
  background: var(--green);
}

/* Price Period (for /mies suffix) */
.price-period {
  font-size: 20px;
  font-weight: 700;
  opacity: 0.6;
}

/* Price Animation */
.package-price .price-amount {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
}

.package-price .price-amount.price-changing {
  transform: translateY(-8px);
  opacity: 0;
}

.package-price .price-amount.price-entering {
  transform: translateY(8px);
  opacity: 0;
}

.packages-note {
  padding: 25px 60px;
  background: var(--surface);
  border-top: 3px solid var(--black);
}

.packages-note p {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   ADDONS
   ========================================================================== */

.addons {
  border-bottom: 3px solid var(--black);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.addon-item {
  padding: 30px 40px;
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.addon-item:nth-child(3n) {
  border-right: none;
}

.addon-item:last-child,
.addon-item:nth-last-child(-n+3) {
  border-bottom: none;
}

.addon-item:hover {
  background: var(--surface);
}

.addon-name {
  font-size: 16px;
  font-weight: 500;
}

.addon-price {
  font-family: "Space Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

/* ==========================================================================
   BIGGER PROJECTS
   ========================================================================== */

.bigger-projects {
  background: var(--surface);
  border-bottom: 3px solid var(--black);
}

.bigger-projects-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 60px;
  gap: 60px;
}

.bigger-projects-text {
  max-width: 600px;
}

.bigger-label {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.5;
  display: block;
  margin-bottom: 15px;
}

.bigger-projects-text h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

.bigger-projects-text p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.8;
}

.bigger-projects-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  flex-shrink: 0;
}

.btn-bigger {
  display: inline-block;
  padding: 18px 35px;
  background: var(--black);
  color: var(--white);
  font-family: "Space Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 3px solid var(--black);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-bigger:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 4px 4px 0 var(--black);
  transform: translate(-2px, -2px);
}

.bigger-note {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .bigger-projects-content {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
    text-align: center;
  }

  .bigger-projects-cta {
    align-items: center;
  }

  .bigger-projects-text h2 {
    font-size: 24px;
  }
}

/* ==========================================================================
   FEATURES
   ========================================================================== */

.features {
  border-bottom: 3px solid var(--black);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature-block {
  padding: 50px 40px;
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-block:nth-child(3n) {
  border-right: none;
}

.feature-block:nth-child(n+4) {
  border-bottom: none;
}

.feature-block:hover {
  background: var(--white);
  box-shadow: 8px 8px 0 var(--accent);
  transform: translate(-4px, -4px);
  z-index: 2;
  position: relative;
  border: 3px solid var(--black) !important;
}

.feature-icon {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  opacity: 0.4;
  display: block;
  margin-bottom: 20px;
}

.feature-block h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-block p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.8;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */

.process {
  background: var(--black);
  color: var(--white);
  border-bottom: 3px solid var(--black);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  padding: 60px;
  gap: 20px;
}

.process-step {
  flex: 1;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 50px;
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.6;
}

.process-arrow {
  font-size: 32px;
  color: var(--accent);
  padding-top: 60px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  border-bottom: 3px solid var(--black);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.faq-item {
  padding: 40px;
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
}

.faq-item:nth-child(2n) {
  border-right: none;
}

.faq-item:nth-child(n+5) {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.8;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact {
  border-bottom: 3px solid var(--black);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
}

.contact-left {
  background: linear-gradient(135deg, var(--black-light) 0%, var(--black) 100%);
  color: var(--white);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-left h2 {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 30px;
}

.contact-left > p {
  font-size: 18px;
  opacity: 0.7;
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: "Space Mono", monospace;
  font-size: 14px;
}

.contact-info a:hover {
  color: var(--accent);
}

.contact-right {
  padding: 60px;
  background: var(--white);
}

.contact-form {
  max-width: 500px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  opacity: 0.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  border: 3px solid var(--black);
  background: transparent;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  transition: all 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: var(--black);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--accent);
  transform: translate(-2px, -2px);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230f172a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  margin-top: 20px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
}

.checkbox input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox a {
  color: var(--accent);
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  padding: 20px 40px;
  background: var(--accent);
  color: var(--white);
  border: 3px solid var(--accent);
  font-family: "Space Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover {
  background: var(--black);
  border-color: var(--black);
  box-shadow: 6px 6px 0 var(--accent);
  transform: translate(-3px, -3px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
  font-family: "Space Mono", monospace;
  font-size: 12px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-center a {
  color: var(--accent);
}

.footer-center a:hover {
  text-decoration: underline;
}

.footer-right {
  opacity: 0.5;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .packages-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .package-card,
  .feature-block {
    border-right: none !important;
    border-bottom: 3px solid var(--black) !important;
  }

  .package-card:last-child {
    border-bottom: none !important;
  }

  .feature-block:last-child {
    border-bottom: none !important;
  }

  .addons-grid {
    grid-template-columns: 1fr 1fr;
  }

  .addon-item {
    border-right: 3px solid var(--black);
    border-bottom: 3px solid var(--black);
  }

  .addon-item:nth-child(2n) {
    border-right: none;
  }

  .addon-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .addon-item:last-child {
    border-bottom: none;
  }

  .problem-solution {
    grid-template-columns: 1fr;
  }

  .problem {
    border-right: none;
    border-bottom: 3px solid var(--black);
  }

  .process-steps {
    flex-direction: column;
  }

  .process-arrow {
    transform: rotate(90deg);
    padding: 0;
    text-align: center;
    width: 100%;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-item {
    border-right: none !important;
    border-bottom: 3px solid var(--black) !important;
  }

  .faq-item:last-child {
    border-bottom: none !important;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-left {
    border-bottom: 3px solid var(--white);
  }
}

@media (max-width: 768px) {
  .logo-powered {
    display: none;
  }

  .nav {
    padding: 15px 20px;
  }

  .mobile-menu-toggle {
    display: block;
    z-index: 101;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 99;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 24px;
    color: var(--black);
  }

  .hero {
    padding: 60px 20px;
    min-height: auto;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-primary,
  .btn-ghost {
    text-align: center;
    width: 100%;
  }

  .hero-price {
    flex-wrap: wrap;
  }

  .trust-bar {
    flex-direction: column;
    gap: 15px;
    padding: 30px 20px;
  }

  .section-header {
    padding: 30px 20px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .problem,
  .solution {
    padding: 40px 20px;
  }

  .package-card {
    padding: 40px 20px;
  }

  .addons-grid {
    grid-template-columns: 1fr;
  }

  .addon-item {
    border-right: none !important;
  }

  .addon-item:last-child {
    border-bottom: none;
  }

  .feature-block {
    padding: 40px 20px;
  }

  .process-steps {
    padding: 40px 20px;
  }

  .process-step {
    padding: 25px 20px;
  }

  .faq-item {
    padding: 30px 20px;
  }

  .contact-left,
  .contact-right {
    padding: 40px 20px;
  }

  .contact-left h2 {
    font-size: 42px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 30px 20px;
  }

  .packages-note {
    padding: 20px;
  }

  .billing-toggle-wrapper {
    padding: 30px 20px 20px;
  }

  .billing-toggle-container {
    gap: 12px;
  }

  .billing-label {
    font-size: 11px;
    flex-direction: column;
    gap: 6px;
  }

  .billing-recommended {
    font-size: 8px;
  }

  .billing-subtitle {
    font-size: 10px;
  }
}

/* ==========================================================================
   404 ERROR PAGE
   ========================================================================== */

.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  background: var(--white);
}

.error-container {
  max-width: 900px;
  width: 100%;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}

.error-code {
  position: sticky;
  top: 100px;
}

.error-number {
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  display: block;
}

.error-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.error-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.error-title .line {
  display: block;
}

.error-title .accent {
  color: var(--accent);
}

.error-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.error-message {
  font-family: "Space Mono", monospace;
  font-size: 14px;
  padding: 15px 20px;
  background: var(--surface);
  border-left: 4px solid var(--accent);
}

.error-label {
  font-weight: 700;
  color: var(--accent);
}

.error-explanation {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.8;
}

.error-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.error-suggestions {
  padding-top: 20px;
  border-top: 2px solid var(--surface);
}

.error-suggestions h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: "Space Mono", monospace;
  letter-spacing: 0.05em;
}

.error-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.error-links li {
  font-size: 15px;
}

.error-links a {
  color: var(--black);
  transition: color 0.2s ease;
  font-family: "Space Mono", monospace;
  font-size: 14px;
}

.error-links a:hover {
  color: var(--accent);
}

/* Responsive 404 */
@media (max-width: 768px) {
  .error-404 {
    padding: 60px 20px;
  }

  .error-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .error-code {
    position: static;
  }

  .error-number {
    font-size: 80px;
  }

  .error-title {
    font-size: 36px;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-actions .btn-primary,
  .error-actions .btn-ghost {
    width: 100%;
    text-align: center;
  }
}
