/* ==========================================================================
   Ook op Signal — Design System
   ========================================================================== */

/* --- Design Tokens --- */
:root {
    --color-primary: #3b45fd;
    --color-primary-dark: #1e2280;
    --color-accent: #60d67a;
    --color-surface: #f5f0eb;
    --color-surface-alt: #e8e0d6;
    --color-text: #0f1923;
    --color-text-muted: #5a6a7a;
    --color-white: #ffffff;

    --shadow-card: 4px 4px 0px var(--color-primary-dark);
    --shadow-card-hover: 6px 6px 0px var(--color-primary-dark);
    --border-thick: 3px solid var(--color-primary-dark);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --font-display: 'Clash Display', sans-serif;
    --font-body: 'General Sans', sans-serif;

    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: var(--color-surface);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s var(--ease-smooth);
}

a:hover {
    color: var(--color-primary-dark);
}

strong {
    font-weight: 700;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* --- Layout --- */
.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
#topBar {
    background-color: var(--color-primary-dark);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 0;
}

.navbar-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    position: relative;
}

#topBar #title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none;
}

#topBar #title:hover {
    color: var(--color-accent);
}

/* Navbar links */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-item {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s var(--ease-smooth);
    text-decoration: none;
    display: block;
}

.navbar-item:hover {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.12);
}

.navbar-item.is-active {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.navbar-divider {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 4px;
    border: none;
    display: block;
}

/* Hamburger */
.navbar-burger {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s var(--ease-smooth);
    background: none;
    border: none;
}

.navbar-burger:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.navbar-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-white);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s var(--ease-smooth);
    border-radius: 1px;
}

.navbar-burger span:nth-child(1) { top: 13px; }
.navbar-burger span:nth-child(2) { top: 21px; }
.navbar-burger span:nth-child(3) { top: 29px; }

.navbar-burger.is-active span:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Language Selector */
#toggleLang {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

#selectedLang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s var(--ease-smooth);
    cursor: pointer;
    background: none;
    border: none;
}

#selectedLang:hover {
    color: var(--color-white);
}

#selectedLang .nav-globe {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

#toggleLang::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.6);
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.2s var(--ease-smooth);
}

#toggleLang.is-active::after {
    transform: translateY(-50%) rotate(180deg);
}

#langDropdown {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--color-white);
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    z-index: 110;
    min-width: 180px;
    padding: 6px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth);
}

#toggleLang.is-active #langDropdown {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text);
    width: 100%;
    text-align: left;
    transition: all 0.15s var(--ease-smooth);
    cursor: pointer;
    background: none;
    border: none;
    white-space: nowrap;
}

.language-option:hover {
    background-color: var(--color-surface);
}

.language-option.active {
    color: var(--color-primary);
    background-color: rgba(59, 69, 253, 0.08);
    font-weight: 600;
}

#selectedLang .language-option {
    padding: 0;
    color: inherit;
    font-size: inherit;
}

#selectedLang .language-option:hover {
    background: none;
}

.dropdown-content {
    padding: 0;
}

/* ==========================================================================
   Main Content Container
   ========================================================================== */
#container {
    width: 100%;
    padding-top: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

/* ==========================================================================
   Hero / Intro Section
   ========================================================================== */
#intro {
    width: 100%;
    background: linear-gradient(170deg, var(--color-primary) 0%, #4f5aff 50%, #5b64ff 100%);
    color: var(--color-white);
    padding: 64px 24px 56px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* Grain texture overlay */
#intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

/* Blob shapes */
#intro::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 214, 122, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
    z-index: 1;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-blob-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    bottom: -80px;
    left: -60px;
}

.hero-blob-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(96, 214, 122, 0.1) 0%, transparent 70%);
    top: 20%;
    right: 15%;
}

#intro .container {
    position: relative;
    z-index: 2;
}

#intro h1,
#intro #introTitle {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 12px;
    animation: fadeInUp 0.6s var(--ease-smooth) both;
}

#intro h2,
#intro .hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s var(--ease-smooth) 0.1s both;
}

#intro #introText,
#intro .hero-text {
    animation: fadeInUp 0.6s var(--ease-smooth) 0.2s both;
}

#intro p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 680px;
}

#intro a {
    color: var(--color-accent);
    font-weight: 600;
}

#intro a:hover {
    color: var(--color-white);
}

#intro strong {
    color: var(--color-white);
}

.disclaimer {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.8rem !important;
    font-style: italic;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
#howItWorks {
    width: 100%;
    background-color: var(--color-surface);
    padding: 64px 24px;
    overflow: hidden;
}

#howItWorks .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

#howItWorks h3 {
    font-family: var(--font-display);
    color: var(--color-primary-dark);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 24px;
}

#howItWorksText {
    text-align: left;
}

#howItWorksText ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#howItWorksText li {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    padding: 14px 20px;
    background: var(--color-white);
    border: 2px solid var(--color-primary-dark);
    border-radius: 50px;
    box-shadow: 3px 3px 0px var(--color-primary-dark);
    transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s var(--ease-smooth);
    cursor: default;
}

#howItWorksText li:hover {
    transform: translateY(-2px);
    box-shadow: 4px 5px 0px var(--color-primary-dark);
}

#howItWorks .example-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

#howItWorks .example-image img {
    width: 85%;
    max-width: 340px;
    display: block;
    transform: rotate(2.5deg);
    mix-blend-mode: multiply;
    transition: transform 0.4s var(--ease-bounce);
}

#howItWorks .example-image img:hover {
    transform: rotate(0deg) scale(1.03);
}

/* ==========================================================================
   Image Editor Area
   ========================================================================== */
#imageBlock {
    width: 100%;
    padding: 40px 24px 24px;
    position: relative;
    background-color: var(--color-white);
}

#imageEditor {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

#imagePreview {
    position: relative;
    display: flex;
    max-width: 800px;
    max-height: 800px;
    min-height: 180px;
    min-width: 200px;
    margin: 0 auto;
    border: var(--border-thick);
    border-radius: var(--radius-md);
    background: repeating-linear-gradient(
        45deg,
        var(--color-surface) 0px,
        var(--color-surface) 10px,
        var(--color-white) 10px,
        var(--color-white) 20px
    );
    overflow: hidden;
    width: fit-content;
}

#imageContainer {
    display: flex;
    position: relative;
    height: 100%;
    background-color: transparent;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    padding: 0;
}

#imagePreview img {
    display: block;
    max-width: 100%;
    max-height: 800px;
    width: auto;
    height: auto;
    margin: auto;
}

/* Upload zone */
.upload-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    padding: 48px 24px;
    margin: auto;
    color: var(--color-text-muted);
}

.upload-form .file-label {
    cursor: pointer;
}

.file-input {
    display: none;
}

#initialUploadButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 32px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: var(--border-thick);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: all 0.2s var(--ease-smooth);
    min-height: 48px;
}

#initialUploadButton:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
    background-color: #4f55ff;
}

#initialUploadButton:active {
    transform: translateY(0);
    box-shadow: 2px 2px 0px var(--color-primary-dark);
}

.privacy-note {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-align: center;
    max-width: 500px;
    margin: 8px auto 0;
}

/* Spotlight / Crop Area */
#spotlight {
    position: absolute;
    cursor: move;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: none;
    border-radius: 4px;
}

.resize-handle {
    width: 28px;
    height: 28px;
    background-color: transparent;
    border: none;
    position: absolute;
    z-index: 2;
}

.resize-handle.nw {
    top: -2px;
    left: -2px;
    cursor: nw-resize;
    border-left: 4px solid var(--color-primary);
    border-top: 4px solid var(--color-primary);
    border-radius: 3px 0 0 0;
}

.resize-handle.ne {
    top: -2px;
    right: -2px;
    cursor: ne-resize;
    border-right: 4px solid var(--color-primary);
    border-top: 4px solid var(--color-primary);
    border-radius: 0 3px 0 0;
}

.resize-handle.sw {
    bottom: -2px;
    left: -2px;
    cursor: sw-resize;
    border-left: 4px solid var(--color-primary);
    border-bottom: 4px solid var(--color-primary);
    border-radius: 0 0 0 3px;
}

.resize-handle.se {
    bottom: -2px;
    right: -2px;
    cursor: se-resize;
    border-right: 4px solid var(--color-primary);
    border-bottom: 4px solid var(--color-primary);
    border-radius: 0 0 3px 0;
}

.signal-box {
    background: url('../images/ookopsignal.png') no-repeat center center;
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
}

/* ==========================================================================
   Badge Thumbnails (Sticker Picker)
   ========================================================================== */
#thumbnails {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
    max-width: 800px;
    margin: 20px auto 0;
    padding: 16px 0;
}

.thumbnail-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s var(--ease-bounce);
}

.thumbnail-container:hover {
    transform: translateY(-4px);
}

.thumbnail {
    width: 140px;
    height: 140px;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.2s var(--ease-smooth);
    background-color: var(--color-white);
    padding: 16px;
    border-radius: var(--radius-md);
    border: var(--border-thick);
    box-shadow: var(--shadow-card);
}

.thumbnail:hover {
    box-shadow: var(--shadow-card-hover);
}

.thumbnail.active {
    border-color: var(--color-primary);
    box-shadow: 4px 4px 0px var(--color-primary);
    transform: scale(1.05);
}

.thumbnail-container span {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    letter-spacing: 0.02em;
    transition: color 0.2s var(--ease-smooth);
}

.thumbnail.active + span,
.thumbnail-container:hover span {
    color: var(--color-primary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
#buttons {
    display: none;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    padding: 16px 24px;
    max-width: 800px;
    margin: 0 auto;
}

#downloadButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 36px;
    background-color: var(--color-accent);
    color: var(--color-text);
    border: var(--border-thick);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: all 0.2s var(--ease-smooth);
    min-height: 48px;
}

#downloadButton:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
    background-color: #6fe08d;
}

#downloadButton:active {
    transform: translateY(0);
    box-shadow: 2px 2px 0px var(--color-primary-dark);
}

/* Download button pulse when ready */
@keyframes subtlePulse {
    0%, 100% { box-shadow: var(--shadow-card); }
    50% { box-shadow: 4px 4px 0px var(--color-primary-dark), 0 0 16px rgba(96, 214, 122, 0.3); }
}

#uploadForm {
    display: block;
    margin: 0;
}

#uploadButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    background-color: var(--color-white);
    color: var(--color-text);
    border: var(--border-thick);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: all 0.2s var(--ease-smooth);
    min-height: 48px;
}

#uploadButton:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
    background-color: var(--color-surface);
}

#uploadButton:active {
    transform: translateY(0);
    box-shadow: 2px 2px 0px var(--color-primary-dark);
}

/* Download note */
#downloadNote {
    display: none;
    max-width: 600px;
    margin: 12px auto 0;
    padding: 12px 16px;
    background-color: rgba(59, 69, 253, 0.08);
    border: 2px solid rgba(59, 69, 253, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
}

canvas {
    display: none;
}

/* ==========================================================================
   Get Signal Section
   ========================================================================== */
#getSignal {
    width: 100%;
    padding: 48px 24px;
    background-color: var(--color-surface);
}

#getSignal .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

#getSignal h3 {
    font-family: var(--font-display);
    color: var(--color-primary-dark);
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    white-space: nowrap;
}

#storeLinks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--color-primary-dark);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s var(--ease-smooth);
}

.store-button:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.store-button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
#linkedinBar {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 32px 24px;
    width: 100%;
    font-size: 0.9rem;
    margin-top: auto;
}

#linkedinBar a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s var(--ease-smooth);
}

#linkedinBar a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   Why Signal Page (waaromSignal.html)
   ========================================================================== */
.content-section {
    width: 100%;
    padding: 48px 24px;
}

.content-section:nth-child(odd) {
    background-color: var(--color-white);
}

.content-section:nth-child(even) {
    background-color: var(--color-surface);
}

.content-section .container {
    max-width: 720px;
}

.content-section h1 {
    font-family: var(--font-display);
    color: var(--color-primary-dark);
    margin-bottom: 20px;
}

.content-section h2 {
    font-family: var(--font-display);
    color: var(--color-primary-dark);
    margin-top: 32px;
    margin-bottom: 16px;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text);
}

.content-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}

.content-section li {
    padding: 12px 16px;
    background-color: var(--color-surface);
    border: 2px solid var(--color-surface-alt);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    line-height: 1.6;
}

.content-section li strong {
    color: var(--color-primary-dark);
}

.content-section .benefits-list {
    gap: 14px;
    margin: 24px 0;
}

.content-section .benefits-list li {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    padding: 16px 22px;
    background: var(--color-white);
    border: 2px solid var(--color-primary-dark);
    border-radius: 50px;
    box-shadow: 3px 3px 0px var(--color-primary-dark);
    transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s var(--ease-smooth);
    cursor: default;
    line-height: 1.5;
}

.content-section .benefits-list li:hover {
    transform: translateY(-2px);
    box-shadow: 4px 5px 0px var(--color-primary-dark);
}

.content-section .benefits-list li strong {
    display: block;
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 4px;
}

/* Quote Gallery — masonry-style wall */
.quote-gallery {
    columns: 2;
    column-gap: 16px;
    margin: 24px 0;
}

.quote-card {
    display: block;
    break-inside: avoid;
    margin-bottom: 16px;
    padding: 24px;
    background: var(--color-white);
    border: var(--border-thick);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s var(--ease-smooth);
}

.quote-card:hover {
    transform: translateY(-3px) rotate(-0.5deg);
    box-shadow: var(--shadow-card-hover);
    color: var(--color-text);
}

.quote-card blockquote {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.5;
    margin: 0;
    padding: 0;
    border: none;
}

.quote-card cite {
    display: block;
    margin-top: 14px;
    font-style: normal;
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* Stagger cards for a pinned-to-wall feel */
.quote-card:nth-child(1) { transform: rotate(-1deg); }
.quote-card:nth-child(2) { transform: rotate(0.5deg); }
.quote-card:nth-child(3) { transform: rotate(0.8deg); }
.quote-card:nth-child(4) { transform: rotate(-0.5deg); }

.quote-card:nth-child(1):hover { transform: translateY(-3px) rotate(-1.5deg); }
.quote-card:nth-child(2):hover { transform: translateY(-3px) rotate(0deg); }
.quote-card:nth-child(3):hover { transform: translateY(-3px) rotate(0.3deg); }
.quote-card:nth-child(4):hover { transform: translateY(-3px) rotate(-1deg); }

@media screen and (max-width: 600px) {
    .quote-gallery {
        columns: 1;
    }

    .quote-card:nth-child(n) {
        transform: none;
    }

    .quote-card:nth-child(n):hover {
        transform: translateY(-3px);
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .navbar-burger {
        display: block;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 16px;
        background-color: var(--color-white);
        border: var(--border-thick);
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-card);
        padding: 8px;
        min-width: 220px;
        flex-direction: column;
        gap: 2px;
    }

    .navbar-menu.is-active {
        display: flex;
    }

    .navbar-item {
        color: var(--color-text);
        width: 100%;
        padding: 10px 14px;
    }

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

    .navbar-item.is-active {
        color: var(--color-primary);
        background-color: rgba(59, 69, 253, 0.08);
    }

    .navbar-divider {
        width: 100%;
        height: 1px;
        margin: 4px 0;
    }

    #toggleLang::after {
        border-top-color: var(--color-text-muted);
    }

    #selectedLang {
        color: var(--color-text);
    }

    #selectedLang:hover {
        background-color: var(--color-surface);
    }

    #langDropdown {
        position: static;
        border: none;
        box-shadow: none;
        padding: 0 8px;
        min-width: auto;
    }

    #toggleLang.is-active #langDropdown {
        transform: none;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    #howItWorks .container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    #howItWorks .example-image {
        order: -1;
    }

    #howItWorks .example-image img {
        max-width: 280px;
        margin: 0 auto;
    }

    #intro {
        padding: 48px 20px 40px;
    }

    #buttons {
        flex-direction: column;
        align-items: center;
    }

    #getSignal .container {
        flex-direction: column;
        text-align: center;
    }

    #getSignal #storeLinks {
        align-items: center;
    }

    .thumbnail {
        width: 110px;
        height: 110px;
        padding: 12px;
    }

    #thumbnails {
        gap: 18px;
    }
}

@media (max-width: 480px) {
    #container {
        padding-top: 64px;
    }

    #intro {
        padding: 36px 16px 32px;
    }

    #intro h1,
    #intro #introTitle {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .thumbnail {
        width: 100px;
        height: 100px;
        padding: 10px;
    }

    .thumbnail-container span {
        font-size: 0.7rem;
    }

    #thumbnails {
        gap: 16px;
    }

    .store-button {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    #downloadButton,
    #uploadButton,
    #initialUploadButton {
        font-size: 1rem;
        padding: 12px 24px;
        width: 100%;
    }

    .navbar-container {
        padding: 10px 16px;
    }
}
