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

:root {
  --primary: #07111c;
  --primary-light: #163b56;
  --accent: #00d4c8;
  --accent-dark: #00a99f;
  --cta: #F97316;
  --cta-hover: #ea580c;
  --bg: #f5f8fb;
  --surface: #FFFFFF;
  --text: #0e1525;
  --muted: #5a6b82;
  --border: #e1e7ef;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 14px 40px rgba(7, 17, 28, 0.08);
  --shadow-lg: 0 24px 70px rgba(7, 17, 28, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary);
}

.logo img {
  height: 44px;
  width: auto;
  border-radius: 12px;
}

.logo--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 2rem;
}

.logo--center img {
  height: 86px;
  border-radius: 22px;
}

.logo--center small {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 600;
  color: var(--text);
  font-size: 0.98rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent-dark);
}

.nav .btn {
  padding: 12px 22px;
  font-size: 0.95rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

.lang-switch button {
  background: transparent;
  border: none;
  padding: 7px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
}

.lang-switch button.active,
.lang-switch button:hover {
  color: var(--primary);
  background: #e6f7f6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 17px 34px;
  font-size: 1.05rem;
  border-radius: 16px;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
}

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

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
}

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

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

.btn-dark:hover {
  background: var(--primary-light);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, var(--primary) 0%, #0d2a3f 60%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

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

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.12;
  font-weight: 800;
  max-width: 900px;
  margin-bottom: 22px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 720px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 52px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 32px 42px;
  width: 100%;
  max-width: 680px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.hero-card .status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 26px;
  padding: 8px 16px;
  background: rgba(0, 212, 200, 0.12);
  border: 1px solid rgba(0, 212, 200, 0.25);
  border-radius: 999px;
  color: #fff;
}

.hero-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 212, 200, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 200, 0.35); }
  70% { box-shadow: 0 0 0 10px rgba(0, 212, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 200, 0); }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hero-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero-stats-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
}

.hero-stats-label {
  font-size: 0.9rem;
  opacity: 0.75;
  font-weight: 500;
}

/* Trust bar */
.trust {
  padding: 40px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 18px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.trust-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.trust-item .icon {
  width: 52px;
  height: 52px;
  background: #e6f7f6;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-size: 1.35rem;
}

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

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-title h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.section-title p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* Use cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

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

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.case-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-dark) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #fff;
  font-size: 1.7rem;
}

.case-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.case-card p {
  color: var(--muted);
  font-size: 1rem;
}

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

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

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-dark) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #fff;
  font-size: 1.7rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.feature-card p {
  color: var(--muted);
  font-size: 1rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 38px 28px;
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 18px 50px rgba(0, 212, 200, 0.14);
}

.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.pricing-card .subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.pricing-card .price {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--primary);
}

.pricing-card .price-period {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-card ul li {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
  display: flex;
  gap: 10px;
  color: var(--text);
}

.pricing-card ul li:before {
  content: '✓';
  color: var(--accent-dark);
  font-weight: 800;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Contact / Demo */
.contact {
  background: var(--primary);
  color: #fff;
}

.contact .section-title h2,
.contact .section-title p {
  color: #fff;
}

.demo-form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

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

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.98rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #f8fcfc;
  box-shadow: 0 0 0 3px rgba(0, 212, 200, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group select option {
  color: var(--text);
  background: #fff;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-group.checkbox input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--accent-dark);
}

.form-group.checkbox label {
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-group.checkbox a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.error-message {
  color: #dc2626;
  font-size: 0.95rem;
  margin-top: 10px;
  display: none;
}

.error-message.visible {
  display: block;
}

.success-message {
  color: #047857;
  font-size: 1rem;
  margin-top: 14px;
  display: none;
}

.success-message.visible {
  display: block;
}

/* FAQ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:after {
  content: '+';
  font-size: 1.6rem;
  color: var(--accent-dark);
  font-weight: 500;
}

.faq-item.active .faq-question:after {
  content: '−';
}

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

.faq-answer p {
  padding: 0 28px 24px;
  color: var(--muted);
  font-size: 1rem;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

/* CTA */
.cta {
  background: var(--primary);
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 72px 40px;
  margin: 0 auto;
  max-width: 1140px;
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: #050b14;
  color: #94a3b8;
  padding: 72px 0 28px;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer .logo {
  flex-direction: row;
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.footer .logo img {
  height: 44px;
  border-radius: 12px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #94a3b8;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 22px;
  font-size: 0.9rem;
  text-align: center;
}

/* Legal pages */
.legal-page {
  padding: 64px 0;
}

.legal-page h1 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 28px;
}

.legal-page h2 {
  color: var(--primary);
  font-size: 1.35rem;
  margin: 32px 0 12px;
}

.legal-page p,
.legal-page li {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 1rem;
}

.legal-page ul {
  padding-left: 26px;
  margin-bottom: 18px;
}

.legal-page ol {
  padding-left: 26px;
  margin-bottom: 18px;
}

.legal-page code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 700;
}

.back-link:hover {
  color: var(--primary-light);
}

/* Checkout */
.checkout-page {
  padding: 70px 0;
  min-height: 70vh;
}

.checkout-card {
  max-width: 540px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.checkout-card h1 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.checkout-card .plan-price {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--primary);
}

.radio-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.radio-item {
  flex: 1 1 130px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.radio-item span {
  font-weight: 700;
  color: var(--text);
}

.radio-item:hover,
.radio-item.active {
  border-color: var(--accent);
  background: #e6f7f6;
}

.radio-item input {
  display: none;
}

.radio-item input:checked + span {
  color: var(--primary);
}

/* Mobile */
@media (max-width: 1024px) {
  .cases-grid,
  .features-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.8rem;
  }

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

  .nav a:not(.btn) {
    display: none;
  }

  .nav .btn {
    order: -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 60px 0 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-card {
    padding: 26px 22px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section {
    padding: 70px 0;
  }

  .section-title h2 {
    font-size: 1.85rem;
  }

  .cases-grid,
  .features-grid,
  .pricing-grid,
  .trust-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card .price {
    font-size: 2.3rem;
  }

  .logo--center img {
    height: 70px;
  }

  .logo--center span {
    font-size: 1.55rem;
  }

  .demo-form {
    padding: 28px 22px;
  }

  .cta {
    padding: 48px 24px;
  }

  .footer {
    margin-top: 70px;
  }
}
