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

:root {
  --primary-color: #e87024;
  --primary-hover: #d66018;
  --primary-light: #fff5f0;

  --secondary-bg: #f2f2f2;

  --text-main: #1a1a1a;
  --text-muted: #555555;
  --text-light: #999999;

  --white: #ffffff;
  --black: #111111;
  --border-color: #e0e0e0;

  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.08);

  --radius-btn: 50px;
  --radius-card: 12px;

  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

h1,
h2,
h3,
h4,
.logo,
.btn,
.card-header {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}
a {
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 12px rgba(232, 112, 36, 0.2);
  border-radius: 50px;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid #ccc;
  border-radius: 50px;
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-color);
  font-weight: 800;
  border-radius: 50px;
}

.btn-white:hover {
  background-color: #f9f9f9;
  transform: translateY(-2px);
}

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.8rem 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
}
.logo span {
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-links a:hover {
  color: var(--primary-color);
}

.hero {
  padding: 10rem 0 8rem;
  background-color: var(--secondary-bg);
  background: radial-gradient(circle at top center, #fff5f0 0%, #ffffff 100%);
  text-align: left;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--text-main);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 90%;
}

.platform-badges {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  color: #888;
  font-size: 1.8rem;
  align-items: center;
}
.platform-badges span {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  position: relative;
  animation: fadeIn 1s ease-out;
}

.hero-image img {
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 6rem 0;
}
.bg-white {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.section-header p {
  font-size: 1.1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-header {
  background: var(--primary-color);

  color: #fff;
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-card {
  margin-top: auto;
  padding: 0.5rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.btn-card:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

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

.feature-item {
  display: flex;
  gap: 1rem;
}
.feature-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 5px;
}
.feature-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.cta-box {
  background:
    linear-gradient(rgba(232, 112, 36, 0.9), rgba(214, 96, 24, 0.9)),
    url("../img/cta_bg.png");
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 5rem 2rem;
  text-align: center;
  color: var(--white);
  box-shadow: 0 20px 40px rgba(232, 112, 36, 0.25);
  margin: 2rem auto 0;
  max-width: 1000px;
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.cta-box p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
}

footer {
  background: #1a1a1a;
  color: #999;
  padding: 5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}
.footer-col a {
  color: #999;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--primary-color);
  margin-left: 5px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.footer-social a {
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  background: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--primary-color);
  color: #ffffff !important;
  transform: translateY(-3px);
}

.copyright {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Mobile & Responsive */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-buttons {
  display: flex;
  gap: 10px;
}

/* Global Image Reset */
img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  /* Navbar Mobile */
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: -1;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-buttons {
    flex-direction: column;
    width: 100%;
  }

  .nav-buttons .btn {
    width: 100%;
  }

  /* Hero Adjustments */
  .hero {
    padding: 8rem 0 4rem;
  }

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

  .hero p {
    margin: 0 auto 2rem;
    font-size: 1rem;
  }

  /* Grid Adjustments */
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .platform-badges {
    justify-content: center;
    font-size: 0.8rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

.scroll-top-btn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  font-size: 1.2rem;
  border: none;
  outline: none;
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  padding: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  align-items: center;
  justify-content: center;
}

.scroll-top-btn.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* --- Professional Animations --- */

/* Base Fade Up State (Hidden) */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
}

/* Active State (Visible) */
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays */
.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}
.delay-400 {
  transition-delay: 0.4s;
}

/* Enhanced Card Hover */
.card {
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Refactored Inline Styles & Utilities */
.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-white {
  color: var(--white) !important;
}

.footer-brand-title {
  color: #fff;
  font-size: 1.2rem;
}

.footer-brand-desc {
  margin-bottom: 1.5rem;
}

.footer-list {
  padding: 0;
  list-style: none;
}

/* Legal Pages */
.legal-container {
  max-width: 800px;
  padding-top: 4rem;
}

.legal-header {
  text-align: left;
  margin-bottom: 2rem;
}

.legal-content {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.legal-subheading {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

/* --- Pricing Page Styles --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  border: 1px solid #eee;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.pricing-card.popular {
  border: 3px solid var(--primary-color);
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.pricing-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.price-period {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.features-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.features-list li i {
  color: var(--primary-color);
  margin-top: 3px;
}

.pricing-cta {
  margin-top: 2rem;
}

.faq-section {
  max-width: 800px;
  margin: 4rem auto 2rem;
}

.faq-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: var(--text-muted);
}

/* --- Contact Page Styles --- */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 4rem;
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

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

.form-message {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  display: none;
}

.form-message.success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.form-message.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.contact-info {
  text-align: center;
  padding: 2rem 0;
}

.contact-info-item {
  margin: 1rem 0;
}

.contact-info-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
