:root {
  --brand: #6d4a83;
  --brand-dark: #4b315d;
  --brand-deep: #30203b;
  --brand-soft: #f2ecf6;
  --brand-softer: #faf7fc;
  --ink: #1b1d21;
  --muted: #69727d;
  --line: #e7e3ea;
  --surface: #f7f7f9;
  --white: #ffffff;
  --success: #28b889;
  --shadow: 0 18px 55px rgba(42, 30, 50, .10);
  --shadow-lg: 0 28px 90px rgba(42, 30, 50, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(231,227,234,.9); backdrop-filter: blur(18px); }
.header-inner { height: 76px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: -.02em; }
.brand-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; box-shadow: 0 5px 16px rgba(61,38,74,.18); }
.brand-name { font-size: 20px; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: 48px; }
.main-nav a { color: #525b65; font-size: 14px; font-weight: 700; }
.main-nav a:hover { color: var(--brand-dark); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.language-button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px; border-radius: 12px; background: var(--surface); color: #4e5861; font-weight: 800; cursor: pointer; }
.language-button:hover { background: var(--brand-soft); color: var(--brand-dark); }
.language-globe { font-size: 18px; color: var(--brand); }
.chevron { margin-top: -3px; }
.menu-button { width: 42px; height: 42px; border-radius: 12px; background: var(--surface); display: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px; cursor: pointer; }
.menu-button span { width: 18px; height: 2px; border-radius: 2px; background: #56606a; }

.hero { padding: 82px 0 72px; background: radial-gradient(circle at 80% 10%, #f4edf8 0, #fff 42%); }
.hero-grid { min-height: 610px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 72px; }
.eyebrow, .section-kicker, .modal-kicker { display: inline-block; color: var(--brand); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin: 18px 0 20px; max-width: 760px; font-size: clamp(46px, 5.5vw, 76px); line-height: 1.02; letter-spacing: -.055em; }
.hero-text { max-width: 680px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; padding: 0 21px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 850; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 28px rgba(85,52,105,.22); }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { background: #fff; color: var(--brand-dark); border: 1px solid var(--line); }
.button-dark { background: #1e2227; color: #fff; }
.button-dark:hover { background: #090a0c; }
.button.full { width: 100%; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 22px; color: #7b838c; font-size: 13px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(40,184,137,.12); }
.hero-visual { display: grid; place-items: center; }
.hero-panel { width: min(520px, 100%); min-height: 500px; padding: 50px; border-radius: 38px; color: #fff; background: linear-gradient(145deg, #25182f, #543564 55%, #73518b); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.hero-panel::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.07); top: -140px; right: -120px; }
.hero-panel::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.05); bottom: -130px; left: -80px; }
.hero-logo-wrap { width: 210px; height: 210px; border-radius: 50%; padding: 8px; background: rgba(255,255,255,.13); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); position: relative; z-index: 1; }
.hero-logo { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hero-panel-copy { margin-top: 26px; display: flex; flex-direction: column; gap: 7px; position: relative; z-index: 1; }
.hero-panel-copy strong { font-size: 28px; }
.hero-panel-copy span { color: rgba(255,255,255,.72); font-size: 14px; }
.mini-grid { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; position: relative; z-index: 1; }
.mini-grid span { padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.12); font-size: 12px; font-weight: 750; }

.trust-strip { padding: 0 0 18px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--line); }
.trust-item { background: #fff; padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.trust-item strong { font-size: 16px; }
.trust-item span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.apps-section { padding: 96px 0 110px; }
.section-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-heading.wide { max-width: 900px; }
.section-heading h2, .security-intro h2, .difference-section h2, .mission-box h2 { margin: 12px 0 14px; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading p, .security-intro p, .difference-copy p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.72; }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.app-card { padding: 32px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 10px 40px rgba(40,30,50,.05); display: grid; grid-template-columns: 86px 1fr; gap: 24px; }
.app-card.featured { border-color: #ddcfe5; background: linear-gradient(180deg, #fff 0%, #fdfaff 100%); }
.platform-icon, .platform-logo-wrap {
  width: 78px;
  height: 78px;
  border-radius: 21px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  overflow: hidden;
}

.platform-logo-wrap {
  overflow: hidden;
  padding: 8px;
}

.platform-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.windows-icon {
  grid-template-columns: repeat(2, 20px);
  grid-template-rows: repeat(2, 20px);
  gap: 3px;
  justify-content: center;
  align-content: center;
  transform: translateY(-3px);
}

.windows-icon span {
  width: 20px;
  height: 20px;
  background: var(--brand);
}
.app-label { color: var(--brand); font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.app-card h3 { margin: 8px 0 10px; font-size: 27px; letter-spacing: -.03em; }
.app-card p { margin: 0; min-height: 72px; color: var(--muted); line-height: 1.62; }
.version-row { margin: 22px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #7b848d; font-size: 13px; }
.version-row strong { color: var(--ink); }
.download-meta { margin-top: 10px; text-align: center; color: #8b939a; font-size: 12px; }
.platform-note { margin-top: 22px; border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; background: var(--surface); display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.platform-note-icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: #e8f8f2; color: #168763; font-weight: 900; }
.platform-note strong { display: block; margin-bottom: 5px; }
.platform-note p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.ecosystem-section { padding: 110px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.info-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; background: var(--brand-soft); margin-bottom: 18px; }
.info-card h3 { margin: 0 0 9px; font-size: 19px; letter-spacing: -.02em; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.66; }

.difference-section { padding: 100px 0; }
.difference-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; }
.difference-copy { display: grid; gap: 20px; }

.security-section { padding: 110px 0; background: linear-gradient(180deg, #261a2e 0%, #34223f 100%); color: #fff; }
.security-intro { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: end; margin-bottom: 44px; }
.security-intro .section-kicker { color: #d7bfe5; }
.security-intro p { color: rgba(255,255,255,.69); }
.security-grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.security-card { min-height: 270px; padding: 28px; border-radius: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); }
.security-card.highlighted { background: rgba(255,255,255,.11); }
.security-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.10); color: #e5d5ed; font-size: 12px; font-weight: 900; }
.security-card h3 { margin: 20px 0 10px; font-size: 20px; }
.security-card p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.68; }
.security-disclosure { margin-top: 18px; padding: 22px 24px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); display: grid; grid-template-columns: 42px 1fr; gap: 16px; }
.disclosure-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.10); font-weight: 900; }
.security-disclosure p { margin: 5px 0 0; color: rgba(255,255,255,.64); font-size: 13px; line-height: 1.6; }

.projects-section { padding: 110px 0; }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.project-card { padding: 24px; border: 1px solid var(--line); border-radius: 21px; background: #fff; box-shadow: 0 8px 28px rgba(40,30,50,.04); }
.project-state { display: inline-flex; padding: 7px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; }
.project-state.live { background: #e9f8f2; color: #168763; }
.project-state.build { background: #f4edf8; color: var(--brand-dark); }
.project-state.research { background: #eef3f8; color: #4f6680; }
.project-card h3 { margin: 16px 0 8px; font-size: 19px; }
.project-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.64; }

.mission-section { padding: 0 0 110px; }
.mission-box { min-height: 330px; padding: 54px 62px; border-radius: 34px; background: linear-gradient(135deg, #5a3a6b, #2d1e35); color: #fff; display: grid; grid-template-columns: 180px 1fr; gap: 52px; align-items: center; overflow: hidden; position: relative; }
.mission-box::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.05); right: -120px; top: -130px; }
.mission-logo { width: 170px; height: 170px; border-radius: 50%; padding: 7px; background: rgba(255,255,255,.12); position: relative; z-index: 1; }
.mission-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.section-kicker.light { color: #dbc7e6; }
.mission-box h2 { max-width: 760px; }
.mission-box p { max-width: 790px; margin: 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.72; }

.faq-section { padding: 0 0 110px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-card { padding: 24px 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.faq-card h3 { margin: 0 0 8px; font-size: 18px; }
.faq-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.site-footer { padding: 36px 0 42px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.footer-brand div { display: flex; flex-direction: column; gap: 2px; }
.footer-brand span, .footer-copy { color: #88919a; font-size: 12px; }
.footer-links { margin-left: auto; display: flex; gap: 18px; font-size: 13px; font-weight: 700; color: #5f6871; }
.footer-links a:hover { color: var(--brand); }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(20,15,24,.52); display: grid; place-items: center; padding: 20px; }
.modal-backdrop[hidden] { display: none; }
.language-modal { width: min(460px, 100%); background: #fff; border-radius: 24px; box-shadow: 0 30px 90px rgba(15,25,33,.28); padding: 24px; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.modal-header h2 { margin: 6px 0 0; font-size: 26px; letter-spacing: -.03em; }
.modal-close { width: 40px; height: 40px; border-radius: 12px; background: var(--surface); font-size: 28px; line-height: 1; color: #6a7680; cursor: pointer; }
.language-list { display: grid; gap: 10px; }
.language-option { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 15px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; text-align: left; }
.language-option:hover { background: var(--surface); }
.language-option.active { border-color: #d6c4e0; background: var(--brand-soft); }
.language-option-left { display: flex; align-items: center; gap: 12px; }
.language-code { min-width: 42px; color: var(--brand-dark); font-weight: 900; }
.language-name { font-weight: 700; }
.language-check { color: var(--brand-dark); font-weight: 900; }

@media (max-width: 1040px) {
  .main-nav { display: none; position: absolute; top: 76px; left: 20px; right: 20px; margin: 0; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; }
  .main-nav a:hover { background: var(--surface); }
  .menu-button { display: flex; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { text-align: center; }
  .hero-text { margin: 0 auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .hero-panel { min-height: 430px; }
  .feature-cards, .security-grid-cards { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .security-intro, .difference-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { height: 68px; }
  .brand-name { display: none; }
  .brand-logo { width: 34px; height: 34px; }
  .main-nav { top: 68px; }
  .hero { padding: 54px 0 54px; }
  .hero-grid { gap: 38px; }
  .hero h1 { font-size: 42px; }
  .hero-text { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-panel { min-height: 380px; padding: 36px 22px; border-radius: 28px; }
  .hero-logo-wrap { width: 170px; height: 170px; }
  .trust-grid, .app-grid, .feature-cards, .security-grid-cards, .projects-grid, .faq-grid { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 1fr; padding: 25px; }
  .app-card p { min-height: auto; }
  .platform-icon, .platform-logo-wrap { width: 68px; height: 68px; }
  .apps-section, .ecosystem-section, .security-section, .projects-section { padding: 76px 0; }
  .difference-section { padding: 76px 0; }
  .mission-section { padding-bottom: 76px; }
  .mission-box { grid-template-columns: 1fr; padding: 38px 28px; gap: 26px; }
  .mission-logo { width: 120px; height: 120px; }
  .faq-section { padding-bottom: 76px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { margin-left: 0; flex-wrap: wrap; }
}
