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

:root {
  --blue:      #2578F8;
  --blue-dark: #1A5FD0;
  --navy:      #132235;
  --navy-dark: #0B1626;
  --white:     #FFFFFF;
  --gray:      #F3F6FB;
  --text:      #16212E;
  --muted:     #64707F;
  --radius:    16px;
}

html { scroll-behavior: smooth; }

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

/* ── NAV ─────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 64px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 800;
  color: var(--navy-dark); text-decoration: none; white-space: nowrap;
}
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
.logo-text span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.nav-cta {
  background: var(--blue); color: #fff;
  padding: 8px 18px; border-radius: 20px;
}
.nav-links a.nav-cta:hover { background: var(--blue-dark); color: #fff; }
.nav-links a.lang {
  border: 1px solid rgba(0,0,0,0.12); border-radius: 8px;
  padding: 4px 10px; font-size: 0.8rem; font-weight: 700;
}
nav a.back { font-size: 0.9rem; color: var(--blue); text-decoration: none; font-weight: 500; }
nav a.back:hover { text-decoration: underline; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1B3350 100%);
  color: var(--white);
  padding: 100px 5vw 84px;
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,120,248,0.28) 0%, transparent 65%);
  pointer-events: none;
}
.brand-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(to right, var(--navy) 0%, var(--blue) 100%);
}
.hero-app-row {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px; padding: 10px 20px 10px 10px; margin-bottom: 32px;
}
.hero-app-row img {
  width: 48px; height: 48px; border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); flex-shrink: 0;
}
.hero-app-row-text { text-align: left; }
.hero-app-row-name { font-size: 0.95rem; font-weight: 700; color: #fff; line-height: 1.2; }
.hero-app-row-badge {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
}
.hero h1 {
  position: relative;
  font-size: clamp(2.2rem, 5.6vw, 3.8rem);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 20px;
}
.hero h1 span { color: #6FA8FF; }
.hero p {
  position: relative;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 600px; margin: 0 auto 40px;
}
.hero-buttons { position: relative; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-appstore {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--navy-dark);
  padding: 14px 26px; border-radius: 14px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  transition: transform .2s, box-shadow .2s;
}
.btn-appstore:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.btn-appstore svg { flex-shrink: 0; }

/* ── SECTION COMMON ──────────────────────────────────────────── */
section { padding: 80px 5vw; }
.section-label {
  display: block; text-align: center;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: var(--muted);
  font-size: 1rem; max-width: 620px; margin: 0 auto 52px;
}

/* ── SCREENSHOTS ─────────────────────────────────────────────── */
.screenshots { background: var(--white); }
.screenshots-scroll {
  display: flex; gap: 20px; justify-content: safe center;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 6px 5vw 20px; margin: 0 -5vw;
}
.screenshots-scroll::-webkit-scrollbar { height: 7px; }
.screenshots-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 8px; }
.screenshot-item { flex: 0 0 auto; width: 210px; scroll-snap-align: start; }
.screenshot-item img {
  width: 100%; height: auto; aspect-ratio: 320 / 695; display: block; border-radius: 22px;
  box-shadow: 0 14px 34px rgba(19,34,53,0.22);
}

/* ── FEATURES ────────────────────────────────────────────────── */
.features { background: var(--gray); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto;
}
.feature-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* ── STATS ───────────────────────────────────────────────────── */
.stats { background: var(--navy-dark); color: var(--white); }
.stats-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 40px 60px; max-width: 900px; margin: 0 auto; text-align: center;
}
.stat-number {
  font-size: clamp(2.2rem, 5.6vw, 3.4rem);
  font-weight: 900; color: #6FA8FF; letter-spacing: -0.03em;
}
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px; max-width: 1000px; margin: 0 auto;
}
.step { text-align: center; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--muted); }

/* ── PRICING ─────────────────────────────────────────────────── */
.pricing { background: var(--gray); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: 760px; margin: 0 auto;
}
.plan {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.plan .btn-plan { margin-top: auto; }
.plan-features { margin-bottom: 24px; }
.plan.featured {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white); box-shadow: 0 8px 32px rgba(11,22,38,0.35);
}
.plan-name { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.plan-price { font-size: clamp(1.35rem, 3.6vw, 1.7rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.2; }
.plan-desc { font-size: 0.85rem; opacity: 0.7; margin: 8px 0 20px; }
.plan-features { list-style: none; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; margin-bottom: 10px; }
.plan-features li::before { content: "✓"; font-weight: 800; color: #34d399; flex-shrink: 0; }
.plan.featured .plan-features li::before { color: #6FA8FF; }
.btn-plan {
  display: block; text-align: center; margin-top: 24px; padding: 14px;
  border-radius: 12px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; transition: opacity .2s;
}
.btn-plan:hover { opacity: 0.85; }
.plan:not(.featured) .btn-plan { background: var(--navy); color: #fff; }
.plan.featured .btn-plan { background: var(--blue); color: #fff; }
.plan-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }
.plan.featured .plan-note { color: rgba(255,255,255,0.6); }
.pricing-legal {
  max-width: 760px; margin: 28px auto 0; text-align: center;
  font-size: 0.8rem; color: var(--muted);
}
.pricing-legal a { color: var(--blue); }

/* ── CTA ─────────────────────────────────────────────────────── */
.cta-section {
  text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
}
.cta-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(37,120,248,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  position: relative;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px;
}
.cta-section p { position: relative; color: rgba(255,255,255,0.72); max-width: 520px; margin: 0 auto 36px; }
.cta-section .btn-appstore { position: relative; }
.cta-section .brand-bar { opacity: 0.6; }

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-box { max-width: 600px; margin: 0 auto; }
.contact-box .section-title, .contact-box .section-sub { text-align: left; }
.contact-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--muted); margin-bottom: 28px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px; border: 1.5px solid #E5E7EB; border-radius: 10px;
  font-size: 0.95rem; font-family: inherit; color: var(--text);
  background: var(--white); outline: none; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,120,248,0.15);
}
.form-group textarea { min-height: 130px; }
.btn-submit {
  align-self: flex-start; padding: 14px 32px;
  background: var(--blue); color: #fff; border: none; border-radius: 12px;
  font-size: 1rem; font-weight: 700; font-family: inherit; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }

/* ── BLOG TEASER (home) ──────────────────────────────────────── */
.blog-teaser { background: var(--white); }
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; max-width: 1000px; margin: 0 auto 36px;
}
.blog-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border-radius: var(--radius);
  padding: 24px; border: 1px solid rgba(0,0,0,0.07); box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
.blog-card .tag, .article-card .tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--blue-dark);
  background: #E7F0FF; padding: 3px 10px; border-radius: 20px; margin-bottom: 12px;
}
.blog-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.blog-card p { font-size: 0.85rem; color: var(--muted); }
.blog-more { text-align: center; }
.blog-more a { color: var(--blue-dark); font-weight: 700; text-decoration: none; font-size: 0.95rem; }
.blog-more a:hover { text-decoration: underline; }

/* ── ARTICLES ────────────────────────────────────────────────── */
.articles-wrap { max-width: 1000px; margin: 0 auto; padding: 60px 5vw 20px; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.article-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform .2s, box-shadow .2s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.1); }
.article-card h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.3; margin-bottom: 10px; color: var(--text); }
.article-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.article-card .read-more { font-size: 0.85rem; font-weight: 700; color: var(--blue-dark); }
.hero-strip .eyebrow, .article-hero .eyebrow {
  display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #6FA8FF; margin-bottom: 10px;
}

.article-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff; padding: 56px 5vw 48px; text-align: center;
}
.article-hero .breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.article-hero .breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.article-hero .breadcrumb a:hover { text-decoration: underline; }
.article-hero h1 { font-size: clamp(1.6rem, 4.2vw, 2.5rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; max-width: 780px; margin: 0 auto 14px; }
.article-hero .dek { color: rgba(255,255,255,0.72); font-size: 1rem; max-width: 620px; margin: 0 auto; }

.article-body { max-width: 720px; margin: 0 auto; padding: 56px 5vw 20px; line-height: 1.75; }
.article-body h2 { font-size: 1.3rem; font-weight: 800; color: var(--navy-dark); margin: 40px 0 14px; }
.article-body > h2:first-child { margin-top: 0; }
.article-body p { font-size: 1rem; color: #374151; margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body li { font-size: 1rem; color: #374151; margin-bottom: 8px; }
.article-body strong { color: var(--text); }
.article-body a { color: var(--blue); }

.tip-box {
  background: var(--gray); border-left: 4px solid var(--blue);
  border-radius: 12px; padding: 20px 24px; margin: 28px 0;
}
.tip-box h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-dark); margin-bottom: 12px; }
.tip-box ul { margin: 0; list-style: none; }
.tip-box li { font-size: 0.95rem; margin-bottom: 8px; display: flex; gap: 10px; }
.tip-box li:last-child { margin-bottom: 0; }
.tip-box li::before { content: "✓"; color: var(--blue); font-weight: 800; flex-shrink: 0; }
.disclaimer-box {
  background: #EEF5FF; border-left: 4px solid var(--blue);
  border-radius: 12px; padding: 16px 20px; margin: 28px 0;
  font-size: 0.9rem; color: #234A85;
}
.disclaimer-box strong { color: #234A85; }

.app-cta {
  max-width: 720px; margin: 44px auto 60px; padding: 40px 5vw;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: 20px; color: #fff; text-align: center;
  position: relative; overflow: hidden; width: calc(100% - 10vw);
}
.app-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,120,248,0.28) 0%, transparent 70%);
  pointer-events: none;
}
.app-cta img { position: relative; width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.app-cta h3 { position: relative; font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.app-cta p { position: relative; color: rgba(255,255,255,0.75); font-size: 0.92rem; max-width: 460px; margin: 0 auto 22px; }
.app-cta .btn-appstore { position: relative; }

.more-articles { max-width: 720px; margin: 0 auto; padding: 0 5vw 70px; }
.more-articles h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.more-articles a {
  display: block; padding: 14px 0; color: var(--text); text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.07); font-weight: 600; font-size: 0.95rem; transition: color .2s;
}
.more-articles a:hover { color: var(--blue); }
.more-articles a span { color: var(--muted); font-weight: 400; display: block; font-size: 0.85rem; margin-top: 2px; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--text); color: rgba(255,255,255,0.5);
  padding: 36px 5vw; text-align: center; font-size: 0.85rem;
}
footer a { color: rgba(255,255,255,0.65); text-decoration: none; }
footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.footer-credit { margin-top: 10px; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-credit a { color: rgba(255,255,255,0.55); font-weight: 600; }
.footer-credit a:hover { color: #fff; }

/* ── LEGAL PAGES ─────────────────────────────────────────────── */
body.legal { line-height: 1.7; }
body.legal nav { position: static; }
.hero-strip {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff; padding: 48px 5vw 40px; text-align: center;
}
.hero-strip h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 8px; }
.hero-strip p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.strip-bar { height: 5px; background: linear-gradient(to right, var(--navy) 0%, var(--blue) 100%); }
.content { max-width: 760px; margin: 0 auto; padding: 60px 5vw 80px; }
.content h2 {
  font-size: 1.25rem; font-weight: 700; color: var(--navy-dark);
  margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gray);
}
.content .updated + h2 { margin-top: 0; }
.content p { margin-bottom: 14px; font-size: 0.95rem; color: #374151; }
.content ul { margin: 0 0 14px 20px; }
.content ul li { font-size: 0.95rem; color: #374151; margin-bottom: 6px; }
.content a { color: var(--blue); }
.updated {
  display: inline-block; background: var(--gray); border-radius: 6px;
  padding: 6px 14px; font-size: 0.8rem; color: var(--muted); margin-bottom: 36px;
}
body.legal footer { padding: 28px 5vw; }
body.legal footer .footer-links { gap: 20px; margin-bottom: 8px; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-links li:not(:last-child):not(.keep) { display: none; }
  section { padding: 60px 6vw; }
  .form-row { grid-template-columns: 1fr; }
}
