  :root {
      --bg: #e0e5ec;
      --glass-bg: rgba(255, 255, 255, 0.6);
      --accent: #5c6ac4;
      --accent-dark: #424db0;
      --text: #1f2937;
      --muted: #4b5563;
      --card-shadow: rgba(31, 38, 135, 0.07);
      --card-hover-shadow: rgba(31, 38, 135, 0.18);
      --border-color: rgba(0, 0, 0, 0.06);
      --animation-duration: 0.6s;
      --header-height: 78px;
  }

  @keyframes fadeInUp {
      from {
          opacity: 0;
          transform: translateY(30px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  @keyframes fadeIn {
      from {
          opacity: 0;
      }

      to {
          opacity: 1;
      }
  }

  @keyframes pulseShadow {
      0% {
          box-shadow: 0 6px 18px rgba(92, 106, 196, 0.2);
      }

      50% {
          box-shadow: 0 8px 25px rgba(92, 106, 196, 0.3);
      }

      100% {
          box-shadow: 0 6px 18px rgba(92, 106, 196, 0.2);
      }
  }

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

  html {
      scroll-behavior: smooth;
  }

  body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
  }

  section,
  header,
  footer {
      opacity: 0;
      animation: fadeIn var(--animation-duration) ease-out forwards;
  }

  header {
      animation-delay: 0.1s;
  }

  .hero {
      animation-delay: 0.2s;
  }

  #idea-to-reality {
      animation-delay: 0.4s;
  }

  #my-approach {
      animation-delay: 0.6s;
  }

  #possibilities {
      animation-delay: 0.8s;
  }

  #inspirations {
      animation-delay: 1s;
  }

  #investment {
      animation-delay: 1.2s;
  }

  #faq {
      animation-delay: 1.4s;
  }

  #contact {
      animation-delay: 1.6s;
  }

  footer {
      animation-delay: 1.8s;
  }

  header {
      position: fixed;
      top: 0;
      left: 0;
      height: var(--header-height);
      width: 100%;
      padding: 0.8rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      backdrop-filter: blur(16px);
      background: rgba(230, 235, 245, 0.85);
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      border-bottom: 1px solid var(--border-color);
  }

  header .logo-container {
      display: flex;
      align-items: center;
      gap: 1rem;
  }

  .header-image {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      object-fit: cover;
  }

  .logo {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--accent-dark);
      text-decoration: none;
      transition: transform 0.3s ease;
  }

  .logo:hover {
      transform: scale(1.05);
  }

  .nav-toggle {
      display: none;
      border: none;
      cursor: pointer;
      font-size: 2rem;
      color: var(--accent-dark);
      background: transparent;
  }

  nav ul {
      list-style: none;
      display: flex;
      gap: 1rem;
  }

  nav a {
      color: var(--muted);
      text-decoration: none;
      font-weight: 500;
      position: relative;
      padding: 0.6rem 0.4rem;
      transition: color 0.25s ease-in-out;
  }

  nav a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 2.5px;
      background: var(--accent);
      border-radius: 1px;
      transition: width .35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  nav a:hover::after,
  nav a.active::after {
      width: 80%;
  }

  nav a:hover,
  nav a.active {
      color: var(--accent);
  }

  .hero {
      margin-top: var(--header-height);
      min-height: calc(100vh - var(--header-height));
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 3rem 2rem;
      background:
          linear-gradient(135deg, rgba(230, 235, 245, 0.9), rgba(220, 228, 255, 0.9)),
          url('pliki/hero-desktop.png') center/cover no-repeat;
      position: relative;
      animation: fadeInUp var(--animation-duration) ease-out 0.2s forwards;
      opacity: 0;
  }

  @media (max-width: 768px) {
      .hero {
          background:
              linear-gradient(135deg, rgba(230, 235, 245, 0.9), rgba(220, 228, 255, 0.9)),
              url('pliki/hero-mobilny.png') center/cover no-repeat;
      }
  }

  .hero h1 {
      font-size: 3rem;
      margin-bottom: 1.2rem;
      color: var(--accent-dark);
      font-weight: 700;
      animation: fadeInUp 0.5s ease-out 0.4s forwards;
      opacity: 0;
  }

  .hero .tagline {
      font-size: 1.3rem;
      color: var(--muted);
      margin-bottom: 1.8rem;
      max-width: 700px;
      animation: fadeInUp 0.5s ease-out 0.6s forwards;
      opacity: 0;
  }

  .hero p {
      font-size: 1.15rem;
      margin-bottom: 2.8rem;
      max-width: 720px;
      color: var(--text);
      animation: fadeInUp 0.5s ease-out 0.8s forwards;
      opacity: 0;
  }

  .btn {
      padding: 0.95rem 2rem;
      background: var(--accent);
      color: #fff;
      border: none;
      border-radius: 0.6rem;
      font-size: 1.05rem;
      font-weight: 600;
      cursor: pointer;
      transition: transform .2s ease-out, background-color .2s ease-out, box-shadow .2s ease-out;
      box-shadow: 0 6px 18px rgba(92, 106, 196, 0.2);
      text-decoration: none;
      animation: fadeInUp 0.5s ease-out 1s forwards;
      opacity: 0;
  }

  .btn:hover,
  .btn:focus {
      transform: translateY(-4px) scale(1.05);
      background: var(--accent-dark);
      box-shadow: 0 10px 25px rgba(66, 77, 176, 0.3);
      outline: none;
  }

  .btn:disabled {
      background: var(--muted);
      cursor: not-allowed;
      box-shadow: none;
  }

  #form-spinner {
      display: none;
      margin: 10px auto;
  }

  .hero .btn {
      animation: pulseShadow 2.5s infinite ease-in-out, fadeInUp 0.5s ease-out 1s forwards;
      opacity: 0;
  }

  section {
      padding: 5rem 2rem;
  }

  .section-title {
      text-align: center;
      font-size: 2.4rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--accent-dark);
  }

  .section-subtitle {
      text-align: center;
      font-size: 1.15rem;
      color: var(--muted);
      max-width: 750px;
      margin: 0 auto 3.5rem auto;
  }

  .glass-card {
      background: var(--glass-bg);
      backdrop-filter: blur(14px);
      border-radius: 1.1rem;
      padding: 2.3rem;
      box-shadow: 0 10px 35px var(--card-shadow);
      border: 1px solid transparent;
      height: 100%;
      transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
          box-shadow 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
          border-color 0.3s ease-in-out;
  }

  .glass-card:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: 0 15px 45px var(--card-hover-shadow);
      border-color: rgba(92, 106, 196, 0.35);
  }

  .grid-layout {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
      gap: 2.5rem;
  }

  .grid-layout h3 {
      margin-bottom: 1rem;
      font-size: 1.35rem;
      color: var(--accent-dark);
      font-weight: 600;
  }

  .grid-layout h4 {
      margin-bottom: 0.7rem;
      font-size: 1.2rem;
      color: var(--accent);
      font-weight: 600;
  }

  .grid-layout p,
  .grid-layout ul {
      color: var(--muted);
      font-size: 0.95rem;
  }

  .grid-layout ul {
      list-style-position: outside;
      padding-left: 1.2rem;
  }

  .grid-layout ul li {
      margin-bottom: 0.6rem;
  }

  .grid-layout .icon {
      font-size: 2.3rem;
      color: var(--accent);
      margin-bottom: 1rem;
      display: block;
      transition: transform 0.3s ease-in-out;
  }

  .glass-card:hover .icon {
      transform: scale(1.1) rotate(-5deg);
  }

  #investment {
      margin-top: 3rem;
      padding-top: 3rem;
  }

  #investment .price-list {
      list-style: none;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2.5rem;
  }

  .price-item {
      background: var(--glass-bg);
      backdrop-filter: blur(10px);
      border-radius: 1.1rem;
      padding: 2.5rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: 0 10px 35px var(--card-shadow);
      border: 1px solid transparent;
      transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
          box-shadow 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
          border-color 0.3s ease-in-out;
  }

  .price-item:hover {
      transform: translateY(-8px) scale(1.03);
      box-shadow: 0 15px 45px var(--card-hover-shadow);
      border-color: rgba(92, 106, 196, 0.35);
  }

  .price-item h4 {
      margin-bottom: 0.6rem;
      font-size: 1rem;
      color: var(--muted);
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.5px;
  }

  .price-item .package-title {
      font-size: 1.5rem;
      color: var(--accent-dark);
      margin-bottom: 1.2rem;
      font-weight: 600;
  }

  .price-item .amount {
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 1.5rem;
  }

  .price-item .description {
      font-size: 0.95rem;
      color: var(--text);
      margin-bottom: 1.5rem;
      flex-grow: 1;
  }

  .price-note {
      text-align: center;
      margin-top: 3rem;
      font-size: 1.05rem;
      color: var(--muted);
  }

  .price-note strong {
      color: var(--accent-dark);
      font-weight: 600;
  }

  .personal-approach-container {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 3rem;
      text-align: center;
      /* Increased gap */
  }

  .personal-approach-text {
      flex: 1;
      min-width: 300px;
  }

  .personal-approach-text h3 {
      color: var(--accent-dark);
      margin-bottom: 1.2rem;
      font-size: 1.6rem;
  }

  .personal-approach-quote {
      flex: 1;
      min-width: 300px;
      font-size: 1.25rem;
      font-style: italic;
      color: var(--muted);
      padding: 2rem;
      border-left: 5px solid var(--accent);
      background: rgba(255, 255, 255, 0.3);
      border-radius: 0 0.8rem 0.8rem 0;
  }

  .collaboration-steps {
      display: grid;
      grid-template-columns: repeat(2, minmax(270px, 1fr));
      gap: 2.5rem;
      text-align: center;
  }

  .step-card {
      background: var(--glass-bg);
      backdrop-filter: blur(10px);
      border-radius: 1.1rem;
      padding: 2.2rem;
      box-shadow: 0 10px 35px var(--card-shadow);
      position: relative;
      border: 1px solid transparent;
      transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
          box-shadow 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
          border-color 0.3s ease-in-out;
  }

  .step-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 45px var(--card-hover-shadow);
      border-color: rgba(92, 106, 196, 0.35);
  }

  .step-card .step-number {
      font-size: 1.25rem;
      font-weight: 700;
      color: #fff;
      background-color: var(--accent);
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px rgba(92, 106, 196, 0.4);
      transition: transform 0.3s ease;
      position: absolute;
      top: 10px;
      left: 10px;
  }

  .step-card:hover .step-number {
      transform: scale(1.1) rotate(-10deg);
  }

  .step-card h4 {
      color: var(--accent-dark);
      margin-bottom: 1rem;
      font-size: 1.25rem;
      margin-top: 0.2rem;
      font-weight: 600;
      margin-top: 20px;
  }

  .step-card p {
      color: var(--muted);
      font-size: 0.95rem;
  }

  #my-approach .section-subtitle {
      margin-top: 3.5rem;
      font-size: 1.18rem;
      color: var(--text);
      line-height: 1.8;
  }

  .faq-list {
      max-width: 800px;
      margin: 0 auto;
  }

  .faq-item {
      margin-bottom: 1.1rem;
      background: var(--glass-bg);
      border-radius: 0.75rem;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      border: 1px solid var(--border-color);
      overflow: hidden;
      transition: box-shadow 0.3s ease;
  }

  .faq-item:hover {
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }

  .faq-q {
      font-weight: 600;
      color: var(--accent-dark);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.1rem 1.3rem;
      transition: background-color 0.25s ease-in-out;
  }

  .faq-item:hover .faq-q {
      background-color: rgba(92, 106, 196, 0.04);
  }

  .faq-q::after {
      content: '+';
      font-size: 1.5rem;
      font-weight: 300;
      line-height: 1;
      transition: transform 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6);
      color: var(--accent);
  }

  .faq-item.active .faq-q::after {
      transform: rotate(135deg);
  }

  .faq-a {
      max-height: 0;
      overflow: hidden;
      color: var(--text);
      padding: 0 1.3rem;
      font-size: 0.95rem;
      line-height: 1.65;
      transition: max-height 0.4s ease-in-out, padding-top 0.4s ease-in-out, padding-bottom 0.4s ease-in-out;
  }

  .faq-item.active .faq-a {
      padding-top: 0.5rem;
      padding-bottom: 1.1rem;
      border-top: 1px solid var(--border-color);
  }

  .contact-form {
      max-width: 580px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 1.1rem;
  }

  .contact-form input,
  .contact-form textarea {
      padding: 1rem;
      border: 1px solid #ced4da;
      border-radius: 0.5rem;
      font-size: 1rem;
      background: #f8f9fa;
      transition: border-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
      color: #999;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 4px rgba(92, 106, 196, 0.25);
      background: #fff;
  }

  .contact-form .form-error,
  .contact-form .form-success {
      padding: 0.9rem;
      border-radius: 0.5rem;
      font-size: 0.95rem;
      text-align: center;
      margin-top: 0.6rem;
  }

  .contact-form .form-error {
      color: #a94442;
      background-color: #f2dede;
      border: 1px solid #ebccd1;
      display: none;
  }

  .contact-form .form-success {
      color: #3c763d;
      background-color: #dff0d8;
      border: 1px solid #d6e9c6;
      display: none;
  }


  .socials {
      margin-top: 2.2rem;
      text-align: center;
  }

  .socials a {
      display: inline-block;
      margin: 0 0.8rem;
      color: var(--accent);
      font-size: 1.9rem;
      transition: color .25s ease-in-out, transform .25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .socials a:hover {
      color: var(--accent-dark);
      transform: scale(1.25) translateY(-3px) rotate(-5deg);
  }

  footer {
      text-align: center;
      padding: 2.8rem 1rem;
      color: var(--muted);
      font-size: 0.9rem;
      background: var(--glass-bg);
      margin-top: 2.8rem;
      border-top: 1px solid var(--border-color);
  }

  footer a {
      color: var(--accent);
      text-decoration: none;
      font-weight: 500;
  }

  footer a:hover {
      text-decoration: underline;
      color: var(--accent-dark);
  }

  @media (max-width: 992px) {
      .grid-layout {
          grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
      }

      .personal-approach-text,
      .personal-approach-quote {
          min-width: 100%;
      }
  }

  @media (max-width: 768px) {
      nav {
          width: 100%;
          margin-top: 0.8rem;
      }

      nav ul {
          display: none;
          flex-direction: column;
          align-items: center;
          gap: 0.2rem;
          position: absolute;
          top: 100%;
          right: 0;
          background: rgba(230, 235, 245, 0.98);
          box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
          padding: 1.2rem 1rem;
          border-radius: 0 0 0.8rem 0.8rem;
          z-index: 1001;
      }

      nav a {
          padding: 0.6rem 1rem;
          display: block;
          text-align: center;
      }

      nav a::after {
          bottom: 2px;
          height: 2px;
      }

      .hero h1 {
          font-size: 2.5rem;
      }

      .hero .tagline {
          font-size: 1.15rem;
      }

      .hero p {
          font-size: 1.05rem;
      }

      .hero .btn {
          animation: none;
      }

      section {
          padding: 3.5rem 1rem;
      }

      .hero,
      .hero h1,
      .hero .tagline,
      .hero p,
      .hero .btn {
          animation: fadeInUp 0.5s ease-out forwards;
          opacity: 0;
      }

      .hero {
          animation-delay: 0.1s;
      }

      .hero h1 {
          animation-delay: 0.2s;
      }

      .hero .tagline {
          animation-delay: 0.3s;
      }

      .hero p {
          animation-delay: 0.4s;
      }

      .hero .btn {
          animation-delay: 0.5s;
          animation-name: fadeInUp, pulseShadow;
      }

      .section-title {
          font-size: 2rem;
      }

      .section-subtitle {
          font-size: 1.05rem;
          margin-bottom: 2.5rem;
      }

      .grid-layout,
      #investment .price-list,
      .collaboration-steps {
          grid-template-columns: 1fr;
          gap: 2rem;
      }

      .glass-card,
      .price-item,
      .step-card {
          padding: 2rem;
      }

      .personal-approach-quote {
          font-size: 1.1rem;
          padding: 1.5rem;
      }

      .step-card {
          padding-top: 3.8rem;
      }

      .faq-q,
      .faq-a {
          padding-left: 1.1rem;
          padding-right: 1.1rem;
      }

      .contact-form {
          gap: 1rem;
      }

      .contact-form input,
      .contact-form textarea {
          padding: 0.9rem;
      }
  }

  @media (max-width: 480px) {
      .hero h1 {
          font-size: 2.1rem;
      }

      .hero .tagline {
          font-size: 1.05rem;
      }

      .section-title {
          font-size: 1.8rem;
      }

      .logo {
          font-size: 1.4rem;
      }

      .btn {
          padding: 0.85rem 1.6rem;
          font-size: 1rem;
      }

      .glass-card,
      .price-item,
      .step-card {
          padding: 1.8rem;
      }
  }

  @media (max-width: 900px) {
      header {}

      .nav-toggle {
          display: block;
      }

      nav {
          width: 100%;
      }

      nav ul.open {
          display: flex;
      }
  }

  #possibilities {
      padding: 0rem 2rem;
  }

  #possibilities .section-subtitle {
      margin: 0 auto 0rem auto;
  }

  #possibilities .swiper {
      overflow: hidden;
      padding-bottom: 1.5rem;
  }

  #possibilities .swiper-wrapper {
      align-items: center;
  }

  #possibilities .swiper-slide {
      text-align: center;
      display: flex;
      align-items: center;
      min-height: 380px;
      padding: 1rem;
  }

  #possibilities .swiper-slide .glass-card {
      box-shadow: 0 10px 35px var(--card-shadow);
      transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
          box-shadow 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
          border-color 0.3s ease-in-out;
  }

  #possibilities .swiper-pagination {
      position: absolute;
      bottom: 1rem;
      left: 0;
      width: 100%;
      text-align: center;
      z-index: 10;
  }

  #possibilities .swiper-pagination-bullet {
      background: var(--muted);
      opacity: 0.6;
      width: 10px;
      height: 10px;
      margin: 0 5px;
      transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  }

  #possibilities .swiper-pagination-bullet-active {
      background: var(--accent);
      opacity: 1;
      transform: scale(1.2);
  }

  .g-recaptcha {
      margin: auto;
  }

  .card-toggle {
      text-align: center;
      grid-row-start: 1;
      grid-row-end: 2;
      grid-column-start: 1;
      grid-column-end: 6;
  }

  .toggle-btn {
      background: #eee;
      border: none;
      padding: 0.5rem 1rem;
      margin: 0 0.25rem;
      cursor: pointer;
      border-radius: 5px;
      font-weight: 600;
      transition: background-color 0.3s;
  }

  .toggle-btn:hover {
      background: #d1d5db;
  }

  .toggle-btn.active {
      background: #4a90e2;
      color: white;
  }

  .card-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
      gap: 2.5rem;
      grid-row-start: 2;
      grid-row-end: 3;
      grid-column-start: 1;
      grid-column-end: 6;
  }

  .card-content {
      display: none;
  }

  .card-content.active {
      display: block;
  }

  .card-content.screenshot {
      width: 100%;
      max-height: 350px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      border-radius: 10px;
      transition: transform 0.3s ease;
  }

  .card-content.screenshot img {
      width: 100%;
      height: 350px;
      padding: 10px;
      object-fit: contain;
  }