/* === QUESTIKA WEBSITE — Core Styles === */

:root {
  --primary: #FFCA28;
  --primary-light: #FFD54F;
  --primary-dark: #FFB300;
  --purple: #7E57C2;
  --purple-deep: #4A148C;
  --purple-dark: #5E35B1;
  --purple-light: #EDE7F6;
  --green: #66BB6A;
  --coral: #FF7043;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --text: #1A1A2E;
  --text-secondary: #555770;
  --text-light: #8D6E63;
  --divider: #EBEBF0;
  --radius: 20px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(26, 26, 46, 0.06);
  --shadow-lg: 0 16px 56px rgba(126, 87, 194, 0.15);
  --shadow-card: 0 2px 16px rgba(26, 26, 46, 0.06), 0 0 0 1px rgba(126, 87, 194, 0.04);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { color: var(--text-secondary); }

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

/* === LAYOUT === */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* === NAV === */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  background: transparent;
  border-bottom: 1px solid transparent;
}

nav.nav-transparent .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}

nav.nav-transparent .nav-links a:hover {
  color: var(--primary);
}

nav.nav-transparent .nav-links .lang-switch {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
}

nav.nav-transparent .nav-links .lang-switch:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

nav.nav-transparent .nav-toggle span {
  background: white;
}

nav.nav-solid {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(126, 87, 194, 0.08);
}

nav.nav-solid .nav-links a {
  color: var(--text-secondary);
}

nav.nav-solid .nav-links a:hover {
  color: var(--purple);
}

nav.scrolled.nav-solid {
  box-shadow: 0 4px 32px rgba(126, 87, 194, 0.1);
}

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

.nav-logo img {
  height: 72px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--purple);
}

.nav-links .lang-switch {
  font-size: 0.85rem;
  padding: 6px 16px;
  border: 1.5px solid var(--divider);
  border-radius: 20px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
}

.nav-links .lang-switch:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-light);
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
}

.lang-current {
  font-size: 0.85rem;
  padding: 6px 16px;
  border: 1.5px solid var(--divider);
  border-radius: 20px;
  color: var(--text-secondary);
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: all 0.2s;
}

.lang-current:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-light);
}

nav.nav-transparent .lang-current {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
}

nav.nav-transparent .lang-current:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  padding: 10px 0 6px;
  min-width: 80px;
  z-index: 1000;
  list-style: none;
}

.lang-dropdown.open .lang-menu {
  display: block;
}

.lang-menu li {
  margin: 0;
}

/* Keep anchored sections clear of the fixed navigation. */
section[id] {
  scroll-margin-top: 100px;
}

@media (max-width: 640px) {
  nav.nav-transparent .nav-links.open a,
  nav.nav-transparent .nav-links.open .lang-current {
    color: var(--text-secondary);
  }

  nav.nav-transparent .nav-links.open a:hover,
  nav.nav-transparent .nav-links.open a:focus-visible {
    color: var(--purple);
  }

  .nav-links .lang-dropdown:not(.open) .lang-menu {
    display: none;
  }

  .nav-links .lang-dropdown.open .lang-menu {
    display: block;
  }
}

.lang-menu a {
  display: block;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary) !important;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s;
}

.lang-menu a:hover {
  background: var(--purple-light);
  color: var(--purple) !important;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s;
}

/* === HERO === */

.hero {
  padding: 0;
  text-align: center;
  background: linear-gradient(165deg, #4A148C 0%, #7E57C2 40%, #B388FF 100%);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 202, 40, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero h1 {
  margin-bottom: 24px;
  color: white;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.hero h1 .highlight {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.65em;
  font-weight: 500;
  letter-spacing: 0;
}

.hero .subtitle-box {
  max-width: 620px;
  margin: 0 auto 44px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero .subtitle-box p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  margin: 0;
}

.hero .hero-label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--primary);
  border-radius: 30px;
  padding: 8px 24px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta a,
.cta-buttons a {
  display: inline-block;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 24px rgba(255, 255, 255, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta a:hover,
.cta-buttons a:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 8px 28px rgba(0, 0, 0, 0.3), 0 0 32px rgba(255, 255, 255, 0.12);
}

.hero-cta a img,
.cta-buttons a img {
  height: 54px;
  display: block;
  border-radius: 12px;
}

.hero-visual {
  margin-top: 64px;
  position: relative;
}

.hero-visual .screenshots {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.phone-frame {
  position: relative;
  width: 240px;
  padding: 6px 6px 7px;
  background: linear-gradient(160deg, #2a2a2e 0%, #18181c 100%);
  border-radius: 32px;
  box-shadow:
    0 0 0 1px #3a3a3e,
    0 30px 70px rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -3px;
  width: 3px;
  height: 60px;
  background: #2a2a2e;
  border-radius: 2px 0 0 2px;
  transform: translateY(-50%);
  box-shadow: 0 -80px 0 #2a2a2e, 0 -40px 0 #2a2a2e;
}

.phone-frame::after {
  content: '';
  position: absolute;
  top: 70px;
  right: -3px;
  width: 3px;
  height: 50px;
  background: #2a2a2e;
  border-radius: 0 2px 2px 0;
}

.hero-visual .screenshots img {
  width: 100%;
  display: block;
  border-radius: 26px;
}

.hero-visual .screenshots .phone-frame:nth-child(2) {
  transform: translateY(-24px);
}

.hero-visual .screenshot-placeholder {
  width: 220px;
  height: 440px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-visual .screenshot-placeholder:nth-child(2) {
  transform: translateY(-20px);
}

/* === PROBLEM / SOLUTION === */

.problem-section {
  background: var(--surface);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.problem-side h2 {
  margin-bottom: 12px;
}

.problem-list {
  list-style: none;
  margin-top: 24px;
}

.problem-list li {
  padding: 14px 0;
  padding-left: 36px;
  position: relative;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.problem-list.pains li::before {
  background: var(--coral);
  box-shadow: 0 2px 8px rgba(255, 112, 67, 0.3);
}

.problem-list.gains li::before {
  background: var(--green);
  box-shadow: 0 2px 8px rgba(102, 187, 106, 0.3);
}

/* === FEATURES === */

.features-section {
  background: var(--bg);
}

.features-section h2 {
  text-align: center;
  margin-bottom: 12px;
}

.features-section .section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(126, 87, 194, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-icon.yellow { background: linear-gradient(135deg, #FFF8E1, #FFECB3); }
.feature-icon.purple { background: linear-gradient(135deg, #EDE7F6, #D1C4E9); }
.feature-icon.green { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.feature-icon.coral { background: linear-gradient(135deg, #FBE9E7, #FFCCBC); }
.feature-icon.teal { background: linear-gradient(135deg, #E0F2F1, #B2DFDB); }
.feature-icon.blue { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); }

.feature-thumb {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.93rem;
  line-height: 1.65;
}

/* === HOW IT WORKS === */

.how-section {
  background: var(--surface);
}

.how-section h2 {
  text-align: center;
  margin-bottom: 56px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.step-visual {
  position: relative;
  margin-bottom: 16px;
}

.step-visual img {
  width: 100%;
  max-width: 240px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -10px;
  right: calc(50% - 120px);
  box-shadow: 0 4px 16px rgba(126, 87, 194, 0.3);
  z-index: 1;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
}

/* === SCREENSHOTS GALLERY === */

.gallery-section {
  background: var(--bg);
}

.gallery-section h2 {
  text-align: center;
  margin-bottom: 48px;
}

.gallery-scroll {
  display: flex;
  overflow: hidden;
  padding: 8px 0 24px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.gallery-scroll:active {
  cursor: grabbing;
}

.gallery-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  animation: gallery-slide 40s linear infinite;
  will-change: transform;
  width: max-content;
}

.gallery-scroll:hover .gallery-track,
.gallery-scroll.is-dragging .gallery-track {
  animation-play-state: paused;
}

@keyframes gallery-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.gallery-item {
  flex: 0 0 auto;
}

.gallery-item img {
  height: 480px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.gallery-item .screenshot-placeholder {
  width: 220px;
  height: 440px;
  background: linear-gradient(160deg, var(--purple-light), #F3E5F5);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(126, 87, 194, 0.1);
}

/* === TESTIMONIALS === */

.testimonials-section {
  background: var(--surface);
}

.testimonials-section h2 {
  text-align: center;
  margin-bottom: 56px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  border: 1px solid var(--divider);
  transition: transform 0.25s, box-shadow 0.25s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card .quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--purple);
  opacity: 0.25;
  position: absolute;
  top: 20px;
  left: 24px;
  font-family: Georgia, serif;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-light), #D1C4E9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-info .name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-info .role {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.testimonial-stars {
  color: var(--primary);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* === CTA BOTTOM === */

.cta-section {
  background: linear-gradient(165deg, #4A148C 0%, #7E57C2 50%, #B388FF 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 202, 40, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.cta-section h2 {
  color: white;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* === FOOTER === */

footer {
  background: #1A1A2E;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand img {
  height: 56px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.15));
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  max-width: 280px;
}

.footer-links h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* === ABOUT PAGE === */

.about-hero {
  padding: 0;
  text-align: center;
  background: linear-gradient(165deg, #4A148C 0%, #7E57C2 50%, #B388FF 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 202, 40, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero .container {
  position: relative;
  z-index: 1;
  padding: 160px 24px 100px;
}

.about-hero h1 {
  color: white;
}

.about-hero h1 span {
  color: var(--primary);
}

.about-hero .subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
  margin: 20px auto 0;
  line-height: 1.75;
}

.story-section {
  background: var(--surface);
}

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

.story-content h2 {
  margin-bottom: 16px;
}

.story-content p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.story-image {
  display: flex;
  justify-content: center;
}

.story-image img {
  max-width: 320px;
  filter: drop-shadow(0 12px 40px rgba(126, 87, 194, 0.25));
}

.values-section {
  background: var(--bg);
}

.values-section h2 {
  text-align: center;
  margin-bottom: 56px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.value-card h3 {
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.93rem;
  line-height: 1.65;
}

.contact-section {
  background: var(--surface);
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 12px;
}

.contact-section p {
  margin-bottom: 8px;
}

.contact-section a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* === BLOG === */

.blog-hero {
  padding: 0;
  background: linear-gradient(165deg, #4A148C 0%, #7E57C2 40%, #B388FF 100%);
  color: white;
}

.blog-hero .container {
  padding: 160px 24px 80px;
  text-align: center;
}

.blog-hero h1 {
  margin-bottom: 12px;
}

.blog-hero .subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
}

.blog-list-section {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--purple-light), #F3E5F5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-card-content {
  padding: 24px;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-content h3 {
  margin: 8px 0 12px;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--text);
}

.blog-card-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--purple);
}

/* Blog article */

.blog-article {
  padding: 0 0 60px;
}

.blog-article .container {
  max-width: 760px;
  padding-top: 120px;
}

.blog-back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--purple);
  text-decoration: none;
}

.blog-back:hover {
  text-decoration: underline;
}

.blog-article-header {
  margin-bottom: 32px;
}

.blog-article-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-article-header h1 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.blog-article-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}

.blog-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article-body h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
  color: var(--text);
}

.blog-article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.blog-article-body strong {
  color: var(--text);
}

.blog-article-body ul {
  margin: 0 0 20px 24px;
  padding: 0;
}

.blog-article-body li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

/* Blog app promo */

.blog-app-promo {
  background: linear-gradient(165deg, #4A148C 0%, #7E57C2 40%, #B388FF 100%);
  padding: 80px 0;
}

.blog-promo-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.blog-promo-content {
  flex: 1;
}

.blog-promo-logo {
  height: 48px;
  margin-bottom: 20px;
}

.blog-promo-content h2 {
  color: white;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.blog-promo-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.blog-promo-screens {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.blog-promo-screens img {
  width: 150px;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.blog-promo-screens img:last-child {
  transform: translateY(20px);
}

/* === RESPONSIVE === */

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .problem-grid,
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  section {
    padding: 64px 0;
  }

  .hero .container {
    padding-top: 88px;
    padding-bottom: 60px;
  }

  .nav-logo img {
    height: 48px;
  }

  .features-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--divider);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .phone-frame {
    width: 175px;
    padding: 5px 5px 6px;
    border-radius: 26px;
  }

.hero-visual .screenshots img {
    border-radius: 22px;
  }

  .hero-visual .screenshot-placeholder {
    width: 160px;
    height: 320px;
  }

  .about-hero .container {
    padding: 120px 24px 72px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-promo-inner {
    flex-direction: column;
    text-align: center;
  }

  .blog-promo-screens img {
    width: 120px;
  }

  .blog-article .container {
    padding-top: 100px;
  }

  .lang-dropdown {
    position: static;
  }

  .lang-current {
    color: var(--text-secondary);
    border-color: var(--divider);
  }

  .lang-menu {
    position: static;
    box-shadow: none;
    background: var(--bg);
    border-radius: 8px;
    margin-top: 4px;
  }

  .lang-menu a {
    padding: 6px 16px;
  }
}
