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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background: #050607;
  min-height: 100%;
}

:root {
  --bg: #000000;
  --bg-elevated: rgba(10, 10, 10, 0.95);
  --bg-soft: rgba(5, 5, 5, 0.95);
  --border-subtle: rgba(148, 163, 184, 0.25);
  --accent: #00ff88;
  --accent-green: #00ffaa;
  --accent-soft: rgba(0, 255, 136, 0.25);
  --accent-strong: #00cc6f;
  --accent-gradient: linear-gradient(130deg, #00ff88, #00ffaa, #00cc6f);
  --text-main: #e5e7eb;
  --text-soft: #9ca3af;
  --text-subtle: #6b7280;
  --danger: #fb7185;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 22px 50px rgba(10, 10, 10, 0.75);
  --shadow-soft-alt: 0 18px 44px rgba(10, 10, 10, 0.9);
}

body {
  background: #000000;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 255, 170, 0.06) 0%, transparent 50%);
  color: var(--text-main);
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

html {
  min-height: 100%;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.neuron-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.neuron-overlay canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.6;
  will-change: contents;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.98);
  border-bottom: 1px solid rgba(0, 255, 136, 0.3);
}


@supports (-webkit-touch-callout: none) {
  .site-header {
    background: rgba(0, 0, 0, 1);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  gap: 1.5rem;
  position: relative;
}

.mobile-menu-toggle {
  display: none;
}

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

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.6));
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #00ff88 0, #00ffaa 45%, #0f172a 80%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 0 28px rgba(0, 255, 136, 0.8);
}

.logo-text {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.98rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.88rem;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.15rem;
  -webkit-tap-highlight-color: rgba(0, 255, 136, 0.2);
  tap-highlight-color: rgba(0, 255, 136, 0.2);
}

.nav a.active {
  color: var(--text-main);
  font-weight: 500;
}

.nav a:hover {
  color: var(--text-main);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  transition: width 0.18s ease-out;
}

.nav a:hover::after {
  width: 100%;
}


.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(2.35rem, 4vw, 3rem);
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
}

.hero-subtitle {
  margin: 0 0 1.75rem;
  color: var(--text-soft);
  max-width: 32rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-meta {
  margin-top: 1.3rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.hero-chips {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.6);
  background: rgba(0, 0, 0, 0.8);
  color: #00ffaa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-stats {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero-stats strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
}

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

.section-header .section-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 255, 136, 0.2);
  tap-highlight-color: rgba(0, 255, 136, 0.2);
}

.link-arrow:hover {
  color: var(--accent-green);
}

.link-arrow::after {
  content: "→";
  font-size: 1rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
}

.stat-card {
  background: rgba(20, 20, 20, 0.85);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.7);
}

.stat-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main);
}

.stat-card p {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  color: #d1d5db;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-panel {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: 24px;
  padding: 1.6rem 1.7rem;
  background: radial-gradient(circle at top left, rgba(0, 255, 136, 0.25), transparent 55%),
    radial-gradient(circle at bottom right, rgba(0, 255, 170, 0.25), transparent 60%),
    rgba(20, 20, 20, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(
      135deg,
      rgba(0, 255, 136, 0.95),
      rgba(0, 255, 170, 0.5),
      rgba(20, 20, 20, 0)
    )
    border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}

.hero-card-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-subtle);
  margin-bottom: 0.65rem;
}

.hero-card-text {
  margin: 0 0 1.1rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.hero-list li::before {
  content: "●";
  color: var(--accent);
  margin-right: 0.5rem;
  font-size: 0.6rem;
}


.section {
  padding: 3.5rem 0 3.75rem;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(3, 3, 3, 0.95), rgba(20, 20, 20, 0.98));
  border-top: 1px solid rgba(15, 118, 110, 0.5);
  border-bottom: 1px solid rgba(20, 20, 20, 0.9);
}

.section h2 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.7rem;
  margin: 0 0 1.1rem;
}

.section-text {
  margin: 0 0 0.8rem;
  color: var(--text-soft);
}

.section-text.narrow {
  max-width: 40rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: flex-start;
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  background: rgba(20, 20, 20, 0.95);
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.05rem;
  box-shadow: 0 14px 30px rgba(20, 20, 20, 0.9);
}

.feature-card h3 {
  font-size: 1rem;
  margin: 0 0 0.3rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #d1d5db;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
}

.page-hero h1 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin: 0 0 1rem;
}

.page-hero p {
  max-width: 46rem;
}

.cta-slab {
  border-radius: 26px;
  padding: 2.2rem;
  border: 1px solid rgba(0, 255, 136, 0.4);
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.7), rgba(6, 78, 59, 0.7));
  box-shadow: 0 30px 60px rgba(2, 6, 23, 0.8);
  text-align: center;
}

.cta-slab h2 {
  margin: 0 0 0.8rem;
  font-size: 1.8rem;
}

.cta-slab p {
  margin: 0 0 1.2rem;
  color: rgba(226, 232, 240, 0.9);
}


.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.service-card {
  background: rgba(20, 20, 20, 0.95);
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft-alt);
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  color: #d1d5db;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tag-list li {
  font-size: 0.78rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(130deg, rgba(0, 255, 136, 0.3), rgba(52, 211, 153, 0.2));
  color: #a5f3fc;
}


.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 1.8rem;
}

.portfolio-card {
  background: rgba(6, 11, 23, 0.95);
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 136, 0.3);
  padding: 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.85);
}

.portfolio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.portfolio-head h3 {
  margin: 0;
  font-size: 1rem;
}

.badge {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.6);
  color: #cffafe;
  background: rgba(8, 47, 73, 0.4);
}

.badge-green-alt {
  border-color: rgba(0, 255, 136, 0.6);
  background: rgba(0, 204, 111, 0.4);
}

.badge-green {
  border-color: rgba(0, 255, 136, 0.6);
  background: rgba(0, 204, 111, 0.35);
}

.badge-teal {
  border-color: rgba(45, 212, 191, 0.5);
  background: rgba(15, 118, 110, 0.25);
}

.portfolio-card p {
  margin: 0;
  color: #d1d5db;
  font-size: 0.9rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.portfolio-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: #d1d5db;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.portfolio-meta strong {
  color: var(--text-main);
  font-weight: 600;
}

.portfolio-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.9rem;
}


.embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.embed-card {
  background: rgba(20, 20, 20, 0.96);
  border-radius: 20px;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 1.3rem 1.4rem 1.4rem;
}

.embed-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.embed-hint {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  color: var(--text-subtle);
}

.embed-placeholder {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at top, rgba(20, 20, 20, 0.9), rgba(20, 20, 20, 1));
  padding: 1.1rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.4rem;
  text-align: left;
}

.embed-placeholder ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: 0.86rem;
}


.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.testimonial {
  margin: 0;
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: rgba(20, 20, 20, 0.96);
  border: 1px solid var(--border-subtle);
}

.testimonial blockquote {
  margin: 0 0 0.6rem;
  font-size: 0.92rem;
  color: #d1d5db;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.testimonial figcaption {
  font-size: 0.8rem;
  color: var(--text-subtle);
}


.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.pricing-card {
  background: rgba(20, 20, 20, 0.97);
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  padding: 1.5rem 1.5rem 1.6rem;
}

.pricing-card-accent {
  border-color: rgba(0, 255, 136, 0.8);
  box-shadow: 0 22px 56px rgba(8, 47, 73, 0.95);
  background: linear-gradient(145deg, rgba(8, 47, 73, 0.8), rgba(6, 78, 59, 0.8));
}

.pricing-price {
  margin: 0.1rem 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.pricing-text {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: #d1d5db;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.pricing-list li {
  margin-bottom: 0.3rem;
}

.pricing-list li::before {
  content: "✓";
  color: var(--accent-green);
  margin-right: 0.45rem;
}


.contact-form {
  background: rgba(20, 20, 20, 0.96);
  border-radius: 20px;
  padding: 1.4rem 1.5rem 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft-alt);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.22rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(20, 20, 20, 0.9);
  color: var(--text-main);
  padding: 0.55rem 0.6rem;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid rgba(0, 255, 136, 0.9);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.4);
}

.form-note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.form-status {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
  animation: slideDown 0.3s ease;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: var(--accent);
}

.form-status.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.form-status.info {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-loader::after {
  content: '';
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.inline-code {
  font-family: "DM Sans", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  padding: 0.16rem 0.3rem;
  border-radius: 6px;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
}


.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.42rem 0.9rem;
  font-size: 0.82rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #0b1120;
  box-shadow: 0 16px 35px rgba(8, 47, 73, 0.9);
  -webkit-tap-highlight-color: rgba(0, 255, 136, 0.3);
  tap-highlight-color: rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.8);
  background: rgba(20, 20, 20, 0.7);
  color: var(--text-main);
  -webkit-tap-highlight-color: rgba(0, 255, 136, 0.2);
  tap-highlight-color: rgba(0, 255, 136, 0.2);
}

.btn-outline:hover {
  border-color: var(--accent);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text-main);
  -webkit-tap-highlight-color: rgba(0, 255, 136, 0.2);
  tap-highlight-color: rgba(0, 255, 136, 0.2);
}

.btn-ghost:hover {
  border-color: rgba(0, 255, 136, 0.8);
  color: var(--text-main);
  background: rgba(0, 255, 136, 0.1);
}

.btn-full {
  width: 100%;
  justify-content: center;
}


.site-footer {
  border-top: 1px solid rgba(20, 20, 20, 0.9);
  background: radial-gradient(circle at top, rgba(20, 20, 20, 1), rgba(20, 20, 20, 1));
  padding: 1.4rem 0 1.6rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.footer-left {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.9;
}

.footer-brand {
  font-family: "DM Sans", system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
}


@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .header-inner {
    padding-inline: 1rem;
  }

  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    z-index: 19;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    color: var(--text-main);
    font-size: 0.95rem;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav a:hover {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent);
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 21;
    -webkit-tap-highlight-color: rgba(0, 255, 136, 0.2);
  }

  .mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .btn.btn-sm.btn-outline {
    display: none;
  }
}

@media (max-width: 840px) {
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .embed-grid,
  .testimonials,
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding-block: 0.75rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-card {
    padding: 1.4rem 1.35rem;
  }

  .section {
    padding-inline: 0;
  }

  .contact-form {
    padding-inline: 1.2rem;
  }

  .container {
    padding-inline: 1.2rem;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  
  .hero-subtitle,
  .section-text,
  .service-card p,
  .portfolio-card p,
  .feature-card p,
  .stat-card p,
  .testimonial blockquote,
  .pricing-text,
  .portfolio-meta {
    color: #d1d5db !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .nav a {
    color: #d1d5db;
  }

  .nav a.active {
    color: var(--text-main);
    font-weight: 500;
  }

  .btn-ghost {
    color: var(--text-main) !important;
    border-color: rgba(148, 163, 184, 0.6);
  }

  .chip {
    color: #00ffaa !important;
    border-color: rgba(0, 255, 136, 0.7);
    background: rgba(0, 0, 0, 0.9);
  }

  .link-arrow {
    color: var(--accent) !important;
  }

  
  .service-card,
  .portfolio-card,
  .stat-card,
  .feature-card {
    background: rgba(10, 10, 10, 0.95) !important;
    border-color: rgba(148, 163, 184, 0.4) !important;
  }
}


@supports (-webkit-touch-callout: none) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .btn {
    -webkit-tap-highlight-color: rgba(0, 255, 136, 0.3);
    -webkit-touch-callout: none;
  }

  .nav a {
    -webkit-tap-highlight-color: rgba(0, 255, 136, 0.2);
  }

  
  .site-header {
    background: rgba(0, 0, 0, 1);
  }
}


@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .btn {
    -webkit-tap-highlight-color: rgba(0, 255, 136, 0.3);
  }

  .nav a {
    -webkit-tap-highlight-color: rgba(0, 255, 136, 0.2);
  }
}


@keyframes aiGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4),
                0 0 40px rgba(0, 255, 136, 0.3),
                0 0 60px rgba(0, 255, 136, 0.15);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6),
                0 0 60px rgba(0, 255, 136, 0.4),
                0 0 90px rgba(0, 255, 136, 0.3);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    filter: brightness(1);
  }
  50% {
    opacity: 0.8;
    filter: brightness(1.2);
  }
}

@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
  }
  50% {
    border-color: rgba(0, 255, 136, 0.8);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  }
}


.btn-primary {
  animation: borderGlow 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.7),
              0 0 50px rgba(0, 255, 136, 0.4);
  transform: translateY(-1px);
}


.hero-card {
  animation: borderGlow 4s ease-in-out infinite;
}


.service-card:hover {
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.3),
              0 0 20px rgba(0, 255, 136, 0.15);
  border-color: rgba(0, 255, 136, 0.6);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}


.portfolio-card:hover {
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.35),
              0 0 25px rgba(0, 255, 136, 0.2);
  border-color: rgba(0, 255, 136, 0.7);
  transition: all 0.3s ease;
}


.logo-mark {
  animation: aiGlow 3s ease-in-out infinite;
}


.pricing-card-accent {
  animation: borderGlow 3.5s ease-in-out infinite;
}


body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}


