:root {
  --red: #DC2626;
  --red-dark: #B91C1C;
  --red-light: #FEE2E2;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow: 0 10px 40px rgba(0,0,0,0.1);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
}

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

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gray-900);
}

.logo-wordmark {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -1.5px;
  text-transform: lowercase;
  color: var(--red);
  line-height: 1;
}

.logo-wordmark.sm { font-size: 1.15rem; }
.logo-wordmark.lg { font-size: 2rem; }
.logo-wordmark.light { color: var(--red); }

.mock-header {
  text-transform: lowercase;
  font-weight: 800;
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

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

.lang-select {
  padding: 6px 10px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  background: white;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: white;
  padding: 20px;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--gray-200);
  z-index: 99;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  padding: 8px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: var(--red);
  color: white;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(220,38,38,0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 120px 24px 80px;
  max-width: 1140px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 60%, #7F1D1D 100%);
  z-index: -1;
}

.hero-content { color: white; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, #FECACA, white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 1.5rem;
  font-weight: 800;
}

.stat span {
  font-size: 0.8rem;
  opacity: 0.75;
}

/* Phone mockup */
.hero-phone {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: #1a1a1a;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  transform: perspective(800px) rotateY(-8deg) rotateX(2deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mock-header {
  background: var(--red);
  color: white;
  padding: 16px;
  font-weight: 700;
  text-align: center;
}

.mock-stories {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--gray-100);
}

.mock-story {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #F97316);
  flex-shrink: 0;
}

.mock-story.add {
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 700;
}

.mock-chats { padding: 8px; flex: 1; }

.mock-chat {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 4px;
}

.mock-chat.active { background: var(--red-light); }

.mock-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.mock-lines { flex: 1; padding-top: 6px; }

.mock-lines div {
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  margin-bottom: 6px;
}

.mock-lines div:last-child { width: 60%; }

/* Sections */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.1rem;
  margin-bottom: 56px;
}

/* Features */
.features { background: var(--gray-50); }

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

.feature-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.feature-card:hover { transform: translateY(-4px); }

.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--red);
}

.feature-card p { color: var(--gray-500); font-size: 0.95rem; }

/* Platforms */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.platform-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 2px solid var(--gray-100);
  transition: border-color 0.2s;
}

.platform-card:hover { border-color: var(--red); }

.platform-icon { font-size: 2.5rem; margin-bottom: 12px; }
.platform-card h4 { font-weight: 700; margin-bottom: 4px; }
.platform-card p { font-size: 0.85rem; color: var(--gray-500); }

.pwa-hint {
  text-align: center;
  background: var(--red-light);
  color: var(--red-dark);
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

/* Security */
.security { background: var(--gray-900); color: white; }

.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.security .section-title { text-align: left; color: white; }

.security-list {
  list-style: none;
  margin: 24px 0 32px;
}

.security-list li {
  padding: 10px 0;
  font-size: 1.05rem;
  opacity: 0.9;
}

.shield {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(220,38,38,0.4);
}

.shield span { font-size: 4rem; }
.shield p { font-weight: 800; font-size: 1.3rem; margin-top: 8px; }
.shield small { opacity: 0.8; font-size: 0.85rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-item { margin-bottom: 24px; }

.contact-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}

.contact-value:hover { text-decoration: underline; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--gray-50);
  padding: 32px;
  border-radius: var(--radius);
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-status {
  text-align: center;
  font-size: 0.9rem;
  min-height: 20px;
}

.form-status.success { color: #16A34A; }
.form-status.error { color: var(--red); }

/* Footer */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand p { opacity: 0.6; font-size: 0.9rem; }

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover { color: white; }

.footer-copy {
  opacity: 0.5;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }

  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-phone { display: none; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .platforms-grid { grid-template-columns: repeat(3, 1fr); }
  .security-inner { grid-template-columns: 1fr; text-align: center; }
  .security .section-title { text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
}