    html, body {
  height: 100%;
}

body {
  margin: 0;
  overscroll-behavior-y: none;
}

    
    :root {
      --bg: #050816;
      --bg-alt: #0b1020;
      --card: #111827;
      --accent: #4f46e5;
      --accent-soft: rgba(79, 70, 229, 0.15);
      --accent-strong: rgba(79, 70, 229, 0.35);
      --text: #f9fafb;
      --text-soft: #9ca3af;
      --border-soft: #1f2933;
      --error: #f97373;
      --success: #22c55e;
      --radius-lg: 18px;
      --radius-full: 999px;
      --shadow-soft: 0 18px 45px rgba(0,0,0,0.45);
      --shadow-subtle: 0 10px 30px rgba(0,0,0,0.25);
      --transition-fast: 0.18s ease-out;
      --max-width: 1100px;
    }

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

  body{
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text","Segoe UI", sans-serif;

  /* ✅ fallback så det ALDRIG blir vitt */
  background-color: #020617;

  /* ✅ overlay + bild */
  background-image:
    linear-gradient(rgba(2,6,23,0.78), rgba(2,6,23,0.90)),
    url("./assets/dator.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}



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

    img {
      max-width: 100%;
      display: block;
    }

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* NAVBAR */
    header {
      position: sticky;
      top: 0;
      z-index: 40;
      backdrop-filter: blur(16px);
        background: linear-gradient(
    to bottom,
    rgba(2,6,23,0.85),
    rgba(2,6,23,0.70)
  );
      border-bottom: 1px solid rgba(148,163,184,0.1);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 96px;
      padding: 0 0;              /* vi animerar padding istället */
      transition: padding 0.25s ease;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-weight: 600;
      letter-spacing: 0.04em;
    }

    .logo-mark {
      width: 30px;
      height: 30px;
      border-radius: 11px;
      background: conic-gradient(from 160deg, #4f46e5, #22c55e, #ec4899, #4f46e5);
      position: relative;
      box-shadow: 0 0 24px rgba(79,70,229,0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      color: #e5e7eb;
    }

    .logo-img {
  height: 120px;
  width: auto;
  display: block;
  transition: height 0.25s ease;
}

/* ===== SCROLL SHRINK (CLEAN) ===== */

header.shrink .nav {
  padding-top: 6px;
  padding-bottom: 6px;
}

header.shrink .logo-img {
  height: 56px;
}

header.shrink nav a {
  font-size: 0.9rem;
}

header.shrink .nav-cta {
  transform: scale(0.88);
}

header.shrink .nav-cta:hover {
  transform: scale(0.92); 
}




    .logo-mark::after {
      content: "";
      position: absolute;
      inset: 3px;
      border-radius: 8px;
      background: radial-gradient(circle at 20% 0, #111827, #020617);
    }

    .logo-text {
      position: relative;
      z-index: 1;
      font-size: 1.05rem;
    }

    .logo-text span {
      display: block;
      font-size: 0.75rem;
      color: var(--text-soft);
      font-weight: 400;
    }

    nav ul {
      display: flex;
      gap: 1.8rem;
      list-style: none;
      align-items: center;
    }

    nav a {
    font-size: 1.05rem;
    color: var(--text-soft);
    position: relative;
    transition:
    font-size 0.25s ease,
    color var(--transition-fast),
    transform 0.12s ease-out;
}


    nav a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -0.25rem;
      width: 0;
      height: 2px;
      background: linear-gradient(to right, #4f46e5, #22c55e);
      border-radius: 999px;
      transition: width 0.2s ease-out;
    }

    nav a:hover {
      color: var(--text);
      transform: translateY(-1px);
    }

    nav a:hover::after {
      width: 100%;
    }

    .nav-cta {
      padding: 0.65rem 1.35rem;
      border-radius: var(--radius-full);
      background: linear-gradient(135deg, #4f46e5, #22c55e);
      font-size: 1rem;
      font-weight: 500;
      border: none;
      cursor: pointer;
      box-shadow: 0 14px 30px rgba(79,70,229,0.55);
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      transition: 
                  transform 0.25s ease,
                  box-shadow var(--transition-fast),
                  filter var(--transition-fast);
      will-change: transform;

    }

    .nav-cta span {
      font-size: 1rem;
      transform: translateY(1px);
    }

    .nav-cta:hover {
      transform: translateY(-1px) scale(1.01);
      filter: brightness(1.06);
      box-shadow: 0 16px 35px rgba(79,70,229,0.7);
    }

    .nav-cta:active {
      transform: translateY(0) scale(0.99);
      box-shadow: 0 8px 22px rgba(15,23,42,0.9);
    }

    .mobile-toggle {
      display: none;
      border: none;
      outline: none;
      background: transparent;
      cursor: pointer;
      padding: 0.2rem;
    }

    .mobile-toggle span {
      display: block;
      width: 22px;
      height: 2px;
      border-radius: 999px;
      background: #e5e7eb;
      margin: 4px 0;
      transition: transform var(--transition-fast),
                  opacity var(--transition-fast),
                  background var(--transition-fast);
    }

    .mobile-open .bar1 {
      transform: translateY(6px) rotate(45deg);
    }

    .mobile-open .bar2 {
      opacity: 0;
    }

    .mobile-open .bar3 {
      transform: translateY(-6px) rotate(-45deg);
    }

    .mobile-menu {
      display: none;
      padding: 0.8rem 0 1.4rem;
      border-top: 1px solid rgba(148,163,184,0.15);
    }

    .mobile-menu ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }

    .mobile-menu a {
      font-size: 0.95rem;
      color: var(--text-soft);
    }

    .mobile-menu a:hover {
      color: var(--text);
    }

    .mobile-menu .nav-cta {
      margin-top: 0.8rem;
      width: 100%;
      justify-content: center;
    }

    /* HERO */
    main {
      flex: 1;
    }

    .hero {
      padding: 4rem 0 3.5rem;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
      gap: 3rem;
      align-items: center;
    }

    .hero-kicker {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.25rem 0.65rem;
      border-radius: var(--radius-full);
      background: radial-gradient(circle at 0 0, rgba(56,189,248,0.25), transparent 55%),
                  rgba(15,23,42,0.8);
      border: 1px solid rgba(148,163,184,0.45);
      font-size: 0.75rem;
      color: var(--text-soft);
      margin-bottom: 1rem;
    }

    .hero-kicker span {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #22c55e;
      box-shadow: 0 0 8px rgba(34,197,94,0.7);
    }

    .hero h1 {
      font-size: clamp(2.3rem, 3vw + 1.4rem, 3.25rem);
      line-height: 1.1;
      margin-bottom: 1rem;
      letter-spacing: -0.04em;
    }

    .hero h1 span {
      background: linear-gradient(120deg, #a855f7, #4f46e5, #22c55e);
       background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
    }

    .hero-sub {
      font-size: 0.98rem;
      color: var(--text-soft);
      max-width: 32rem;
      margin-bottom: 1.8rem;
    }

    .hero-cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      align-items: center;
      margin-bottom: 1.4rem;
    }

    .btn-primary {
      padding: 0.75rem 1.5rem;
      border-radius: var(--radius-full);
      border: none;
      cursor: pointer;
      background: linear-gradient(135deg, #4f46e5, #22c55e);
      box-shadow: var(--shadow-soft);
      font-weight: 500;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: transform var(--transition-fast),
                  box-shadow var(--transition-fast),
                  filter var(--transition-fast);
    }

    .btn-primary:hover {
      transform: translateY(-1px) scale(1.01);
      filter: brightness(1.07);
      box-shadow: 0 22px 45px rgba(15,23,42,0.9);
    }

    .btn-primary:active {
      transform: translateY(0) scale(0.99);
      box-shadow: 0 10px 25px rgba(15,23,42,0.95);
    }

    .btn-secondary {
      padding: 0.7rem 1.3rem;
      border-radius: var(--radius-full);
      border: 1px solid rgba(148,163,184,0.7);
      background: rgba(15,23,42,0.9);
      font-size: 0.9rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      color: var(--text-soft);
      box-shadow: var(--shadow-subtle);
      transition: background var(--transition-fast),
                  border-color var(--transition-fast),
                  color var(--transition-fast),
                  transform var(--transition-fast),
                  box-shadow var(--transition-fast);
    }

    .btn-secondary:hover {
      background: #020617;
      border-color: #4f46e5;
      color: #e5e7eb;
      transform: translateY(-1px);
      box-shadow: 0 18px 40px rgba(15,23,42,0.9);
    }

    .btn-secondary:active {
      transform: translateY(0);
      box-shadow: 0 10px 24px rgba(15,23,42,0.95);
    }

    .hero-meta {
      font-size: 0.8rem;
      color: var(--text-soft);
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      margin-top: 0.5rem;
    }

    .hero-meta strong {
      color: #e5e7eb;
      font-weight: 500;
    }

    .hero-card {
      position: relative;
      border-radius: 28px;
      background: radial-gradient(circle at 0 0, rgba(56,189,248,0.18), transparent 55%),
                  radial-gradient(circle at 100% 0, rgba(244,63,94,0.18), transparent 55%),
                  #020617;
      padding: 1.5rem 1.5rem 1.4rem;
      box-shadow: 0 30px 70px rgba(0,0,0,0.8);
      border: 1px solid rgba(148,163,184,0.32);
      overflow: hidden;
    }

    .hero-card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
    }

    .badge-pill {
      padding: 0.3rem 0.75rem;
      border-radius: var(--radius-full);
      background: rgba(15,23,42,0.75);
      border: 1px solid rgba(148,163,184,0.4);
      font-size: 0.75rem;
      color: var(--text-soft);
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }

    .badge-pill span.dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #22c55e;
    }

    .hero-card-title {
      font-size: 0.95rem;
      color: #e5e7eb;
      margin-bottom: 0.4rem;
    }

    .hero-card-sub {
      font-size: 0.8rem;
      color: var(--text-soft);
      margin-bottom: 0.8rem;
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.75rem;
      margin-bottom: 0.9rem;
    }

    .stat-box {
      background: rgba(15,23,42,0.9);
      border-radius: 16px;
      padding: 0.55rem 0.6rem;
      border: 1px solid rgba(31,41,55,0.9);
    }

    .stat-label {
      font-size: 0.7rem;
      color: var(--text-soft);
    }

    .stat-value {
      font-size: 0.9rem;
      font-weight: 600;
      margin-top: 0.1rem;
    }

    .stat-value span {
      font-size: 0.8rem;
      color: var(--text-soft);
      font-weight: 400;
    }

    .hero-timeline {
      margin-top: 0.5rem;
      border-radius: 18px;
      background: rgba(15,23,42,0.9);
      border: 1px solid rgba(31,41,55,0.9);
      padding: 0.8rem 0.9rem;
      font-size: 0.78rem;
    }

    .hero-timeline-row {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      margin-bottom: 0.45rem;
    }

    .hero-timeline-row:last-child {
      margin-bottom: 0;
    }

    .step-pill {
      width: 18px;
      height: 18px;
      border-radius: 999px;
      border: 1px solid rgba(148,163,184,0.7);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      color: var(--text-soft);
    }

    .hero-timeline-label {
      color: #e5e7eb;
    }

    .hero-timeline-text {
      color: var(--text-soft);
    }

    .hero-card-footer {
      margin-top: 0.9rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.75rem;
      color: var(--text-soft);
    }

    .hero-card-footer span.strong {
      color: #e5e7eb;
      font-weight: 500;
    }

    .hero-card-footer .pill {
      padding: 0.25rem 0.65rem;
      border-radius: var(--radius-full);
      background: rgba(22,163,74,0.13);
      border: 1px solid rgba(34,197,94,0.5);
      color: #bbf7d0;
      font-size: 0.72rem;
    }

    /* SECTIONS */
    section {
      padding: 3.2rem 0;
    }

    .section-header {
      max-width: 650px;
      margin: 0 auto 2rem;
      text-align: center;
    }

    .section-kicker {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--text-soft);
      margin-bottom: 0.4rem;
    }

    .section-title {
      font-size: 1.7rem;
      letter-spacing: -0.04em;
      margin-bottom: 0.4rem;
    }

    .section-title span {
      color: #a5b4fc;
    }

    .section-sub {
      font-size: 0.9rem;
      color: var(--text-soft);
    }

    /* SERVICES */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.4rem;
    }

    .card {
      background: radial-gradient(circle at 0 0, rgba(79,70,229,0.17), transparent 55%),
                  #020617;
      border-radius: var(--radius-lg);
      border: 1px solid rgba(31,41,55,0.95);
      padding: 1.1rem 1.1rem 1.05rem;
      box-shadow: var(--shadow-subtle);
      position: relative;
      overflow: hidden;
      transition: transform var(--transition-fast),
                  box-shadow var(--transition-fast),
                  border-color var(--transition-fast),
                  background var(--transition-fast);
    }

    .card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 10% -10%, rgba(236,72,153,0.22), transparent 55%);
      opacity: 0;
      transition: opacity var(--transition-fast);
      pointer-events: none;
    }

    .card:hover {
      transform: translateY(-4px);
      border-color: rgba(79,70,229,0.9);
      box-shadow: 0 24px 60px rgba(15,23,42,0.95);
      background: radial-gradient(circle at 0 0, rgba(79,70,229,0.24), transparent 55%),
                  #020617;
    }

    .card:hover::before {
      opacity: 1;
    }

    .card-icon {
      width: 32px;
      height: 32px;
      border-radius: 12px;
      background: rgba(15,23,42,0.9);
      border: 1px solid rgba(148,163,184,0.55);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      margin-bottom: 0.7rem;
    }

    .card h3 {
      font-size: 1rem;
      margin-bottom: 0.3rem;
    }

    .card p {
      font-size: 0.85rem;
      color: var(--text-soft);
      margin-bottom: 0.7rem;
    }

    .card ul {
      list-style: none;
      font-size: 0.8rem;
      color: var(--text-soft);
    }

    .card ul li {
      display: flex;
      align-items: center;
      gap: 0.3rem;
      margin-bottom: 0.2rem;
    }

    .card ul li::before {
      content: "•";
      font-size: 0.9rem;
      color: #a5b4fc;
    }

    /* PROCESS */
    .process-grid {
      display: grid;
      grid-template-columns: 1.1fr 1.2fr;
      gap: 2rem;
      align-items: flex-start;
    }

    .process-list {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .step-card {
      padding: 0.9rem 1rem;
      border-radius: var(--radius-lg);
      border: 1px solid rgba(31,41,55,0.95);
      background: #020617;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 0.7rem 0.8rem;
      align-items: flex-start;
    }

    .step-number {
      width: 28px;
      height: 28px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(148,163,184,0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.78rem;
      color: var(--text-soft);
      margin-top: 0.15rem;
    }

    .step-main h3 {
      font-size: 0.95rem;
      margin-bottom: 0.2rem;
    }

    .step-main p {
      font-size: 0.83rem;
      color: var(--text-soft);
      margin-bottom: 0.4rem;
    }

    .step-main span {
      font-size: 0.76rem;
      color: #a5b4fc;
    }

    .process-aside {
      border-radius: 22px;
      border: 1px solid rgba(79,70,229,0.6);
      background: radial-gradient(circle at 0 0, rgba(79,70,229,0.2), transparent 55%),
                  #020617;
      padding: 1.2rem 1.3rem;
      box-shadow: var(--shadow-soft);
      font-size: 0.85rem;
      color: var(--text-soft);
    }

    .process-aside h3 {
      font-size: 1rem;
      margin-bottom: 0.5rem;
    }

    .process-aside strong {
      color: #e5e7eb;
    }

    .process-aside ul {
      margin-top: 0.6rem;
      padding-left: 1.1rem;
    }

    .process-aside li {
      margin-bottom: 0.3rem;
    }

    /* WHY US */
    .why-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.1rem;
    }

    .pill-stat {
      padding: 0.7rem 0.8rem;
      border-radius: 999px;
      border: 1px solid rgba(148,163,184,0.6);
      font-size: 0.8rem;
      color: var(--text-soft);
      display: inline-flex;
      gap: 0.4rem;
      align-items: center;
      background: rgba(15,23,42,0.85);
      margin-bottom: 0.5rem;
    }

    .pill-stat strong {
      color: #e5e7eb;
      font-weight: 500;
    }

    /* PORTFOLIO */
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.2rem;
    }

    .project-card {
      border-radius: var(--radius-lg);
      border: 1px solid rgba(31,41,55,0.95);
      background: #020617;
      padding: 0.9rem 1rem;
    }

    .project-badge {
      font-size: 0.7rem;
      padding: 0.25rem 0.6rem;
      border-radius: var(--radius-full);
      background: rgba(15,23,42,0.9);
      border: 1px solid rgba(148,163,184,0.6);
      display: inline-block;
      margin-bottom: 0.4rem;
      color: var(--text-soft);
    }

    .project-card h3 {
      font-size: 0.95rem;
      margin-bottom: 0.3rem;
    }

    .project-card p {
      font-size: 0.8rem;
      color: var(--text-soft);
      margin-bottom: 0.4rem;
    }

    .project-meta {
      font-size: 0.75rem;
      color: var(--text-soft);
      display: flex;
      justify-content: space-between;
    }

    /* PRICING */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.4rem;
    }

    .pricing-card {
      background: #020617;
      border-radius: var(--radius-lg);
      border: 1px solid rgba(31,41,55,0.95);
      padding: 1.1rem 1.1rem 1rem;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-subtle);
    }

    .pricing-card.primary {
      border-color: rgba(79,70,229,0.9);
      box-shadow: var(--shadow-soft);
      background: radial-gradient(circle at 0 0, rgba(79,70,229,0.25), transparent 55%),
                  #020617;
    }

    .pricing-label {
      font-size: 0.8rem;
      color: #a5b4fc;
      margin-bottom: 0.25rem;
    }

    .pricing-title {
      font-size: 1rem;
      margin-bottom: 0.3rem;
    }

    .pricing-price {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 0.4rem;
    }

    .pricing-price span {
      font-size: 0.72rem;
      font-weight: 400;
      color: var(--text-soft);
    }

    .pricing-card p {
      font-size: 0.8rem;
      color: var(--text-soft);
      margin-bottom: 0.6rem;
    }

    .pricing-card ul {
      list-style: none;
      margin-bottom: 0.7rem;
      font-size: 0.8rem;
      color: var(--text-soft);
    }

    .pricing-card ul li {
      display: flex;
      align-items: center;
      gap: 0.3rem;
      margin-bottom: 0.25rem;
    }

    .pricing-card ul li::before {
      content: "✓";
      font-size: 0.85rem;
      color: #4ade80;
    }

    .pricing-note {
      font-size: 0.72rem;
      color: var(--text-soft);
      margin-top: 0.5rem;
      text-align: center;
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
      gap: 2rem;
      align-items: flex-start;
    }

    .faq-list {
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }

    .faq-item {
      border-radius: var(--radius-lg);
      border: 1px solid rgba(31,41,55,0.95);
      background: #020617;
      padding: 0.8rem 0.9rem;
      font-size: 0.85rem;
    }

    .faq-item strong {
      display: block;
      margin-bottom: 0.25rem;
    }

    .faq-item p {
      color: var(--text-soft);
    }

    /* ABOUT */
    .about-grid {
      display: grid;
      grid-template-columns: 1.1fr 1.1fr;
      gap: 2rem;
    }

    .about-card {
      border-radius: 20px;
      border: 1px solid rgba(31,41,55,0.95);
      background: #020617;
      padding: 1.1rem 1.1rem 1rem;
      font-size: 0.86rem;
      color: var(--text-soft);
    }

    .about-card h3 {
      font-size: 1rem;
      margin-bottom: 0.4rem;
      color: #e5e7eb;
    }

    .about-card ul {
      margin-top: 0.4rem;
      padding-left: 1.1rem;
    }

    .about-card li {
      margin-bottom: 0.25rem;
    }

    /* CONTACT */
    .contact-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
      gap: 2rem;
      align-items: flex-start;
    }

    form {
      border-radius: 20px;
      border: 1px solid rgba(31,41,55,0.95);
      background: #020617;
      padding: 1.1rem 1.2rem 1.1rem;
      box-shadow: var(--shadow-subtle);
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.9rem;
    }

    .field {
      margin-bottom: 0.9rem;
    }

    label {
      display: block;
      font-size: 0.8rem;
      margin-bottom: 0.25rem;
      color: #e5e7eb;
    }

    input, textarea, select {
      width: 100%;
      padding: 0.55rem 0.65rem;
      border-radius: 10px;
      border: 1px solid rgba(31,41,55,0.95);
      background: rgba(15,23,42,0.9);
      color: #e5e7eb;
      font-family: inherit;
      font-size: 0.85rem;
      outline: none;
      transition: border-color var(--transition-fast),
                  box-shadow var(--transition-fast),
                  background var(--transition-fast);
    }

    input::placeholder,
    textarea::placeholder {
      color: rgba(148,163,184,0.7);
    }

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

    input:focus,
    textarea:focus,
    select:focus {
      border-color: #4f46e5;
      box-shadow: 0 0 0 1px rgba(79,70,229,0.7);
      background: #020617;
    }

    .helper-text {
      font-size: 0.75rem;
      color: var(--text-soft);
      margin-top: -0.15rem;
      margin-bottom: 0.4rem;
    }

    .contact-aside {
      font-size: 0.85rem;
      color: var(--text-soft);
    }

    .contact-aside h3 {
      font-size: 1rem;
      margin-bottom: 0.4rem;
      color: #e5e7eb;
    }

    .contact-aside ul {
      margin-top: 0.4rem;
      padding-left: 1.1rem;
    }

    .contact-aside li {
      margin-bottom: 0.3rem;
    }

    .alert {
      font-size: 0.78rem;
      margin-bottom: 0.7rem;
      padding: 0.45rem 0.65rem;
      border-radius: 9px;
      border: 1px solid rgba(148,163,184,0.6);
      background: rgba(15,23,42,0.9);
    }

    .alert strong {
      color: #e5e7eb;
    }

    /* FOOTER */
    footer {
      border-top: 1px solid rgba(15,23,42,1);
      background: #020617;
      padding: 1.4rem 0 1.3rem;
      font-size: 0.78rem;
      color: var(--text-soft);
      margin-top: 2rem;
    }

    .footer-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .footer-links {
      display: flex;
      gap: 1.2rem;
      flex-wrap: wrap;
    }

    .footer-links a {
      text-decoration: none;
      color: var(--text-soft);
    }

    .footer-links a:hover {
      color: #e5e7eb;
    }

    .footer-social {
      display: flex;
      gap: 0.7rem;
    }

    .footer-pill {
      padding: 0.25rem 0.65rem;
      border-radius: 999px;
      border: 1px solid rgba(148,163,184,0.5);
      background: rgba(15,23,42,0.9);
    }

    /* RESPONSIVE */
    @media (max-width: 900px) {
      .hero-grid,
      .process-grid,
      .faq-grid,
      .about-grid,
      .contact-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .qs-trigger{
        height: 45vh;
      }

      .hero {
        padding-top: 3rem;
      }

      .hero-card {
        order: -1;
      }

      .services-grid,
      .portfolio-grid,
      .pricing-grid,
      .why-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
      }
    }

    @media (max-width: 720px) {
      nav ul {
        display: none;
      }

      .mobile-toggle {
        display: block;
      }

      .services-grid,
      .portfolio-grid,
      .pricing-grid,
      .why-grid {
        grid-template-columns: minmax(0,1fr);
      }

      section {
        padding: 2.5rem 0;
      }

      .hero {
        padding-top: 2.4rem;
      }

      .form-row {
        grid-template-columns: minmax(0,1fr);
      }
    }

    @media (max-width: 480px) {
      .container {
        padding: 0 1.1rem;
      }

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

    /* ===============================
   PROCESS – SCROLL STORY
================================ */

.process-scroll {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  margin-top: 2.5rem;
}

.process-steps{
  position: sticky;
  top: 120px;
  z-index: 5;                 /* viktigt för klick */
  align-self: start;

  display:flex;
  flex-direction: column;
  gap: 0.6rem;

  padding: 10px 10px 10px 26px;  /* plats för progresslinje */
  border-radius: 18px;
  background: rgba(2,6,23,0.20);
  border: 1px solid rgba(148,163,184,0.12);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

/* progress rail */
.process-rail{
  position: absolute;
  left: 14px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: rgba(148,163,184,0.18);
  border-radius: 999px;
  overflow: hidden;
  pointer-events: none;
}

.process-rail-fill{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to top, rgba(34,197,94,0.9), rgba(99,102,241,0.9));
  border-radius: 999px;
  transition: height 0.25s ease;
}

/* glow som flyttar sig */
.process-glow{
  position: absolute;
  left: -60px;
  top: 40px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(99,102,241,0.25), transparent 60%);
  filter: blur(6px);
  opacity: 0.95;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
  z-index: 1;
}


/* klick-fix: gör hela knappen klickbar */
.step{ position: relative; z-index: 6; }
.step *{ pointer-events: none; }

.step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148,163,184,0.18);
  color: rgba(226,232,240,0.85);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  text-align: left;
}

.step span {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  border: 1px solid rgba(148,163,184,0.3);
}

.step.active {
  background: rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.55);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(99,102,241,0.18);
}


/* Höger: paneler */
.process-panels {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.panel {
  border-radius: 20px;
  padding: 2rem;
  background: rgba(2,6,23,0.45);
  border: 1px solid rgba(148,163,184,0.18);
  opacity: 0.25;
  transform: translateY(30px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  position: relative;
  overflow: hidden;
}

.panel-anchor{
  position: absolute;
  top: 90px;   /* justeras om needed */
  left: 0;
  height: 1px;
  width: 1px;
  opacity: 0;
  pointer-events: none;
}


.panel::before{
  content:"";
  position:absolute;
  inset:-80px;
  background:
    radial-gradient(circle at 20% 10%, rgba(99,102,241,0.22), transparent 45%),
    radial-gradient(circle at 80% 25%, rgba(34,197,94,0.16), transparent 45%);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.panel.active::before{
  opacity: 1;
}


.panel.active {
  opacity: 1;
  transform: translateY(0);
}

.result {
  margin-top: 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  background: rgba(2,6,23,0.35);
  border: 1px solid rgba(148,163,184,0.2);
  font-size: 0.85rem;
} 

/* ===============================
   PROCESS – QUICKSOLUTIONS STYLE
================================ */

.process-scroll.process-qs{
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  margin-top: 2.5rem;
}

/* Left: sticky timeline box */
.qs-rail{
  position: sticky;
  top: 120px;
  align-self: start;
  border-radius: 18px;
  background: rgba(2,6,23,0.18);
  border: 1px solid rgba(148,163,184,0.12);
  backdrop-filter: blur(10px);
  padding: 18px 16px 18px 22px;
  overflow: hidden;
}

/* timeline line */
.qs-rail-line{
  position: absolute;
  left: 14px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: rgba(148,163,184,0.18);
  border-radius: 999px;
  overflow: hidden;
  pointer-events: none;
}

/* ✅ fill uppifrån -> ner */
.qs-rail-fill{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  background: linear-gradient(to bottom, rgba(34,197,94,0.9), rgba(99,102,241,0.9));
  border-radius: 999px;

  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;

  /* Viktigt: ingen transition här – annars blir det “stegigt” */
  transition: none;
}


.qs-glow{
  position: absolute;
  left: -70px;
  top: 30px;
  width: 260px;
  height: 260px;
  border-radius: 999px;

  background: radial-gradient(circle, rgba(99,102,241,0.26), transparent 60%);

  filter: blur(4px);              /* ↓ mindre blur = mindre repaint */
  opacity: 0.65;                  /* ↓ mindre tung overlay */

  will-change: transform, opacity;/* ✅ GPU-hint */
  transform: translateZ(0);       /* ✅ tvingar compositing layer */

  transition:
    transform 0.28s cubic-bezier(.2,.7,.2,1),
    opacity   0.28s cubic-bezier(.2,.7,.2,1);

  pointer-events: none;
}


/* steps */
.qs-steps{
  display:flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.qs-step{
  width: 100%;
  text-align: left;
  display:flex;
  align-items:center;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: rgba(2,6,23,0.35);
  border: 1px solid rgba(148,163,184,0.16);
  color: rgba(226,232,240,0.88);
  cursor: pointer;
  position: relative;
  z-index: 3;

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
  will-change: transform;
}

.qs-step *{ pointer-events: none; }

.qs-step span{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-size: 0.85rem;
  border: 1px solid rgba(148,163,184,0.25);
  background: rgba(2,6,23,0.35);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
  will-change: transform;
  transform: translateZ(0);
}

.qs-step.active{
  background: rgba(99,102,241,0.14);
  border-color: rgba(99,102,241,0.65);
  box-shadow: 0 14px 34px rgba(99,102,241,0.22);
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.05);
}


.qs-step.active span{
  transform: scale(1.06);

  border-color: rgba(139,92,246,0.55);   /* lila kant */
  background: rgba(139,92,246,0.10);     /* väldigt mjuk lila fyllning */
  color: #ddd6fe;                        /* ljus lila text */

  box-shadow:
    0 0 0 4px rgba(139,92,246,0.12),
    0 6px 16px rgba(139,92,246,0.20);
    animation: qsPop 240ms cubic-bezier(.2,.9,.2,1) both;
}

/* Right: sticky card */
.qs-card{
  position: sticky;
  top: 160px; /* justera om du vill ha mer “mitt i” */
  border-radius: 22px;
  padding: 2.2rem;
  background: rgba(2,6,23,0.38);
  border: 1px solid rgba(148,163,184,0.14);
  overflow: hidden;
}

.qs-card::before{
  content:"";
  position:absolute;
  inset:-80px;
  background:
    radial-gradient(circle at 20% 10%, rgba(99,102,241,0.22), transparent 45%),
    radial-gradient(circle at 80% 25%, rgba(34,197,94,0.16), transparent 45%);
  filter: blur(10px);
  opacity: 1;
  pointer-events: none;
}

.qs-card-kicker{
  opacity: .8;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.qs-result{
  margin-top: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(2,6,23,0.30);
  border: 1px solid rgba(148,163,184,0.16);
}

/* triggers driver scroll-storyn */
.qs-triggers{
  position: relative;
  margin-top: 20vh;     /* startar efter cardet */
}

.qs-trigger{
  height: 60vh;        /* <-- EXTREMT VIKTIGT */
}


section{
  background: transparent;
}

.card,
.panel,
.qs-card{
  background: rgba(2,6,23,0.55);   /* inte solid */
  backdrop-filter: blur(6px);      /* glass effect */
}

