/* Shared marketing styles used by the current landing page: page reset, footer, testimonials and consent banner. */
:root {
    --brand: var(--ds-primary);
    --brand-btn: var(--ds-primary-solid);
    --brand-dark: var(--ds-primary-solid);
    --brand-light: color-mix(in srgb, var(--brand) 15%, transparent);
    --brand-glow: color-mix(in srgb, var(--brand) 22%, transparent);
    --gray-800: 71, 85, 105;
    --gray-700: 71, 85, 105;
    --bg-abyss: #475569;
    --bg-abyss-mid: #475569;
    --bg-abyss-alt: #475569;
    --gray-200: rgba(255,255,255,0.08);
    --gray-300: rgba(255,255,255,0.14);
    --gray-400: #94a3b8;
    --gray-500: #94a3b8;
    --gray-600: #94a3b8;
    --fg-700: #94a3b8;
    --fg-800: #e8eeff;
    --gray-900: #e8eeff;
    --success: #10b981;
    --danger: #f43f5e;
    --purple: #94a3b8;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(71, 85, 105, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(71, 85, 105, 0.4), 0 2px 4px -2px rgba(71, 85, 105, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(71, 85, 105, 0.5), 0 4px 6px -4px rgba(71, 85, 105, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(71, 85, 105, 0.6), 0 8px 10px -6px rgba(71, 85, 105, 0.4);
    --shadow-glow: 0 0 40px color-mix(in srgb, var(--brand) 20%, transparent);
    --accent: #f59e0b;
    --accent-light: rgba(245,158,11,0.15);
    --text-inverse: #ffffff;
    --color-white: #ffffff;
}

.landing-footer, .cookie-consent { --brand: var(--ds-primary-on-dark); }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; color: var(--gray-900); line-height: 1.6; background: rgba(var(--gray-800), 1); overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: var(--ds-focus-outline); outline-offset: var(--ds-focus-offset); }
.contact-validation-hint { margin-top: var(--ds-space-1); color: var(--ds-error); font-size: var(--ds-text-xs); line-height: var(--ds-leading-snug); }
input.is-invalid { border-color: var(--ds-error) !important; }

.landing-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.landing-footer { background: rgba(var(--gray-800), 1); color: var(--fg-800); padding: 60px 0 30px; border-top: 1px solid var(--gray-200); opacity: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand-text { font-size: 0.85rem; line-height: 1.7; margin-top: 1rem; color: var(--fg-800); max-width: 320px; opacity: 0.7; }
.footer-col h3, .footer-col h4 { font-size: 0.8125rem; font-weight: 700; color: var(--fg-800); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.85rem; color: var(--fg-800); text-decoration: none; padding: 4px 0; transition: color 0.2s; opacity: 0.7; }
.footer-col a:hover { color: var(--fg-800); }
.footer-bottom { border-top: 1px solid var(--gray-200); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom a { color: var(--fg-800); text-decoration: none; opacity: 0.7; }
.footer-bottom a:hover { color: var(--fg-800); }
.footer-social { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; }
.footer-social-link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.08); color: var(--fg-800); text-decoration: none; transition: background 0.2s, color 0.2s, transform 0.2s; opacity: 0.75; }
.footer-social-link:hover { background: color-mix(in srgb, var(--ds-primary-solid) 25%, transparent); color: #fff; opacity: 1; transform: translateY(-2px); }
.footer-trust-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.footer-trust-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 600; color: var(--fg-800); opacity: 0.55; letter-spacing: 0.03em; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; padding: 4px 8px; }
.footer-trust-badge svg { flex-shrink: 0; }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}
@media (max-width: 600px) { .landing-container { padding-inline: 20px; } }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.testimonial-card { background: rgba(var(--gray-700), 1); border: 1.5px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; transition: all 0.3s; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 25%, transparent); }
.testimonial-stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.92rem; color: var(--fg-800); line-height: 1.7; flex-grow: 1; font-style: italic; opacity: 0.80; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--purple)); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: var(--text-inverse); flex-shrink: 0; }
.testimonial-name { font-size: 0.88rem; font-weight: 700; color: var(--fg-800); }
.testimonial-role { font-size: 0.78rem; color: var(--fg-800); margin-top: 1px; opacity: 0.65; }
@media (max-width: 1023px) {
    .testimonials-grid { display: flex; overflow-x: scroll; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 1rem; padding-bottom: 0.25rem; }
    .testimonials-grid::-webkit-scrollbar { display: none; }
    .testimonials-grid .testimonial-card { flex: 0 0 88%; scroll-snap-align: start; min-width: 0; }
}
@media (min-width: 600px) and (max-width: 1023px) { .testimonials-grid .testimonial-card { flex: 0 0 calc(50% - 0.5rem); } }
.testimonials-grid:focus { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 4px; }
.testimonials-grid:focus:not(:focus-visible) { outline: none; }
.testimonial-carousel-dots { display: flex; justify-content: center; gap: 0; margin-top: 1.25rem; }
.testimonial-carousel-dots .dot { display: grid; place-items: center; flex: 0 0 var(--ds-touch-target); width: var(--ds-touch-target); height: var(--ds-touch-target); border-radius: var(--ds-radius-full); background: transparent; transition: transform var(--ds-transition-base); cursor: pointer; border: none; padding: 0; }
.testimonial-carousel-dots .dot::before { content: ""; display: block; width: var(--ds-space-2); height: var(--ds-space-2); border-radius: var(--ds-radius-full); background: var(--ds-primary-ink); transition: background var(--ds-transition-base), transform var(--ds-transition-base); }
.testimonial-carousel-dots .dot.active::before { background: var(--brand); transform: scale(1.3); }
.testimonial-carousel-dots .dot:focus-visible { outline: var(--ds-focus-outline); outline-offset: var(--ds-focus-offset); }
@media (min-width: 1024px) { .testimonial-carousel-dots { display: none; } }
.testimonial-avatar-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid color-mix(in srgb, var(--brand) 25%, transparent); }

.cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; padding: 1rem 1.5rem; background: rgba(var(--gray-800), 1); border-top: 1px solid rgba(255,255,255,0.1); box-shadow: 0 -4px 24px rgba(71, 85, 105, 0.35); transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94); visibility: hidden; pointer-events: none; }
.cookie-consent.visible { transform: translateY(0); visibility: visible; pointer-events: auto; }
.cookie-consent-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cookie-consent-text { flex: 1; min-width: 200px; font-size: 0.85rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 0.5rem; line-height: 1.5; }
.cookie-consent-text svg { flex-shrink: 0; opacity: 0.6; }
.cookie-consent-text a { color: var(--brand); text-decoration: underline; }
.cookie-consent-text a:hover { color: var(--text-inverse); }
.cookie-consent-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn { padding: 8px 20px; border-radius: 8px; font-size: 0.82rem; font-weight: 700; cursor: pointer; border: none; transition: all 0.2s; white-space: nowrap; }
.cookie-btn-accept { background: var(--brand-btn, var(--brand)); color: var(--text-inverse); }
.cookie-btn-accept:hover { background: var(--brand-dark, var(--brand-dark)); }
.cookie-btn-decline { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.15); }
.cookie-btn-decline:hover { background: rgba(255,255,255,0.15); color: var(--text-inverse); }
@media (max-width: 600px) {
    .cookie-consent-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .cookie-consent-actions { width: 100%; }
    .cookie-btn { flex: 1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .cookie-consent { transition: none; } }
