/* ============================================================
   KIIRA HOSTING — Shared Stylesheet
   Kiira Innovations Limited, Jinja Uganda
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  --navy:   #003C59;
  --ocean:  #00547A;
  --sky:    #2E9BC7;
  --green:  #7DB73E;
  --ice:    #EFF6F8;
  --gold:   #F2A83C;
  --ink:    #0B2430;
  --white:  #FFFFFF;
  --line:   rgba(0,60,89,0.12);
  --shadow: 0 20px 50px -20px rgba(0,60,89,0.25);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Inter', sans-serif; color: var(--ink); background: var(--white);
        -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img   { max-width: 100%; display: block; }
a     { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.01em; }
.mono { font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.02em; }

/* ---- Layout ---- */
.wrap   { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.section-alt { background: var(--ice); }

/* ---- Typography helpers ---- */
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--sky); font-weight: 500;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: 34px; color: var(--navy); margin-top: 14px; font-weight: 700; line-height: 1.2; }
.section-head p  { color: #57717f; font-size: 16px; margin-top: 12px; line-height: 1.6; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 8px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap; font-family: 'Inter', sans-serif;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary   { background: var(--sky);   color: var(--white); box-shadow: 0 10px 24px -8px rgba(46,155,199,.55); }
.btn-primary:hover  { background: #2789ae; }
.btn-gold      { background: var(--gold);  color: var(--navy);  box-shadow: 0 10px 24px -8px rgba(242,168,60,.6); }
.btn-gold:hover     { background: #e0983a; }
.btn-ghost     { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover    { border-color: var(--sky); color: var(--sky); }
.btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost-white:hover { border-color: var(--white); }
.btn-sm  { padding: 10px 18px; font-size: 13.5px; }
.btn-full { width: 100%; }

/* ---- Top bar ---- */
.topbar { background: var(--ocean); color: rgba(255,255,255,.85); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--white); }
.topbar .t-links { display: flex; gap: 18px; }

/* ---- Nav ---- */
nav.mainnav { position: sticky; top: 0; z-index: 50;
  background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
nav.mainnav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo img { height: 34px; width: auto; display: block; }
.navlinks { display: flex; gap: 28px; align-items: center; }
.navlinks a.navlink { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.82); position: relative; }
.navlinks a.navlink:hover,
.navlinks a.navlink.active { color: var(--white); }
.navlinks a.navlink.active::after { content:''; position:absolute; bottom:-4px; left:0; right:0;
  height:2px; background: var(--sky); border-radius:2px; }
/* Dropdown */
.nav-has-drop { position: relative; }
.nav-has-drop > .navlink { padding-bottom: 6px; }
.nav-has-drop .drop {
  display: none; position: absolute; top: 100%; left: -18px;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 12px 36px -10px rgba(0,60,89,.18); min-width: 220px; padding: 14px 0 8px; z-index: 100;
}
.nav-has-drop:hover .drop { display: block; }
.drop a { display: block; padding: 10px 20px; font-size: 13.5px; color: var(--ink); font-weight: 500; }
.drop a:hover { background: var(--ice); color: var(--sky); }
.navcta { display: flex; gap: 10px; align-items: center; }
.navcta .btn { padding: 10px 18px; font-size: 13.5px; }
.navcta .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.3); }
.navcta .btn-ghost:hover { border-color: var(--white); color: var(--white); }
@media (max-width: 880px) { .navlinks { display: none; } }

/* ---- Page hero (inner pages) ---- */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
  padding: 70px 0 64px; color: var(--white); text-align: center; }
.page-hero .eyebrow { color: var(--gold); margin-bottom: 14px; }
.page-hero h1 { font-size: 40px; font-weight: 700; line-height: 1.12; max-width: 680px; margin: 0 auto 18px; }
.page-hero p.lead { font-size: 17px; color: rgba(255,255,255,.78); max-width: 580px; margin: 0 auto 30px; line-height: 1.65; }
.page-hero .hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Nile line decoration ---- */
.nile-line { position: relative; width: 100%; height: 80px; overflow: hidden; }
.nile-line svg { width: 100%; height: 100%; display: block; }
.nile-line path { stroke: var(--sky); stroke-width: 2; fill: none; stroke-dasharray: 6 10;
  animation: flow 5s linear infinite; opacity: .45; }
.nile-line path.p2 { stroke: var(--green); opacity: .3; animation-duration: 7s; animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -160; } }
@media (prefers-reduced-motion: reduce) { .nile-line path { animation: none; } }

/* ---- Pricing cards ---- */
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.plan-card { position: relative; background: var(--white); border: 1.5px solid var(--line);
  border-radius: 16px; padding: 32px 26px; display: flex; flex-direction: column; }
.plan-card.featured { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-8px); }
.plan-badge { position: absolute; top: -13px; left: 26px; background: var(--gold);
  color: var(--navy); font-size: 11px; font-weight: 700; padding: 5px 12px;
  border-radius: 20px; letter-spacing: .04em; }
.plan-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 19px; color: var(--navy); }
.plan-price { margin: 14px 0 4px; }
.plan-price .amt { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; color: var(--navy); }
.plan-price .per { font-size: 13px; color: #5b7887; }
.ugx-price { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--sky); margin-bottom: 2px; }
.ugx-price.pending { opacity: .4; }
.plan-list { list-style: none; margin: 20px 0 24px; flex-grow: 1; }
.plan-list li { font-size: 14px; color: #3a5566; padding: 7px 0 7px 22px; position: relative;
  border-bottom: 1px solid var(--line); }
.plan-list li:last-child { border-bottom: none; }
.plan-list li::before { content: "✓"; color: var(--green); font-weight: 700; position: absolute; left: 0; }
.plan-list li.cross::before { content: "✗"; color: #ccc; }
.rate-note { text-align: center; font-size: 12.5px; color: #5b7887; max-width: 560px;
  margin: 30px auto 0; line-height: 1.6; }
.rate-note .rate-updated { font-family: 'IBM Plex Mono', monospace; color: var(--navy); }
@media (max-width: 980px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } .plan-card.featured { transform: none; } }
@media (max-width: 560px) { .plans-grid { grid-template-columns: 1fr; } }

/* ---- Feature grid ---- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feat-card { }
.feat-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(46,155,199,.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat-card h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.feat-card p { font-size: 14px; color: #5b7887; line-height: 1.6; }
.feat-link { font-size: 13px; font-weight: 600; color: var(--sky); display: inline-block; margin-top: 10px; }
@media (max-width: 880px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---- Two-col with dark band ---- */
.dark-band { background: var(--navy); color: var(--white); border-radius: 24px;
  padding: 56px 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.dark-band h2 { color: var(--white); font-size: 28px; margin-bottom: 14px; }
.dark-band p  { color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.7; margin-bottom: 22px; }
.dark-band .eyebrow { color: var(--gold); margin-bottom: 10px; }
@media (max-width: 880px) { .dark-band { grid-template-columns: 1fr; padding: 36px 24px; } }

/* ---- Addon rows ---- */
.addon-list { display: flex; flex-direction: column; gap: 12px; }
.addon-row { display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 16px 20px; }
.addon-row .ar-name { font-weight: 600; font-size: 15px; }
.addon-row .ar-desc { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 2px; }
.addon-row .ar-price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--gold); font-size: 15px; text-align: right; }
.addon-row .ar-ugx  { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px;
  color: rgba(255,255,255,.45); text-align: right; }

/* ---- Checklist ---- */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.82); align-items: flex-start; }
.check-list li::before { content:'✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ---- Comparison table ---- */
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th { background: var(--navy); color: var(--white); text-align: center;
  padding: 14px 20px; font-size: 14px; font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
.compare-table th:first-child { text-align: left; border-radius: 10px 0 0 0; }
.compare-table th:last-child { border-radius: 0 10px 0 0; }
.compare-table td { padding: 13px 20px; text-align: center; font-size: 14px;
  border-bottom: 1px solid var(--line); color: #3a5566; }
.compare-table td:first-child { text-align: left; font-weight: 500; color: var(--navy); }
.compare-table tr:nth-child(even) td { background: var(--ice); }
.compare-table .yes { color: var(--green); font-weight: 700; }
.compare-table .no  { color: #bbb; }
.compare-table th.hl { background: var(--sky); }
.compare-table td.hl { background: rgba(46,155,199,.06) !important; font-weight: 600; color: var(--navy); }

/* ---- Testimonials ---- */
.testi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.stars { color: var(--gold); font-size: 13px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card .quote { font-size: 14.5px; color: #3a5566; line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.testi-name  { font-size: 13.5px; font-weight: 600; color: var(--navy); }
@media (max-width: 880px) { .testi-row { grid-template-columns: 1fr; } }

/* ---- Final CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--ocean));
  border-radius: 24px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); font-size: 30px; margin-bottom: 14px; }
.cta-band p  { color: rgba(255,255,255,.75); font-size: 16px; margin-bottom: 28px;
  max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 600px) { .cta-band { padding: 40px 24px; } .cta-band h2 { font-size: 24px; } }

/* ---- KiiraTech sister band ---- */
.sister-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sister-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.sister-card .s-icon { width: 44px; height: 44px; border-radius: 10px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; }
.sister-card h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.sister-card p  { font-size: 13.5px; color: #5b7887; line-height: 1.6; margin-bottom: 14px; }
.sister-card a.feat-link { font-size: 13px; font-weight: 600; color: var(--sky); }
@media (max-width: 880px) { .sister-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sister-grid { grid-template-columns: 1fr; } }

/* ---- Generic two-col layout ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; gap: 32px; } .two-col.reverse { direction: ltr; } }

/* ---- Info card / icon list ---- */
.icon-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; }
.icon-list .i-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(46,155,199,.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.icon-list .i-text strong { display: block; font-size: 15px; color: var(--navy); margin-bottom: 3px; font-weight: 600; }
.icon-list .i-text span { font-size: 13.5px; color: #5b7887; line-height: 1.5; }

/* ---- Domain TLD table ---- */
.tld-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tld-pill { background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 10px; text-align: center; }
.tld-pill .ext { font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 500; color: var(--navy); }
.tld-pill .price { font-size: 12px; color: #5b7887; margin-top: 4px; }
.tld-pill .ugx-tld { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--sky); margin-top: 2px; }
@media (max-width: 880px) { .tld-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .tld-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- FAQ accordion ---- */
.faq { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 20px 24px;
  font-size: 15px; font-weight: 600; color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; font-family: 'Inter', sans-serif; }
.faq-q:hover { background: var(--ice); }
.faq-q .arr { font-size: 18px; color: var(--sky); transition: transform .2s; }
.faq-q.open .arr { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 24px 20px; font-size: 14.5px; color: #3a5566; line-height: 1.7; }
.faq-a.open { display: block; }

/* ---- Trust strip ---- */
.trust-strip { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  align-items: center; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { display: flex; gap: 12px; align-items: center; font-size: 14px; color: #3a5566; }
.trust-item strong { color: var(--navy); font-family: 'Space Grotesk', sans-serif; font-size: 16px; }

/* ---- Contact form ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px;
  font-size: 14.5px; font-family: 'Inter', sans-serif; color: var(--ink);
  background: var(--white); transition: border-color .15s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--sky); }
.form-group textarea { resize: vertical; min-height: 130px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- Kiira family banner ---- */
.family-banner { background: var(--ice); border-radius: 16px; padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
  border: 1px solid var(--line); margin-top: 20px; }
.family-banner p { font-size: 14px; color: #3a5566; max-width: 520px; line-height: 1.6; }
.family-banner strong { color: var(--navy); }

/* ---- Step process ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content:''; position: absolute; top: 28px; left: 10%; right: 10%;
  height: 2px; background: var(--line); z-index: 0; }
.step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--white);
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.step h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; font-weight: 600; }
.step p  { font-size: 13.5px; color: #5b7887; line-height: 1.6; }
@media (max-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps::before { display: none; } }

/* ---- Footer ---- */
footer { background: var(--navy); color: rgba(255,255,255,.7); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid h4 { color: var(--white); font-size: 13.5px; margin-bottom: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 13px; }
.footer-grid li a:hover { color: var(--white); }
.footer-about p { font-size: 13px; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-logo img { height: 30px; }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; font-size: 12px;
  flex-wrap: wrap; gap: 10px; }
.footer-sister { display: flex; align-items: center; gap: 8px; }
.footer-sister a { color: rgba(255,255,255,.6); font-size: 12px; }
.footer-sister a:hover { color: var(--white); }
.footer-sister .sep { opacity: .3; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Stat strip ---- */
.stat-strip { display: flex; justify-content: center; gap: 52px; flex-wrap: wrap; padding: 40px 0; }
.stat { text-align: center; }
.stat .num { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 700; color: var(--navy); }
.stat .lbl { font-size: 12px; color: #5b7887; margin-top: 2px; text-transform: uppercase; letter-spacing: .06em; }

/* ---- Badge tag ---- */
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.tag-bad  { background: #FBEAEA; color: #B4453A; }
.tag-good { background: rgba(125,183,62,.14); color: #5b8c2a; }
.tag-sky  { background: rgba(46,155,199,.12); color: var(--sky); }

/* ---- Domain search bar ---- */
.domain-search { display: flex; gap: 0; max-width: 680px; margin: 0 auto; }
.domain-search input { flex: 1; border: 2px solid rgba(255,255,255,.25); border-right: none;
  border-radius: 10px 0 0 10px; padding: 16px 20px; font-size: 16px;
  font-family: 'Inter', sans-serif; background: rgba(255,255,255,.12); color: var(--white); }
.domain-search input::placeholder { color: rgba(255,255,255,.55); }
.domain-search input:focus { outline: none; border-color: var(--sky); background: rgba(255,255,255,.18); }
.domain-search select { border: 2px solid rgba(255,255,255,.25); border-right: none; border-left: none;
  padding: 16px 12px; font-size: 14px; font-family: 'Inter', sans-serif;
  background: rgba(255,255,255,.1); color: var(--white); cursor: pointer; }
.domain-search select option { color: var(--ink); background: var(--white); }
.domain-search .btn { border-radius: 0 10px 10px 0; padding: 16px 28px; }
@media (max-width: 600px) { .domain-search { flex-wrap: wrap; }
  .domain-search input { border-radius: 10px; border: 2px solid rgba(255,255,255,.25); width: 100%; border-right: 2px solid rgba(255,255,255,.25); }
  .domain-search select { border-radius: 10px; border: 2px solid rgba(255,255,255,.25); width: 100%; }
  .domain-search .btn { border-radius: 10px; width: 100%; } }
