/* =========================================
   InvoiceGate — styles1.css (Clean + Consistent)
   Hero + Pricing + Feature Cards (EN like AR) + Sections + Footer
   ========================================= */

/* ===== Variables ===== */
:root{
  --navy: #0A192F;
  --navy-2: #071427;

  --blue: #1E90FF;
  --blue-soft: #4da6ff;

  --border: rgba(255,255,255,0.12);
  --border-2: rgba(255,255,255,0.16);

  --glass: rgba(255,255,255,0.06);
  --glass-2: rgba(255,255,255,0.05);

  --text-muted: rgba(255,255,255,0.78);
  --text-soft: rgba(255,255,255,0.68);

  /* spacing knobs */
  --header-h: 86px;
  --hero-min-h: 680px;
  --hero-pad-top: 26px;
  --hero-pad-bottom: 56px;
}

/* ===== Reset ===== */
*,
*::before,
*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--navy);
  color:#fff;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

main{ flex: 1 0 auto; }

a{
  color: var(--blue);
  text-decoration:none;
  transition: color .18s ease, background-color .18s ease, transform .18s ease, opacity .18s ease;
}
a:hover{ color: var(--blue-soft); }

/* ===== Layout ===== */
.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 1.5rem;
}

/* ===== Simple utilities used by your HTML ===== */
.min-h-screen{ min-height:100vh; }

.flex{ display:flex; }
.grid{ display:grid; }
.flex-wrap{ flex-wrap:wrap; }

.items-center{ align-items:center; }
.justify-between{ justify-content:space-between; }
.justify-center{ justify-content:center; }

.gap-4{ gap:1rem; }
.gap-6{ gap:1.5rem; }

.mt-2{ margin-top:.5rem; }
.mt-4{ margin-top:1rem; }
.mt-6{ margin-top:1.5rem; }
.mt-8{ margin-top:2rem; }
.mt-10{ margin-top:2.5rem; }
.mt-16{ margin-top:4rem; }

.p-6{ padding:1.5rem; }
.p-10{ padding:2.5rem; }
.py-14{ padding-top:3.5rem; padding-bottom:3.5rem; }

.text-sm{ font-size:.85rem; line-height:1.45; }
.text-lg{ font-size:1.05rem; line-height:1.65; }
.text-2xl{ font-size:1.5rem; line-height:1.25; }
.text-3xl{ font-size:1.9rem; line-height:1.2; }
.text-4xl{ font-size:2.3rem; line-height:1.1; }

.font-bold{ font-weight:700; }
.font-extrabold{ font-weight:800; }
.tracking-tight{ letter-spacing:-0.02em; }
.leading-relaxed{ line-height:1.7; }

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

.text-white\/70{ color: rgba(255,255,255,0.70); }
.text-white\/80{ color: rgba(255,255,255,0.80); }

.rounded-2xl{ border-radius: 22px; }
.rounded-3xl{ border-radius: 26px; }

/* responsive utility classes */
@media (min-width:768px){
  .md\:grid-cols-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:text-6xl{ font-size:3.75rem; line-height:1.05; }
}

/* ===== Glass base ===== */
.glass{
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

/* =========================================
   HEADER
   ========================================= */
.ig-header{
  position: sticky;
  top:0;
  z-index:9999;
  background: rgba(10,25,47,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.ig-header-inner{
  max-width:1200px;
  margin:0 auto;
  padding: 18px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.ig-brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
}

.ig-logo{
  width:44px !important;
  height:44px !important;
  max-width:44px !important;
  max-height:44px !important;
  object-fit:contain;
  display:block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.ig-brand-text{ line-height:1.05; }

.ig-title{
  font-size: 18px;
  font-weight: 800;
  letter-spacing:-0.02em;
}
.ig-title span{ color: var(--blue); }

.ig-sub{
  margin-top:2px;
  font-size:12px;
  color: rgba(255,255,255,0.70);
}

.ig-back{
  color: var(--blue);
  font-weight: 650;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
}
.ig-back:hover{
  background: rgba(255,255,255,0.10);
  transform: translateY(-1px);
}

/* Mobile header */
@media (max-width:768px){
  :root{
    --header-h: 74px;
    --hero-min-h: 560px;
    --hero-pad-top: 18px;
    --hero-pad-bottom: 28px;
  }

  .ig-header-inner{ padding: 16px 16px; }
  .ig-logo{ width:40px !important; height:40px !important; }
  .ig-title{ font-size:16px; }
  .ig-back{ padding: 9px 12px; }
}

/* =========================================
   HERO
   ========================================= */
.ig-hero{
  position: relative;
  width: 100%;
  min-height: var(--hero-min-h);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display:flex;
}

/* Background image */
.ig-hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.03);
  filter: saturate(1.05);
}

/* overlay layers */
.ig-hero-layer{
  position:absolute;
  inset:0;
}
.ig-hero-dark{ background: rgba(7,20,39,0.62); }
.ig-hero-blue{ background: rgba(30,144,255,0.12); }

.ig-hero-grad{
  background: linear-gradient(90deg,
    rgba(10,25,47,0.96) 0%,
    rgba(10,25,47,0.84) 52%,
    rgba(10,25,47,0.10) 100%);
}

.ig-hero-glow{
  background: radial-gradient(circle at 18% 28%,
    rgba(30,144,255,0.20),
    rgba(170, 80, 255, 0.10),
    transparent 60%);
  mix-blend-mode: screen;
  opacity: .95;
}

/* content */
.ig-hero-inner{
  position: relative;
  z-index: 5;
  width:100%;

  min-height: calc(var(--hero-min-h) - var(--header-h));
  display:flex;
  align-items: center;
  justify-content:flex-start;

  padding-top: var(--hero-pad-top);
  padding-bottom: var(--hero-pad-bottom);
}

/* pill */
.ig-pill{
  display:inline-flex;
  gap:.45rem;
  align-items:center;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.86);
  font-size: .85rem;
  margin-bottom: 0.5rem;
}

/* hero text */
.ig-hero h1{
  margin:0;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.03;
  max-width: 16ch;
  text-shadow: 0 10px 24px rgba(0,0,0,0.55);
}

.ig-hero p{
  margin-top: 1.25rem;
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 62ch;
  color: var(--text-muted);
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

/* buttons */
.ig-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding: .85rem 1.35rem;
  border-radius: 16px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .18s ease, opacity .18s ease, background-color .18s ease;
}

.ig-btn-primary{
  background:#ffffff;
  color: var(--navy);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}
.ig-btn-primary:hover{ opacity:.92; transform: translateY(-1px); }

.ig-btn-outline{
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
  color: #ffffff;
}
.ig-btn-outline:hover{
  background: rgba(255,255,255,0.10);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.28);
}

/* mobile hero */
@media (max-width: 768px){
  .ig-hero-inner{
    align-items: flex-start;
  }
  .ig-hero h1{
    max-width: 100%;
    line-height: 1.1;
  }
}

/* =========================================
   PRICING BOX (your inline glass rounded-2xl)
   Make it look like AR screenshot
   ========================================= */
main .glass.rounded-2xl{
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
}

/* =========================================
   FEATURE CARDS (THIS fixes English to match Arabic)
   Your HTML uses: <div class="rounded-2xl p-6 glass">
   ========================================= */
.rounded-2xl.p-6.glass{
  border-radius: 22px;
  padding: 28px 26px; /* a bit nicer than 1.5rem */
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rounded-2xl.p-6.glass:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(0,0,0,0.34);
  border-color: rgba(255,255,255,0.20);
}

/* Make emoji icon sit nicely top-right like your AR cards */
.rounded-2xl.p-6.glass > .text-2xl{
  font-size: 1.65rem;
  opacity: .9;
  margin-bottom: 10px;
}

/* Title inside feature card */
.rounded-2xl.p-6.glass .font-semibold{
  font-size: 1.15rem;
  line-height: 1.25;
}

/* Description inside feature card */
.rounded-2xl.p-6.glass .text-white\/70{
  color: var(--text-soft);
  font-size: .92rem;
  line-height: 1.6;
}

/* =========================================
   SECTION BLOCKS (Reports / Download / CTA)
   ========================================= */
.rounded-3xl.p-10.glass{
  border-radius: 26px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.14);
}

/* =========================================
   Footer
   ========================================= */
footer{
  margin-top: 2.5rem;
  background: rgba(255,255,255,0.02);
  padding: 1.5rem 0;
}

/* =========================================
   Arabic RTL Support
   Activate ONLY when your HTML is:
   <html lang="ar" dir="rtl">
   ========================================= */
html[lang="ar"][dir="rtl"] body{
  direction: rtl;
  text-align: right;
}

html[lang="ar"][dir="rtl"] .ig-header-inner{
  flex-direction: row-reverse;
}

html[lang="ar"][dir="rtl"] .ig-hero-inner,
html[lang="ar"][dir="rtl"] .ig-hero-inner h1,
html[lang="ar"][dir="rtl"] .ig-hero-inner p,
html[lang="ar"][dir="rtl"] .ig-pill{
  text-align: right;
}

html[lang="ar"][dir="rtl"] .ig-hero .max-w-3xl{
  margin-right: 0;
  margin-left: auto;
}
/* Footer spacing fix */
footer{
  padding: 24px 0 !important;   /* more vertical space */
}

footer .container{
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* If your footer row is flex */
footer .flex{
  gap: 18px !important;
}

/* Make icons + text breathe */
footer a, footer span, footer p{
  line-height: 1.7;
}

/* Optional: reduce the thin top border effect feeling cramped */
footer .border-t{
  margin-top: 10px;
  padding-top: 16px;
}
/* =========================
   InvoiceGate footer spacing ONLY
   ========================= */
.ig-page footer{
  padding: 26px 0 !important;
}

.ig-page footer .container{
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

/* Make footer row breathe */
.ig-page footer .container > div{
  gap: 18px !important;
}

/* Contact blocks spacing */
.ig-page footer .flex.items-center.gap-2{
  gap: 10px !important;
}

/* Social icons: bigger + more spaced */
.ig-page footer .nvx-social{
  gap: 16px !important;
}
.ig-page footer .nvx-social .si svg{
  width: 20px !important;
  height: 20px !important;
}

/* Copyright/logo block spacing */
.ig-page footer img{
  width: 26px !important;
  height: 26px !important;
}