/* ATOCODE Website � v2.7.0 � https://github.com/ahmadalawieh/atocode */
:root {
  color-scheme: dark;
  --bg: #0a0a0f;
  --bg-soft: #12121a;
  --panel: #1a1a24;
  --panel-strong: #22222e;
  --surface: #252532;
  --ink: #f4f4f5;
  --ink-soft: #e4e4e7;
  --muted: #a1a1aa;
  --faint: #71717a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #f59e0b;
  --accent-soft: #fbbf24;
  --accent-glow: rgba(245, 158, 11, 0.35);
  --coral: #f97316;
  --teal: #14b8a6;
  --indigo: #6366f1;
  --success: #22c55e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --card-radius: 12px;
  --shell-radius: 16px;
  --page-x: clamp(20px, 5vw, 80px);
  --max-site: 1400px;
  --font-display: 'Clash Display', 'Satoshi', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 158, 11, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(99, 102, 241, 0.06), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(249, 115, 22, 0.05), transparent);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  color: var(--ink);
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--ink);
}

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

::selection {
  background: rgba(245, 158, 11, 0.3);
  color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 72px;
  padding: 0 var(--page-x);
  background: rgba(10, 10, 15, 0.8);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  transition: background 300ms ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 15, 0.95);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

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

.nav a {
  padding: 10px 18px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 200ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.nav a.active {
  color: var(--accent);
  background: rgba(245, 158, 11, 0.1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 300ms ease;
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 360px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease;
}

.site-header.is-open .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 500;
  border-radius: 10px;
  transition: all 200ms ease;
}

.mobile-nav a:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.05);
}

.mobile-nav-cta {
  display: block;
  margin-top: 8px;
  padding: 14px 16px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  text-align: center;
  border-radius: 10px;
}

.theme-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  transition: all 200ms ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .theme-toggle {
  display: flex;
}

.mobile-header-actions,
.mobile-nav {
  display: none;
}

.light-mode {
  --bg: #fafafa;
  --bg-soft: #f4f4f5;
  --panel: #ffffff;
  --panel-strong: #f4f4f5;
  --surface: #e4e4e7;
  --ink: #18181b;
  --ink-soft: #27272a;
  --muted: #71717a;
  --faint: #a1a1aa;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.1);
}

.light-mode body::before {
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 158, 11, 0.05), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(99, 102, 241, 0.04), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(249, 115, 22, 0.03), transparent);
}

.light-mode .site-header {
  background: rgba(250, 250, 250, 0.9);
}

.light-mode .hero h1 span {
  -webkit-text-fill-color: initial;
  background: none;
  color: var(--accent);
}

.light-mode .code-body,
.light-mode .code-title,
.light-mode .floating-card,
.light-mode .service-card,
.light-mode .package-card,
.light-mode .work-card,
.light-mode .contact-form-wrapper,
.light-mode .contact-method,
.light-mode .footer-social a {
  background: #fff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: all 200ms ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 100vh;
  padding: 120px var(--page-x) 80px;
  max-width: var(--max-site);
  margin: 0 auto;
}

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

.founder-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 100px;
  color: var(--accent-soft);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.founder-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 250ms ease;
}

.button.primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px var(--accent-glow);
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

.button.secondary:hover {
  border-color: var(--accent);
  background: rgba(245, 158, 11, 0.08);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero-stats-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats-item strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
}

.hero-stats-item span {
  font-size: 0.875rem;
  color: var(--faint);
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.code-window {
  position: absolute;
  inset: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--shell-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.code-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 30%);
  pointer-events: none;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--panel-strong);
  border-bottom: 1px solid var(--line);
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dot.red { background: #ef4444; }
.code-dot.yellow { background: #eab308; }
.code-dot.green { background: #22c55e; }

.code-title {
  margin-left: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.code-body {
  padding: 24px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

.code-line {
  display: block;
  opacity: 0;
  animation: fadeIn 400ms ease forwards;
}

.code-line:nth-child(1) { animation-delay: 200ms; }
.code-line:nth-child(2) { animation-delay: 400ms; }
.code-line:nth-child(3) { animation-delay: 600ms; }
.code-line:nth-child(4) { animation-delay: 800ms; }
.code-line:nth-child(5) { animation-delay: 1000ms; }
.code-line:nth-child(6) { animation-delay: 1200ms; }

@keyframes fadeIn {
  to { opacity: 1; }
}

.code-keyword { color: #c792ea; }
.code-string { color: #c3e88d; }
.code-function { color: #82aaff; }
.code-comment { color: #676e95; }
.code-tag { color: #f97316; }
.code-attr { color: #ffcb6b; }

.floating-card {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 15%;
  right: -20px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 25%;
  left: -30px;
  animation-delay: -2s;
}

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

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(245, 158, 11, 0.15);
  border-radius: 10px;
  margin-bottom: 10px;
}

.card-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.card-label {
  font-size: 0.75rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.section {
  padding: 100px var(--page-x);
  max-width: var(--max-site);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.eyebrow {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 100px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: all 300ms ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(249, 115, 22, 0.1));
  border-radius: 14px;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--ink);
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--faint);
}

.packages-section {
  background: var(--bg-soft);
  padding: 100px var(--page-x);
}

.packages-inner {
  max-width: var(--max-site);
  margin: 0 auto;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.package-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 40px 32px;
  transition: all 300ms ease;
}

.package-card.featured {
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.15);
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

.package-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 100px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.package-card h3 {
  font-size: 2.25rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.package-price-note {
  font-size: 0.9rem;
  color: var(--faint);
  margin-bottom: 20px;
}

.package-card > p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.package-features li::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

.package-cta {
  display: block;
  text-align: center;
  padding: 14px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  transition: all 200ms ease;
}

.package-card.featured .package-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

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

.stack-section {
  background: var(--bg);
  padding: 100px var(--page-x);
}

.stack-inner {
  max-width: var(--max-site);
  margin: 0 auto;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stack-category {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 28px 24px;
  transition: all 300ms ease;
}

.stack-category:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.stack-category h3 {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stack-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stack-category li {
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.stack-category li:last-child {
  border-bottom: 0;
}

.case-studies-section {
  background: var(--bg-soft);
  padding: 100px var(--page-x);
}

.case-studies-inner {
  max-width: var(--max-site);
  margin: 0 auto;
}

.case-studies-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-study-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 300ms ease;
}

.case-study-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.case-study-image {
  background: var(--surface);
  min-height: 100%;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-body {
  padding: 28px 32px;
}

.case-study-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.case-study-body h3 {
  color: var(--ink);
  margin-bottom: 12px;
}

.case-study-body > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.case-study-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.case-study-meta li {
  color: var(--faint);
  font-size: 0.85rem;
}

.case-study-meta strong {
  color: var(--ink-soft);
}

.form-status {
  text-align: center;
  font-size: 0.9rem;
  padding: 12px;
  border-radius: 8px;
  margin-top: 8px;
}

.form-success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.work-section {
  background: var(--bg);
  padding: 100px var(--page-x);
}

.work-inner {
  max-width: var(--max-site);
  margin: 0 auto;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.work-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 300ms ease;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.work-image {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--surface);
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.work-card:hover .work-image img {
  transform: scale(1.05);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8) 100%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.work-content {
  padding: 24px;
}

.work-category {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 4px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.work-content h3 {
  color: var(--ink);
  margin-bottom: 8px;
}

.work-content p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.work-link {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: all 300ms ease;
}

.work-card:hover .work-link {
  opacity: 1;
  transform: translate(0, 0);
}

.work-link svg {
  width: 16px;
  height: 16px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.testimonials-section {
  background: var(--bg-soft);
  padding: 100px var(--page-x);
}

.testimonials-inner {
  max-width: var(--max-site);
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: all 300ms ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-quote::before {
  content: """;
  display: block;
  font-size: 3rem;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--coral));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

.testimonial-info strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--faint);
}

.contact-section {
  background: var(--bg-soft);
  padding: 100px var(--page-x);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: var(--max-site);
  margin: 0 auto;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 200ms ease;
}

.contact-method:hover {
  border-color: var(--accent);
  transform: translateX(8px);
}

.contact-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 10px;
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.contact-method-content span {
  display: block;
  font-size: 0.8rem;
  color: var(--faint);
  margin-bottom: 4px;
}

.contact-method-content strong {
  color: var(--ink);
  font-weight: 500;
}

.contact-form-wrapper {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  transition: all 200ms ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

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

.form-submit {
  margin-top: 8px;
}

.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 60px var(--page-x) 30px;
}

.footer-inner {
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 60px var(--page-x) 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 200ms ease;
}

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

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  transition: all 200ms ease;
}

.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-cta {
  text-align: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.footer-cta p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-cta .button {
  padding: 12px 32px;
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--faint);
  font-size: 0.85rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 200ms ease;
}

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

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  transition: all 200ms ease;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.9rem;
  animation: footer-glow 6s ease-in-out infinite;
}

@keyframes footer-glow {
  0%, 100% { border-color: var(--line); }
  50% { border-color: rgba(245, 158, 11, 0.25); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 100px;
    gap: 40px;
  }
  
  .hero-visual {
    order: -1;
    min-height: 400px;
  }
  
  .hero-content {
    order: 1;
  }
  
  .packages-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .work-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
  }
  
  .work-grid::-webkit-scrollbar {
    height: 4px;
  }
  
  .work-grid::-webkit-scrollbar-track {
    background: var(--panel);
  }
  
  .work-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }
  
  .work-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
  
  .work-section {
    padding-bottom: 40px;
  }

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

  .case-study-card {
    grid-template-columns: 1fr;
  }

  .case-study-image {
    aspect-ratio: 16/9;
    min-height: auto;
  }
}

.logos-section {
  padding: 60px var(--page-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.logos-inner {
  max-width: var(--max-site);
  margin: 0 auto;
  text-align: center;
}

.logos-label {
  color: var(--faint);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
}

.logo-item img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.4);
  transition: all 200ms ease;
}

.logo-item:hover img {
  filter: brightness(0) invert(1) opacity(1);
}

.process-section {
  background: var(--bg);
  padding: 100px var(--page-x);
}

.process-inner {
  max-width: var(--max-site);
  margin: 0 auto;
}

.process-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--coral), var(--line));
}

.process-step {
  display: flex;
  gap: 32px;
  padding-bottom: 48px;
  position: relative;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.process-step-content {
  flex: 1;
  padding-top: 8px;
}

.process-step-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.process-step-content p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.process-step-time {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 100px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--card-radius);
  border: 1px solid var(--line);
}

.case-study-metrics .metric {
  text-align: center;
}

.case-study-metrics .metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.case-study-metrics .metric span {
  font-size: 0.8rem;
  color: var(--faint);
}

.footer-cta {
  text-align: center;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.footer-cta p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-cta .button {
  padding: 12px 32px;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 250ms ease;
  color: #fff;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 250ms ease;
  cursor: pointer;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--panel-strong);
  color: var(--accent);
  border-color: var(--accent);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.results-section {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(249, 115, 22, 0.05));
  border-top: 1px solid rgba(245, 158, 11, 0.15);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
  padding: 80px var(--page-x);
}

.results-inner {
  max-width: var(--max-site);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.result-item {
  padding: 24px;
}

.result-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.result-label {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.newsletter-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 80px var(--page-x);
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.newsletter-content p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.newsletter-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
  transition: all 200ms ease;
}

.newsletter-cta:hover {
  border-color: var(--accent);
  background: var(--panel-strong);
}

.related-articles {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.related-articles h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-card {
  display: block;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  transition: all 250ms ease;
}

.related-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.related-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 4px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.related-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  transition: top 200ms ease;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-section {
  background: var(--bg-soft);
  padding: 100px var(--page-x);
}

.faq-inner {
  max-width: var(--max-site);
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: all 250ms ease;
  position: relative;
  overflow: hidden;
}

.faq-card::before {
  content: var(--n);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}

.faq-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.faq-card h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0;
  position: relative;
}

.faq-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  :root {
    --page-x: 20px;
  }
  
  .nav,
  .header-actions {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .mobile-header-actions .theme-toggle,
  .mobile-header-actions .menu-toggle {
    display: flex;
  }
  
  .site-header {
    padding: 0 20px;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .hero-stats-item {
    min-width: 100px;
  }
  
  .section {
    padding: 60px var(--page-x);
  }
  
  .packages-section,
  .work-section,
  .testimonials-section {
    padding: 60px var(--page-x);
  }

  .contact-section {
    padding: 60px var(--page-x);
  }
  
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  
  .footer-brand {
    justify-content: center;
  }
  
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .footer-social {
    justify-content: center;
  }

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

  .case-study-meta {
    flex-direction: column;
    gap: 10px;
  }

  .case-study-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-timeline::before {
    left: 20px;
  }

  .process-step {
    gap: 20px;
  }

  .process-step-number {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }

  .logos-grid {
    gap: 32px;
  }

  .faq-section {
    padding: 60px var(--page-x);
  }

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

  .results-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

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

  .newsletter-inner {
    padding: 0 16px;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .back-to-top {
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
  }

  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  
  .button {
    width: 100%;
  }
  
  .work-grid {
    grid-template-columns: 1fr;
  }
  
  .floating-card {
    display: none;
  }

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