/* Nabbo web – unified styles */

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

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

:root {
  --amber: #ffae1c;
  --amber-dark: #e69800;
  --amber-soft: rgba(255, 174, 28, 0.12);
  --charcoal: #1a1a1a;
  --charcoal-soft: rgba(26, 26, 26, 0.85);
  --cream: #faf8f5;
  --muted: #6b6b6b;
  --muted-soft: rgba(107, 107, 107, 0.8);
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
  background: linear-gradient(165deg, #fffbf7 0%, #fff3e6 35%, #ffe8cc 70%, #ffdfb8 100%);
  position: relative;
  transition: background 0.6s var(--ease-in-out);
}

.hero.hero-full {
  min-height: 100vh;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 80% 60% at 20% 85%, rgba(255, 174, 28, 0.12) 0%, transparent 55%),
                    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(255, 174, 28, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content,
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

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

.hero-content,
.hero-inner {
  animation: fadeInUp 0.7s var(--ease-out);
}

.hero-content { max-width: 480px; }
.hero-content.hero-content-narrow,
.hero-inner.hero-inner-narrow { max-width: 420px; }

/* Logo */
.logo-link {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.3s var(--ease-out);
}

.logo-link:hover { opacity: 0.85; }

.logo-img {
  height: 64px;
  width: auto;
  display: block;
}

.hero.hero-full .logo-img { height: 72px; }

.hero h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.hero-meta {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

/* Tagline, subline (home, delete-data) */
.tagline {
  font-size: 2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .tagline { font-size: 2.25rem; }
}

.hero-content-narrow .tagline,
.hero-inner-narrow .tagline { font-size: 1.5rem; margin: 0 0 0.5rem; }

.subline {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 2.5rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-content-narrow .subline,
.hero-inner-narrow .subline { font-size: 1rem; margin: 0 0 2rem; }

/* Lang tabs (privacy, terms, cookies) */
.lang-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.lang-tabs button {
  padding: 0.5rem 1rem;
  border: 2px solid rgba(0,0,0,0.1);
  background: white;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--muted);
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.lang-tabs button.active {
  background: var(--amber);
  color: white;
  border-color: var(--amber);
}

.lang-tabs button:hover:not(.active) { border-color: var(--amber); color: var(--charcoal); }

/* CTA row, store buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--charcoal);
  background: white;
  border: 2px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.25s var(--ease-out);
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.08);
}

.store-btn svg { flex-shrink: 0; }

.store-btn-primary {
  background: var(--amber);
  color: white;
  border-color: var(--amber);
}

.store-btn-primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); }

/* Features (home) */
.features {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.features h2 {
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 3rem;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

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

.feature {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s var(--ease-out);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.9);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--amber) 0%, #ffc65c 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

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

/* Card, form (delete-data) */
.card {
  background: white;
  padding: 2.25rem;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  text-align: left;
}

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

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: var(--cream);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft);
}

.btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--amber);
  color: white;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.btn:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(230, 152, 0, 0.25);
}

/* Content (privacy, terms, cookies) */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

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

.content h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; color: var(--charcoal); letter-spacing: -0.01em; }
.content h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.content h4 { font-size: 1rem; margin: 1rem 0 0.5rem; }
.content p, .content li { color: var(--muted); font-size: 0.95rem; margin: 0.5rem 0; line-height: 1.7; }
.content ul { margin: 0.5rem 0; padding-left: 1.5rem; }
.content a { color: var(--amber); text-decoration: none; font-weight: 500; transition: opacity 0.2s var(--ease-out); }
.content a:hover { text-decoration: underline; opacity: 0.9; }

.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--amber);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.25s var(--ease-out);
}

.card .back-link { margin-top: 1.5rem; }

.back-link:hover { text-decoration: underline; opacity: 0.85; }

/* Footer */
.footer {
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.footer a {
  color: var(--amber);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.25s var(--ease-out);
}

.footer a:hover { text-decoration: underline; opacity: 0.9; }

.footer-links { margin-top: 0.5rem; }

.footer-copyright {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.footer-links .footer-sep {
  color: rgba(255,255,255,0.45);
  margin: 0 0.35em;
  pointer-events: none;
}
