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

html, body {
  background-color: #fff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.2;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.button {
  display: inline-block;
  padding: 16px 32px;
  background: #ff9500;
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  background: #e68600;
  text-decoration: none;
}

/* Header */
.site-header {
  padding: 20px;
  background: #fff;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  color: #333;
  font-size: 20px;
}

.logo img {
  width: 48px;
  height: 48px;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 16px;
}

.nav-link {
  font-size: 17px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

.nav-link:hover {
  color: #000;
}

.nav-button_primary {
  padding: 10px 20px;
  background: #000;
  color: white;
  border: 1px solid #000;
  border-radius: 999px;
  font-weight: 600;
}

.nav-button_primary:hover {
  background: #333;
  border-color: #333;
}

.language-selector {
  position: relative;
  display: inline-block;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid #000;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  transition: all 0.2s;
}

.lang-current:hover {
  background: #f0f0f0;
}

.lang-current svg {
  transition: transform 0.2s;
}

.language-selector.open .lang-current svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-width: 132px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 1000;
}

.language-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.lang-option:hover {
  background: #f0f0f0;
  text-decoration: none;
}

.lang-check {
  margin-left: 8px;
  color: #000;
}

.lang-option-current {
  font-weight: 600;
}

.features-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #000;
  transition: all 0.2s;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
}

.dropdown-trigger:hover {
  color: #000;
}

.dropdown-trigger svg {
  transition: transform 0.2s;
}

.features-dropdown.open .dropdown-trigger svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 500px;
}

.features-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
}

.dropdown-item .material-icons {
  font-size: 20px;
  color: #666;
}

.dropdown-item:hover {
  background: #f0f0f0;
  text-decoration: none;
}

/* Footer */
.site-footer {
  padding: 60px 20px 40px;
  background: #333;
  margin-top: 60px;
  color: #f5f5f5;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-top-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e8944c;
  font-weight: 600;
  font-size: 18px;
}

.footer-brand img {
  width: auto;
  height: 28px;
}

.footer-cta-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.footer-cta-button {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: #ff9500;
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s;
  flex-shrink: 0;
}

.footer-cta-button:hover {
  background: #e68600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: #f5f5f5;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: #ff9500;
}

.footer-copyright {
  font-size: 14px;
  color: #999;
}

.footer-nav {
  display: flex;
  gap: 40px;
}

.footer-nav a {
  color: #f5f5f5;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #ff9500;
}

@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-cta-title {
    font-size: 26px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 24px;
    flex-wrap: wrap;
  }
}

/* Main content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  margin: 60px 0;
}

h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

/* Hero Block - Full Width */
.hero-block-wrapper {
  background: #fafafa;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.04);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 0;
  padding: 60px 20px;
}

.hero-block {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}

.hero-block-wrapper + .benefits-block,
.hero-block-wrapper + .final-cta-block {
  margin-top: -80px;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content .button {
  margin-top: 30px;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 1148 / 940;
  margin-bottom: -60px;
  display: block;
}

/* Hero Block Simple (non-home pages) */
.hero-block--simple {
  display: block;
  text-align: center;
}

.hero-block-wrapper--simple {
  padding: 80px 20px;
}

/* Key Features Block */
.features-header {
  text-align: center;
  margin-bottom: 40px;
}

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

.feature-card {
  display: block;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: #bbb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
  color: #999;
}

/* Benefits Block */
.benefits-block {
  padding: 30px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.benefit-card {
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.benefit-card:last-child {
  border-bottom: none;
}

.benefit-card h3 {
  margin-bottom: 15px;
}

.benefit-image {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
}

.benefit-icon {
  font-size: 48px;
  color: #666;
  display: block;
  margin-bottom: 20px;
}

.benefit-subtitle {
  color: #333;
  font-size: 16px;
  margin-bottom: 15px;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.team-member {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
}

.team-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
}

.team-info {
  flex: 1;
}

.team-info a,
a.team-info {
  text-decoration: underline;
}

/* Feature Showcase Block */
.feature-showcase-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 40px 0;
}

.showcase-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-screenshots {
  position: relative;
  display: flex;
  justify-content: center;
  height: 660px;
}

.phone-screenshot {
  width: auto;
  height: 100%;
  max-height: 660px;
  display: none;
  border-radius: 24px;
}

.phone-screenshot.active {
  display: block;
}

.platform-switcher {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.platform-tab {
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #999;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.2s;
}

.platform-tab:hover {
  color: #666;
}

.platform-tab.active {
  color: #000;
  font-weight: 600;
}

.showcase-benefits {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.showcase-benefit-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.showcase-benefit-item p {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .feature-showcase-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .phone-screenshots {
    max-width: 280px;
  }
}

/* Feature Split */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 40px;
  margin: 0;
}

.feature-split:nth-child(odd) .feature-content {
  order: 2;
}

.feature-split:nth-child(odd) .feature-image {
  order: 1;
}

.feature-list-container {
  margin-top: 120px;
}

.feature-list-block {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
}

.feature-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #e0e0e0;
  gap: 40px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s;
}

.feature-list-item:hover {
  background-color: #e8e8e8 !important;
}

.feature-list-item:last-child {
  border-bottom: none;
}

.feature-list-item:nth-child(odd) {
  background: #fff;
}

.feature-list-item:nth-child(even) {
  background: #f5f5f5;
}

.feature-list-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.feature-list-icon {
  font-size: 36px;
  color: #999;
}

.feature-list-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.feature-list-text h4 a {
  color: #333;
  text-decoration: none;
}

.feature-list-text p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.feature-list-check {
  font-size: 32px;
  color: #ff9500;
  padding: 20px 30px;
  margin: -20px -30px -20px 0;
  border-left: 1px solid #ddd;
  align-self: stretch;
  display: flex;
  align-items: center;
}

/* CTA Blocks */
.mid-cta-block-wrapper {
  background: #fafafa;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.04);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 60px 20px;
  margin-top: 60px;
  margin-bottom: 60px;
}

.mid-cta-block {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mid-cta-block .cta-image {
  order: -1;
}

.mid-cta-block .cta-content {
  text-align: center;
}

.final-cta-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 40px;
  background: #f0f0f0;
  margin: 60px 0;
  border-radius: 12px;
}

.mid-cta-block .button,
.final-cta-block .button {
  margin-top: 30px;
}

/* Testimonials */
.testimonials-header {
  text-align: center;
  margin-bottom: 40px;
}

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

.testimonial-card {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.testimonial-stars {
  height: 20px;
  width: auto;
  margin-bottom: 15px;
  display: block;
}

.quote {
  margin-bottom: 20px;
}

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

.avatar {
  font-size: 40px;
  color: #999;
}

/* FAQ */
.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.faq-item:hover {
  background-color: #f5f5f5;
}

.faq-item summary {
  cursor: pointer;
  font-weight: bold;
  padding: 15px;
}

.faq-item p {
  margin-top: 0;
  padding: 0 15px 15px;
}

.faq-link {
  margin-left: 8px;
  color: var(--primary-color);
  text-decoration: none;
}

.faq-link:hover {
  color: var(--primary-dark);
}

.more-link {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  border: 1px solid #000;
  border-radius: 999px;
  background: transparent;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
}

.more-link:hover {
  background: #f0f0f0;
  text-decoration: none;
}

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

.faq-block .faq-list {
  text-align: left;
}

/* Tabbed Downloads Block */
.tabbed-downloads-block {
  padding: 60px 0;
}

.hero-block-wrapper--simple + .tabbed-downloads-block {
  padding-top: 20px;
}

.tabs-navigation {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  padding-bottom: 0;
}

.tab-button {
  padding: 15px 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 24px;
  font-weight: 600;
  color: #666;
  transition: all 0.3s;
}

.tab-button:hover {
  color: #000;
  background: #f0f0f0;
}

.tab-button.active {
  color: #000;
}

.tabs-content {
  margin-top: 40px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.download-card {
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.download-card:hover {
  border-color: #bbb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.download-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.download-card h3 a {
  color: #333;
  text-decoration: none;
}

.download-card .requirements {
  font-size: 14px;
  color: #666;
  margin-top: 16px;
}

.download-button {
  display: inline-block;
  padding: 12px 30px;
  background: #ff9500;
  color: white;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.download-badge-link {
  display: inline-block;
}

.download-badge {
  height: 60px;
  width: auto;
  display: block;
  margin: 0 auto;
}

/* Platform Links Block */
.platform-links-block {
  padding: 60px 0;
  text-align: center;
}

.hero-block-wrapper--simple + .platform-links-block {
  padding-top: 18px;
}

.platform-links-block h2 {
  margin-bottom: 40px;
}

.platform-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.platform-link-card {
  padding: 28px 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.platform-link-card:hover {
  border-color: #bbb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.platform-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

/* Contact Support Block */
.contact-support-block {
  padding: 40px 0;
  text-align: center;
}

.contact-support-button {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  color: #000;
  border: 1px solid #000;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
}

.contact-support-button:hover {
  background: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-block,
  .feature-split,
  .mid-cta-block,
  .final-cta-block {
    grid-template-columns: 1fr;
  }

  .mid-cta-block-wrapper {
    padding: 40px 20px;
  }

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

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  .header-container {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .main-nav .language-selector,
  .main-nav .nav-button_primary {
    order: 1;
  }

  .tabs-navigation {
    flex-direction: column;
    gap: 5px;
  }

  .tab-button {
    padding: 12px 20px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .tab-button.active {
    border-bottom: none;
    border-left-color: #000;
    background: #f0f0f0;
  }

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

  .platform-links-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .dropdown-menu {
    grid-template-columns: 1fr;
    width: 280px;
    max-width: calc(100vw - 40px);
  }
}
