/* ================= Ash Tech Styles ================ */
:root {
  --bg: #070b14;
  --panel: #0c1220;
  --card: #0e1626;
  --text: #e8ecf7;
  --muted: #9aa4b2;
  --accent1: #5b9dff;
  --accent2: #9b6bff;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(91, 157, 255, 0.18), transparent 60%),
    radial-gradient(800px 400px at 88% 6%, rgba(155, 107, 255, 0.14), transparent 60%),
    var(--bg);
  line-height: 1.6;
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: white;
  font-weight: 800;
}

.brand-text {
  letter-spacing: .3px
}

/* Nav */
.nav {
  display: flex;
  gap: 18px;
  align-items: center
}

.nav a {
  color: var(--text);
  text-decoration: none;
  opacity: .9
}

.nav a:hover {
  opacity: 1
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn:hover {
  filter: brightness(1.05)
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  box-shadow: none
}

.btn-small {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: .95rem
}

/* Sections */
.section {
  padding: 90px 0
}

.section-title {
  font-size: 2rem;
  margin: 0 0 18px
}

.muted {
  color: var(--muted)
}

.small {
  font-size: .9rem
}

.link {
  color: var(--accent1);
  text-decoration: none
}

.link:hover {
  text-decoration: underline
}

/* Hero */
.hero {
  position: relative;
  padding: 140px 0 100px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.glow {
  position: absolute;
  filter: blur(70px);
  opacity: .35;
  pointer-events: none
}

.glow-a {
  width: 520px;
  height: 520px;
  background: #5b9dff;
  top: -120px;
  left: -120px;
  border-radius: 50%
}

.glow-b {
  width: 600px;
  height: 600px;
  background: #9b6bff;
  bottom: -220px;
  right: -140px;
  border-radius: 50%
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.18;
  margin: 0 0 16px
}

.accent {
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.cta-row {
  display: flex;
  gap: 12px;
  margin: 18px 0
}

.hero-bullets {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 10px 0 0
}

.hero-bullets li {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .02)
}

.img-ph {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  background: linear-gradient(135deg, #161c2c, #0e1422);
  border: 1px dashed var(--border);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 1px;
}

.img-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px
}

.img-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .85rem
}

/* Cards & grids */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .00));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow)
}

.card .icon {
  font-size: 1.6rem
}

/* Portfolio */
.portfolio .thumb {
  margin-bottom: 12px;
  display: block
}

.portfolio img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border)
}

.portfolio h3 {
  margin: 6px 0
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  position: relative
}

.step-num {
  position: absolute;
  top: -10px;
  left: -10px;
  background: #0e1422;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
  font-weight: 800;
  color: var(--muted)
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 35px
}

/* Form */
.form {
  margin-top: 12px
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.form-grid label.full {
  grid-column: 1 / -1
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0e1422;
  color: var(--text);
  outline: none
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent1)
}

.form-status {
  margin-top: 10px;
  color: var(--muted)
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 0 50px
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px
}

.footer-links {
  display: flex;
  gap: 14px
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #25D366;
  border: 0;
  color: white;
  box-shadow: var(--shadow);
  z-index: 1001;
}

/* Reveal on scroll (text + media) */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

.img-reveal {
  opacity: 0;
  transform: translateY(20px) scale(.98);
  transition: opacity .9s ease, transform .9s ease
}

.img-reveal.visible {
  opacity: 1;
  transform: none
}

/* Dialog (policy) */
dialog {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow);
  max-width: 640px;
  width: 90%
}

dialog::backdrop {
  background: rgba(0, 0, 0, .6)
}

dialog article {
  padding: 20px
}

dialog h3 {
  margin-top: 0
}

dialog [data-close] {
  margin-top: 8px
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr
  }

  .cards-3 {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .timeline {
    grid-template-columns: 1fr
  }

  .about-grid {
    grid-template-columns: 1fr
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .nav {
    display: none
  }
}

#services .card i,
#services .card h3 {
  text-align: center;
  display: block;
}

#services .card i {
  font-size: 50px;
  color: #2f86b9;
  margin-bottom: 15px;
}

#services .card ul {
  text-align: left;
  margin: 0 auto;
}
