/* =========================================================
   DocEazi Web — Style System
   ========================================================= */

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

:root {
  --primary: #05b050;
  --primary-hover: #049443;
  --primary-light: #e6f7ed;
  --secondary: #2563eb;
  --secondary-hover: #1d4ed8;
  --dark-bg: #0f172a;
  --dark-surface: #1e293b;
  --dark-card: #182234;
  --text-main: #334155;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.25s ease;
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

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

/* Typography (Moderate, Simple Sizes) */
h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-dark);
}

h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
}

p {
  font-size: 15px;
  color: var(--text-muted);
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

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

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  line-height: 1;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 176, 80, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 176, 80, 0.45);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #ffffff;
}

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

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

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

.btn-outline-dark:hover {
  background: var(--bg-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* Header Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0d281a 100%);
  padding: 140px 0 90px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 176, 80, 0.15);
  border: 1px solid rgba(5, 176, 80, 0.4);
  color: #4ade80;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 16px;
  color: #94a3b8;
  margin: 18px 0 28px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Interactive Card Mockup */
.hero-card-mockup {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

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

.mockup-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.mockup-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.m-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 16px;
}

.m-num {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.m-lbl {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
}

.mockup-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 14px;
}

.m-link-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.m-link-info span {
  font-size: 11px;
  color: #05b050;
}

.m-link-clicks {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
}

/* Feature Showcase Sections (Alternating) */
.showcase {
  padding: 80px 0;
}

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

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.showcase-grid.reverse {
  direction: rtl;
}

.showcase-grid.reverse > * {
  direction: ltr;
}

.showcase-content h2 {
  margin-bottom: 16px;
}

.showcase-list {
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-main);
}

.showcase-list li span {
  color: var(--primary);
  font-weight: 800;
}

.showcase-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}

/* Interactive Demo / Form Box */
.demo-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.demo-field {
  margin-bottom: 14px;
}

.demo-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: block;
}

.demo-input {
  width: 100%;
  padding: 9px 12px;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  transition: var(--transition);
}

.demo-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 176, 80, 0.12);
}

.demo-output {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  margin-top: 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-output code {
  color: var(--primary);
  font-weight: 700;
}

/* Features Grid Section */
.features-section {
  padding: 90px 0;
  background-color: #ffffff;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: var(--transition);
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
}

/* Pricing Section */
.pricing-section {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 26px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.price-card.featured {
  border: 2px solid #05b050;
  box-shadow: var(--shadow-md);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #05b050;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.price-badge.badge-agencies,
.price-badge.badge-dark {
  background: #0f172a;
  color: #ffffff;
}

.price-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.price-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
}

.price-val {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 10px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-val span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.price-features li {
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-main);
  line-height: 1.45;
}

.price-features li span {
  color: #05b050;
  font-weight: 800;
  display: inline-block;
  min-width: 16px;
  font-size: 14px;
}

.price-features li span.check-green {
  color: #05b050;
}

.price-features li span.check-blue {
  color: #2563eb;
}

.price-card.developer-card .price-features li span {
  color: #2563eb;
}

.price-features li.disabled {
  color: var(--text-muted);
  opacity: 0.65;
}

.price-features li.disabled span {
  color: #94a3b8;
}

.price-card .btn {
  width: 100%;
}

.btn-blue {
  background-color: #2563eb;
  color: #ffffff !important;
  border: 1px solid #2563eb;
}

.btn-blue:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-green {
  background-color: #05b050;
  color: #ffffff !important;
  border: 1px solid #05b050;
}

.btn-green:hover {
  background-color: #049342;
  border-color: #049342;
}

/* Testimonials */
.testimonials-section {
  padding: 85px 0;
  background-color: #ffffff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testi-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.testi-quote {
  font-size: 15px;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.6;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.testi-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.testi-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* Support Section */
.support-section {
  padding: 85px 0;
  background-color: var(--bg-light);
}

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

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}

.support-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.support-card h3 {
  margin-bottom: 8px;
}

.support-card p {
  font-size: 14px;
  margin-bottom: 18px;
}

/* CTA Banner Section */
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #0d281a 100%);
  padding: 70px 0;
  color: #ffffff;
  text-align: center;
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-banner p {
  color: #cbd5e1;
  max-width: 520px;
  margin: 0 auto 28px;
}

/* Footer */
.footer {
  background-color: #0b1120;
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-logo img {
  height: 34px;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 14px;
  color: #64748b;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: #94a3b8;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .showcase-grid,
  .features-grid,
  .testimonial-grid,
  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .nav-links {
    display: none;
  }
}

/* =========================================================
   WooCommerce Cart & Checkout Enhancements
   ========================================================= */
.woocommerce .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals {
  margin-top: 20px;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce a.button,
.woocommerce button.button {
  background-color: var(--primary) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  transition: var(--transition) !important;
  border: none !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background-color: var(--primary-hover) !important;
  box-shadow: 0 4px 14px rgba(5, 176, 80, 0.35) !important;
}

.woocommerce table.shop_table {
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.woocommerce table.shop_table th {
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
  font-weight: 700 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  box-shadow: var(--shadow-sm) !important;
}
