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

:root {
  /* Brand Colors */
  --navy: #1a1f3d;
  --navy-light: #252b50;
  --navy-dark: #12162e;
  --orange: #f27a1a;
  --orange-light: #ff9642;
  --orange-dark: #d46510;
  --green: #2ecc71;
  --green-light: #4fdc8c;
  --green-dark: #27ae60;
  --white: #ffffff;
  --gray-50: #f8f9fc;
  --gray-100: #eef0f5;
  --gray-200: #d8dce6;
  --gray-400: #9ca3b8;
  --gray-600: #5c6380;
  --gray-800: #2d3250;

  /* Typography */
  --font-display: 'DM Sans', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Spacing */
  --section-pad: 100px 0;
  --container-width: 1140px;

  /* Misc */
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(26, 31, 61, 0.06);
  --shadow-md: 0 8px 30px rgba(26, 31, 61, 0.1);
  --shadow-lg: 0 16px 50px rgba(26, 31, 61, 0.14);
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 31, 61, 0.06);
  transition: var(--transition);
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--navy);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
  border-radius: 2px;
}

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

.nav-links a:hover::after {
  width: 100%;
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-100);
  padding: 4px;
  border-radius: 8px;
}

.lang-switch a {
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  border-radius: 6px;
  transition: var(--transition);
  text-transform: uppercase;
}

.lang-switch a.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.lang-switch a:hover:not(.active) {
  color: var(--gray-600);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  padding: 12px 28px;
  box-shadow: 0 4px 16px rgba(242, 122, 26, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(242, 122, 26, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  padding: 11px 27px;
  border: 2px solid var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  padding: 14px 32px;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(170deg, var(--gray-50) 0%, var(--white) 60%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 122, 26, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 122, 26, 0.08);
  color: var(--orange);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  animation: fadeInDown 0.6s ease;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  animation: fadeInUp 0.7s ease;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.9s ease;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  animation: fadeInUp 1s ease;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
}

.hero-stat .number span {
  color: var(--orange);
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 2px;
}

/* ===== FEATURES ===== */
.features {
  padding: var(--section-pad);
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.6;
}

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

.feature-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  opacity: 0;
  transition: var(--transition);
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.feature-icon.orange {
  background: rgba(242, 122, 26, 0.1);
  color: var(--orange);
}

.feature-icon.green {
  background: rgba(46, 204, 113, 0.1);
  color: var(--green);
}

.feature-icon.navy {
  background: rgba(26, 31, 61, 0.08);
  color: var(--navy);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== HIGHLIGHT (Offline/Online) ===== */
.highlight {
  padding: var(--section-pad);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.highlight::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(242, 122, 26, 0.08) 0%, transparent 60%);
}

.highlight-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.highlight-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.highlight-text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 32px;
}

.highlight-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.highlight-feature .icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(46, 204, 113, 0.12);
  color: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.highlight-feature .text h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 2px;
}

.highlight-feature .text p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

.highlight-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mode-cards {
  display: flex;
  gap: 20px;
  perspective: 800px;
}

.mode-card {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  width: 200px;
  text-align: center;
  transition: var(--transition);
}

.mode-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
}

.mode-card .mode-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.mode-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 6px;
}

.mode-card p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

/* ===== PRICING ===== */
.pricing {
  padding: var(--section-pad);
  background: var(--gray-50);
}

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--green));
}

.pricing-tag {
  display: inline-block;
  background: rgba(242, 122, 26, 0.08);
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.pricing-price .currency {
  font-size: 1.2rem;
  color: var(--gray-400);
  font-weight: 600;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 36px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}

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

.pricing-features li .check {
  color: var(--green);
  font-size: 1.1rem;
  min-width: 20px;
}

.pricing-card .btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* ===== ABOUT ===== */
.about {
  padding: var(--section-pad);
  background: var(--white);
}

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

.about-text .section-tag {
  text-align: left;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-stat {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.about-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.about-stat .number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat .label {
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* ===== CONTACT ===== */
.contact {
  padding: var(--section-pad);
  background: var(--gray-50);
}

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

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(242, 122, 26, 0.08);
  color: var(--orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item .text {
  font-size: 0.95rem;
  color: var(--gray-600);
}

.contact-item .text strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-50);
  color: var(--gray-800);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(242, 122, 26, 0.08);
}

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

.contact-form .btn-primary {
  width: 100%;
  padding: 14px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding: 48px 0 28px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

  .highlight-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .highlight-visual {
    order: -1;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    order: -1;
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-pad: 70px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

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

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

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

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat .number {
    font-size: 1.6rem;
  }

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

  .section-header h2,
  .highlight-text h2,
  .about-text h2 {
    font-size: 1.8rem;
  }

  .mode-cards {
    flex-direction: column;
    align-items: center;
  }

  .mode-card {
    width: 100%;
    max-width: 260px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pricing-card {
    padding: 36px 24px;
  }

  .pricing-price {
    font-size: 2.4rem;
  }

  .lang-switch {
    order: -1;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}
