:root {
  --bg-dark: #0A1628;
  --surface: #FFFFFF;
  --surface-alt: #F8F9FB;
  --accent: #E8A838;
  --accent-hover: #D4952E;
  --text-on-dark: #FFFFFF;
  --text-secondary-on-dark: #94A3B8;
  --text-on-light: #0A1628;
  --text-secondary-on-light: #64748B;
  --radius: 14px;
  --max-width: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-on-light);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Fade-in animation for scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-on-light);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav__logo-icon {
  flex-shrink: 0;
  border-radius: 6px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  color: var(--text-secondary-on-light);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--text-on-light);
}

.nav__lang {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--text-secondary-on-light);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}

.lang-btn:hover {
  border-color: rgba(0, 0, 0, 0.3);
  color: var(--text-on-light);
}

.lang-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
}

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-on-light);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 767px) {
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__lang {
    margin-left: 0;
  }
}

/* Hero */
.hero {
  position: relative;
  background: var(--bg-dark);
  padding: 140px 0 100px;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero__content {
  flex: 1;
  max-width: 560px;
}

.hero__headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary-on-dark);
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero__cta img {
  height: 54px;
  transition: opacity 0.2s;
}

.hero__cta:hover img {
  opacity: 0.85;
}

.hero__screenshot {
  flex: 0 0 auto;
}

.hero__phone {
  width: 280px;
  height: 560px;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__slide.active {
  opacity: 1;
}

@media (max-width: 767px) {
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__phone {
    width: 200px;
    height: 400px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__phone {
    width: 240px;
    height: 480px;
  }
}

/* Section common */
.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

/* Features */
.features {
  padding: 100px 0;
  background: var(--surface);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid #E5E7EB;
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(232, 168, 56, 0.1);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(232, 168, 56, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-on-light);
}

.feature-card p {
  font-size: 16px;
  color: var(--text-secondary-on-light);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .features__grid {
    grid-template-columns: 1fr;
  }

  .features {
    padding: 72px 0;
  }
}

/* How It Works */
.how {
  padding: 100px 0;
  background: var(--surface-alt);
}

.how__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.how__step {
  text-align: center;
  flex: 0 1 280px;
  padding: 0 24px;
}

.how__number {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.how__step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-on-light);
}

.how__step p {
  font-size: 16px;
  color: var(--text-secondary-on-light);
  line-height: 1.6;
}

.how__connector {
  flex: 0 0 60px;
  height: 2px;
  background: var(--accent);
  opacity: 0.3;
  margin-top: 28px;
}

@media (max-width: 767px) {
  .how {
    padding: 72px 0;
  }

  .how__steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .how__connector {
    width: 2px;
    height: 32px;
    flex: 0 0 32px;
  }
}

/* Pricing */
.pricing {
  padding: 100px 0;
  background: var(--surface);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing__card {
  border: 1px solid #E5E7EB;
  border-radius: var(--radius);
  padding: 40px 36px;
}

.pricing__card--premium {
  border-color: var(--accent);
}

.pricing__card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing__price {
  font-size: 18px;
  color: var(--text-secondary-on-light);
  margin-bottom: 28px;
}

.pricing__price-alt {
  display: block;
  font-size: 14px;
  color: var(--text-secondary-on-light);
  margin-top: 4px;
}

.pricing__features {
  list-style: none;
}

.pricing__features li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-on-light);
  border-bottom: 1px solid #F3F4F6;
  padding-left: 24px;
  position: relative;
}

.pricing__features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.pricing__features li:last-child {
  border-bottom: none;
}

.pricing__cta {
  text-align: center;
  margin-top: 48px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-dark);
  padding: 16px 36px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  font-family: var(--font);
}

.btn:hover {
  background: var(--accent-hover);
}

@media (max-width: 767px) {
  .pricing {
    padding: 72px 0;
  }

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

/* Coming Soon Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--surface);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-secondary-on-light);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.modal__close:hover {
  color: var(--text-on-light);
}

.modal__icon {
  border-radius: 14px;
  margin-bottom: 20px;
}

.modal__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-on-light);
}

.modal__text {
  font-size: 16px;
  color: var(--text-secondary-on-light);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  padding: 60px 0 40px;
  text-align: center;
}

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

.footer__tagline {
  color: var(--text-secondary-on-dark);
  font-size: 16px;
  margin-bottom: 24px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.footer__links a {
  color: var(--text-secondary-on-dark);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text-on-dark);
}

.footer__copyright {
  color: rgba(148, 163, 184, 0.5);
  font-size: 13px;
}

/* Privacy Page */
.privacy-page {
  padding: 120px 24px 80px;
  max-width: 720px;
  margin: 0 auto;
}

.privacy-page h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.privacy-page__effective {
  color: var(--text-secondary-on-light);
  font-size: 14px;
  margin-bottom: 48px;
}

.privacy-section {
  margin-bottom: 36px;
}

.privacy-section h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-on-light);
}

.privacy-section p {
  font-size: 16px;
  color: var(--text-secondary-on-light);
  line-height: 1.7;
}
