/* ====================================================
   RetMinTekst Custom Styles
   ====================================================
   This file contains all custom styling for the RetMinTekst application.
   Load Bootstrap 5.3.7 via CDN before including this file.
   ==================================================== */

/* Custom Color Variables */
:root {
  --bs-blue: #6e61ff;
  --bs-indigo: #6610f2;
  --bs-purple: #0f9d8e;
  --bs-pink: #d63384;
  --bs-red: #e47c84;
  --bs-orange: #fd7e14;
  --bs-yellow: #ebc30e;
  --bs-green: #0f9d8e;
  --bs-teal: #7fa6bc;
  --bs-cyan: #7fa6bc;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #7A7363;
  --bs-gray-dark: #4C4A49;
  --bs-gray-100: #FAF8F3;
  --bs-gray-200: #F6F4EF;
  --bs-gray-300: #C2B8A9;
  --bs-gray-400: #A59C89;
  --bs-gray-500: #88827B;
  --bs-gray-600: #7A7363;
  --bs-gray-700: #595653;
  --bs-gray-800: #4C4A49;
  --bs-gray-900: #333333;
  --bs-jonquil: #ebc30e;
  --bs-coral: #e47c84;
  --bs-pullman: #3c3116;
  --bs-moss: #97aa52;
  --bs-ash: #b0cdaf;
  --bs-pine: #2e3424;
  --bs-light-blue: #e9edef;
  --bs-primary: #0f9d8e;
  --bs-secondary: #6c757d;
  --bs-success: #97aa52;
  --bs-info: #7fa6bc;
  --bs-warning: #ebc30e;
  --bs-danger: #e47c84;
  --bs-light: #f8f9fa;
  --bs-dark: #4C4A49;
  --bs-jonquil-rgb: 235, 195, 14;
  --bs-coral-rgb: 228, 124, 132;
  --bs-pullman-rgb: 60, 49, 22;
  --bs-moss-rgb: 151, 170, 82;
  --bs-ash-rgb: 176, 205, 175;
  --bs-pine-rgb: 46, 52, 36;
  --bs-blue-rgb: 110, 97, 255;
  --bs-teal-rgb: 127, 166, 188;
  --bs-purple-rgb: 15, 157, 142;
  --bs-light-blue-rgb: 233, 237, 239;
  --bs-primary-rgb: 15, 157, 142;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 151, 170, 82;
  --bs-info-rgb: 127, 166, 188;
  --bs-warning-rgb: 235, 195, 14;
  --bs-danger-rgb: 228, 124, 132;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 76, 74, 73;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #333333;
  --bs-body-bg: #F6F4EF;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: rgba(194, 184, 169, 0.5);
  --bs-border-color-translucent: rgba(194, 184, 169, 0.3);
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-2xl: 2rem;
  --bs-border-radius-pill: 50rem;
  --bs-link-color: #0f9d8e;
  --bs-link-hover-color: #0d8276;
  --bs-code-color: #d63384;
  --bs-highlight-bg: #fff3cd;
}

/* ====================================================
   Font Definitions
   ==================================================== */

@font-face {
  font-family: "Recoleta";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: local(""), url("../fonts/Recoleta-Black.woff2") format("woff2"), url("../fonts/Recoleta-Black.woff") format("woff");
}

@font-face {
  font-family: "Recoleta";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local(""), url("../fonts/Recoleta-Bold.woff2") format("woff2"), url("../fonts/Recoleta-Bold.woff") format("woff");
}

@font-face {
  font-family: "Recoleta";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local(""), url("../fonts/Recoleta-SemiBold.woff2") format("woff2"), url("../fonts/Recoleta-SemiBold.woff") format("woff");
}

@font-face {
  font-family: "Recoleta";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local(""), url("../fonts/Recoleta-Medium.woff2") format("woff2"), url("../fonts/Recoleta-Medium.woff") format("woff");
}

@font-face {
  font-family: "Recoleta";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local(""), url("../fonts/Recoleta-Regular.woff2") format("woff2"), url("../fonts/Recoleta-Regular.woff") format("woff");
}

@font-face {
  font-family: "Recoleta";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local(""), url("../fonts/Recoleta-Light.woff2") format("woff2"), url("../fonts/Recoleta-Light.woff") format("woff");
}

@font-face {
  font-family: "Recoleta";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: local(""), url("../fonts/Recoleta-Thin.woff2") format("woff2"), url("../fonts/Recoleta-Thin.woff") format("woff");
}

/* ====================================================
   Global Styles
   ==================================================== */

body {
  font-family: "Recoleta", serif;
  font-size: 1.2rem;
  overscroll-behavior: none;
  color: #595653;
}

h1, .h1 {
  font-family: "Recoleta", serif;
  color: #333333;
}

h2, .h2 {
  color: #4C4A49;
}

h3, .h3, h4, .h4 {
  color: #595653;
}

p {
  color: #595653;
}

.lead {
  color: #4C4A49;
}

.text-muted {
  color: #88827B !important;
}

a {
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  opacity: 0.85;
}

button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: all 0.3s ease;
}

/* ====================================================
   File Upload Components
   ==================================================== */

.file-dropzone {
  background: rgba(102, 74, 0, 0.8);
  bottom: 0;
  color: #fff;
  left: 0;
  padding-top: 45vh;
  position: fixed;
  right: 0;
  text-align: center;
  top: 0;
  z-index: 6000;
}

/* ====================================================
   Border Overrides - Softer borders
   ==================================================== */

.border-dark {
  border-color: rgba(194, 184, 169, 0.6) !important;
}

.border-bottom.border-dark {
  border-bottom-color: rgba(194, 184, 169, 0.4) !important;
}

.border-top.border-dark {
  border-top-color: rgba(194, 184, 169, 0.4) !important;
}

/* ====================================================
   Button Styles
   ==================================================== */

.btn {
  transition: all 200ms ease;
  box-shadow: 0 2px 8px rgba(208, 200, 187, 0.2);
}

.btn:hover {
  opacity: 0.9;
  box-shadow: 0 4px 11px rgba(208, 200, 187, 0.33);
  transform: translateY(-1px);
}

.btn.disabled {
  opacity: 0.6;
  box-shadow: none;
}

.btn.active {
  opacity: 0.95;
  box-shadow: 0 2px 6px rgba(208, 200, 187, 0.3);
}

.btn-teal {
  color: #000;
}

.btn-teal:hover:not(.active) {
  color: #000;
}

/* CTA Button - Grammarly Green Style */
.btn-cta {
  background: #0f9d8e;
  border: 3px solid #fff;
  border-radius: 50rem;
  color: #fff !important;
  font-weight: 700;
  padding: 0.875rem 2rem;
  box-shadow: 0 4px 14px rgba(15, 157, 142, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-cta:hover {
  background: #0d8276;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 157, 142, 0.5);
  opacity: 1;
  color: #fff !important;
}

.btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(15, 157, 142, 0.4);
}

/* Enhanced Primary Button Style */
.btn-primary {
  background: #0f9d8e;
  border-color: #0f9d8e;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(15, 157, 142, 0.3);
}

.btn-primary:hover {
  background: #0d8276;
  border-color: #0d8276;
  box-shadow: 0 6px 18px rgba(15, 157, 142, 0.4);
  transform: translateY(-2px);
  opacity: 1;
}

.btn-primary:active {
  background: #0b6f64;
  border-color: #0b6f64;
  transform: translateY(0);
}

/* ====================================================
   Layout Components
   ==================================================== */

.card {
  box-shadow: 0 2px 8px rgba(208, 200, 187, 0.4);
  border-color: rgba(194, 184, 169, 0.5);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 11px rgba(208, 200, 187, 0.5);
  transform: translateY(-2px);
}

.rounded-5 {
  box-shadow: 0 2px 8px rgba(208, 200, 187, 0.15);
  transition: box-shadow 0.3s ease;
}

.rounded-5:hover {
  box-shadow: 0 4px 12px rgba(208, 200, 187, 0.25);
}

.main-section {
  position: static;
  display: block;
  margin-bottom: 0px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-image: url("/images/main-5.svg");
  background-position: 0px 0px;
  background-size: cover;
}

/* ====================================================
   Text and Content Styling
   ==================================================== */

del {
  background: unset;
  background: rgba(228, 124, 132, 0.25);
  border-bottom: 1px solid rgba(228, 124, 132, 0.5);
  color: #595653;
}

ins {
  text-decoration: none;
  background: unset;
  background: rgba(176, 205, 175, 0.25);
  border-bottom: 1px solid rgba(176, 205, 175, 0.5);
  color: #595653;
}

.small {
  font-size: 15px !important;
}

@media (max-width: 767px) {
  .small {
    font-size: 11px !important;
  }
}

.tiny {
  font-size: 0.6rem !important;
}

[contenteditable][data-placeholder]:empty::before {
  content: attr(data-placeholder);
  color: #ccc;
}

/* ====================================================
   Navigation Styles
   ==================================================== */

.nav-link {
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

@media (max-width: 767px) {
  .nav-link {
    font-size: 1rem;
  }
}

.nav-link:hover {
  background-color: #FAF8F3;
}

.nav-link.active {
  background-color: var(--bs-primary);
}

@media (max-width: 767px) {
  #purchaseBtn {
    font-size: 0.9rem;
  }
}

/* Mobile navbar improvements */
.navbar-toggler {
  padding: 0.5rem;
  font-size: 1.25rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(208, 200, 187, 0.3);
  }

  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }

  .navbar-nav .nav-item:last-child {
    margin-bottom: 0;
  }

  .navbar-nav .btn {
    display: block;
    text-align: center;
  }
}

/* ====================================================
   Utility Classes
   ==================================================== */

.smooth-transitions {
  transition: all 0.3s ease;
}

.hover-zoom {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.hover-zoom:hover {
  transform: scale(1.1);
}

/* ====================================================
   Animations
   ==================================================== */

.pulse {
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.05);
  }
  40% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

/* Loading Animation */
.illu__fast {
  position: relative;
  margin: 24px auto;
  width: 10px;
  height: 10px;
}

.dot {
  position: relative;
  width: 10px;
  height: 10px;
  background-color: #97aa52;
  border-radius: 50%;
  transform: translateZ(0);
}

.dot:before {
  animation-delay: 0.75s;
  -webkit-animation-delay: 0.75s;
}

.dot:after,
.dot:before {
  content: " ";
  opacity: 0;
  position: absolute;
  z-index: 1;
  width: 50px;
  height: 50px;
  background-color: #97aa52;
  border-radius: 50%;
  top: -20px;
  left: -20px;
  transform: translateZ(0);
  backface-visibility: hidden;
  animation-name: "ripple";
  -webkit-animation-name: "ripple";
  animation-duration: 3s;
  animation-timing-function: ease;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: normal;
}

@keyframes ripple {
  0% {
    opacity: 0.5;
    transform: scale(0.2);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/* ====================================================
   Form Elements
   ==================================================== */

kbd.alt {
  display: inline-block;
  padding: 3px 5px;
  font-size: 11px;
  line-height: 10px;
  color: #444d56;
  vertical-align: text-bottom;
  background-color: #fafbfc;
  border: solid 1px #c6cbd1;
  border-bottom-color: #959da5;
  border-radius: 3px;
}

kbd {
  background: #b7bbc6;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  display: inline-block;
  text-align: center;
  line-height: 11px;
  margin: 0 3px;
  font-size: 14px;
}

/* ====================================================
   Table Styles
   ==================================================== */

@media (max-width: 767px) {
  td,
  th {
    font-size: 0.8rem;
  }
}

/* ====================================================
   Admin Dashboard Styles
   ==================================================== */

.admin-btn {
  display: inline-block;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(208, 200, 187, 0.2);
}

.admin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.admin-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 11px rgba(208, 200, 187, 0.33);
}

.admin-btn:active {
  opacity: 0.95;
}

.admin-btn-edit {
  background-color: #7C3AED;
  color: #fff;
}

.admin-btn-edit:hover {
  background-color: #6D28D9;
}

.admin-btn-email {
  background-color: #7fa6bc;
  color: #fff;
  box-shadow: 0 2px 8px rgba(208, 200, 187, 0.3);
}

.admin-btn-email:hover {
  background-color: #6d91a8;
  box-shadow: 0 4px 11px rgba(208, 200, 187, 0.4);
}

.admin-btn-activity {
  background-color: #6c757d;
  color: #fff;
}

.admin-btn-activity:hover {
  background-color: #5d656c;
}

.admin-btn-outline {
  background-color: rgba(255, 255, 255, 0.95);
  color: #7C3AED;
  border: 1px solid #7C3AED;
  box-shadow: 0 2px 8px rgba(208, 200, 187, 0.4);
}

.admin-btn-outline:hover {
  background-color: #7C3AED;
  color: #fff;
}

.action-buttons {
  margin-top: 1rem;
  gap: 0.5rem;
}

.admin-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.95);
  border-right: 1px solid var(--bs-border-color);
  padding: 2rem 1rem;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(208, 200, 187, 0.4);
}

.admin-sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-sidebar-item {
  margin-bottom: 1rem;
}

.admin-sidebar-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #000;
  text-decoration: none;
  font-size: 1.1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  transition: all 200ms ease;
}

.admin-sidebar-link:hover {
  background-color: var(--bs-light);
  color: #000;
}

.admin-sidebar-link.active {
  background-color: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

.admin-content {
  margin-left: 250px;
  padding: 2rem;
}

@media (max-width: 768px) {
  .admin-sidebar {
    width: 100%;
    position: relative;
    border-right: none;
    border-bottom: 1px solid var(--bs-border-color);
    padding: 1rem;
  }
  
  .admin-content {
    margin-left: 0;
    padding: 1rem;
  }
  
  .admin-sidebar-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  
  .admin-sidebar-item {
    margin-bottom: 0;
  }
}

/* ====================================================
   Bootstrap Color Utilities
   ==================================================== */

/* Background color utilities */
.bg-jonquil {
  background-color: rgba(var(--bs-jonquil-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-coral {
  background-color: rgba(var(--bs-coral-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-pullman {
  background-color: rgba(var(--bs-pullman-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-moss {
  background-color: rgba(var(--bs-moss-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-ash {
  background-color: rgba(var(--bs-ash-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-pine {
  background-color: rgba(var(--bs-pine-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-teal {
  background-color: rgba(var(--bs-teal-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-purple {
  background-color: rgba(var(--bs-purple-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-light-blue {
  background-color: rgba(var(--bs-light-blue-rgb), var(--bs-bg-opacity, 1)) !important;
}

/* Text color utilities */
.text-jonquil {
  color: var(--bs-jonquil) !important;
}

.text-coral {
  color: var(--bs-coral) !important;
}

.text-pullman {
  color: var(--bs-pullman) !important;
}

.text-moss {
  color: var(--bs-moss) !important;
}

.text-ash {
  color: var(--bs-ash) !important;
}

.text-pine {
  color: var(--bs-pine) !important;
}

.text-teal {
  color: var(--bs-teal) !important;
}

.text-purple {
  color: var(--bs-purple) !important;
}

.text-light-blue {
  color: var(--bs-light-blue) !important;
}

/* Text background combinations */
.text-bg-jonquil {
  color: #000 !important;
  background-color: rgba(var(--bs-jonquil-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-coral {
  color: #fff !important;
  background-color: rgba(var(--bs-coral-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-pullman {
  color: #fff !important;
  background-color: rgba(var(--bs-pullman-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-moss {
  color: #fff !important;
  background-color: rgba(var(--bs-moss-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-ash {
  color: #000 !important;
  background-color: rgba(var(--bs-ash-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-pine {
  color: #fff !important;
  background-color: rgba(var(--bs-pine-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-teal {
  color: #000 !important;
  background-color: rgba(var(--bs-teal-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-purple {
  color: #fff !important;
  background-color: rgba(var(--bs-purple-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-light-blue {
  color: #000 !important;
  background-color: rgba(var(--bs-light-blue-rgb), var(--bs-bg-opacity, 1)) !important;
}

/* Background opacity utilities */
.bg-opacity-10 {
  --bs-bg-opacity: 0.1;
}

.bg-opacity-25 {
  --bs-bg-opacity: 0.25;
}

.bg-opacity-50 {
  --bs-bg-opacity: 0.5;
}

.bg-opacity-75 {
  --bs-bg-opacity: 0.75;
}

/* Button color variants */
.btn-jonquil {
  color: #000;
  background-color: var(--bs-jonquil);
  border-color: var(--bs-jonquil);
}

.btn-jonquil:hover {
  color: #000;
  background-color: color-mix(in srgb, var(--bs-jonquil) 85%, #000);
  border-color: color-mix(in srgb, var(--bs-jonquil) 85%, #000);
}

.btn-coral {
  color: #fff;
  background-color: var(--bs-coral);
  border-color: var(--bs-coral);
}

.btn-coral:hover {
  color: #fff;
  background-color: color-mix(in srgb, var(--bs-coral) 85%, #000);
  border-color: color-mix(in srgb, var(--bs-coral) 85%, #000);
}

.btn-pullman {
  color: #fff;
  background-color: var(--bs-pullman);
  border-color: var(--bs-pullman);
}

.btn-pullman:hover {
  color: #fff;
  background-color: color-mix(in srgb, var(--bs-pullman) 85%, #000);
  border-color: color-mix(in srgb, var(--bs-pullman) 85%, #000);
}

.btn-moss {
  color: #fff;
  background-color: var(--bs-moss);
  border-color: var(--bs-moss);
}

.btn-moss:hover {
  color: #fff;
  background-color: color-mix(in srgb, var(--bs-moss) 85%, #000);
  border-color: color-mix(in srgb, var(--bs-moss) 85%, #000);
}

.btn-ash {
  color: #000;
  background-color: var(--bs-ash);
  border-color: var(--bs-ash);
}

.btn-ash:hover {
  color: #000;
  background-color: color-mix(in srgb, var(--bs-ash) 85%, #000);
  border-color: color-mix(in srgb, var(--bs-ash) 85%, #000);
}

.btn-pine {
  color: #fff;
  background-color: var(--bs-pine);
  border-color: var(--bs-pine);
}

.btn-pine:hover {
  color: #fff;
  background-color: color-mix(in srgb, var(--bs-pine) 85%, #000);
  border-color: color-mix(in srgb, var(--bs-pine) 85%, #000);
}

.btn-teal {
  color: #000;
  background-color: var(--bs-teal);
  border-color: var(--bs-teal);
}

.btn-teal:hover {
  color: #000;
  background-color: color-mix(in srgb, var(--bs-teal) 85%, #000);
  border-color: color-mix(in srgb, var(--bs-teal) 85%, #000);
}

.btn-purple {
  color: #fff;
  background-color: var(--bs-purple);
  border-color: var(--bs-purple);
  box-shadow: 0 4px 11px rgba(15, 157, 142, 0.33);
  transition: all 0.3s ease;
}

.btn-purple:hover {
  color: #fff;
  background-color: #0d8276;
  border-color: #0d8276;
  box-shadow: 0 6px 16px rgba(15, 157, 142, 0.4);
  transform: translateY(-2px);
}

.btn-outline-purple {
  color: var(--bs-purple);
  background-color: transparent;
  border-color: var(--bs-purple);
  border-width: 2px;
  transition: all 0.3s ease;
}

.btn-outline-purple:hover {
  color: #fff;
  background-color: var(--bs-purple);
  border-color: var(--bs-purple);
  box-shadow: 0 4px 11px rgba(15, 157, 142, 0.3);
  transform: translateY(-1px);
}

.btn-outline-purple:active {
  color: #fff;
  background-color: #0d8276;
  border-color: #0d8276;
  transform: translateY(0);
}

.btn-light-blue {
  color: #000;
  background-color: var(--bs-light-blue);
  border-color: var(--bs-light-blue);
}

.btn-light-blue:hover {
  color: #000;
  background-color: color-mix(in srgb, var(--bs-light-blue) 85%, #000);
  border-color: color-mix(in srgb, var(--bs-light-blue) 85%, #000);
}

/* ====================================================
   Settings Page - Grammarly Style
   ==================================================== */

/* Custom toggle switch styling */
.form-check-input {
  background-color: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background-color: #97aa52;
  border: none;
}

.form-check-input:focus {
  border: none;
  box-shadow: none;
}

.preference-row {
  transition: background-color 0.15s ease;
}

.preference-row:hover {
  background-color: #FAF8F3;
}

/* ====================================================
   Main Application Sidebar
   ==================================================== */

.content-wrapper {
  margin-left: 0;
  transition: margin-left 0.3s ease-in-out;
}

@media (min-width: 992px) {
  .content-wrapper {
    margin-left: 280px;
  }

  .content-wrapper.sidebar-collapsed {
    margin-left: 80px;
  }

  #sidebar {
    width: 280px;
    visibility: visible !important;
    transform: none !important;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    border-right: 1px solid var(--bs-border-color);
  }
}

/* ====================================================
   Frequency Slider Component
   ==================================================== */

.frequency-slider {
  display: inline-block;
  background-color: #f0f0f0;
  border-radius: 50rem;
  padding: 4px;
}

.slider-track {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
}

.slider-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--bs-primary);
  border-radius: 50rem;
  transition: transform 0.3s ease-in-out;
  z-index: 1;
}

.slider-option {
  flex: 1 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  height: 100%;
  cursor: pointer;
  z-index: 2;
  color: var(--bs-gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease-in-out;
  white-space: nowrap;
  text-align: center;
}

.slider-option.active {
  color: #fff;
}

.slider-option .badge {
  font-size: 0.75em;
  vertical-align: middle;
  background-color: #fff !important;
  color: var(--bs-success) !important;
  border: 1px solid var(--bs-success);
  padding: 0.25em 0.5em;
  font-weight: bold;
}

/* ====================================================
   Desktop Sidebar Styles
   ==================================================== */

@media (min-width: 992px) {
  #sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-right: 1px solid var(--bs-border-color);
    z-index: 1000;
    width: 280px;
    transition: width 0.3s ease;
    box-shadow: 0 2px 8px rgba(208, 200, 187, 0.4);
  }

  #sidebar .offcanvas-body {
    background-color: rgba(255, 255, 255, 0.95) !important;
  }
}

/* Sidebar collapse functionality */
#sidebar * {
  box-sizing: border-box;
}

@media (min-width: 992px) {
  #sidebar {
    transition: width 0.3s ease-in-out;
  }
  
  #sidebar .offcanvas-body {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 100%;
  }
  
  #sidebar.sidebar-collapsed {
    width: 80px !important;
    --bs-offcanvas-width: 80px !important;
  }
  
  #sidebar.sidebar-collapsed .offcanvas-body {
    padding: 1rem;
  }
  
  #sidebar.sidebar-collapsed .sidebar-text {
    display: none;
  }
  
  #sidebar.sidebar-collapsed .sidebar-icon {
    font-size: 1.25rem;
    margin: 0 !important;
  }
  
  #sidebar.sidebar-collapsed .nav-link {
    display: flex;
    text-align: center;
    padding: 0.75rem !important;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  #sidebar.sidebar-collapsed .nav-item {
    margin-bottom: 0 !important;
  }
  
  #sidebar .nav-pills {
    gap: 0.5rem !important;
    width: 100%;
  }
  
  #sidebar .nav-item {
    width: 100%;
  }
  
  #sidebar.sidebar-collapsed .nav-pills {
    gap: 0.25rem !important;
  }
  
  #sidebar.sidebar-collapsed #sidebarCollapseBtn {
    margin: 0 auto 1.5rem auto;
    padding: 0.375rem 0.5rem;
  }
  
  #sidebar.sidebar-collapsed #sidebarCollapseBtn i {
    transform: rotate(180deg);
  }
  
  #sidebar.sidebar-collapsed .d-flex.align-items-center.justify-content-between {
    justify-content: center !important;
  }
  
  #sidebar.sidebar-collapsed hr {
    margin: 1rem 0;
  }
  
  #sidebar.sidebar-collapsed .mt-auto {
    margin-top: auto !important;
  }
  
  #sidebar.sidebar-collapsed .d-flex.align-items-center.mb-3 {
    justify-content: center;
  }
  
  #sidebar.sidebar-collapsed .text-truncate {
    display: none;
  }
  
  #sidebar.sidebar-collapsed .btn-outline-danger {
    padding: 0.5rem;
    font-size: 1.25rem;
  }
  
  #sidebar.sidebar-collapsed .btn-outline-danger .sidebar-text {
    display: none;
  }
  
  #sidebar.sidebar-collapsed .badge,
  #sidebar.sidebar-collapsed .bi-lock-fill {
    display: none;
  }
  
  #sidebar .sidebar-text,
  #sidebar .sidebar-icon,
  #sidebar .nav-link,
  #sidebar .btn {
    transition: all 0.3s ease-in-out;
  }
  
  #sidebar .nav-link {
    padding: 0.5rem 0.75rem !important;
    display: flex;
    align-items: center;
    border-radius: 0.375rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  
  #sidebar .nav-link .sidebar-icon {
    margin-right: 0.75rem;
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  
  #sidebar .sidebar-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  #sidebar .sidebar-text .badge,
  #sidebar .sidebar-text .bi-lock-fill {
    flex-shrink: 0;
    font-size: 0.65rem !important;
  }
  
  #sidebar .btn-outline-danger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  #sidebar .btn-outline-danger .sidebar-icon {
    flex-shrink: 0;
  }
  
  #sidebar .btn-outline-danger .sidebar-text {
    overflow: visible;
    text-overflow: initial;
    white-space: nowrap;
  }
  
  #sidebar.sidebar-collapsed .btn-outline-danger .sidebar-icon {
    margin: 0 !important;
  }
  
  #sidebar .nav-link.active {
    background-color: var(--bs-primary) !important;
    color: white !important;
  }

  #sidebar .nav-link.active .sidebar-icon {
    color: white !important;
  }
}

/* Override Bootstrap nav-pills active state in sidebar on all viewports */
#sidebar .nav-pills .nav-link.active,
#sidebar .nav-pills .show > .nav-link {
  background-color: #0f9d8e !important;
  color: white !important;
}

#sidebar .nav-pills .nav-link.active .sidebar-icon,
#sidebar .nav-pills .show > .nav-link .sidebar-icon {
  color: white !important;
}


.sidebar-icon {
  margin-right: 0.5rem;
  transition: margin 0.3s ease, font-size 0.3s ease;
}

.sidebar-text {
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

#sidebar .nav-link {
  display: flex;
  align-items: center;
}

/* Mobile responsiveness */
@media (max-width: 991.98px) {
  .content-wrapper {
    margin-left: 0 !important;
  }
  
  .content-wrapper.sidebar-collapsed {
    margin-left: 0 !important;
  }
}

#sidebar.sidebar-collapsed .nav-link[data-bs-toggle="tooltip"] {
  position: relative;
}

@media (min-width: 992px) {
  .offcanvas-backdrop {
    display: none !important;
  }
}

#sidebar .offcanvas-body {
  overflow-y: auto;
  overflow-x: hidden;
}

#sidebar #sidebarCollapseBtn {
  border: none;
  background: none;
  color: var(--bs-dark);
  text-decoration: none;
  transition: transform 0.3s ease;
}

#sidebar #sidebarCollapseBtn:hover {
  transform: scale(1.1);
}

#sidebar.sidebar-collapsed .offcanvas-body > *:not(#sidebarCollapseBtn):not(.nav):not(.mt-auto) {
  display: none;
}

#sidebar.sidebar-collapsed .mt-auto {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Modal backdrop blur effect */
.modal-backdrop {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(100, 100, 100, 0.5);
}

.modal-backdrop.show {
  opacity: 1;
}

/* Modal form controls - ensure pure white backgrounds */
#signUp .form-control {
  background-color: #ffffff !important;
}

#signUp .form-control:focus {
  background-color: #ffffff !important;
}

#signUp .form-control:disabled {
  background-color: #e9ecef !important;
}

/* Modal button hover states - keep white/light backgrounds */
#signUp .btn-outline-secondary:hover {
  background-color: #fafafa !important;
  border-color: #dee2e6 !important;
  color: #212529 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Login page button hover states - match modal styling */
.card .btn-outline-secondary:hover {
  background-color: #fafafa !important;
  border-color: #dee2e6 !important;
  color: #212529 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ====================================================
   Correction Cards Sidebar
   ==================================================== */

#correctionCardsSection {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.correction-cards-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.correction-count-badge {
  background-color: #fee2e2;
  color: #dc2626;
  padding: 0.25rem 0.625rem;
  border-radius: 50rem;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 1.5rem;
  text-align: center;
}

.correction-cards-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.25rem;
}

/* Custom scrollbar for correction cards */
.correction-cards-list::-webkit-scrollbar {
  width: 4px;
}

.correction-cards-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.correction-cards-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.correction-cards-list::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Individual Correction Card */
.correction-card {
  background-color: #ffffff;
  border: 1px solid rgba(194, 184, 169, 0.5);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(208, 200, 187, 0.15);
}

.correction-card:hover {
  border-color: rgba(194, 184, 169, 0.8);
  box-shadow: 0 4px 12px rgba(208, 200, 187, 0.25);
  transform: translateY(-1px);
}

.correction-card.active {
  border-color: #0f9d8e;
  box-shadow: 0 0 0 2px rgba(15, 157, 142, 0.2);
}

.correction-card.accepted {
  opacity: 0.6;
  border-color: #97aa52;
  background-color: rgba(151, 170, 82, 0.05);
}

.correction-card.rejected {
  opacity: 0.5;
  border-color: #88827B;
  background-color: rgba(136, 130, 123, 0.05);
}

.correction-card.rejected .correction-diff {
  text-decoration: line-through;
}

/* Card Header */
.correction-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.correction-number {
  font-weight: 600;
  font-size: 0.875rem;
  color: #ffffff;
  background-color: #e47c84;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
}

.correction-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Category Badges */
.correction-category-badge {
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.category-stavefejl {
  background-color: rgba(228, 124, 132, 0.15);
  color: #c9565f;
}

.category-grammatik {
  background-color: rgba(235, 195, 14, 0.2);
  color: #9a7b00;
}

.category-stilistisk {
  background-color: rgba(127, 166, 188, 0.2);
  color: #4d7a91;
}

/* Card Body */
.correction-card-body {
  padding-top: 0.25rem;
}

.correction-diff {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.correction-original {
  text-decoration: line-through;
  color: #c9565f;
  background-color: rgba(228, 124, 132, 0.15);
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
}

.correction-corrected {
  color: #6b8c3a;
  background-color: rgba(151, 170, 82, 0.15);
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  font-weight: 500;
}

.correction-diff .bi-arrow-right {
  color: #88827B;
  font-size: 0.75rem;
}

.correction-reasoning {
  font-size: 0.8rem;
  color: #7A7363;
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

.correction-reasoning .correction-reasoning-toggle {
  margin-left: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0f9d8e;
  text-decoration: none;
}

.correction-reasoning .correction-reasoning-toggle:hover {
  text-decoration: underline;
}

/* Card Footer - Accept/Reject buttons */
.correction-card-footer {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(194, 184, 169, 0.3);
}

.correction-card-footer .btn {
  flex: 1;
  font-size: 0.75rem;
  padding: 0.375rem 0.5rem;
  border-radius: 6px;
}

.correction-card-footer .text-success {
  font-size: 0.85rem;
}

.correction-accept {
  background-color: transparent;
  border-color: #97aa52;
  color: #6b8c3a;
}

.correction-accept:hover {
  background-color: rgba(151, 170, 82, 0.15);
  border-color: #97aa52;
  color: #5a7530;
}

.correction-reject {
  background-color: transparent;
  border-color: #A59C89;
  color: #7A7363;
}

.correction-reject:hover {
  background-color: rgba(165, 156, 137, 0.15);
  border-color: #88827B;
  color: #595653;
}

/* Editor highlight animation when card is clicked */
.correction-highlight-active {
  animation: pulse-highlight 2s ease-out;
}

@keyframes pulse-highlight {
  0% {
    box-shadow: 0 0 0 4px rgba(15, 157, 142, 0.6);
    border-radius: 2px;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(15, 157, 142, 0);
  }
}

/* Rejected correction in editor */
.correction-rejected {
  opacity: 0.4;
  text-decoration: line-through !important;
}

/* Accepted correction in editor */
.correction-accepted {
  background-color: rgba(16, 185, 129, 0.15) !important;
  color: inherit !important;
  text-decoration: none;
  border-bottom: none;
  font-size: 0.9rem;
}

/* Ensure accepted text has no strike/underline artifacts */
.correction-accepted::after {
  display: none !important;
}

del.correction-accepted,
ins.correction-accepted,
.correction-accepted.diff-removed,
.correction-accepted.diff-added {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* ====================================================
   Mobile Corrections FAB & Offcanvas
   ==================================================== */

.mobile-corrections-fab {
  position: fixed;
  bottom: 90px;
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f9d8e 0%, #0d8276 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(15, 157, 142, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-corrections-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(15, 157, 142, 0.5);
}

.mobile-corrections-fab:active {
  transform: scale(0.95);
}

.mobile-corrections-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #dc2626;
  color: white;
  font-size: 0.7rem;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: 2px solid white;
}

/* Mobile Offcanvas */
#mobileCorrectionsOffcanvas {
  height: 70vh;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background-color: #FAF8F3;
}

#mobileCorrectionsOffcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(194, 184, 169, 0.4);
  padding: 1rem 1.25rem;
  background-color: #ffffff;
}

#mobileCorrectionsOffcanvas .offcanvas-title {
  color: #333333;
  font-weight: 600;
}

#mobileCorrectionsOffcanvas .offcanvas-body {
  padding: 1rem;
  background-color: #FAF8F3;
}

#mobileCorrectionsOffcanvas .correction-cards-list {
  max-height: calc(70vh - 100px);
}

/* ====================================================
   Editor Bottom Actions
   ==================================================== */

.editor-bottom-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(194, 184, 169, 0.3);
}

.editor-action-btn {
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  min-width: 160px;
}

.editor-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(208, 200, 187, 0.3);
}

@media (max-width: 576px) {
  .editor-bottom-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .editor-action-btn {
    width: 100%;
    min-width: unset;
  }
}

/* ====================================================
   Category-Specific Editor Highlights
   ==================================================== */

/* Stavefejl (Spelling) - Coral/Red */
.diff-category-stavefejl.diff-added,
.diff-category-stavefejl ins {
  background-color: rgba(228, 124, 132, 0.2) !important;
  border-bottom-color: #e47c84 !important;
  color: #c9565f !important;
}

.diff-category-stavefejl.diff-removed,
.diff-category-stavefejl del {
  background-color: rgba(228, 124, 132, 0.15) !important;
  border-bottom-color: #e47c84 !important;
  color: #c9565f !important;
}

/* Grammatik (Grammar) - Yellow/Gold */
.diff-category-grammatik.diff-added,
.diff-category-grammatik ins {
  background-color: rgba(235, 195, 14, 0.2) !important;
  border-bottom-color: #ebc30e !important;
  color: #9a7b00 !important;
}

.diff-category-grammatik.diff-removed,
.diff-category-grammatik del {
  background-color: rgba(235, 195, 14, 0.15) !important;
  border-bottom-color: #ebc30e !important;
  color: #9a7b00 !important;
}

/* Stilistisk (Stylistic) - Teal/Blue */
.diff-category-stilistisk.diff-added,
.diff-category-stilistisk ins {
  background-color: rgba(127, 166, 188, 0.25) !important;
  border-bottom-color: #7fa6bc !important;
  color: #4d7a91 !important;
}

.diff-category-stilistisk.diff-removed,
.diff-category-stilistisk del {
  background-color: rgba(127, 166, 188, 0.15) !important;
  border-bottom-color: #7fa6bc !important;
  color: #4d7a91 !important;
}

/* ============================================
   CONVERSION-OPTIMIZED FRONT PAGE STYLES
   ============================================ */

/* CSS Variables for consistent theming */
:root {
  --brand-teal: #0f9d8e;
  --brand-teal-dark: #0c8478;
  --brand-teal-light: rgba(15, 157, 142, 0.1);
  --brand-teal-lighter: rgba(15, 157, 142, 0.05);
  --brand-warm-bg: #F6F4EF;
  --brand-warm-bg-alt: #FAF8F3;
  --brand-text-dark: #333333;
  --brand-text-medium: #4C4A49;
  --brand-text-light: #595653;
  --brand-text-muted: #8A8785;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* Animation Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; }
.delay-2 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.delay-3 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; }
.delay-4 { animation-delay: 0.4s; opacity: 0; animation-fill-mode: forwards; }

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-container {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.min-vh-75 {
  min-height: 70vh;
}

.hero-content {
  padding: 2rem 0;
}

/* Trust Badge */
.hero-badge {
  margin-bottom: 1.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--brand-warm-bg);
  border: 1px solid rgba(15, 157, 142, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-text-medium);
}

.badge-pill i {
  color: var(--brand-teal);
  font-size: 1rem;
}

/* Hero Headline */
.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--brand-text-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.headline-highlight {
  color: var(--brand-teal);
  position: relative;
}

.headline-highlight::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  right: 0;
  height: 0.2em;
  background: linear-gradient(90deg, rgba(15, 157, 142, 0.3), rgba(15, 157, 142, 0.1));
  border-radius: 2px;
  z-index: -1;
}

/* Hero Subheadline */
.hero-subheadline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--brand-text-light);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-del {
  background-color: rgba(228, 124, 132, 0.25);
  color: #c9565f;
  text-decoration: line-through;
  padding: 0 3px;
  border-radius: 3px;
}

.hero-ins {
  background-color: rgba(151, 170, 82, 0.25);
  color: #5a7530;
  font-weight: 600;
  padding: 0 3px;
  border-radius: 3px;
  text-decoration: none;
}

/* Hero CTA Buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.hero-cta-micro {
  font-size: 0.9rem;
  color: var(--brand-text-light);
  margin-bottom: 1.5rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--brand-teal);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 14px rgba(15, 157, 142, 0.35);
  transition: all var(--transition-normal);
}

.btn-hero-primary:hover {
  background: var(--brand-teal-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 157, 142, 0.4);
}

.btn-hero-primary:focus,
.btn-hero-primary:active {
  background: var(--brand-teal) !important;
  color: #fff !important;
  border-color: transparent !important;
  outline: none !important;
}

.btn-hero-primary i {
  transition: transform var(--transition-fast);
}

.btn-hero-primary:hover i {
  transform: translateX(3px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: transparent;
  color: var(--brand-text-medium);
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.btn-hero-secondary:hover {
  background: var(--brand-warm-bg);
  color: var(--brand-text-dark);
  border-color: rgba(0, 0, 0, 0.15);
}

/* Social Proof in Hero */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-proof-stars {
  display: flex;
  gap: 0.15rem;
  color: #f5b400;
  font-size: 1.1rem;
}

.social-proof-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #333333 !important;
}

.proof-rating {
  font-weight: 600;
  color: var(--brand-text-medium);
}

.proof-divider {
  color: var(--brand-text-muted);
}

/* Hero Visual Demo Card */
.hero-visual {
  padding: 1rem;
}

.hero-demo-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.demo-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, #f8f8f8, #fafafa);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.demo-dots {
  display: flex;
  gap: 6px;
}

.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
}

.demo-dots span:first-child { background: #ff6b6b; }
.demo-dots span:nth-child(2) { background: #ffd93d; }
.demo-dots span:last-child { background: #6bcb77; }

.demo-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-card-body {
  padding: 1.5rem;
}

.demo-text-original {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--brand-text-dark);
  margin-bottom: 1.25rem;
}

.demo-text-original del {
  background-color: rgba(228, 124, 132, 0.2);
  color: #b54a52;
  text-decoration: line-through;
  padding: 0 2px;
  border-radius: 2px;
}

.demo-text-original ins {
  background-color: rgba(151, 170, 82, 0.2);
  color: #5a7530;
  font-weight: 600;
  padding: 0 2px;
  border-radius: 2px;
  text-decoration: none;
}

.demo-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.demo-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-teal);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--brand-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Hero Trust Bar */
.hero-trust-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-label {
  font-size: 0.85rem;
  color: #333333 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600 !important;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--brand-text-medium);
  font-weight: 500;
}

.trust-badge i {
  color: var(--brand-teal);
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section-eyebrow {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--brand-text-dark);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-subheadline {
  font-size: 1.1rem;
  color: var(--brand-text-light);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  background: linear-gradient(180deg, rgba(15, 157, 142, 0.06), rgba(15, 157, 142, 0.02));
  border-top: 1px solid rgba(15, 157, 142, 0.1);
}

.py-md-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.feature-image-wrapper {
  position: relative;
}

.feature-image {
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-image-badge {
  position: absolute;
  bottom: -12px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--brand-teal);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(15, 157, 142, 0.35);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.25rem;
}

.feature-icon-1 {
  background: linear-gradient(135deg, rgba(15, 157, 142, 0.15), rgba(15, 157, 142, 0.05));
  color: var(--brand-teal);
}

.feature-icon-2 {
  background: linear-gradient(135deg, rgba(245, 180, 0, 0.15), rgba(245, 180, 0, 0.05));
  color: #d9a000;
}

.feature-icon-3 {
  background: linear-gradient(135deg, rgba(107, 203, 119, 0.15), rgba(107, 203, 119, 0.05));
  color: #4fa55c;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-text-dark);
  margin-bottom: 0.4rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--brand-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

.feature-cta {
  margin-top: 2rem;
}

.btn-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: var(--brand-teal);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 14px rgba(15, 157, 142, 0.3);
  transition: all var(--transition-normal);
}

.btn-feature-cta:hover {
  background: var(--brand-teal-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 157, 142, 0.35);
}

.btn-feature-cta i {
  transition: transform var(--transition-fast);
}

.btn-feature-cta:hover i {
  transform: translateX(3px);
}

/* ============================================
   KOMMARETTER SECTION
   ============================================ */
.kommaretter-section {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), rgba(251, 191, 36, 0.03));
  border-top: 1px solid rgba(245, 158, 11, 0.15);
  position: relative;
  overflow: hidden;
}

.kommaretter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.kommaretter-eyebrow {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  -webkit-background-clip: initial;
}

/* Kommaretter Demo Card */
.komma-demo-card {
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 40px -10px rgba(245, 158, 11, 0.2),
    0 0 0 1px rgba(245, 158, 11, 0.1);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
  transition: transform 0.4s ease;
}

.komma-demo-card:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0) translateY(-4px);
}

.komma-demo-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.komma-demo-dots {
  display: flex;
  gap: 6px;
}

.komma-demo-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.komma-demo-dots span:nth-child(1) { background: #ef4444; }
.komma-demo-dots span:nth-child(2) { background: #f59e0b; }
.komma-demo-dots span:nth-child(3) { background: #22c55e; }

.komma-demo-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.komma-demo-body {
  padding: 1.75rem;
}

.komma-demo-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 1.5rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.komma-demo-text p {
  margin-bottom: 0;
}

.komma-insert {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  font-weight: 700;
  padding: 0.1em 0.3em;
  border-radius: 4px;
  text-decoration: none;
  font-style: normal;
  box-shadow: 0 1px 2px rgba(245, 158, 11, 0.2);
}

.komma-demo-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f3f4f6;
}

.komma-stat {
  display: flex;
  flex-direction: column;
}

.komma-stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f59e0b;
  line-height: 1;
}

.komma-stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

/* Kommaretter Feature Icons */
.komma-icon-1 {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
  color: #d97706;
}

.komma-icon-2 {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), rgba(217, 119, 6, 0.05));
  color: #b45309;
}

.komma-icon-3 {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.08));
  color: #ca8a04;
}

/* Kommaretter CTA Button */
.btn-kommaretter-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all var(--transition-normal);
}

.btn-kommaretter-cta:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-kommaretter-cta i {
  transition: transform var(--transition-fast);
}

.btn-kommaretter-cta:hover i {
  transform: translateX(3px);
}

/* Kommaretter Mobile Responsive */
@media (max-width: 991.98px) {
  .komma-demo-card {
    transform: none;
  }

  .komma-demo-card:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 767.98px) {
  .komma-demo-text {
    font-size: 0.95rem;
  }

  .komma-demo-stats {
    gap: 1.5rem;
  }

  .komma-stat-number {
    font-size: 1.5rem;
  }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  background: var(--brand-warm-bg-alt);
  padding: 3rem 0;
}

.testimonial-widget {
  max-width: 1000px;
  margin: 0 auto;
}

/* ============================================
   PRIVACY SECTION
   ============================================ */
.privacy-section {
  background: linear-gradient(180deg, rgba(155, 89, 182, 0.05), rgba(155, 89, 182, 0.02));
}

.privacy-headline {
  margin-bottom: 1rem;
}

.privacy-shield {
  font-size: 4rem;
  color: rgba(155, 89, 182, 0.2);
  margin-top: 1.5rem;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.privacy-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-normal);
}

.privacy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.privacy-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(155, 89, 182, 0.05));
  color: #9b59b6;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.privacy-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-text-dark);
  margin-bottom: 0.4rem;
}

.privacy-card-desc {
  font-size: 0.9rem;
  color: var(--brand-text-light);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  background: linear-gradient(180deg, rgba(139, 119, 101, 0.06), rgba(139, 119, 101, 0.02));
}

.faq-header {
  padding-right: 2rem;
}

.faq-support-link {
  color: var(--brand-teal);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.faq-support-link:hover {
  color: var(--brand-teal-dark);
  text-decoration: underline;
}

.faq-accordion .accordion-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-text-dark);
  padding: 1.25rem;
  background: #fff;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--brand-warm-bg-alt);
  color: var(--brand-teal);
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(15, 157, 142, 0.2);
}

.faq-accordion .accordion-body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--brand-text-light);
  line-height: 1.7;
}

/* ============================================
   EXAMPLES SECTION
   ============================================ */
.examples-section {
  background: linear-gradient(180deg, rgba(15, 157, 142, 0.12), rgba(15, 157, 142, 0.06));
  border-top: 1px solid rgba(15, 157, 142, 0.15);
}

.eksempler-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 576px) {
  .eksempler-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .eksempler-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.eksempel-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-normal);
}

.eksempel-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
}

.eksempel-original {
  color: var(--brand-text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  line-height: 1.5;
}

.eksempel-diff {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  line-height: 1.6;
}

.eksempel-diff del {
  background-color: rgba(228, 124, 132, 0.25);
  color: #c9565f;
  text-decoration: line-through;
  padding: 0 2px;
  border-radius: 2px;
}

.eksempel-diff ins {
  background-color: rgba(151, 170, 82, 0.25);
  color: #5a7530;
  font-weight: 600;
  padding: 0 2px;
  border-radius: 2px;
  text-decoration: none;
}

.eksempel-final {
  font-size: 0.85rem;
  color: var(--brand-text-medium);
  line-height: 1.5;
}

.eksempel-final i {
  margin-right: 0.4rem;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta-section {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-dark));
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.final-cta-card {
  position: relative;
  z-index: 1;
}

.final-cta-content {
  text-align: center;
  padding: 2rem 0;
}

.final-cta-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.final-cta-subheadline {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.final-cta-buttons {
  margin-bottom: 1.5rem;
}

.btn-final-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  background: #fff;
  color: var(--brand-teal);
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-normal);
}

.btn-final-cta:hover {
  background: var(--brand-warm-bg);
  color: var(--brand-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.btn-final-cta i {
  transition: transform var(--transition-fast);
}

.btn-final-cta:hover i {
  transform: translateX(3px);
}

.final-cta-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.final-cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.final-cta-trust i {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */
@media (max-width: 991.98px) {
  .hero-content {
    text-align: center;
    padding: 1.5rem 0;
  }

  .hero-subheadline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-social-proof {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 2rem;
  }

  .min-vh-75 {
    min-height: auto;
  }

  .feature-image-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: -15px;
  }

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

  .faq-header {
    text-align: center;
    padding-right: 0;
    margin-bottom: 1rem;
  }

  .section-subheadline {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero-headline {
    font-size: 2rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

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

  .hero-trust-bar {
    padding: 1.5rem 0;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .demo-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .section-headline {
    font-size: 1.5rem;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .privacy-card {
    text-align: center;
  }

  .privacy-card-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .final-cta-trust {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-feature-cta,
  .btn-final-cta {
    min-height: 52px;
  }

  .feature-item,
  .privacy-card,
  .eksempel-card {
    transform: none !important;
  }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   PROMO BANNER (Gift Card, etc.)
   ============================================ */
.promo-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
  color: #fff;
  padding: 0.625rem 0;
  position: relative;
  z-index: 1000;
  overflow: hidden;
}

/* Subtle shimmer effect */
.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.03),
    transparent
  );
  animation: promo-shimmer 8s infinite;
}

@keyframes promo-shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.promo-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  position: relative;
}

.promo-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  border-radius: 6px;
  font-size: 0.875rem;
  color: #1a1a2e;
  flex-shrink: 0;
}

.promo-banner-text {
  font-size: 0.875rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

.promo-banner-text strong {
  font-weight: 600;
  color: #fff;
}

.promo-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background: linear-gradient(135deg, #d4af37, #c9a227);
  color: #1a1a2e;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.promo-banner-cta:hover {
  background: linear-gradient(135deg, #f4d03f, #d4af37);
  color: #1a1a2e;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.promo-banner-cta i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.promo-banner-cta:hover i {
  transform: translateX(2px);
}

.promo-banner-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.promo-banner-close:hover {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 767.98px) {
  .promo-banner {
    padding: 0.5rem 0;
  }

  .promo-banner-content {
    gap: 0.5rem;
    padding-right: 2.5rem;
    flex-wrap: nowrap;
  }

  .promo-banner-icon {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    border-radius: 4px;
  }

  .promo-banner-text {
    font-size: 0.8125rem;
  }

  .promo-banner-text-extended {
    display: none;
  }

  .promo-banner-cta {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
  }

  .promo-banner-close {
    top: 50%;
    right: 0.5rem;
  }
}

/* ============================================
   GIFT CARD CALLOUT (Pricing Section)
   ============================================ */
.gift-callout {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.08), rgba(142, 68, 173, 0.12));
  border: 2px solid rgba(155, 89, 182, 0.2);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.gift-callout:hover {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(142, 68, 173, 0.2));
  border-color: rgba(155, 89, 182, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.15);
}

.gift-callout-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.gift-callout-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gift-callout-title {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
}

.gift-callout-text {
  font-size: 0.875rem;
  color: #666;
}

.gift-callout-arrow {
  font-size: 1.25rem;
  color: #9b59b6;
  transition: transform 0.3s ease;
}

.gift-callout:hover .gift-callout-arrow {
  transform: translateX(4px);
}

@media (max-width: 575.98px) {
  .gift-callout {
    padding: 0.875rem 1rem;
    gap: 0.75rem;
  }

  .gift-callout-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .gift-callout-title {
    font-size: 0.9rem;
  }

  .gift-callout-text {
    font-size: 0.8rem;
  }
}

/* ============================================
   ENHANCED MOBILE OPTIMIZATIONS (iPhone 12/13 etc.)
   ============================================ */

/* Mobile: Tighter vertical rhythm */
@media (max-width: 575.98px) {
  /* Hero section */
  .hero-container {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .hero-badge {
    margin-bottom: 1rem;
  }

  .badge-pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .hero-headline {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 0.875rem;
  }

  .hero-subheadline {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }

  .hero-cta {
    gap: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .hero-cta-micro {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }

  /* Hero Demo Card - Compact on mobile */
  .hero-demo-card {
    border-radius: 12px;
  }

  .demo-card-header {
    padding: 0.625rem 1rem;
  }

  .demo-title {
    font-size: 0.8rem;
  }

  .demo-card-body {
    padding: 1rem;
  }

  .demo-text-original {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .demo-stats {
    flex-direction: row;
    gap: 1.5rem;
    padding-top: 0.875rem;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  /* Trust Bar - Tighter */
  .hero-trust-bar {
    padding: 1.25rem 0;
    margin-top: 1.5rem;
    gap: 0.75rem;
  }

  .trust-label {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .trust-badges {
    gap: 0.5rem;
  }

  .trust-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
    background: rgba(0, 128, 128, 0.06);
    border-radius: 100px;
  }

  /* Social Proof - Compact */
  .hero-social-proof {
    gap: 0.5rem;
    flex-direction: column;
    align-items: center;
  }

  .social-proof-stars {
    font-size: 0.95rem;
  }

  .social-proof-text {
    font-size: 0.8rem;
  }

  /* Section spacing */
  .features-section,
  .kommaretter-section,
  .testimonials-section,
  .privacy-section,
  .examples-section,
  .faq-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .section-eyebrow {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.625rem;
  }

  .section-headline {
    font-size: 1.375rem;
    line-height: 1.25;
    margin-bottom: 0.625rem;
  }

  .section-subheadline {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  /* Feature Items - Compact horizontal layout */
  .feature-list {
    gap: 1.25rem;
  }

  .feature-item {
    flex-direction: row;
    text-align: left;
    gap: 0.875rem;
    padding: 0;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
  }

  .feature-title {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
  }

  .feature-desc {
    font-size: 0.825rem;
    line-height: 1.45;
  }

  .feature-cta {
    margin-top: 1.5rem;
  }

  .btn-feature-cta,
  .btn-kommaretter-cta {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }

  /* Feature Image */
  .feature-image-wrapper {
    margin-bottom: 1.5rem;
  }

  .feature-image-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    bottom: -10px;
  }

  /* Kommaretter Demo Card */
  .komma-demo-card {
    border-radius: 12px;
  }

  .komma-demo-header {
    padding: 0.625rem 1rem;
  }

  .komma-demo-body {
    padding: 1rem;
  }

  .komma-demo-text {
    font-size: 0.875rem;
  }

  .komma-demo-text p {
    margin-bottom: 0.625rem;
  }

  .komma-demo-stats {
    gap: 1.25rem;
    padding-top: 0.875rem;
  }

  .komma-stat-number {
    font-size: 1.25rem;
  }

  .komma-stat-label {
    font-size: 0.7rem;
  }

  /* Privacy Section */
  .privacy-headline {
    font-size: 1.375rem;
  }

  .privacy-shield {
    display: none;
  }

  .privacy-grid {
    gap: 1rem;
  }

  .privacy-card {
    padding: 1rem;
    text-align: left;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.875rem;
  }

  .privacy-card-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1rem;
    margin: 0;
  }

  .privacy-card-title {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }

  .privacy-card-desc {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  /* Examples Section */
  .eksempler-grid {
    gap: 1rem;
  }

  .eksempel-card {
    padding: 1rem;
  }

  .eksempel-original,
  .eksempel-diff,
  .eksempel-final {
    font-size: 0.825rem;
  }

  /* FAQ Section */
  .faq-accordion .accordion-button {
    font-size: 0.9rem;
    padding: 0.875rem 1rem;
  }

  .faq-accordion .accordion-body {
    font-size: 0.85rem;
    padding: 1rem;
  }

  /* Final CTA */
  .final-cta-content {
    padding: 1.5rem 0;
  }

  .final-cta-headline {
    font-size: 1.375rem;
  }

  .final-cta-subheadline {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .btn-final-cta {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }

  .final-cta-trust {
    gap: 0.5rem;
    font-size: 0.8rem;
  }
}

/* Extra small devices (iPhone SE, etc.) */
@media (max-width: 374.98px) {
  .hero-headline {
    font-size: 1.5rem;
  }

  .section-headline {
    font-size: 1.25rem;
  }

  .demo-stats,
  .komma-demo-stats {
    gap: 1rem;
  }

  .stat-number,
  .komma-stat-number {
    font-size: 1.1rem;
  }

  .feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
}

/* ============================================================
   PREMIUM LANDING PAGE - Editorial Design System
   Distinctive, memorable, conversion-focused
   ============================================================ */

/* Design tokens */
:root {
  /* Brand palette */
  --brand-primary: #0f9d8e;
  --brand-primary-dark: #0a7d70;
  --brand-primary-light: #14c4b2;
  --brand-accent: #ebc30e;
  --brand-accent-soft: rgba(235, 195, 14, 0.15);

  /* Neutral palette */
  --ink-rich: #0d1117;
  --ink-dark: #1a1f26;
  --ink-body: #3d4852;
  --ink-muted: #6b7280;
  --ink-subtle: #9ca3af;

  /* Surface colors */
  --surface-base: #fdfcfa;
  --surface-raised: #ffffff;
  --surface-sunken: #f4f2ed;
  --surface-dark: #0d1117;

  /* Gradients */
  --gradient-hero: linear-gradient(180deg, #e8f4f8 0%, #d4eef6 40%, #c5e8f2 100%);
  --gradient-primary: linear-gradient(135deg, #0f9d8e 0%, #14c4b2 100%);
  --gradient-text: linear-gradient(135deg, #0f9d8e 0%, #0a7d70 50%, #14c4b2 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(15, 157, 142, 0.15) 0%, transparent 70%);

  /* Shadows - layered for depth */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(15, 157, 142, 0.25);
  --shadow-cta: 0 4px 24px rgba(15, 157, 142, 0.35);

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 100px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */

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

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.02); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 24px rgba(15, 157, 142, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 40px rgba(15, 157, 142, 0.5);
    transform: scale(1.02);
  }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes shapeFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes shapeFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.1); }
}

/* ============================================
   HERO SECTION - PREMIUM DESIGN
   ============================================ */

.main-section {
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Animated background shapes */
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--gradient-glow);
  top: -200px;
  right: -100px;
  animation: shapeFloat1 25s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(235, 195, 14, 0.08) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: shapeFloat2 20s ease-in-out infinite;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(15, 157, 142, 0.06) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation: shapeFloat1 30s ease-in-out infinite reverse;
}

.shape-accent {
  width: 200px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(235, 195, 14, 0.1) 0%, transparent 70%);
  top: 20%;
  right: 20%;
  animation: floatSlow 15s ease-in-out infinite;
}

/* Hero container */
.hero-container {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) var(--space-md) var(--space-3xl);
  max-width: 1280px;
}

@media (min-width: 992px) {
  .hero-container {
    padding: var(--space-3xl) var(--space-xl);
    min-height: calc(100vh - 200px);
  }
}

/* Staggered entrance animation */
.animate-in {
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
  animation-delay: var(--delay, 0s);
}

/* Hero content column */
.hero-content {
  position: relative;
  z-index: 2;
}

/* ============================================
   HERO BADGE - Social proof
   ============================================ */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--ink-body);
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero-badge .badge-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(15, 157, 142, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.hero-badge i {
  color: #22c55e;
  font-size: 1rem;
}

.hero-badge .badge-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: var(--space-sm);
  border-left: 1px solid rgba(0,0,0,0.1);
  margin-left: var(--space-xs);
  font-weight: 700;
  color: var(--ink-dark);
}

.hero-badge .badge-rating i {
  color: #f5a623;
  font-size: 0.75rem;
}

/* ============================================
   HEADLINE - Editorial typography
   ============================================ */

.hero-headline {
  font-family: "Recoleta", Georgia, serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.headline-line {
  display: block;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  color: var(--ink-rich);
}

.headline-gradient {
  display: block;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  background: var(--gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
}

/* ============================================
   SUBHEADLINE
   ============================================ */

.hero-subheadline {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.65;
  color: var(--ink-body);
  margin-bottom: var(--space-xl);
  max-width: 520px;
}

.hero-subheadline em {
  font-style: normal;
  color: var(--brand-primary);
  font-weight: 600;
}

.hero-subheadline strong {
  color: var(--ink-dark);
  font-weight: 600;
}

/* ============================================
   CTA BUTTONS
   ============================================ */

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.btn-hero-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 1rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  background: var(--gradient-primary);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.btn-hero-primary .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: none;
}

.btn-hero-primary:hover .btn-shine {
  animation: shimmer 0.6s ease-out;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 157, 142, 0.3);
}

.btn-hero-primary:active {
  transform: translateY(-1px) scale(1);
}

.btn-hero-primary i {
  font-size: 1.5rem;
  transition: transform var(--duration-normal) var(--ease-out-back);
}

.btn-hero-primary:hover i {
  transform: translateX(4px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-body);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.btn-hero-secondary:hover {
  color: var(--brand-primary);
  background: rgba(15, 157, 142, 0.08);
}

.btn-hero-secondary i {
  font-size: 1.25rem;
  transition: transform var(--duration-normal) var(--ease-out-back);
}

.btn-hero-secondary:hover i {
  transform: scale(1.1);
}

/* ============================================
   TRUST CHIPS
   ============================================ */

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--ink-muted);
  transition: all var(--duration-fast) ease;
}

.trust-chip:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(15, 157, 142, 0.2);
  color: var(--ink-body);
}

.trust-chip i {
  color: var(--brand-primary);
  font-size: 0.875rem;
}

/* ============================================
   DEMO CARD - Premium floating card
   ============================================ */

.hero-visual {
  position: relative;
  z-index: 1;
}

.demo-wrapper {
  position: relative;
  padding: var(--space-lg);
}

/* Decorative floating elements */
.demo-decoration {
  position: absolute;
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: -1;
}

.demo-decoration-1 {
  width: 100px;
  height: 100px;
  background: var(--brand-accent-soft);
  top: -20px;
  right: -20px;
  animation: floatSlow 8s ease-in-out infinite;
}

.demo-decoration-2 {
  display: none;
}

.hero-demo-card {
  position: relative;
  background: var(--surface-raised);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease-out-expo);
  animation: floatSlow 6s ease-in-out infinite;
}

.hero-demo-card:hover {
  box-shadow: var(--shadow-xl), var(--shadow-glow), 0 0 0 1px rgba(15, 157, 142, 0.1);
  transform: translateY(-8px) scale(1.01);
  animation-play-state: paused;
}

/* Card header with glass effect */
.demo-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.demo-dots {
  display: flex;
  gap: 8px;
}

.demo-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: transform var(--duration-fast) var(--ease-out-back);
}

.demo-dots span:first-child { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:last-child { background: #28c840; }

.hero-demo-card:hover .demo-dots span {
  transform: scale(1.15);
}

.demo-title {
  flex: 1;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

.demo-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

/* Card body */
.demo-card-body {
  padding: var(--space-lg);
}

.demo-text-wrapper {
  margin-bottom: var(--space-lg);
}

.demo-text {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--ink-body);
  margin: 0;
}

/* Correction highlights with enhanced styling */
.correction del {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.1) 100%);
  color: #dc2626;
  text-decoration: line-through;
  text-decoration-color: rgba(220, 38, 38, 0.4);
  padding: 2px 4px;
  border-radius: 4px;
  margin-right: 2px;
  transition: all var(--duration-fast) ease;
}

.correction ins {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18) 0%, rgba(34, 197, 94, 0.1) 100%);
  color: #16a34a;
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 500;
  transition: all var(--duration-fast) ease;
}

.correction:hover del {
  background: rgba(239, 68, 68, 0.25);
}

.correction:hover ins {
  background: rgba(34, 197, 94, 0.28);
}

.correction-comma ins {
  background: linear-gradient(135deg, rgba(15, 157, 142, 0.2) 0%, rgba(15, 157, 142, 0.1) 100%);
  color: var(--brand-primary);
  font-weight: 700;
  padding: 0 3px;
}

/* Stats footer */
.demo-footer {
  display: flex;
  gap: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.demo-stat {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.stat-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-sunken);
  border-radius: var(--radius-md);
  color: var(--ink-muted);
  font-size: 1rem;
  transition: all var(--duration-fast) ease;
}

.demo-stat:hover .stat-icon {
  background: rgba(15, 157, 142, 0.1);
  color: var(--brand-primary);
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-dark);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-stat-accent .stat-icon {
  background: rgba(15, 157, 142, 0.12);
  color: var(--brand-primary);
}

.demo-stat-accent .stat-value {
  color: var(--brand-primary);
}

/* ============================================
   TRUST BAR - Premium dark bar
   ============================================ */

.hero-trust-bar {
  background: transparent;
  padding: var(--space-xl) 0;
  margin-top: var(--space-xl);
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-trust-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .trust-bar-inner {
    gap: var(--space-xl);
  }
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.trust-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 157, 142, 0.15);
  border-radius: var(--radius-md);
  color: var(--brand-primary-light);
  font-size: 1rem;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.trust-text span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.trust-bar-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  display: none;
}

@media (min-width: 768px) {
  .trust-bar-divider {
    display: block;
  }
}

/* ============================================
   HERO RESPONSIVE STYLES
   ============================================ */

@media (max-width: 991.98px) {
  .main-section {
    min-height: auto;
  }

  .hero-container {
    padding: var(--space-xl) var(--space-md) var(--space-2xl);
  }

  .hero-content {
    text-align: center;
    margin-bottom: var(--space-2xl);
  }

  .hero-badge {
    justify-content: center;
  }

  .hero-headline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subheadline {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-chips {
    justify-content: center;
  }

  .demo-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }

  .demo-decoration {
    display: none;
  }

  .hero-demo-card {
    animation: none;
  }

  .shape {
    opacity: 0.3;
  }
}

@media (max-width: 575.98px) {
  .hero-container {
    padding: var(--space-lg) var(--space-md) var(--space-xl);
  }

  .headline-line,
  .headline-gradient {
    font-size: 2.25rem;
  }

  .hero-subheadline {
    font-size: 1rem;
  }

  .btn-hero-primary {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-trust-chips {
    flex-direction: column;
    align-items: center;
  }

  .demo-footer {
    flex-direction: column;
    gap: var(--space-md);
  }

  .trust-bar-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }

  .trust-icon {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }

  .trust-text strong {
    font-size: 0.8125rem;
  }

  .trust-text span {
    font-size: 0.6875rem;
  }

  .trust-bar-divider {
    display: none;
  }
}

/* ============================================
   SECTION STYLING
   ============================================ */

.features-section {
  background: #fff;
  border-top: none;
}

.section-eyebrow {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(15, 157, 142, 0.1);
  color: var(--brand-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-headline {
  font-family: "Recoleta", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--ink-rich);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subheadline {
  font-size: 1.15rem;
  color: var(--ink-body);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Feature CTA buttons */
.btn-feature-cta,
.btn-kommaretter-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  background: var(--brand-primary);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-cta);
  transition: all var(--duration-normal) var(--ease-out-expo);
  text-decoration: none;
}

.btn-feature-cta:hover,
.btn-kommaretter-cta:hover {
  background: var(--brand-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15, 157, 142, 0.4);
  color: #fff !important;
}

/* Feature icons */
.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.feature-icon-1 {
  background: rgba(15, 157, 142, 0.12);
  color: var(--cta-primary);
}

.feature-icon-2 {
  background: rgba(245, 166, 35, 0.12);
  color: #d99000;
}

.feature-icon-3 {
  background: rgba(40, 200, 64, 0.12);
  color: #1d8a33;
}

.feature-title {
  font-family: "Recoleta", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-hero);
  margin-bottom: 0.35rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */

@media (max-width: 991.98px) {
  .hero-content {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .hero-social-proof-top {
    justify-content: center;
  }

  .hero-subheadline {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    display: flex;
    justify-content: center;
  }

  .hero-trust-signals {
    justify-content: center;
  }

  .btn-hero-primary {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 575.98px) {
  .hero-container {
    padding: 2rem 1rem 3rem;
  }

  .hero-headline {
    font-size: 2.25rem;
  }

  .btn-hero-primary {
    padding: 1.1rem 2rem;
    font-size: 1.1rem;
  }

  .hero-trust-signals {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .trust-bar-inner {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .demo-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .hero-demo-card,
  .komma-demo-card {
    animation: none !important;
  }

  .badge-pill i {
    animation: none !important;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Focus visible states for keyboard navigation */
.btn-hero-primary:focus-visible,
.btn-hero-secondary:focus-visible,
.btn-feature-cta:focus-visible,
.btn-final-cta:focus-visible {
  outline: 3px solid var(--brand-teal);
  outline-offset: 3px;
}

.accordion-button:focus-visible {
  outline: 2px solid var(--brand-teal);
  outline-offset: 2px;
  box-shadow: none;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .main-section::before,
  .main-section::after,
  .promo-banner,
  .final-cta-section {
    display: none !important;
  }

  .hero-demo-card,
  .komma-demo-card {
    animation: none !important;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}

/* ============================================
   /START PAGE - PREMIUM CONVERSION PAGE
   ============================================ */

/* Page setup */
.start-page {
  min-height: 100vh;
  background: var(--bg-body);
}

.start-main {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Animated background */
.start-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.start-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70vh;
  background: linear-gradient(
    180deg,
    rgba(15, 157, 142, 0.04) 0%,
    rgba(15, 157, 142, 0.02) 40%,
    transparent 100%
  );
}

.start-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(15, 157, 142, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
}

.start-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: startGlowFloat 20s ease-in-out infinite;
}

.start-bg-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(15, 157, 142, 0.15) 0%, transparent 70%);
  top: -10%;
  right: -5%;
}

.start-bg-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(15, 157, 142, 0.12) 0%, transparent 70%);
  bottom: 20%;
  left: -10%;
  animation-delay: -10s;
}

@keyframes startGlowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero section */
.start-hero {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 0.75rem;
}

/* Trust badge */
.start-trust-badge {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-bottom: 0.75rem;
}

.trust-badge-glow {
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, rgba(15, 157, 142, 0.3), rgba(255, 193, 7, 0.3));
  border-radius: 50px;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.start-trust-badge:hover .trust-badge-glow {
  opacity: 1;
}

.trust-badge-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(15, 157, 142, 0.15);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: relative;
}

.trust-stars {
  display: flex;
  gap: 2px;
}

.trust-stars i {
  color: #ffc107;
  font-size: 0.85rem;
}

.start-trust-badge .trust-text {
  display: inline;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.start-trust-badge .trust-text strong {
  color: var(--text-primary);
}

/* Main headline */
.start-headline {
  font-family: "Recoleta", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.headline-top {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-primary);
}

.headline-accent {
  display: block;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  background: linear-gradient(135deg, #0f9d8e 0%, #0a7d70 50%, #14c4b2 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: startGradientShift 4s ease-in-out infinite;
}

@keyframes startGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Benefits list - horizontal on desktop, wrap on mobile */
.start-benefits {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.benefit-item i {
  color: var(--cta-primary);
  font-size: 1.1rem;
}

.benefit-highlight {
  background: linear-gradient(135deg, rgba(15, 157, 142, 0.1), rgba(15, 157, 142, 0.05));
  border-color: rgba(15, 157, 142, 0.2);
  color: var(--text-primary);
  font-weight: 600;
}

.benefit-highlight i {
  color: #e67e22;
}

/* Pricing section wrapper */
.start-pricing {
  position: relative;
  z-index: 1;
  padding: 1rem 0 3rem;
}

/* Trust section at bottom */
.start-trust-section {
  position: relative;
  z-index: 1;
  padding: 2rem 0 3rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.trust-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.trust-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(15, 157, 142, 0.1), rgba(15, 157, 142, 0.05));
  border-radius: 10px;
  flex-shrink: 0;
}

.trust-icon i {
  font-size: 1.25rem;
  color: var(--cta-primary);
}

.trust-content {
  display: flex;
  flex-direction: column;
}

.trust-content strong {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.trust-content span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Animation utility */
.animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: startFadeUp 0.6s ease forwards;
  animation-delay: var(--delay, 0s);
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .start-hero {
    padding: 2rem 0 1rem;
  }

  .start-headline {
    margin-bottom: 1.5rem;
  }

  .headline-top {
    font-size: 1.75rem;
  }

  .headline-accent {
    font-size: 2rem;
  }

  .start-benefits {
    padding: 0 1rem;
  }

  .benefit-item {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }

  .trust-item {
    padding: 1rem;
  }

  .start-bg-glow-1 {
    width: 300px;
    height: 300px;
  }

  .start-bg-glow-2 {
    width: 250px;
    height: 250px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .start-bg-glow {
    animation: none;
  }

  .headline-accent {
    animation: none;
  }

  .animate-fade-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
