/* ==========================================================
   InfoVera Business Suite — design tokens
   Color (official brand PDF): Navy Deep #0F1F3B · Navy Ink #12213E
           Navy Alt #082955 · Blue Primary #0566C2 · Blue Bright #0368BE
           Slate #64748B — matched to the live site's exact shades below.
   Type:   Poppins (EN display) / Inter (EN body) / Noto Sans Arabic (AR + KU)
   Layout: gradient-accented hero + card-grid systems, richer than v1
   ========================================================== */

:root{
  --navy-deep:#0A1628;
  --navy-ink:#132849;
  --navy-alt:#0d47a1;
  --blue:#1565D8;
  --blue-bright:#0d47a1;
  --blue-light:#64B5F6;
  --slate:#64748B;
  --paper:#F7FAFF;
  --paper-2:#EDF3FC;
  --line:#E6ECF5;
  --white:#FFFFFF;
  --ink:#0F172A;

  --font-en-display:'Poppins',sans-serif;
  --font-en-body:'Inter',sans-serif;
  --font-rtl:'Noto Sans Arabic',sans-serif;

  --max:1160px;
  --radius:16px;
  --radius-sm:10px;

  --shadow-sm:0 2px 10px rgba(15,42,90,.06);
  --shadow-md:0 14px 34px rgba(15,42,90,.09);
  --shadow-lg:0 24px 60px rgba(15,42,90,.16);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-en-body);
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}
html[lang="ar"] body,html[lang="ku"] body{
  font-family:var(--font-rtl);
}
html[lang="ar"] h1,html[lang="ar"] h2,
html[lang="ku"] h1,html[lang="ku"] h2{
  font-family:var(--font-rtl);
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
.wrap{max-width:var(--max);margin:0 auto;padding:0 28px;}
[dir="rtl"] .wrap{direction:rtl;}

/* ---------- type ---------- */
h1,h2,h3{
  font-family:var(--font-en-display);
  font-weight:700;
  letter-spacing:-0.01em;
  color:var(--navy-deep);
  margin:0;
}
h1{font-size:clamp(2.1rem,4.4vw,3.4rem);line-height:1.12;}
h2{font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.18;}
p{margin:0;color:var(--slate);}

.eyebrow{
  font-family:var(--font-en-body);
  font-size:.82rem;
  font-weight:600;
  color:var(--blue);
  margin:0 0 14px;
  letter-spacing:.02em;
}
html[lang="ar"] .eyebrow,html[lang="ku"] .eyebrow{font-family:var(--font-rtl);}
.eyebrow.center{text-align:center;}
.section-title{margin-bottom:44px;}
.section-title.center{text-align:center;max-width:640px;margin-left:auto;margin-right:auto;}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  padding:13px 28px;border-radius:999px;font-weight:700;font-size:.95rem;
  font-family:var(--font-en-display);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  border:1.5px solid transparent;
}
html[lang="ar"] .btn,html[lang="ku"] .btn{font-family:var(--font-rtl);}
.btn-primary{
  background:linear-gradient(135deg,var(--blue),var(--blue-bright) 75%);
  color:#fff;
  box-shadow:0 10px 26px -8px rgba(21,101,216,.55);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 14px 32px -8px rgba(21,101,216,.65);}
.btn-ghost{border-color:var(--line);color:var(--navy-deep);background:#fff;}
.btn-ghost:hover{border-color:var(--blue);color:var(--blue);transform:translateY(-1px);}
.btn-sm{padding:9px 20px;font-size:.82rem;}

/* ==========================================================
   NAV
   ========================================================== */
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(247,250,255,.86);
  backdrop-filter:blur(14px) saturate(160%);
  border-bottom:1px solid var(--line);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:72px;gap:24px;}
.brand{display:flex;align-items:center;}
.brand-latin{display:flex;align-items:center;}
.brand-horizontal{height:34px;width:auto;transition:transform .2s ease;}
.brand:hover .brand-horizontal{transform:translateY(-1px);}
.brand-kurdish{display:none;height:32px;width:auto;}
.brand-custom{display:none;height:36px;width:auto;max-width:190px;object-fit:contain;}
.nav-links{display:flex;gap:32px;font-size:.94rem;font-weight:500;color:var(--navy-ink);}
.nav-links a{position:relative;transition:color .15s ease;}
.nav-links a:hover{color:var(--blue);}
.nav-right{display:flex;align-items:center;gap:14px;}
.nav-cta{white-space:nowrap;}
.lang-switch{display:flex;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px;gap:2px;}
.lang-switch button{
  border:none;background:transparent;padding:6px 12px;border-radius:999px;
  font-size:.8rem;font-weight:600;color:var(--slate);cursor:pointer;
  font-family:var(--font-en-body);transition:background .15s ease,color .15s ease;
}
.lang-switch button[data-lang="ku"]{font-family:var(--font-rtl);}
.lang-switch button.active{background:var(--navy-deep);color:#fff;}
.nav-toggle{display:none;flex-direction:column;gap:4px;background:none;border:none;cursor:pointer;padding:8px;}
.nav-toggle span{width:20px;height:2px;background:var(--navy-deep);border-radius:2px;}

/* ==========================================================
   HERO
   ========================================================== */
.hero{background:var(--navy-deep);position:relative;overflow:hidden;}
.hero::before{
  /* faint dot-grid texture for depth, like premium SaaS heroes */
  content:'';position:absolute;inset:0;opacity:.5;
  background-image:radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size:26px 26px;
  mask-image:radial-gradient(ellipse 80% 60% at 30% 20%, black, transparent 70%);
  pointer-events:none;
}
.hero-inner{
  display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center;
  padding-top:88px;padding-bottom:72px;position:relative;z-index:2;
}
.hero-copy .eyebrow{color:#7FB7F5;}
.hero-copy h1{color:#fff;}
.hero-sub{color:#B9C3DA;font-size:1.06rem;max-width:520px;margin-top:18px;}
.hero-cta{display:flex;gap:14px;margin-top:32px;flex-wrap:wrap;}
.hero .btn-ghost{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.28);color:#fff;backdrop-filter:blur(6px);}
.hero .btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.12);}

.hero-visual{position:relative;height:360px;}
.hero-glow{
  position:absolute;width:380px;height:380px;border-radius:50%;top:50%;left:50%;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle, rgba(21,101,216,.35), rgba(21,101,216,0) 70%);
  filter:blur(4px);
}
.orbit-field{position:absolute;inset:0;}
.orbit-field::before,.orbit-field::after{
  content:'';position:absolute;border:1px solid rgba(255,255,255,.1);border-radius:50%;
}
.orbit-field::before{width:340px;height:340px;top:0;left:50%;transform:translateX(-50%);}
.orbit-field::after{width:220px;height:220px;top:60px;left:50%;transform:translateX(-50%);}
.orbit-dot{
  position:absolute;border-radius:50%;
  background:linear-gradient(135deg,var(--blue),#3FA6FF);
  box-shadow:0 0 0 6px rgba(21,101,216,.18), 0 4px 14px rgba(0,0,0,.25);
}
.hero-image-wrap{
  display:none;position:relative;z-index:2;width:100%;height:100%;
  border-radius:20px;overflow:hidden;border:1px solid rgba(255,255,255,.14);
  box-shadow:var(--shadow-lg);
}
.hero-image-wrap.show{display:block;}
.hero-image-wrap.show ~ .orbit-field,
.hero-visual:has(.hero-image-wrap.show) .orbit-field{display:none;}
.hero-image-wrap img{width:100%;height:100%;object-fit:cover;}

.stats-bar{background:var(--navy-ink);border-top:1px solid rgba(255,255,255,.06);position:relative;z-index:2;}
.stats-inner{display:grid;grid-template-columns:repeat(4,1fr);padding:26px 28px;}
.stat{text-align:center;padding:0 10px;position:relative;}
.stat + .stat::before{content:'';position:absolute;top:8px;bottom:8px;left:0;width:1px;background:rgba(255,255,255,.08);}
[dir="rtl"] .stat + .stat::before{left:auto;right:0;}
.stat-value{
  font-family:var(--font-en-display);font-weight:700;font-size:1.6rem;
  background:linear-gradient(135deg,#fff,var(--blue-light));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.stat-label{font-size:.8rem;color:#8996B4;margin-top:4px;}

/* ==========================================================
   SYSTEMS — card grid
   ========================================================== */
.systems{padding:96px 0;}
.systems-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.system-card{
  display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.system-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:#D7E3F7;}
.system-media{
  height:132px;position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--navy-deep),var(--blue-bright));
  display:flex;align-items:center;justify-content:center;
}
.system-media img{width:100%;height:100%;object-fit:cover;}
.system-initial{
  font-family:var(--font-en-display);font-weight:700;color:#fff;font-size:2.6rem;opacity:.9;
}
.system-status{
  position:absolute;top:12px;inset-inline-end:12px;
  font-size:.7rem;font-weight:700;padding:5px 12px;border-radius:999px;white-space:nowrap;
  backdrop-filter:blur(4px);
}
.status-live{background:rgba(228,245,234,.95);color:#1B7A43;}
.status-soon{background:rgba(253,240,219,.95);color:#9A6300;}
.system-body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:8px;flex:1;}
.system-cat{
  font-size:.72rem;font-weight:700;color:var(--blue);text-transform:uppercase;letter-spacing:.04em;
}
.system-name{font-family:var(--font-en-display);font-weight:700;font-size:1.12rem;color:var(--navy-deep);}
html[lang="ar"] .system-name,html[lang="ku"] .system-name{font-family:var(--font-rtl);}
.system-tagline{font-size:.86rem;color:var(--navy-ink);font-weight:600;}
.system-desc{font-size:.88rem;color:var(--slate);line-height:1.5;flex:1;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.system-footer{display:flex;align-items:center;justify-content:flex-end;margin-top:10px;}
.system-link{
  font-size:.85rem;font-weight:700;color:var(--blue);white-space:nowrap;
  display:inline-flex;align-items:center;gap:6px;
}
.system-link:hover{color:var(--blue-bright);}
.system-link-arrow{transition:transform .15s ease;}
[dir="rtl"] .system-link-arrow{transform:scaleX(-1);}
.system-card:hover .system-link-arrow{transform:translateX(3px);}
[dir="rtl"] .system-card:hover .system-link-arrow{transform:scaleX(-1) translateX(3px);}
.system-card{cursor:pointer;}

/* ==========================================================
   SYSTEM BRIEF MODAL
   ========================================================== */
.system-modal-backdrop{
  position:fixed;inset:0;background:rgba(10,22,40,.6);backdrop-filter:blur(3px);
  display:none;align-items:flex-start;justify-content:center;padding:56px 20px;overflow-y:auto;z-index:200;
}
.system-modal-backdrop.show{display:flex;}
.system-modal{
  background:#fff;border-radius:var(--radius);max-width:560px;width:100%;
  box-shadow:var(--shadow-lg);position:relative;overflow:hidden;
}
.system-modal-close{
  position:absolute;top:14px;inset-inline-end:14px;z-index:2;width:34px;height:34px;border-radius:50%;
  border:none;background:rgba(255,255,255,.92);color:var(--navy-deep);font-size:1rem;cursor:pointer;
  display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-sm);
}
.system-modal-media{
  height:180px;background:linear-gradient(135deg,var(--navy-deep),var(--blue-bright));
  display:flex;align-items:center;justify-content:center;
}
.system-modal-media img{width:100%;height:100%;object-fit:cover;}
.system-modal-media .system-initial{font-family:var(--font-en-display);font-weight:700;color:#fff;font-size:3.4rem;opacity:.9;}
.system-modal-body{padding:26px 28px 28px;}
.system-modal-cat{font-size:.74rem;font-weight:700;color:var(--blue);text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px;display:flex;align-items:center;gap:10px;}
.system-modal-pill{font-size:.7rem;font-weight:700;padding:4px 11px;border-radius:999px;text-transform:none;letter-spacing:normal;}
.system-modal-name{font-family:var(--font-en-display);font-weight:700;font-size:1.4rem;color:var(--navy-deep);margin:0 0 6px;}
html[lang="ar"] .system-modal-name,html[lang="ku"] .system-modal-name{font-family:var(--font-rtl);}
.system-modal-tagline{font-weight:600;color:var(--navy-ink);font-size:.98rem;margin:0 0 14px;}
.system-modal-desc{color:var(--slate);font-size:.95rem;line-height:1.65;margin:0 0 22px;white-space:pre-wrap;}
.system-modal-actions{display:flex;gap:12px;flex-wrap:wrap;}
.system-modal-soon{font-size:.88rem;color:var(--slate);font-weight:600;}

/* ==========================================================
   FEATURES ("Why InfoVera")
   ========================================================== */
.features{background:var(--paper-2);padding:88px 0;}
.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.feature-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 22px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);}
.feature-icon{
  width:48px;height:48px;border-radius:13px;display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;margin-bottom:16px;
  background:linear-gradient(135deg, rgba(21,101,216,.12), rgba(21,101,216,.04));
}
.feature-title{font-family:var(--font-en-display);font-weight:600;font-size:1.02rem;color:var(--navy-deep);margin-bottom:8px;}
html[lang="ar"] .feature-title,html[lang="ku"] .feature-title{font-family:var(--font-rtl);}
.feature-body{font-size:.9rem;color:var(--slate);line-height:1.5;}

/* ==========================================================
   ABOUT
   ========================================================== */
.about{background:var(--white);padding:96px 0;}
.about-inner{display:block;max-width:720px;}
.about-inner.has-visual{display:grid;grid-template-columns:.85fr 1.15fr;gap:56px;align-items:center;max-width:none;}
.about-visual{display:none;position:relative;height:300px;}
.about-inner.has-visual .about-visual{display:block;}
.about-image-wrap{
  display:none;position:absolute;inset:0;border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow-lg);border:1px solid var(--line);
}
.about-image-wrap.show{display:block;}
.about-image-wrap img{width:100%;height:100%;object-fit:cover;}
.about-copy h2{margin-bottom:18px;}
.about-copy p{font-size:1.02rem;}

/* ==========================================================
   RESOURCES (brochures, partner-program PDFs, etc.)
   ========================================================== */
.resources{background:var(--white);padding:88px 0;border-top:1px solid var(--line);}
.resources-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.resource-card{
  display:flex;flex-direction:column;gap:12px;background:var(--paper);border:1px solid var(--line);
  border-radius:var(--radius);padding:24px;transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.resource-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:#D7E3F7;}
.resource-icon{
  width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;background:linear-gradient(135deg, rgba(21,101,216,.14), rgba(21,101,216,.05));
}
.resource-cat{font-size:.72rem;font-weight:700;color:var(--blue);text-transform:uppercase;letter-spacing:.04em;}
.resource-title{font-family:var(--font-en-display);font-weight:700;font-size:1.05rem;color:var(--navy-deep);}
html[lang="ar"] .resource-title,html[lang="ku"] .resource-title{font-family:var(--font-rtl);}
.resource-desc{font-size:.86rem;color:var(--slate);line-height:1.5;flex:1;}
.resource-download{
  display:inline-flex;align-items:center;gap:6px;font-size:.85rem;font-weight:700;color:var(--blue);margin-top:4px;
}
.resource-download:hover{color:var(--blue-bright);}

/* ==========================================================
   MEDIA & GALLERY — photos and video shown inline, no click needed
   ========================================================== */
.gallery-section{background:var(--paper-2);padding:88px 0;}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.gallery-tile{
  position:relative;border-radius:var(--radius);overflow:hidden;background:var(--navy-deep);
  box-shadow:var(--shadow-sm);aspect-ratio:4/3;transition:transform .2s ease, box-shadow .2s ease;
}
.gallery-tile:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);}
.gallery-tile img,.gallery-tile video{width:100%;height:100%;object-fit:cover;display:block;}
.gallery-caption{
  position:absolute;left:0;right:0;bottom:0;padding:10px 14px;
  background:linear-gradient(to top, rgba(10,22,40,.85), transparent);
  color:#fff;font-size:.82rem;font-weight:600;pointer-events:none;
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact{background:var(--paper-2);padding:96px 0;}
.contact-inner h2{text-align:center;margin-bottom:44px;}
.contact-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.contact-item{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:26px;display:flex;flex-direction:column;gap:6px;
  transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
a.contact-item:hover{border-color:var(--blue);transform:translateY(-3px);box-shadow:var(--shadow-md);}
.contact-label{font-size:.78rem;color:var(--slate);font-weight:600;}
.contact-value{font-family:var(--font-en-display);font-weight:600;color:var(--navy-deep);font-size:1.02rem;}
html[lang="ar"] .contact-value,html[lang="ku"] .contact-value{font-family:var(--font-rtl);}

/* ==========================================================
   FEEDBACK FORM
   ========================================================== */
.feedback-section{background:var(--white);padding:88px 0;}
.feedback-form{max-width:620px;margin:0 auto;display:flex;flex-direction:column;gap:14px;}
.feedback-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.feedback-form input,.feedback-form textarea{
  width:100%;padding:13px 16px;border:1.5px solid var(--line);border-radius:10px;
  font-family:inherit;font-size:.95rem;color:var(--ink);background:var(--paper);
  transition:border-color .15s ease;resize:vertical;
}
html[lang="ar"] .feedback-form input,html[lang="ar"] .feedback-form textarea,
html[lang="ku"] .feedback-form input,html[lang="ku"] .feedback-form textarea{font-family:var(--font-rtl);}
.feedback-form input:focus,.feedback-form textarea:focus{outline:none;border-color:var(--blue);}
.feedback-form .btn{align-self:flex-start;}
[dir="rtl"] .feedback-form .btn{align-self:flex-end;}
.feedback-status{font-size:.88rem;margin:0;min-height:1.2em;}
.feedback-status.ok{color:#1B7A43;}
.feedback-status.err{color:#C43D3D;}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer{background:var(--navy-deep);padding:28px 0;}
.footer-inner{display:flex;justify-content:space-between;font-size:.85rem;color:#8996B4;}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width:900px){
  .hero-inner{grid-template-columns:1fr;padding-top:48px;}
  .hero-visual{display:none;}
  .nav-cta{display:none;}
  .stats-inner{grid-template-columns:repeat(2,1fr);row-gap:20px;}
  .stat:nth-child(3)::before{display:none;}
  .about-inner.has-visual{grid-template-columns:1fr;}
  .about-inner.has-visual .about-visual{display:none;}
  .features-grid{grid-template-columns:repeat(2,1fr);}
  .systems-grid{grid-template-columns:repeat(2,1fr);}
  .resources-grid{grid-template-columns:repeat(2,1fr);}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .contact-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:720px){
  .nav-links{position:fixed;top:72px;inset-inline:0;background:#fff;flex-direction:column;
    padding:20px 28px;border-bottom:1px solid var(--line);
    transform:translateY(-130%);transition:transform .2s ease;gap:16px;}
  .nav-links.open{transform:translateY(0);}
  .nav-toggle{display:flex;}
  .systems-grid{grid-template-columns:1fr;}
  .features-grid{grid-template-columns:1fr;}
  .resources-grid{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:1fr;}
  .feedback-row{grid-template-columns:1fr;}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *{transition:none !important;}
}
