/* ==========================================================
   ParereSincera.ro -- Coming Soon
   ========================================================== */

:root {
  --bg: #FAFAF8;
  --bg2: #FFFFFF;
  --warm: #F5F0EB;
  --text: #1A1A1A;
  --text2: #6B6560;
  --muted: #9B958F;
  --accent: #D4622B;
  --accent-l: #FFF3ED;
  --accent-h: #B8511F;
  --accent-glow: rgba(212, 98, 43, 0.15);
  --green: #2D8A4E;
  --green-l: #EDFAF1;
  --red: #C4392A;
  --red-l: #FFF0EE;
  --yellow: #E5A100;
  --blue: #2563EB;
  --blue-l: #EFF6FF;
  --border: #E8E4DF;
  --r: 12px;
  --rl: 18px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.2s ease;
}
.logo:hover { opacity: 0.7; }

.logo .accent { color: var(--accent); }
.logo .tld { color: var(--text); font-weight: 700; opacity: 0.8; }

.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-l);
  border: 1px solid rgba(212, 98, 43, 0.15);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.nav-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 98, 43, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(45, 138, 78, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
    var(--bg);
  z-index: 0;
}

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

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212, 98, 43, 0.05) 0%, transparent 70%);
  top: -10%; right: -5%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.shape-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(45, 138, 78, 0.04) 0%, transparent 70%);
  bottom: 10%; left: -5%;
  animation-delay: -5s;
  animation-duration: 22s;
}

.shape-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
  top: 40%; right: 15%;
  animation-delay: -10s;
  animation-duration: 18s;
}

.shape-4 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(212, 98, 43, 0.03) 0%, transparent 70%);
  bottom: -5%; right: 30%;
  animation-delay: -8s;
  animation-duration: 28s;
}

@keyframes floatShape {
  0%, 100% { opacity: 0.6; transform: translate(0, 0) scale(1); }
  25% { opacity: 0.8; transform: translate(30px, -20px) scale(1.05); }
  50% { opacity: 0.5; transform: translate(-20px, 15px) scale(0.95); }
  75% { opacity: 0.9; transform: translate(15px, 25px) scale(1.02); }
}

/* Animated grid pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 98, 43, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 98, 43, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 70%);
  z-index: 0;
  animation: gridShift 30s linear infinite;
}

@keyframes gridShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

/* Coming Soon badge */
.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-h));
  color: #fff;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(212, 98, 43, 0.3);
  animation: fadeDown 0.6s ease both;
}

.cs-badge svg { animation: spinSlow 4s linear infinite; }

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hero Logo */
.hero-logo {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(42px, 7vw, 68px);
  letter-spacing: -2px;
  margin-bottom: 24px;
  line-height: 1.1;
  animation: fadeUp 0.6s ease 0.1s both;
}

.hero-logo .accent { color: var(--accent); }
.hero-logo .tld {
  color: var(--text);
  opacity: 0.75;
  font-weight: 700;
  position: relative;
}

.hero-logo .tld::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--accent-l);
  border-radius: 3px;
  z-index: -1;
}

/* Hero text */
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 16px;
  animation: fadeUp 0.6s ease 0.2s both;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--accent-l);
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text2);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeUp 0.6s ease 0.3s both;
}

/* ─── Email Form ─── */
.form-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(232, 228, 223, 0.6);
  border-radius: 20px;
  padding: 32px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 12px 40px rgba(0, 0, 0, 0.04);
  animation: fadeUp 0.6s ease 0.4s both;
  transition: all 0.4s ease;
}

.form-card:hover {
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 20px 60px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.form-label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
  text-align: center;
}

.form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.form-input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--r);
  font-family: inherit;
  font-size: 16px;
  background: var(--bg);
  outline: none;
  transition: all 0.3s ease;
  color: var(--text);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
  background: #fff;
}

.form-input::placeholder { color: var(--muted); }

.form-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-h));
  color: #fff;
  border: none;
  border-radius: var(--r);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.form-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.form-btn:hover::before { transform: translateX(100%); }

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 98, 43, 0.35);
}

.form-btn:active { transform: translateY(0); }

.form-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.form-btn .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}

.form-btn.loading .spinner { display: block; }
.form-btn.loading .btn-text { display: none; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.form-trust svg { flex-shrink: 0; }

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.form-success.visible { display: block; }

.form-success .check-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-l);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

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

.form-success h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--green);
}

.form-success p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
}

/* Error message */
.form-error {
  display: none;
  padding: 10px 14px;
  background: var(--red-l);
  border: 1px solid rgba(196, 57, 42, 0.15);
  border-radius: 8px;
  font-size: 13px;
  color: var(--red);
  margin-bottom: 12px;
  text-align: left;
}

.form-error.visible { display: block; }

/* ─── Stats Counter ─── */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  animation: fadeUp 0.6s ease 0.6s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* ─── Scroll indicator ─── */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  animation: fadeUp 0.6s ease 0.8s both;
  cursor: pointer;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--border);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* ─── Section Arrow ─── */
.section-arrow {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: -24px 0;
  position: relative;
  z-index: 1;
}

/* ─── Problem Section ─── */
.section {
  padding: 80px 24px;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-l);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.section-subtitle.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title.center { text-align: center; }

/* Problem cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  padding: 32px 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-h));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.problem-card:hover::before { transform: scaleX(1); }

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.problem-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.pi-orange { background: var(--accent-l); }
.pi-red { background: var(--red-l); }
.pi-blue { background: var(--blue-l); }

.problem-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
}

.problem-number {
  font-family: 'Fraunces', serif;
  font-size: 72px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.06;
  position: absolute;
  top: 8px;
  right: 16px;
  line-height: 1;
}

/* ─── Solution / How it works ─── */
.solution-section {
  background: linear-gradient(180deg, var(--warm) 0%, var(--bg) 100%);
  position: relative;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

/* Connecting line between steps */
.steps-container::before {
  content: '';
  position: absolute;
  top: 59px;
  left: calc(16.66%);
  right: calc(16.66%);
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue), var(--green));
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  margin: 0 auto 20px;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.2;
}

.sn-1 { background: var(--accent); color: var(--accent); }
.sn-1::after { border-color: var(--accent); }
.sn-2 { background: var(--blue); color: var(--blue); }
.sn-2::after { border-color: var(--blue); }
.sn-3 { background: var(--green); color: var(--green); }
.sn-3::after { border-color: var(--green); }

.step-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

/* ─── Features ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 19px;
  border: 2px solid currentColor;
  opacity: 0.1;
}

.fi-accent { background: var(--accent-l); color: var(--accent); }
.fi-green { background: var(--green-l); color: var(--green); }
.fi-blue { background: var(--blue-l); color: var(--blue); }

.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  font-size: 13px;
  color: var(--text2);
  padding: 4px 0 4px 20px;
  position: relative;
}

.feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ─── Analysis Preview Page ─── */
.ap-page {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
}

/* Product Hero - 2 column */
.ap-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 28px;
  border-bottom: 1px solid var(--border);
}

/* Gallery */
.ap-gallery { display: flex; flex-direction: column; gap: 10px; }

.ap-main-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--r);
  background: var(--bg);
  border: 1px solid var(--border);
}

.ap-thumbs {
  display: flex;
  gap: 6px;
  overflow: hidden;
}

.ap-thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.2s;
}

.ap-thumb-active,
.ap-thumb:hover { border-color: var(--accent); }

/* Body */
.ap-body { display: flex; flex-direction: column; gap: 14px; }

.ap-breadcrumb {
  font-size: 12px;
  color: var(--muted);
}

.ap-title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

/* Score Row */
.ap-score-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ap-big-score {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(45, 138, 78, 0.3);
  position: relative;
}

.ap-big-score::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 21px;
  border: 2px solid rgba(45, 138, 78, 0.15);
}

.ap-score-info { flex: 1; min-width: 0; }
.ap-score-info strong { font-size: 16px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.ap-score-tm { font-size: 11px; color: var(--muted); font-weight: 500; }
.ap-score-info p { font-size: 13px; color: var(--text2); margin: 2px 0; }
.ap-stars { display: flex; gap: 1px; font-size: 16px; }
.ap-stars span { color: var(--yellow); }
.ap-star-h { color: var(--border) !important; }

.ap-src {
  font-size: 12px;
  color: var(--text2);
  background: var(--warm);
  padding: 8px 16px;
  border-radius: 99px;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Badges */
.ap-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.ap-bdg {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}

.ap-bdg-accent { background: var(--accent-l); color: var(--accent); }
.ap-bdg-green { background: var(--green-l); color: var(--green); }
.ap-bdg-update { background: var(--bg); color: var(--muted); border: 1px solid var(--border); font-weight: 500; }

/* Summary Box */
.ap-summary {
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--accent-l) 0%, rgba(255,243,237,0.4) 100%);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  position: relative;
}

.ap-summary strong { color: var(--text); }

.ap-summary-more {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  cursor: default;
}

/* Tags */
.ap-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.ap-tag {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  cursor: default;
}

.ap-tag-g { background: var(--green-l); color: var(--green); border: 1px solid rgba(45,138,78,0.15); }
.ap-tag-r { background: var(--red-l); color: var(--red); border: 1px solid rgba(196,57,42,0.15); }

/* Review Distribution */
.ap-dist {
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
}

.ap-dist h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text2);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.ap-dist-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.ap-dist-lbl {
  width: 36px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  text-align: right;
  flex-shrink: 0;
}

.ap-dist-track {
  flex: 1;
  height: 12px;
  background: var(--warm);
  border-radius: 6px;
  overflow: hidden;
}

.ap-dist-fill {
  height: 100%;
  border-radius: 6px;
  min-width: 3px;
}

.ap-df5 { background: var(--green); }
.ap-df4 { background: #6bb87b; }
.ap-df3 { background: var(--yellow); }
.ap-df2 { background: #e8833a; }
.ap-df1 { background: var(--red); }

.ap-dist-cnt {
  width: 32px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  text-align: right;
  flex-shrink: 0;
}

/* Price Box */
.ap-price-box {
  padding: 16px 20px;
  background: var(--accent-l);
  border: 1px solid rgba(212, 98, 43, 0.15);
  border-radius: var(--r);
}

.ap-price-val {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 2px;
}

.ap-price-sub {
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 10px;
}

.ap-price-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-h));
  color: #fff;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 700;
  cursor: default;
}

/* Section Divider */
.ap-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-top: 1px solid var(--border);
  background: linear-gradient(135deg, var(--warm) 0%, var(--bg) 100%);
}

.ap-div-icon { font-size: 20px; flex-shrink: 0; }

.ap-divider h4 {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 700;
  flex: 1;
}

.ap-div-sub {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* Section Content */
.ap-section-content { padding: 24px 28px; }

/* Pros / Cons */
.ap-pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ap-pc-box {
  padding: 20px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
}

.ap-pc-pro { background: var(--green-l); border-color: rgba(45,138,78,0.15); }
.ap-pc-con { background: var(--red-l); border-color: rgba(196,57,42,0.15); }

.ap-pc-box h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.ap-pc-pro h4 { color: var(--green); }
.ap-pc-con h4 { color: var(--red); }

.ap-pc-box ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.ap-pc-box li {
  font-size: 13px;
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.ap-pc-pro li { color: #1e6b3a; }
.ap-pc-con li { color: #a12e21; }

.ap-pc-pro li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--green);
}

.ap-pc-con li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--red);
}

/* For Whom */
.ap-fw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ap-fw-box {
  padding: 20px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
}

.ap-fw-yes { background: var(--green-l); border-color: rgba(45,138,78,0.15); }
.ap-fw-no { background: var(--red-l); border-color: rgba(196,57,42,0.15); }

.ap-fw-box h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.ap-fw-yes h4 { color: var(--green); }
.ap-fw-no h4 { color: var(--red); }

.ap-fw-box ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.ap-fw-box li {
  font-size: 13px;
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.ap-fw-yes li { color: #1e6b3a; }
.ap-fw-no li { color: #a12e21; }

.ap-fw-yes li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--green);
}

.ap-fw-no li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--red);
}

/* Category Bars */
.ap-bars-body {
  padding: 28px 28px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.ap-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 36px;
}

.ap-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ap-bar-lbl {
  width: 140px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  flex-shrink: 0;
}

.ap-bar-track {
  flex: 1;
  height: 12px;
  background: var(--bg);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}

.ap-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.ap-bf-hi { background: linear-gradient(90deg, #34a058, var(--green)); }
.ap-bf-md { background: linear-gradient(90deg, #d4a020, var(--yellow)); }
.ap-bf-lo { background: linear-gradient(90deg, #d44a3a, var(--red)); }

.ap-bar-val {
  width: 32px;
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  text-align: right;
  flex-shrink: 0;
}

/* Fade Overlay */
.ap-fade {
  position: relative;
  padding: 60px 28px 24px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg2) 40%);
  text-align: center;
  border-top: 1px solid var(--border);
}

.ap-fade span {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ── Analysis Preview Responsive ── */

/* Tablet — hero goes single-column */
@media (max-width: 820px) {
  .ap-top {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .ap-gallery {
    max-width: 260px;
    margin: 0 auto;
  }
  .ap-thumbs { justify-content: center; }
}

/* Tablet / phablet — grids go single-column */
@media (max-width: 768px) {
  .ap-title { font-size: 18px; }
  .ap-score-row { gap: 12px; }
  .ap-summary { padding: 16px 18px; font-size: 13px; }
  .ap-dist { padding: 14px 16px; }
  .ap-price-val { font-size: 22px; }
  .ap-section-content { padding: 20px; }
  .ap-divider { padding: 14px 20px; }
  .ap-divider h4 { font-size: 15px; }
  .ap-pc-grid,
  .ap-fw-grid { grid-template-columns: 1fr; }
  .ap-bar-grid { grid-template-columns: 1fr; }
  .ap-bar-lbl { width: 130px; font-size: 12px; }
  .ap-bars-body { padding: 20px; }
  .ap-fade { padding: 40px 20px 20px; }
}

/* Mobile */
@media (max-width: 480px) {
  .ap-top { padding: 16px; }
  .ap-gallery { max-width: 220px; }
  .ap-thumb { width: 40px; height: 40px; }
  .ap-big-score { width: 56px; height: 56px; font-size: 24px; border-radius: 14px; }
  .ap-big-score::after { border-radius: 17px; }
  .ap-score-info strong { font-size: 15px; }
  .ap-src { display: none; }
  .ap-badges { gap: 6px; }
  .ap-bdg { font-size: 11px; padding: 4px 10px; }
  .ap-bdg-update { display: none; }
  .ap-tags { gap: 6px; }
  .ap-tag { font-size: 12px; padding: 5px 10px; }
  .ap-summary-more { font-size: 12px; }
  .ap-section-content { padding: 16px; }
  .ap-divider { padding: 12px 16px; gap: 8px; }
  .ap-divider h4 { font-size: 14px; }
  .ap-div-sub { display: none; }
  .ap-pc-box, .ap-fw-box { padding: 16px; }
  .ap-pc-box li, .ap-fw-box li { font-size: 12px; }
  .ap-bar-lbl { width: 110px; font-size: 12px; }
  .ap-bars-body { padding: 16px; }
  .ap-bar-grid { gap: 10px; }
  .ap-price-btn { font-size: 12px; padding: 8px 16px; }
}

/* Very small screens */
@media (max-width: 360px) {
  .ap-top { padding: 14px; }
  .ap-gallery { max-width: 200px; }
  .ap-title { font-size: 16px; }
  .ap-big-score { width: 48px; height: 48px; font-size: 22px; border-radius: 12px; }
  .ap-big-score::after { border-radius: 15px; }
  .ap-score-info strong { font-size: 14px; }
  .ap-score-info p { font-size: 12px; }
  .ap-stars { font-size: 14px; }
  .ap-summary { padding: 12px 14px; font-size: 12px; line-height: 1.6; }
  .ap-dist-lbl { width: 30px; font-size: 11px; }
  .ap-dist-cnt { width: 28px; font-size: 11px; }
  .ap-dist-track { height: 10px; }
  .ap-bar-lbl { width: 95px; font-size: 11px; }
  .ap-bar-val { font-size: 13px; }
  .ap-bar-track { height: 10px; }
  .ap-divider h4 { font-size: 13px; }
  .ap-div-icon { font-size: 16px; }
  .ap-pc-box h4, .ap-fw-box h4 { font-size: 11px; }
  .ap-pc-box li, .ap-fw-box li { font-size: 11px; padding-left: 16px; }
  .ap-fade span { font-size: 12px; }
}

/* ─── Score Preview ─── */
.score-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.score-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.score-visual {
  display: flex;
  justify-content: center;
}

.score-demo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0% 78%, var(--border) 78% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 16px 48px rgba(45, 138, 78, 0.15);
}

.score-demo::before {
  content: '';
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--bg2);
  position: absolute;
}

.score-demo-value {
  position: relative;
  z-index: 1;
  text-align: center;
}

.score-demo-number {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.score-demo-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.score-text h2 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.score-text h2 span { color: var(--accent); }

.score-text p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 12px;
}

.score-formula {
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-family: 'DM Sans', monospace;
  font-size: 13px;
  color: var(--text2);
  margin-top: 20px;
}

.score-formula strong { color: var(--accent); }

/* ─── Trust Banner ─── */
.trust-section {
  padding: 40px 24px;
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  padding: 16px 18px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.ti-accent { background: var(--accent-l); }
.ti-green { background: var(--green-l); }
.ti-blue { background: var(--blue-l); }

/* ─── Bottom CTA ─── */
.bottom-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-h));
  border-radius: var(--rl);
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.bottom-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 40%);
}

.bottom-cta h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.bottom-cta p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 28px;
  position: relative;
}

.bottom-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
}

.bottom-form input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--r);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.bottom-form input::placeholder { color: rgba(255,255,255,0.6); }
.bottom-form input:focus {
  border-color: #fff;
  background: rgba(255,255,255,0.2);
}

.bottom-form button {
  padding: 14px 28px;
  background: #fff;
  color: var(--accent);
  border: none;
  border-radius: var(--r);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.bottom-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.bottom-trust {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 14px;
  position: relative;
}

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 22px;
}

.footer-logo .accent { color: var(--accent); }
.footer-logo .tld { opacity: 0.7; }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  color: var(--text2);
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-item { white-space: normal; }
}

@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-stats { gap: 24px; }
  .stat-number { font-size: 28px; }
  .form-row { flex-direction: column; }
  .form-btn { width: 100%; justify-content: center; }
  .problem-grid, .features-grid, .steps-container { grid-template-columns: 1fr; }
  .steps-container::before { display: none; }
  .score-preview { grid-template-columns: 1fr; text-align: center; }
  .score-demo { width: 160px; height: 160px; }
  .score-demo::before { width: 120px; height: 120px; }
  .score-demo-number { font-size: 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-item { white-space: normal; font-size: 13px; padding: 14px 14px; }
  .bottom-cta { padding: 40px 24px; margin: 0 -4px; }
  .bottom-form { flex-direction: column; }
  .scroll-hint { display: none; }
  .hero-grid { display: none; }
  .footer-top { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-logo { font-size: 36px; letter-spacing: -1px; }
  .section { padding: 60px 16px; }
}

/* ─── Landscape / ecrane scurte (Nest Hub 1024×600, tablete landscape) ─── */
@media (max-height: 700px) {
  .hero {
    min-height: 100vh;
    padding: 80px 24px 40px;
  }
  .hero-logo { font-size: clamp(32px, 5vw, 48px); margin-bottom: 12px; }
  .hero-title { font-size: clamp(18px, 2.8vw, 26px); margin-bottom: 10px; }
  .hero-subtitle { font-size: 14px; margin: 0 auto 20px; line-height: 1.5; }
  .cs-badge { padding: 6px 14px; font-size: 11px; margin-bottom: 12px; }
  .form-card { padding: 20px 24px; }
  .form-label { font-size: 13px; margin-bottom: 10px; }
  .form-input { padding: 10px 14px; font-size: 16px; }
  .form-btn { padding: 10px 20px; font-size: 14px; }
  .form-trust { font-size: 11px; margin-top: 8px; }
  .scroll-hint { bottom: 12px; font-size: 10px; gap: 4px; }
  .scroll-mouse { width: 18px; height: 28px; }
  .section { padding: 48px 24px; }
  .section-title { font-size: clamp(22px, 3vw, 28px); }
  .section-subtitle { font-size: 14px; }
  .section-arrow { margin: -16px 0; }
  .section-arrow svg { width: 30px; height: 44px; }
  .nav { padding: 12px 24px; }
}

@media (max-height: 500px) {
  .hero { padding: 64px 24px 32px; }
  .hero-logo { font-size: clamp(28px, 4.5vw, 40px); margin-bottom: 8px; }
  .hero-title { font-size: clamp(16px, 2.5vw, 22px); margin-bottom: 8px; }
  .hero-subtitle { font-size: 13px; margin: 0 auto 14px; }
  .cs-badge { padding: 4px 12px; font-size: 10px; margin-bottom: 8px; }
  .form-card { padding: 14px 18px; }
  .form-label { font-size: 12px; margin-bottom: 8px; }
  .scroll-hint { display: none; }
  .section { padding: 32px 20px; }
}

/* ─── Ecrane intermediare (tablete portrait ~600-768px) ─── */
@media (min-width: 481px) and (max-width: 768px) {
  .problem-grid, .features-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Ecrane mari landscape scurte (ex: Nest Hub Max 1280×800) ─── */
@media (min-width: 769px) and (max-height: 700px) {
  .form-row { flex-direction: row; }
  .form-btn { width: auto; }
  .problem-grid, .features-grid, .steps-container { grid-template-columns: repeat(3, 1fr); }
  .steps-container::before { display: block; }
  .score-preview { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

/* reCAPTCHA badge - hidden by default, shown when functional cookies accepted */
.grecaptcha-badge { visibility: hidden !important; }
body.cookies-functional .grecaptcha-badge { visibility: visible !important; z-index: 9999 !important; }

/* ─── Scroll to Top ─── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(212, 98, 43, 0.3);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--accent-h);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(212, 98, 43, 0.4);
}
.scroll-top:active { transform: translateY(0); }

/* Când reCAPTCHA e vizibil, mută săgeata deasupra badge-ului */
body.cookies-functional .scroll-top { bottom: 100px; right: 16px; }

@media (max-width: 480px) {
  .scroll-top { bottom: 28px; right: 12px; width: 42px; height: 42px; }
  body.cookies-functional .scroll-top { bottom: 90px; right: 12px; }
}

/* ─── Footer extras ─── */
.footer-separator {
  margin: 0 6px;
  opacity: 0.5;
}

.footer-cookie-link {
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-cookie-link:hover {
  color: var(--accent);
}

/* ─── Cookie Banner ─── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px 24px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner-inner {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 24px 28px;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.08);
}

.cookie-text strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  margin-bottom: 6px;
}

.cookie-text p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-text a:hover {
  color: var(--accent-h);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: var(--r);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, var(--accent), var(--accent-h));
  color: #fff;
}

.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 98, 43, 0.3);
}

.cookie-btn-necessary {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.cookie-btn-necessary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cookie-btn-settings {
  background: transparent;
  color: var(--text2);
  border: none;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 10px 12px;
}

.cookie-btn-settings:hover {
  color: var(--accent);
}

/* Cookie Settings Panel */
.cookie-settings {
  display: none;
}

.cookie-settings.visible {
  display: block;
}

.cookie-main.hidden {
  display: none;
}

.cookie-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cookie-settings-header strong {
  font-family: 'Fraunces', serif;
  font-size: 16px;
}

.cookie-settings-back {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
}

.cookie-settings-back:hover {
  text-decoration: underline;
}

.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.cookie-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--r);
  border: 1px solid var(--border);
}

.cookie-toggle-item strong {
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}

.cookie-toggle-item p {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.5;
  margin: 0;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--border);
  border-radius: 24px;
  transition: all 0.3s ease;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--green);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}

.cookie-toggle.disabled .cookie-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-settings-actions {
  display: flex;
  justify-content: flex-end;
}

/* Cookie banner responsive */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 0 12px 12px;
  }

  .cookie-banner-inner {
    padding: 20px;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cookie-banner-inner {
    padding: 16px;
  }

  .cookie-toggle-item {
    padding: 12px;
  }
}