@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:wght@400;500;700&display=swap');

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

:root {
  --primary-purple: #8f7ee7;
  --primary-purple-dark: #7a51a8;
  --primary-purple-light: #a67bd6;
  --accent-green: #22c55e;
  --text-dark: #1f2937;
  --text-medium: #6b7280;
  --text-light: #9ca3af;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border-light: #e5e7eb;
  --footer-dark: #374151;
}

body {
  font-family: 'Roboto Flex', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 86px;
  margin: 33px auto 139px auto;
}

.container {
  display: flex;
  max-width: 1080px;
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

button {
  background: var(--white);
  cursor: pointer;
}

p {
  color: rgba(255, 255, 255, 1);
  font-size: 16px;
  font-weight: 500;
}

/* Header */
header {
  background: var(--white);
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.06);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  flex-direction: row;
  justify-content: space-between;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  /* padding: 0px 100px 0px 100px; */
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.logo::before {
  content: '';
  width: 32px;
  height: 32px;
  background: linear-gradient(
    135deg,
    var(--primary-purple) 0%,
    var(--primary-purple-light) 100%
  );
  border-radius: 8px;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-medium);
  font-weight: 500;
  transition: color 0.3s;
}

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

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

.lang-switch {
  display: flex;
  color: var(--text-light);
  font-size: 14px;
  align-items: center;
  gap: 12px;
}

.lang-btn {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  color: #333;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.lang-btn:hover {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

.lang-btn.active {
  background: var(--primary-purple);
  color: white;
  border-color: var(--primary-purple);
}

.lang-btn.active:hover {
  background: #6e5dc6;
  border-color: #6e5dc6;
}

.login {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--primary-purple);
  color: var(--white);
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #6e5dc6;
}

.btn-secondary {
  display: flex;
  color: rgba(110, 93, 198, 1);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  line-height: 130%;
}

/* Hero Section */
.hero {
  background: var(--white);
}

.hero-content {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 133px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 64px;
}

.hero-text h1 {
  color: rgba(9, 30, 66, 1);
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0%;
  text-align: left;
}

.hero-text .highlight {
  color: var(--primary-purple);
}

.hero-text p {
  color: rgba(9, 30, 66, 1);
  font-size: 16px;
  font-weight: 400;
  /* line-height: 130%; */
}

.hero-btn {
  background: var(--primary-purple);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-btn:hover {
  /* background: var(--white);
  color: var(--primary-purple);
  border-radius: 8px;
  border-color: var(--primary-purple); */
  transform: translateY(-2px);
  background: #6e5dc6;
}

.magic-band_icon {
  color: var(--white);
}

.hero-image {
  position: relative;
}

.app-screenshot {
  width: 100%;
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
}

/* Problem Questions Section */

.problems-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 39px;
}

.problems h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  color: rgba(9, 30, 66, 1);
  margin-bottom: 39px;
}

.problems-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 24px;
  max-width: 992px;
}

.problem-card {
  background: linear-gradient(
    90deg,
    rgba(203.55804443359375, 26.16779327392578, 247.9055938720703, 0.08),
    rgba(143, 126, 231, 0.08) 100%
  );
  padding: 24px 16px;
  border-radius: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
}

/* .problem-wide {
  max-width: 600px;
  margin: 0 auto;
} */

/* Statistics Banner */
.stats-banner {
  background: var(--primary-purple);
  color: var(--white);
  padding: 24px;
  border-radius: 16px;
  max-width: 1080px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 57px;
  min-height: 88px;
}

.stats-text {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stats-text span {
  font-size: 28px;
  font-weight: 700;
  white-space: nowrap;
}

.stats-text p {
  font-size: 16px;
  font-weight: 400;
}

.stats-btn {
  background: var(--white);
  color: var(--primary-purple);
  font-size: 16px;
  font-weight: 400;
  padding: 12px 16px 12px 16px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  min-width: 209px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stats-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Feature Sections */

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

.feature-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.feature-text .highlight {
  color: var(--primary-purple);
}

.feature-text p {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 32px;
  line-height: 1.6;
}

.feature-btn {
  background: var(--primary-purple);
  color: var(--white);
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.feature-btn:hover {
  transform: translateY(-2px);
  background: #6e5dc6;
}

.feature-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ Section */
.faq {
  background: var(--white);
}

.faq-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 32px;
}

.faq h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.faq-link {
  color: var(--primary-purple);
  text-decoration: none;
  float: right;
  font-weight: 500;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
  font-size: 16px;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.3s;
}

.faq-item:hover {
  color: var(--primary-purple);
}

.faq-arrow {
  transition: transform 0.3s ease;
  transform-origin: center;
}

.collapsible-faq.active .faq-arrow {
  transform: rotate(180deg);
}

/* Blog Section */
.blog .container {
  display: flex;
  flex-direction: column;
  gap: 33px;
}

.blog-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.blog-link {
  display: inline-flex;
  gap: 4px;
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 500;
}

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

.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.blog-image {
  height: 222px;
  width: 344px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  position: relative;
}

.blog-card:nth-child(2) .blog-image {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.blog-card:nth-child(3) .blog-image {
  background: linear-gradient(135deg, #a8e6cf, #dcedc1);
}

.blog-content {
  min-height: 174px;
  padding: 16px 12px 12px 12px;
}

.blog-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.blog-excerpt {
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 16px;
  line-height: 1.5;
}

.blog-read-btn {
  background: var(--primary-purple);
  color: var(--white);
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.blog-read-btn:hover {
  transform: translateY(-8px);
  background: #6e5dc6;
}

/* Pricing Section */
.pricing {
  width: 100%;
}

.pricing h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.pricing-subtitle {
  display: inline-flex;
  text-align: center;
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 60px;
  gap: 5px;
}

.pricing-subtitle .highlight {
  color: var(--primary-purple);
  font-weight: 600;
}

.pricing-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(220, 223, 228, 1);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s;
  gap: 24px;
}

.pricing-card.featured {
  background: var(--primary-purple);
  /* border-color: var(--accent-green); */
  color: var(--white);
  padding: 36px 24px;
}

.pricing-card:hover {
  box-shadow: 0 16px 40px rgba(139, 95, 191, 0.15);
}

.pricing-period {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

.pricing-card.featured .pricing-period {
  color: var(--white);
}

.pricing-amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-purple);
}

.pricing-card.featured .pricing-amount {
  color: var(--white);
}

.pricing-note {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-medium);
}

.pricing-card.featured .pricing-note {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-btn {
  display: flex;
  justify-content: center;
  min-width: 257px;
  background: var(--primary-purple);
  color: var(--white);
  padding: 12px 16px 12px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.pricing-card.featured .pricing-btn {
  background: var(--white);
  color: var(--primary-purple);
}

.pricing-btn:hover {
  transform: translateY(-2px);
  background: #6e5dc6;
}

.payment-note {
  text-align: center;
  margin-top: 24px;
  color: var(--text-medium);
  font-size: 14px;
}

/* Why Paid Section */
/* .why-paid {
  background: var(--bg-light);
} */

.why-paid h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.benefits-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 24px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 26px 16px;
  border-radius: 12px;
  background: rgba(247, 248, 249, 1);
  min-width: 252px;
}

.benefit-icon {
  width: 32px;
  height: 32px;
}

.benefit-title {
  color: rgba(110, 93, 198, 1);
  font-size: 16px;
  font-weight: 500;
}

.benefit-text {
  color: rgba(9, 30, 66, 1);
  font-size: 14px;
  font-weight: 400;
}

.pricing-link {
  text-align: center;
  margin-top: 40px;
}

.pricing-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-purple);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.pricing-link:hover {
  transform: translateY(-2px);
  background: #6e5dc6;
}

/* Footer */
footer {
  background: rgba(43, 39, 63, 1);
  color: var(--white);
  padding: 42px 100px;
}

.footer-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.footer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* .footer-logo::before {
  content: '';
  width: 32px;
  height: 32px;
  background: linear-gradient(
    135deg,
    var(--primary-purple) 0%,
    var(--primary-purple-light) 100%
  );
  border-radius: 8px;
  display: block;
} */

.footer-nav {
  display: flex;
  gap: 32px;
  margin-bottom: 20px;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.footer-contact {
  font-size: 12px;
}

.footer-contacts {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-company {
  text-align: right;
}

.footer-text {
  font-size: 12px;
}

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.social-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: background 0.3s;
}

.social-icon:hover {
  background: var(--primary-purple);
}

.it-park_logo {
  max-height: 150px;
  max-width: 150px;
}

.footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  font-size: 14px;
  color: #9ca3af;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content,
  .feature-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

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

  .stats-banner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .blog-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }
}

.collapsible-container {
  background: white;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.collapsible-header {
  padding: 20px;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6366f1;
  font-weight: 500;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: background-color 0.2s;
}

.collapsible-header:hover {
  background-color: #f8fafc;
}

.arrow {
  transition: transform 0.3s ease;
  font-size: 18px;
  color: #9ca3af;
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #fafafa;
}

.collapsible-content.active {
  max-height: 500px;
  padding: 20px;
  border-top: 1px solid #e5e7eb;
}

.collapsible-header.active .arrow {
  transform: rotate(180deg);
}

.content-text {
  line-height: 1.6;
  color: #374151;
}
