/* ===== Custom Properties ===== */
:root {
  --color-primary: #E8734A;
  --color-primary-dark: #D4603A;
  --color-primary-light: #FF8A65;
  --color-accent: #FF6B6B;
  --color-bg: #FFFAF7;
  --color-bg-alt: #FFF5F0;
  --color-surface: #FFFFFF;
  --color-text: #2D2D2D;
  --color-text-light: #6B6B6B;
  --color-text-muted: #9E9E9E;
  --color-border: #F0E6E0;
  --shadow-sm: 0 2px 8px rgba(232, 115, 74, 0.08);
  --shadow-md: 0 4px 20px rgba(232, 115, 74, 0.12);
  --shadow-lg: 0 8px 40px rgba(232, 115, 74, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-main: 'Poppins', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1140px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

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

ul {
  list-style: none;
}

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 250, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-text);
}

.header__logo img {
  height: 40px;
  width: auto;
}

.nav__list {
  display: flex;
  gap: 8px;
}

.nav__link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--color-text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.hero__logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  animation: float 3s ease-in-out infinite;
  border-radius: var(--radius-lg);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--color-text-light);
  max-width: 540px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 115, 74, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 115, 74, 0.4);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

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

.section--alt {
  background: var(--color-bg-alt);
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 32px 20px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.step__number {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-bg-alt);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step__desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature {
  padding: 36px 28px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.feature:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature__icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.feature__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ===== Hero Trial Badge ===== */
.hero__trial-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(232, 115, 74, 0.25);
}

/* ===== Pricing ===== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing__card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  border: 2px solid transparent;
  position: relative;
}

.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing__card--featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
  z-index: 1;
}

.pricing__card--featured:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 12px 48px rgba(232, 115, 74, 0.22);
}

.pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  padding: 6px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(232, 115, 74, 0.3);
}

.pricing__header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.pricing__plan {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.pricing__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pricing__amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing__unit {
  font-size: 1.1rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.pricing__period {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.pricing__features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  text-align: left;
}

.pricing__feature {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--color-border);
}

.pricing__feature:last-child {
  border-bottom: none;
}

.pricing__feature--disabled {
  color: var(--color-text-muted);
}

.pricing__check {
  color: #4CAF50;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pricing__cross {
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

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

.pricing__trial {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 16px;
}

.pricing__payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--color-text-light);
  flex-wrap: wrap;
}

.pricing__payment-badge {
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg-alt);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.pricing__payment-sep {
  color: var(--color-text-muted);
}

/* ===== CTA Banner ===== */
.cta-banner {
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-lg);
  color: #fff;
  margin: 0 24px;
}

.cta-banner__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner__text {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 28px;
}

.cta-banner .btn {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  color: var(--color-primary-dark);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer__brand {
  max-width: 280px;
}

.footer__brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__brand-name img {
  height: 32px;
  border-radius: 6px;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__links h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-primary-light);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

.footer__bottom a {
  color: var(--color-primary-light);
}

/* ===== Legal Pages ===== */
.page-hero {
  padding: 120px 0 48px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.page-hero__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-hero__date {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.legal {
  padding: 48px 0 80px;
}

.legal__content {
  max-width: 780px;
  margin: 0 auto;
  background: var(--color-surface);
  padding: 48px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.legal__content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--color-primary);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}

.legal__content h2:first-child {
  margin-top: 0;
}

.legal__content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 20px 0 8px;
}

.legal__content p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.legal__content ul {
  margin: 8px 0 16px 20px;
  list-style: disc;
}

.legal__content li {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 4px;
}

.legal__content strong {
  color: var(--color-text);
}

.legal__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Support Page ===== */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background: var(--color-surface);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info {
  margin-top: 24px;
  padding: 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info a {
  font-weight: 600;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition);
}

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

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  transition: color var(--transition);
}

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

.faq-question .chevron {
  font-size: 1.2rem;
  transition: transform var(--transition);
  color: var(--color-primary);
}

.faq-item.open .faq-question .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 18px;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing__card--featured {
    transform: none;
    order: -1;
  }

  .pricing__card--featured:hover {
    transform: translateY(-4px);
  }

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

@media (max-width: 768px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1.05rem;
  }

  .section__title {
    font-size: 1.6rem;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-surface);
    flex-direction: column;
    padding: 88px 24px 24px;
    gap: 4px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
  }

  .nav__list.open {
    right: 0;
  }

  .nav__link {
    padding: 12px 16px;
    font-size: 1.05rem;
  }

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

  .legal__content {
    padding: 28px 20px;
  }

  .cta-banner {
    margin: 0 12px;
    padding: 48px 20px;
  }

  .cta-banner__title {
    font-size: 1.4rem;
  }

  .contact-card {
    padding: 28px 20px;
  }
}

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

  .hero {
    padding: 120px 0 60px;
  }

  .hero__logo {
    width: 90px;
    height: 90px;
  }

  .hero__title {
    font-size: 1.7rem;
  }

  .section {
    padding: 56px 0;
  }
}
