:root {
    --moss-green: #00A045;
    --pixel-black: #1D1D1F;
    --text-color: #333333;
    --text-color-secondary: #555555;
    --background-white: #FFFFFF;
    --background-light-gray: #F5F5F7;
    --border-color: #EAEAEA;
    --font-family: 'Satoshi', sans-serif;
    --card-border-radius: 20px;
    --button-border-radius: 12px;

    /* New variables for glass & aurora effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-bg-hover: rgba(255, 255, 255, 0.8);
    --dark-glass-bg: rgba(35, 35, 37, 0.8);
    --dark-glass-border: rgba(255, 255, 255, 0.1);
    
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.18);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--background-light-gray);
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* New Pixel Animation - two layers for a twinkling effect */
body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(var(--pixel-black) 0.5px, transparent 0.5px);
    z-index: -1;
    will-change: transform, opacity;
}

body::before {
    background-size: 35px 35px;
    animation: pixel-animation 20s linear infinite;
}

body::after {
    background-size: 50px 50px; /* Different size for parallax effect */
    background-position: 10px 10px; /* Offset to avoid overlap */
    animation: pixel-animation 30s linear infinite reverse; /* Different duration and direction */
}


.container {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
}

/* --- TYPOGRAPHY & SHARED ELEMENTS --- */

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 300,
  'GRAD' 0,
  'opsz' 24
}

h1, h2, h3, h4, h5 {
    color: var(--pixel-black);
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

h2.section-title .material-symbols-outlined {
    font-size: 0.8em;
    color: var(--moss-green);
    opacity: 0.7;
    font-variation-settings: 'wght' 400;
}


h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
p { 
    line-height: 1.8; 
    color: var(--text-color-secondary);
}

.cta-button {
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: inline-block;
    background: linear-gradient(135deg, #00B34E, var(--moss-green));
    color: var(--background-white);
    padding: 12px 24px;
    border-radius: var(--button-border-radius);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 160, 69, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 1rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    padding-bottom: 200%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    pointer-events: none;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 160, 69, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #00C25A, #00A848);
}

.cta-button.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.cta-button.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.cta-button.secondary {
    background: transparent;
    color: var(--moss-green);
    border: 1px solid var(--moss-green);
    box-shadow: none;
}
.cta-button.secondary:hover {
    background: rgba(0, 160, 69, 0.1);
    color: var(--moss-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 160, 69, 0.1);
}
.cta-button.secondary::before {
    display: none; /* No radial effect for secondary */
}

.cta-button:disabled {
    background: linear-gradient(135deg, #b0b0b0, #9e9e9e);
    color: #f0f0f0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.cta-button:disabled:hover {
    background: linear-gradient(135deg, #b0b0b0, #9e9e9e);
    transform: none;
    box-shadow: none;
}
.cta-button:disabled::before {
    display: none;
}

.content-section {
    padding: 7rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    position: relative;
    z-index: 2;
}

.content-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- HEADER --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--glass-border);
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.main-header.scrolled {
    padding: 1rem 0;
    background-color: var(--background-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-bottom-color: var(--border-color);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Nagłówek: logo + tekst w jednej linii */
.main-header .logo {
  display: flex;
  align-items: baseline;    /* Wyrównanie do linii bazowej tekstu */
  gap: 0.3rem;          /* delikatnie bliżej tekstu */
  white-space: nowrap;   /* nie pozwala na łamanie linii */
  text-decoration: none;
}

/* Dopasowanie sygnetu do linii bazowej tekstu */
.main-header .logo svg {
  height: 1em;              /* Wysokość równa wysokości tekstu */
  width: auto;
  vertical-align: text-bottom; /* Wyrównanie dolnej krawędzi do linii tekstu */
}

/* Tekst nagłówka */
.main-header .logo .logo-text {
  font-size: 1.375rem;    /* ~10% większe (było 1.25rem) */
  line-height: 1;         /* tak, by em odpowiadało dokładnie font-size */
  font-weight: 700;
  color: var(--pixel-black);
}

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

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--moss-green);
}

/* Dropdown Menu Styles */
.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.main-nav .dropdown-toggle .material-symbols-outlined {
    font-size: 20px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.main-nav .dropdown:hover .dropdown-toggle .material-symbols-outlined {
    transform: rotate(180deg);
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: var(--button-border-radius);
    padding: 0.75rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, top 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

.dropdown-menu li a {
    padding: 0.75rem 1rem;
    display: block;
    white-space: nowrap;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.dropdown-menu li a:hover {
    background-color: var(--moss-green);
    color: var(--background-white) !important;
}


.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative; /* Essential for containing the absolute particles canvas */
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 4rem 0;
    overflow: hidden;
}

#gradient-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    --gradient-color-1: #e0f7fa;
    --gradient-color-2: #e8eaf6;
    --gradient-color-3: #f1f8e9;
    --gradient-color-4: #fff3e0;
}

.hero-content-wrapper {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-tilt-container {
    perspective: 1000px; /* For 3D tilt effect */
}

.hero-tilt-content {
    transition: transform 0.1s ease-out; /* Smooth transition for tilt */
    will-change: transform;
    transform-style: preserve-3d;
}

.hero-section .subtitle {
    font-size: 1.25rem;
    margin: 1.5rem 0 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* --- ABOUT SECTION --- */
.about-section {
    background-color: transparent;
    position: relative;
    z-index: 1;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    perspective: 1000px; /* For 3D tilt effect on child elements */
}
.about-content .section-title {
    margin-bottom: 2rem;
}
.about-content p {
    font-size: 1.1rem;
    color: var(--text-color-secondary);
}
.about-content p+p {
    margin-top: 1.5rem;
}
.about-image-container {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 3rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), inset 0 0 0 8px rgba(255, 255, 255, 0.6);
    pointer-events: none; /* Make it non-clickable */
    transition: transform 0.1s ease-out;
    will-change: transform;
    transform-style: preserve-3d;
    background-color: var(--background-light-gray); /* Fallback color */
}

.about-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s ease-out;
    will-change: transform;
}


/* --- SERVICES & SUBSCRIPTIONS SECTION --- */
.services-section, .subscriptions-section, .ideal-clients-section, .process-section {
    background-color: transparent;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    background: rgba(220, 220, 220, 0.3);
    border-radius: var(--button-border-radius);
    padding: 5px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--glass-border);
}

.tab-link {
    background: none;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color-secondary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tab-link.active {
    background-color: var(--background-white);
    color: var(--pixel-black);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-border-radius);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--glass-bg-hover);
    border-color: rgba(255, 255, 255, 0.5);
}
.service-card h4 {
    color: var(--pixel-black);
    margin-bottom: 0.75rem; /* Reduced margin */
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-card h4 .material-symbols-outlined {
    font-size: 1.5em;
    color: var(--moss-green);
    font-variation-settings: 'wght' 400;
}


.service-card ul {
    list-style: none;
    margin-top: 1.5rem; /* Added margin-top for spacing */
    margin-bottom: 0; /* Removed bottom margin as flex-grow will handle space */
    flex-grow: 1;
}

.service-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.service-card ul li .material-symbols-outlined {
    font-size: 20px;
    color: var(--pixel-black);
    margin-top: 4px;
    font-variation-settings: 'wght' 400;
}

.service-card .description {
    font-size: 1rem;
    color: var(--text-color-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* --- QUOTE CTA SECTION --- */
.quote-cta-section .container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-border-radius);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quote-cta-section .container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.quote-cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
}
.quote-cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* --- IDEAL CLIENTS SECTION --- */
.clients-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.client-profile {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    width: 100%;
    max-width: 420px; /* Control max width of cards */
    text-align: center;
}
.client-profile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--glass-bg-hover);
    border-color: rgba(255, 255, 255, 0.5);
}
.client-profile .icon {
    width: 48px;
    height: 48px;
    background-color: #e6f6ec;
    color: var(--moss-green);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}
.client-profile .icon .material-symbols-outlined {
    font-size: 24px;
    font-variation-settings: 'wght' 400;
}
.client-profile h4 { margin-bottom: 1rem; }
.client-pain {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 0;
    border-left: none;
}
.client-gain strong { color: var(--pixel-black); }

/* --- QUIZ SECTION --- */
.quiz-section {
    background-color: transparent;
}

.quiz-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-border-radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: padding 0.5s ease-in-out, background-color 0.5s ease-in-out;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.quiz-intro p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quiz-content {
    overflow: hidden;
}

.quiz-progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.quiz-progress-bar-inner {
    width: 0;
    height: 100%;
    background: var(--moss-green);
    border-radius: 4px;
    transition: width 0.4s ease-out;
}

.quiz-question-wrapper-outer {
    overflow: hidden;
    position: relative;
    min-height: 280px;
}
.quiz-question-wrapper {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.quiz-question {
    width: 100%;
    flex-shrink: 0;
    padding: 0 1rem;
}

.quiz-question h4 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--pixel-black);
}

.quiz-answers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.quiz-answers label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: background-color 0.2s ease-out, border-color 0.2s ease-out;
    color: var(--text-color);
}

.quiz-answers label:hover {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: var(--moss-green);
}

.quiz-answers input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: var(--pixel-black);
    width: 1.25em;
    height: 1.25em;
    border: 0.15em solid var(--pixel-black);
    border-radius: 50%;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s;
}
.quiz-answers input[type="radio"]::before {
    content: "";
    width: 0.75em;
    height: 0.75em;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--moss-green);
}
.quiz-answers input[type="radio"]:checked {
    border-color: var(--moss-green);
}
.quiz-answers input[type="radio"]:checked::before {
    transform: scale(1);
}
.quiz-answers input[type="radio"]:checked + span {
    font-weight: 500;
    color: var(--pixel-black);
}

.quiz-navigation {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.quiz-results {
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    animation: quizFadeIn 0.5s ease-out forwards;
}

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

.quiz-results h4 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.quiz-result-recommendation {
    margin-bottom: 1.5rem;
}

.quiz-result-recommendation h5 {
    color: var(--pixel-black);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.quiz-result-recommendation p {
    color: var(--text-color-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.quiz-result-main-action {
    margin: 2rem 0;
}

.quiz-results-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- PROCESS SECTION --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
}

.step {
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    border: 1px solid transparent;
    border-radius: var(--card-border-radius);
    z-index: 2; /* To be above the connector line */
}

.step:hover {
    transform: translateY(-5px);
    background: var(--glass-bg);
    box-shadow: var(--shadow-md);
    border-color: var(--glass-border);
}

.step-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 160, 69, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-icon-wrapper .material-symbols-outlined {
    font-size: 36px;
    color: var(--moss-green);
    font-variation-settings: 'wght' 300;
}
.step:hover .step-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 160, 69, 0.2);
}
.step h3 { 
    margin-bottom: 1rem; 
    font-size: 1.5rem;
}

/* --- INNOVATION SECTION --- */
.innovation-section {
    background-color: var(--pixel-black);
    color: var(--background-white);
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--dark-glass-border);
    border-bottom: 1px solid var(--dark-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 0;
}

.aurora-background {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 0;
    background-image:
        radial-gradient(circle at 20% 80%, hsla(145, 60%, 20%, 0.3), transparent 35%),
        radial-gradient(circle at 80% 30%, hsla(200, 60%, 30%, 0.2), transparent 30%);
    animation: aurora-flow 40s ease-in-out infinite alternate;
}

.innovation-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.innovation-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.kate-title-container {
    margin-bottom: 0.5rem;
    cursor: default;
}

.kate-title-container:hover .kate-product-name {
    text-shadow: 0 0 12px rgba(0, 255, 106, 0.8), 0 0 40px rgba(0, 160, 69, 0.7);
    animation-play-state: paused;
}

.innovation-pre-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.innovation-pre-title .text-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    border: none;
    color: #FFD700; /* Fallback */
    background: linear-gradient(135deg, #FFFACD, #FFD700, #FFFACD);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: move-gold-gradient 4s linear infinite;
}

.innovation-pre-title .text-with-icon::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #FFFACD, #FFD700, #FFFACD);
    background-size: 200% auto;
    animation: move-gold-gradient 4s linear infinite;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.innovation-pre-title .material-symbols-outlined {
    font-size: 1.2rem;
}

.kate-product-name {
    font-size: clamp(4rem, 8vw, 6rem);
    color: var(--background-white);
    margin: 0;
    line-height: 1;
    transition: text-shadow 0.3s ease;
    animation: subtle-glow 5s ease-in-out infinite;
}

.kate-trademark {
    font-size: 0.35em;
    vertical-align: super;
    margin-left: 4px;
    font-weight: 500;
    color: #a1a1a6;
}

.innovation-content p .kate-trademark {
    font-size: 0.75em;
    vertical-align: text-top;
    margin-left: -2px;
}

.kate-credit {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: #a1a1a6;
    font-weight: 400;
}

.kate-credit-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.kate-credit-logo-icon {
    width: 24px;
    height: auto;
    fill: currentColor;
    flex-shrink: 0;
}

.kate-credit-logo-text {
    font-weight: 700;
    line-height: 1;
}

.kate-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #a1a1a6;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.innovation-text p {
    color: #a1a1a6;
    line-height: 1.7;
}

.innovation-text p + p {
    margin-top: 1rem;
}

.kate-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a1a1a6;
}
.kate-disclaimer a {
    color: var(--background-white);
    text-decoration: underline;
    text-decoration-color: var(--moss-green);
    text-underline-offset: 4px;
    font-weight: 500;
    transition: color 0.3s, text-decoration-color 0.3s;
    cursor: pointer;
}
.kate-disclaimer a:hover {
    color: var(--moss-green);
    text-decoration-color: var(--background-white);
}

.innovation-text .innovation-cta {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #a1a1a6;
}
.innovation-text .link-highlight {
    color: var(--background-white);
    text-decoration: underline;
    text-decoration-color: var(--moss-green);
    text-underline-offset: 4px;
    font-weight: 500;
    transition: color 0.3s, text-decoration-color 0.3s;
    cursor: pointer;
}
.innovation-text .link-highlight:hover {
    color: var(--moss-green);
    text-decoration-color: var(--background-white);
}

.kate-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tech-category {
    background: var(--dark-glass-bg);
    border: 1px solid var(--dark-glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    will-change: opacity, transform;
}

.content-section.is-visible .tech-category {
    opacity: 1;
    transform: translateY(0);
}

.content-section.is-visible .tech-category:nth-child(1) { transition-delay: 0.1s; }
.content-section.is-visible .tech-category:nth-child(2) { transition-delay: 0.2s; }
.content-section.is-visible .tech-category:nth-child(3) { transition-delay: 0.3s; }


.tech-category:hover {
    transform: translateY(-5px) !important; /* Use important to override staggered animation transform */
    background: rgba(45, 45, 47, 0.85);
    box-shadow: 0 0 25px rgba(0, 160, 69, 0.3);
}

.tech-category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-glass-border);
}

.tech-category-icon .material-symbols-outlined {
    font-size: 32px;
    color: var(--moss-green);
    font-variation-settings: 'wght' 300;
}

.tech-category h4 {
    color: var(--background-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tech-list.primary {
    margin-bottom: 2rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.08);
    color: var(--background-white);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.tech-list.supporting {
    margin-top: auto; /* Pushes to the bottom */
    padding-top: 1.5rem;
    border-top: 1px solid var(--dark-glass-border);
}

.tech-list.supporting h5 {
    font-size: 0.8rem;
    font-weight: 500;
    color: #a1a1a6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.tech-list.supporting ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-list.supporting ul li {
    font-size: 0.9rem;
    color: #8d8d92;
}

.kate-summary {
    margin-top: 2.5rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dark-glass-border);
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease-out, background-color 0.3s ease-out;
    will-change: opacity, transform;
}

.content-section.is-visible .kate-summary {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.kate-summary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 30px rgba(0, 160, 69, 0.2);
}

.kate-summary .summary-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-glass-border);
    transition: background-color 0.4s ease-out, box-shadow 0.4s ease-out;
}
.kate-summary .summary-icon .material-symbols-outlined {
    transition: transform 0.4s ease-out, color 0.4s ease-out, text-shadow 0.4s ease-out;
}
.kate-summary:hover .summary-icon {
    background: rgba(0, 160, 69, 0.1);
    box-shadow: 0 0 25px rgba(0, 160, 69, 0.4);
}
.kate-summary:hover .summary-icon .material-symbols-outlined {
    transform: rotate(360deg) scale(1.1);
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 15px rgba(0, 160, 69, 0.7);
}
.kate-summary h4 {
    color: var(--background-white);
    margin: 0;
    font-size: 1.5rem;
}
.kate-summary p {
    max-width: 650px;
    margin: 0 auto;
    color: #a1a1a6;
    line-height: 1.7;
}

/* --- FAQ SECTION --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-border-radius);
    transition: background 0.3s ease;
    overflow: hidden; /* Important for animation */
}

.faq-item:hover {
    background: var(--glass-bg-hover);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--pixel-black);
    font-family: var(--font-family);
}

.faq-question span {
    transition: transform 0.3s ease;
}

.faq-question .faq-icon {
    font-size: 24px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: var(--moss-green);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-answer p {
    padding-bottom: 1.5rem;
    margin: 0;
    line-height: 1.7;
}

/* --- FINAL CTA SECTION --- */
.cta-final-section {
    background-color: var(--pixel-black);
    color: var(--background-white);
    text-align: center;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.cta-final-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(circle at 20% 80%, hsla(145, 60%, 30%, 0.4), transparent 40%),
        radial-gradient(circle at 80% 30%, hsla(0, 0%, 100%, 0.1), transparent 30%);
    animation: aurora-flow 30s ease-in-out infinite alternate;
    z-index: 0;
}

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

.cta-final-section h2 {
    color: var(--background-white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}
.cta-final-section p {
    max-width: 500px;
    margin: 0 auto 2.5rem;
    color: #ccc;
}
/* Final CTA button now uses standard green style */
#open-contact-modal-btn:hover {
    background: linear-gradient(135deg, #00C25A, #00A848);
}


/* --- FOOTER --- */
.main-footer {
    background-color: #ECECEC;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 2rem;
}
.main-footer .logo svg {
    height: 28px;
    width: auto;
    display: block;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--moss-green);
}
.footer-links .material-symbols-outlined {
    font-size: 28px;
}
.footer-links a svg {
    width: 24px;
    height: 24px;
    fill: var(--text-color-secondary);
    transition: fill 0.2s ease;
}
.footer-links a:hover svg {
    fill: var(--moss-green);
}
.footer-links span {
    display: block;
}
.footer-bottom {
    text-align: center;
    color: #888;
    font-size: 0.85rem;
}

.footer-disclaimer {
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-disclaimer p {
    margin-bottom: 0.5rem;
    color: #888;
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem; /* row and column gap */
}

.footer-legal a {
    color: var(--text-color-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
    cursor: pointer;
}
.footer-legal a:hover {
    color: var(--moss-green);
}


/* --- ANIMATIONS --- */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes aurora-flow {
    from {
        transform: rotate(0deg) scale(1.2);
    }
    to {
        transform: rotate(360deg) scale(1.8);
    }
}

@keyframes pixel-animation {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 0.2;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0.3;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-40px);
        opacity: 0;
    }
}

@keyframes move-gold-gradient {
    from { background-position: 0 0; }
    to { background-position: -200% 0; }
}

@keyframes subtle-glow {
    0%, 100% {
        text-shadow: 0 0 8px rgba(0, 255, 106, 0.4), 0 0 20px rgba(0, 160, 69, 0.3);
    }
    50% {
        text-shadow: 0 0 12px rgba(0, 255, 106, 0.6), 0 0 30px rgba(0, 160, 69, 0.5);
    }
}

/* --- CONTACT MODAL --- */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.contact-modal-overlay.visible {
    display: flex;
}

.contact-modal {
    background-color: var(--background-white);
    padding: 3rem;
    border-radius: var(--card-border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.modal-close-btn[aria-label] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color-secondary);
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn[aria-label] .material-symbols-outlined {
    font-size: 28px;
}

.modal-close-btn[aria-label]:hover {
    background-color: var(--background-light-gray);
    color: var(--pixel-black);
}

.contact-modal h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.contact-modal p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color-secondary);
}

#contact-form .form-group {
    margin-bottom: 1.5rem;
}

#contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: var(--background-white);
    color: #1D1D1F;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--moss-green);
    box-shadow: 0 0 0 3px rgba(0, 160, 69, 0.2);
}

#contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

#contact-form button[type="submit"] {
    width: 100%;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

#contact-success-message {
    text-align: center;
}

#contact-success-message .cta-button {
    margin-top: 1.5rem;
}

.privacy-modal-content {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    text-align: left;
}
.privacy-modal-content h2,
.privacy-modal-content h3,
.privacy-modal-content h4 {
    text-align: left;
}

.privacy-modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.privacy-modal-content p em {
    display: block;
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--text-color-secondary);
}
.privacy-modal-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.privacy-modal-content h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.privacy-modal-content p,
.privacy-modal-content ul {
    margin-bottom: 1rem;
    color: var(--text-color-secondary);
    line-height: 1.7;
}
.privacy-modal-content ul {
    list-style-position: outside;
    padding-left: 1.5rem;
}
.privacy-modal-content ul li {
    margin-bottom: 0.75rem;
}
.privacy-modal-content ul ul {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}
.privacy-modal-content strong {
    color: var(--pixel-black);
    font-weight: 700;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--background-white);
    padding: 1.5rem 0;
    z-index: 2100;
    border-top: 1px solid var(--dark-glass-border);
    transform: translateY(120%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cookie-consent-banner.visible {
    transform: translateY(0);
}
.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.cookie-banner-text p {
    margin: 0;
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.9rem;
}
.cookie-banner-text p strong {
    color: var(--background-white);
    font-weight: 500;
}
.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-settings-modal {
    max-width: 600px;
}

.cookie-settings-modal h3 {
    text-align: left;
}
.cookie-settings-modal > p {
    text-align: left;
    margin-bottom: 2rem;
}
.cookie-settings-modal > p a {
    color: var(--moss-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-settings-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: left;
}
.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.cookie-category:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.cookie-category-info p {
    font-size: 0.9rem;
    color: var(--text-color-secondary);
    margin: 0.25rem 0 0 0;
    line-height: 1.6;
}
.cookie-category-info strong {
    color: var(--pixel-black);
    font-weight: 500;
}
.cookie-settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* The switch - a box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}
input:checked + .slider {
  background-color: var(--moss-green);
}
input:focus + .slider {
  box-shadow: 0 0 1px var(--moss-green);
}
input:checked + .slider:before {
  transform: translateX(22px);
}
.slider.round {
  border-radius: 28px;
}
.slider.round:before {
  border-radius: 50%;
}
input:disabled + .slider {
    cursor: not-allowed;
    background-color: #e0e0e0;
}
input:disabled + .slider:before {
    background-color: #f5f5f5;
}

#manage-cookies-link {
    cursor: pointer;
}


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .kate-tech-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {
    .main-nav, .main-header .cta-button { display: none; }
    .mobile-nav-toggle { display: block; }

    .mobile-nav-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--pixel-black);
        margin: 6px 0;
        border-radius: 3px;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }

    .main-header.nav-open .main-nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        border-top: 1px solid var(--glass-border);
    }
    
    .main-header.nav-open .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    
    .main-header.nav-open .main-nav li a,
    .main-header.nav-open .main-nav .dropdown-toggle {
        padding: 1rem 2rem;
        display: flex;
    }

    .main-nav .dropdown-toggle {
        justify-content: space-between;
    }

    .main-nav .dropdown .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 1.5rem;
        min-width: auto;
        display: none;
        gap: 0;
        border-radius: 0;
    }

    .main-nav .dropdown.open .dropdown-menu {
        display: flex;
    }
    
    .main-nav .dropdown.open .dropdown-toggle .material-symbols-outlined {
        transform: rotate(180deg);
    }

    .dropdown-menu li a {
        padding: 0.75rem 2rem 0.75rem 0;
    }

    .dropdown-menu li a:hover {
        background: transparent;
        color: var(--moss-green) !important;
    }

    .main-header.nav-open .mobile-nav-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .main-header.nav-open .mobile-nav-toggle span:nth-child(2) {
        opacity: 0;
    }
    .main-header.nav-open .mobile-nav-toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .clients-grid {
        flex-direction: column;
        align-items: center;
    }

    .process-steps { 
        grid-template-columns: 1fr; 
    }
    .innovation-content { gap: 3rem; }
        
    .process-connector { display: none; } /* Hide connector on mobile */
    
    .quiz-container {
        padding: 2rem 1.5rem;
    }
    
    .quiz-question-wrapper-outer {
        min-height: 320px;
    }

    h1 { font-size: 2.2rem; }
    h2.section-title { font-size: 1.8rem; margin-bottom: 3rem; }
    .content-section { padding: 4rem 0; }

    .quote-cta-section .container {
        padding: 3rem 1.5rem;
    }

    .cta-final-section { padding: 5rem 0; }
    .cta-final-section h2 { font-size: 2rem; }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-links {
        justify-content: center;
        width: 100%;
    }

    .contact-modal {
        padding: 2.5rem 1.5rem;
    }

    .about-image-container {
        width: 250px;
        height: 250px;
    }

    .cookie-banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
}