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

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

body {
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  color: #1a202c;
  background-color: #F5F7FB;
}

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

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

/* Color Variables */
:root {
  --primary: #0D9488;
  --primary-dark: #0F766E;
  --primary-light: #CCFBF1;
  --accent: #1A8C8C;
  --text-dark: #0F2F33;
  --text-gray: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --bg-hero: #F5F7FB;
  --bg-white: #ffffff;
  --star-color: #F59E0B;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-md {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-logo {
  cursor: pointer;
  display: flex;
  align-items: center;
  z-index: 10;
}

.navbar-logo img {
  height: 36px;
  width: auto;
}

.navbar-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  flex-direction: column;
  padding: 80px 32px 32px;
  gap: 32px;
}

.navbar-menu.active {
  display: flex;
}

.navbar-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.navbar-link {
  color: var(--text-dark);
  padding: 12px 0;
  font-size: 1.125rem;
  font-weight: 500;
  transition: color 0.2s;
  border-bottom: 1px solid var(--border);
}

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

.navbar-login {
  color: var(--text-gray);
}

.navbar-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}

.btn-navbar {
  padding: 10px 20px;
  font-size: 0.9375rem;
}

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

.btn-outline:hover {
  border-color: var(--primary-dark);
  background: rgba(13, 148, 136, 0.04);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-gray);
  background: rgba(255, 255, 255, 0.5);
}

/* ==================== HERO SECTION ==================== */
.hero {
  background: var(--bg-hero);
  padding: 140px 32px 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  text-align: right;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-hero {
  padding: 16px 32px;
  font-size: 1.0625rem;
  border-radius: 10px;
  min-width: 180px;
}

.hero-microcopy {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Floating Icons */
.floating-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  animation: float 4s ease-in-out infinite;
  z-index: 10;
}

.floating-icon svg {
  width: 24px;
  height: 24px;
}

.floating-email {
  top: 10%;
  right: -20px;
  color: var(--primary);
  animation-delay: 0s;
}

.floating-whatsapp {
  bottom: 20%;
  right: -30px;
  color: #25D366;
  animation-delay: 1s;
}

.floating-pdf {
  top: 30%;
  left: -20px;
  color: #EF4444;
  animation-delay: 2s;
}

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

/* Dashboard Mockup */
.dashboard-mockup {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.06),
    0 24px 48px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  width: 100%;
  max-width: 500px;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(248, 250, 252, 0.8);
  border-bottom: 1px solid var(--border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E2E8F0;
}

.mockup-dots span:first-child { background: #FCA5A5; }
.mockup-dots span:nth-child(2) { background: #FCD34D; }
.mockup-dots span:last-child { background: #86EFAC; }

.mockup-title {
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 500;
}

.mockup-content {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mockup-card {
  background: white;
  border-radius: 10px;
  padding: 14px;
  border: 1px solid var(--border);
}

.mockup-label {
  font-size: 0.6875rem;
  color: var(--text-gray);
  display: block;
  margin-bottom: 8px;
}

.mockup-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
}

.mockup-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
}

.mockup-trend.positive {
  color: var(--primary);
}

/* Chart */
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  margin-top: 8px;
}

.chart-bar {
  flex: 1;
  background: #E2E8F0;
  border-radius: 3px;
  transition: background 0.2s;
}

.chart-bar.active {
  background: var(--primary);
}

/* Invoice rows */
.mockup-invoices {
  grid-column: span 2;
}

.invoice-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.8125rem;
}

.invoice-row:last-child {
  border-bottom: none;
}

.invoice-vendor {
  color: var(--text-dark);
  font-weight: 500;
}

.invoice-amount {
  color: var(--text-gray);
  font-weight: 600;
}

/* Tags */
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.tag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.tag-blue {
  background: #DBEAFE;
  color: #1D4ED8;
}

.tag-green {
  background: #DCFCE7;
  color: #15803D;
}

.tag-purple {
  background: #F3E8FF;
  color: #7C3AED;
}

/* ==================== DASHBOARD PREVIEW ==================== */
.dashboard-preview {
  padding: 32px 0 48px;
  background: var(--bg-white);
}

.dashboard-preview-image {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(16, 185, 129, 0.25);
}

/* ==================== BENEFITS SECTION ==================== */
.benefits {
  padding: 64px 0 96px;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.section-title-brand {
  color: var(--primary);
}

.section-subtitle {
  color: var(--text-gray);
  font-weight: 400;
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.benefit-card {
  padding: 32px;
  border-radius: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.1);
  border-color: var(--primary);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  margin-bottom: 24px;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.benefit-title {
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 1.125rem;
  color: var(--text-dark);
}

.benefit-description {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
  padding: 64px 0 96px;
  background: var(--bg-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.step {
  text-align: center;
}

.step-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  margin: 0 auto 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.step-icon svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
}

.step-title {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1.35rem;
  color: var(--text-dark);
}

.step-description {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 1rem;
}

/* ==================== FEATURES ==================== */
.features {
  padding: 64px 0 96px;
  background: var(--bg-white);
}

.features-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.feature-card {
  padding: 32px;
  border-radius: 20px;
  background: var(--bg-light);
  border: none;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-white);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.feature-title {
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 1.125rem;
  color: var(--text-dark);
}

.feature-description {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
  padding: 64px 0 96px;
  background: var(--bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.testimonial-card {
  padding: 32px;
  border-radius: 24px;
  background: var(--bg-white);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.quote-icon {
  margin-bottom: 24px;
  color: var(--primary);
  opacity: 0.7;
}

.quote-icon svg {
  width: 40px;
  height: 40px;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.star {
  color: var(--star-color);
}

.star svg {
  width: 20px;
  height: 20px;
}

.testimonial-quote {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
  font-size: 1rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.testimonial-role {
  color: var(--text-gray);
  font-size: 0.9375rem;
}

/* ==================== FAQ SECTION ==================== */
.faq {
  padding: 64px 0 96px;
  background: var(--bg-white);
}

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

.faq-item {
  padding: 24px;
  border-radius: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
}

.faq-question {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.faq-answer {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 1rem;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-description {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-section-title {
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-dark);
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-gray);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-copyright {
  color: var(--text-gray);
  font-size: 0.875rem;
}

.social-icons {
  display: flex;
  gap: 8px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  transition: all 0.2s;
}

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

.social-icon svg {
  width: 18px;
  height: 18px;
}

.footer-email {
  color: var(--text-gray);
  font-size: 0.875rem;
}

/* ==================== PRICING PAGE ==================== */
.pricing-page {
  background: var(--bg-light);
  min-height: 100vh;
  padding: 64px 0;
}

.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-title-highlight {
  color: var(--primary);
}

.pricing-subtitle {
  color: var(--text-gray);
  font-weight: 400;
  margin-bottom: 32px;
}

.billing-toggle {
  display: inline-flex;
  position: relative;
  background: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 4px;
}

.billing-toggle-btn {
  padding: 12px 32px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
}

.billing-toggle-btn.active {
  background: var(--primary);
  color: white;
}

.billing-toggle-btn:hover:not(.active) {
  background: rgba(16, 185, 129, 0.08);
}

.savings-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--bg-white);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.2);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(16, 185, 129, 0.2);
}

.popular-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
}

.pricing-card-header {
  margin-bottom: 24px;
}

.pricing-card-name {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.pricing-card-subtitle {
  color: var(--text-gray);
}

.pricing-card-price {
  margin-bottom: 24px;
}

.price-amount {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--primary);
}

.price-period {
  color: var(--text-gray);
  font-size: 1rem;
  margin-right: 8px;
}

.price-yearly-info {
  color: var(--text-gray);
  font-size: 0.875rem;
  margin-top: 8px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}

.pricing-feature-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.pricing-feature-icon svg {
  width: 20px;
  height: 20px;
}

.pricing-feature-text {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.btn-pricing {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.125rem;
}

.pricing-note {
  text-align: center;
  color: var(--text-gray);
  font-size: 0.875rem;
  margin-top: 16px;
}

/* Pricing FAQ */
.pricing-faq {
  margin-top: 96px;
}

.pricing-faq-title {
  text-align: center;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.pricing-faq-subtitle {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-faq-item {
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-white);
}

.pricing-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: right;
}

.pricing-faq-question-text {
  font-weight: 600;
  font-size: 1.1rem;
}

.pricing-faq-icon {
  transition: transform 0.3s;
}

.pricing-faq-item.open .pricing-faq-icon {
  transform: rotate(180deg);
}

.pricing-faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-gray);
  line-height: 1.8;
}

.pricing-faq-item.open .pricing-faq-answer {
  display: block;
}

/* ==================== RESPONSIVE ==================== */

/* Tablet and up */
@media (min-width: 768px) {
  /* Navbar Desktop */
  .navbar-toggle {
    display: none;
  }

  .navbar-menu {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    background: transparent;
    gap: 32px;
    align-items: center;
  }

  .navbar-links {
    flex-direction: row;
    gap: 8px;
  }

  .navbar-link {
    padding: 8px 16px;
    font-size: 0.9375rem;
    border-bottom: none;
  }

  .navbar-actions {
    flex-direction: row;
    gap: 16px;
  }

  /* Hero */
  .hero-cta {
    flex-direction: row;
    gap: 16px;
  }

  .hero-title {
    font-size: 3rem;
  }

  /* Sections */
  .section-title {
    font-size: 2.75rem;
  }

  .section-subtitle {
    font-size: 1.125rem;
  }

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

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 2fr;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-title {
    font-size: 3rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  /* Hero Split Layout */
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .hero-title {
    font-size: 3.25rem;
  }

  .hero-subtitle {
    font-size: 1.1875rem;
  }

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

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