:root {
  --bg-main: #f4f7fb;
  --bg-section: #ffffff;
  --accent: #2563eb;
  --accent-soft: #e6efff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-soft: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */

.nav {
  position: fixed;
  width: 100%;
  background: white;
  border-bottom: 1px solid var(--border-soft);
  z-index: 1000;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.nav a {
  color: var(--text-dark);
  margin-left: 1.8rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent);
}

/* Hero */

.hero {
  padding: 180px 0 140px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f4fa 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.hero-text p {
  margin-bottom: 2rem;
  color: var(--text-muted);
  max-width: 620px;
  font-size: 1.05rem;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.portrait-img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

/* Sections */

.section {
  padding: 110px 0;
  background: var(--bg-section);
}

.section:nth-child(even) {
  background: #f9fbff;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
}

.grid-3, .grid-4 {
  display: grid;
  gap: 2.5rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
}

/* Cards */

.card {
  background: white;
  padding: 2.2rem;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.card h3 {
  margin-bottom: 1rem;
}

/* Screens */

.screens {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit,minmax(340px,1fr));
  justify-items: center;
  align-items: center;
}

.screen-img {
  height: 320px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 16px;
  background: white;
  padding: 14px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.screen-img:hover {
  transform: scale(1.02);
}

/* Buttons */

.btn-primary {
  background: var(--accent);
  color: white;
  padding: 0.85rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: 0.2s ease;
}

.btn-primary:hover {
  background: #1e4ed8;
}

.btn-small {
  border: 1px solid var(--accent);
  padding: 0.45rem 1rem;
  border-radius: 20px;
  color: var(--accent);
}

.btn-small:hover {
  background: var(--accent-soft);
}

/* Footer */

.footer {
  background: white;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  text-align: center;
  padding: 2.5rem 0;
}

/* Responsive */

@media(max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .portrait-img {
    max-width: 320px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .screen-img {
    height: 240px;
  }
}


.legal {
  max-width: 800px;
}

.legal h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.legal h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.legal p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 0.5rem;
}

.footer a:hover {
  color: var(--accent);
}