/* ===========================================================
   Gowa Internet — Modern bilingual site
   Self-contained stylesheet (no framework dependency)
   =========================================================== */

:root {
  --bg: #0a0b14;
  --bg-2: #0f1120;
  --surface: #141628;
  --surface-2: #1b1e35;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef0fb;
  --text-dim: #a6abce;
  --text-faint: #6f74a0;
  --brand: #6d5efc;
  --brand-2: #22d3ee;
  --brand-3: #c026d3;
  --accent-grad: linear-gradient(120deg, #6d5efc 0%, #22d3ee 55%, #c026d3 110%);
  --accent-grad-soft: linear-gradient(120deg, rgba(109, 94, 252, .18), rgba(34, 211, 238, .14));
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
  --shadow-glow: 0 0 60px -10px rgba(109, 94, 252, .55);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 .5em; }
p { margin: 0 0 1rem; color: var(--text-dim); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--accent-grad-soft);
}

.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 16px; }
.section-sub { max-width: 640px; margin: 0 auto; color: var(--text-dim); font-size: 1.05rem; }
.center .section-sub { margin: 0 auto; }

.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .3s ease, background .3s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 70px -6px rgba(109, 94, 252, .7); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10, 11, 20, .78); backdrop-filter: blur(16px); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--accent-grad);
  display: grid; place-items: center; color: #fff; font-family: var(--font-head);
  font-weight: 700; font-size: 1.15rem; box-shadow: 0 0 18px -4px var(--brand); flex: 0 0 auto;
}
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-grad); box-shadow: 0 0 12px var(--brand); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-dim); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  background: transparent; border: none; color: var(--text-faint);
  padding: 7px 13px; font-size: .82rem; font-weight: 700; cursor: pointer; transition: all .2s; font-family: var(--font);
}
.lang-switch button.active { background: var(--accent-grad); color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 110px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); margin-bottom: 22px; }
.hero p.lead { font-size: 1.18rem; color: var(--text-dim); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-badges .b { display: flex; flex-direction: column; }
.hero-badges .b strong { font-family: var(--font-head); font-size: 1.7rem; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-badges .b span { font-size: .85rem; color: var(--text-faint); }

.hero-visual { position: relative; }
.hero-visual .glass {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-strong); background: var(--surface);
  box-shadow: var(--shadow); padding: 14px;
}
.hero-visual .glass img { border-radius: 12px; }

/* CSS dashboard mockup (no external image) */
.mockup { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); background: var(--surface); box-shadow: var(--shadow); }
.mockup-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.mockup-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--text-faint); opacity: .5; }
.mockup-bar span:nth-child(1) { background: #ff5f57; opacity: .9; }
.mockup-bar span:nth-child(2) { background: #febc2e; opacity: .9; }
.mockup-bar span:nth-child(3) { background: #28c840; opacity: .9; }
.mockup-bar .mb-url { margin-left: 10px; font-size: .78rem; color: var(--text-faint); font-family: var(--font-head); }
.mockup-body { padding: 22px; display: grid; gap: 16px; }
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mk-stat { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.mk-stat .k { font-size: .7rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: .08em; }
.mk-stat .v { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-chart { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.mk-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.mk-bars i { flex: 1; border-radius: 6px 6px 0 0; background: var(--accent-grad); opacity: .85; animation: barsgrow 1.1s ease both; transform-origin: bottom; }
@keyframes barsgrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.mk-legend { display: flex; justify-content: space-between; margin-top: 12px; font-size: .72rem; color: var(--text-faint); }
.hero-visual .float-card {
  position: absolute; background: rgba(20, 22, 40, .9); backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong); border-radius: 14px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); font-size: .9rem; font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
}
.hero-visual .float-card .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-grad-soft); display: grid; place-items: center; color: var(--brand-2); }
.hero-visual .fc-1 { top: -22px; left: -26px; }
.hero-visual .fc-2 { bottom: -22px; right: -22px; animation-delay: 1.2s; }

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

/* decorative glow blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; z-index: -1; pointer-events: none; }
.blob-1 { width: 480px; height: 480px; background: #6d5efc; top: -140px; right: -120px; }
.blob-2 { width: 420px; height: 420px; background: #22d3ee; bottom: -160px; left: -140px; opacity: .35; }
.grid-bg {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* ---------- Logos / trust strip ---------- */
.trust { padding: 30px 0 10px; }
.trust p { text-align: center; color: var(--text-faint); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.trust-row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; opacity: .75; }
.trust-row span { font-family: var(--font-head); font-weight: 600; color: var(--text-dim); font-size: 1.05rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px; overflow: hidden; transition: transform .3s ease, border-color .3s ease;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px;
  background: var(--accent-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-card:hover::before { opacity: 1; }
.service-ico { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-grad-soft); border: 1px solid var(--border); display: grid; place-items: center; color: var(--brand-2); margin-bottom: 22px; }
.service-ico svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.service-card p { margin-bottom: 18px; }
.service-card ul { list-style: none; margin: 0; padding: 0; }
.service-card ul li { position: relative; padding-left: 26px; color: var(--text-dim); font-size: .94rem; margin-bottom: 9px; }
.service-card ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-grad-soft); border: 1px solid var(--brand-2); }
.service-card ul li::after { content: ""; position: absolute; left: 5px; top: 11px; width: 4px; height: 7px; border: solid var(--brand-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Feature / value ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-visual { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow); background: var(--surface); }
.value-list { display: grid; gap: 22px; margin-top: 10px; }
.value-item { display: flex; gap: 16px; }
.value-item .vi-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-grad-soft); display: grid; place-items: center; color: var(--brand-2); }
.value-item h4 { font-size: 1.1rem; margin-bottom: 4px; }
.value-item p { margin: 0; font-size: .95rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; position: relative; }
.step .num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .85; line-height: 1; margin-bottom: 14px; }
.step h4 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: .92rem; margin: 0; }

/* ---------- Stats ---------- */
.stats { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--text-dim); font-size: .95rem; }

/* ---------- AI banner ---------- */
.ai-banner { position: relative; overflow: hidden; }
.ai-card {
  position: relative; border-radius: 28px; padding: 60px; border: 1px solid var(--border-strong);
  background: radial-gradient(120% 140% at 0% 0%, rgba(109,94,252,.25), transparent 50%), radial-gradient(120% 140% at 100% 100%, rgba(34,211,238,.2), transparent 50%), var(--surface);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.ai-card h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ai-chips span { font-size: .85rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(255,255,255,.04); color: var(--text-dim); }

/* ---------- Testimonial ---------- */
.quote-card { max-width: 820px; margin: 48px auto 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px; text-align: center; }
.quote-card .mark { font-family: var(--font-head); font-size: 3rem; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.quote-card blockquote { font-size: 1.3rem; color: var(--text); font-family: var(--font-head); font-weight: 500; margin: 10px 0 24px; }
.quote-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.quote-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand); }
.quote-author .qa-name { font-weight: 700; }
.quote-author .qa-role { color: var(--text-faint); font-size: .88rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 50px; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--text-dim); }
.field input, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 13px 15px; color: var(--text); font-family: var(--font); font-size: .96rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(109,94,252,.2); }
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.info-item .ii-ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: var(--accent-grad-soft); display: grid; place-items: center; color: var(--brand-2); }
.info-item h4 { font-size: 1rem; margin-bottom: 2px; }
.info-item p, .info-item a { margin: 0; font-size: .95rem; color: var(--text-dim); }
.info-item a:hover { color: var(--brand-2); }
.map-wrap { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); height: 220px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) invert(.92) hue-rotate(180deg); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { max-width: 320px; font-size: .95rem; }
.footer h5 { font-family: var(--font-head); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: var(--text-dim); font-size: .95rem; transition: color .2s; }
.footer ul li a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-faint); font-size: .88rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Scroll-top ---------- */
.scrolltop { position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-glow); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 90; }
.scrolltop.show { opacity: 1; pointer-events: auto; }
.scrolltop:hover { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .feature-split, .ai-card, .contact-grid { grid-template-columns: 1fr; }
  .services-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { max-width: 460px; margin: 10px auto 0; }
  .ai-card { padding: 40px 28px; }
  .section { padding: 80px 0; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta-desktop { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 22px 24px; gap: 18px;
  }
  .services-grid, .stats-grid, .steps, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero { padding-top: 130px; }
}
