/* Ishanityx Solution — vibrant HTML5 theme */
:root {
  --bg-deep: #0a0a12;
  --bg-card: rgba(255, 255, 255, 0.06);
  --text: #f4f4ff;
  --text-muted: #b8b8d4;
  --accent-cyan: #00f5d4;
  --accent-magenta: #f72585;
  --accent-violet: #7b2cbf;
  --accent-orange: #ff6b35;
  --accent-yellow: #fee440;
  --gradient-hero: linear-gradient(135deg, #7b2cbf 0%, #f72585 40%, #ff6b35 70%, #00f5d4 100%);
  --gradient-text: linear-gradient(90deg, #00f5d4, #fee440, #f72585);
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-body: "Outfit", system-ui, sans-serif;
  --font-display: "Syne", "Outfit", sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-yellow);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent-yellow);
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(10, 10, 18, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 0.95rem;
  background: var(--gradient-hero);
  color: #0a0a12;
  box-shadow: 0 8px 24px rgba(247, 37, 133, 0.35);
}

.logo-mark.small {
  width: 36px;
  height: 36px;
  font-size: 0.8rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.primary-nav a:hover {
  color: var(--accent-cyan);
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--gradient-hero);
  color: #0a0a12 !important;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(123, 44, 191, 0.45), transparent),
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(247, 37, 133, 0.35), transparent),
    radial-gradient(ellipse 60% 40% at 50% 90%, rgba(0, 245, 212, 0.2), transparent);
  animation: pulse-bg 12s ease-in-out infinite alternate;
}

@keyframes pulse-bg {
  to {
    filter: hue-rotate(25deg) brightness(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 245, 212, 0.15);
  border: 1px solid rgba(0, 245, 212, 0.4);
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
  max-width: 18ch;
}

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

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient-hero);
  color: #0a0a12;
  box-shadow: 0 12px 32px rgba(247, 37, 133, 0.35);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-stats li {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent-yellow);
}

.hero-stats span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  margin: 0;
}

.section-header.light h2,
.section-header.light p {
  color: var(--text);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.about h2 {
  font-family: var(--font-display);
  font-size: 2rem;
}

.about-list {
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.about-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-card article {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(123, 44, 191, 0.25), rgba(247, 37, 133, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-card h3 {
  margin-top: 0;
  color: var(--accent-cyan);
}

/* Services */
.services {
  background: linear-gradient(180deg, transparent, rgba(123, 44, 191, 0.12), transparent);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 245, 212, 0.45);
  box-shadow: var(--shadow);
}

.service-card.featured {
  background: linear-gradient(160deg, rgba(247, 37, 133, 0.2), rgba(123, 44, 191, 0.25));
  border-color: rgba(247, 37, 133, 0.35);
}

.service-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-family: var(--font-display);
  margin-top: 0;
  font-size: 1.35rem;
}

.service-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Process */
.process {
  background: linear-gradient(135deg, #1a0a2e, #16213e 50%, #0f3460);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.process-steps li {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.process-steps h3 {
  margin: 0 0 0.5rem;
}

.process-steps p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.why-item {
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent-magenta);
  background: var(--bg-card);
}

.why-item:nth-child(2) {
  border-left-color: var(--accent-cyan);
}

.why-item:nth-child(3) {
  border-left-color: var(--accent-orange);
}

.why-item:nth-child(4) {
  border-left-color: var(--accent-yellow);
}

.why-item h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.why-item p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA */
.cta-band {
  padding: 4rem 0;
}

.cta-inner {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 24px;
  background: var(--gradient-hero);
  color: #0a0a12;
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.cta-inner p {
  margin: 0 0 1.5rem;
  font-weight: 500;
}

.cta-inner .btn-primary {
  background: #0a0a12;
  color: var(--accent-cyan);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact h2 {
  font-family: var(--font-display);
}

.contact address {
  font-style: normal;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent-cyan);
  border-color: transparent;
}

.form-note {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  margin: 0.5rem 0 0;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #06060c;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(10, 10, 18, 0.98);
    padding: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s, opacity 0.35s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .primary-nav a {
    display: block;
    padding: 0.75rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .process-steps,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .process-steps,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-bg {
    animation: none;
  }

  .btn:hover,
  .service-card:hover {
    transform: none;
  }
}
