/* ============================================================
   DEVELOPMENT ARUBA — Main Stylesheet (Linear-inspired)
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary:    #080808;
  --bg-surface:    #0f0f0f;
  --bg-card:       #111111;
  --bg-card-hover: #161616;
  --accent:        #1E90FF;
  --accent-hover:  #56B4FF;
  --accent-glow:   rgba(30, 144, 255, 0.12);
  --accent-border: rgba(30, 144, 255, 0.3);
  --text-primary:  #FFFFFF;
  --text-secondary:#888888;
  --text-tertiary: #444444;
  --border:        rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.1);
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-pill:   999px;
  --transition:    0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:     1180px;
  --section-pad:   140px;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 600; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1;
}
.section-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  position: relative;
  top: 0;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Gradient divider line (Linear signature) ------------- */
.line-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-strong) 30%, var(--border-strong) 70%, transparent 100%);
  margin: 0;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-outline {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 0;
  border-radius: 0;
  gap: 6px;
}
.btn-ghost:hover { color: var(--text-primary); }
.btn-ghost::after {
  content: '→';
  transition: transform var(--transition);
}
.btn-ghost:hover::after { transform: translateX(4px); }

/* --- Animations ------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
#site-header.scrolled {
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo img {
  height: 26px;
  width: auto;
}
.nav-logo-name {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  white-space: nowrap;
}
.nav-logo-accent { color: var(--accent); }

/* Desktop nav — centered absolutely */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 0.825rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color var(--transition);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

.nav-cta { font-size: 0.825rem; padding: 8px 18px; }

/* Mobile right side: small CTA + hamburger */
.nav-mobile-right {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-cta-mobile {
  font-size: 0.8rem;
  padding: 7px 14px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu — slide in from right like Linear */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  backdrop-filter: blur(4px);
}
.mobile-menu-backdrop.open { display: block; }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: #0f0f0f;
  border-left: 1px solid var(--border);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 80px 28px 32px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mobile-nav-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.mobile-nav-links a {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: -0.03em;
  line-height: 1.2;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-nav-links a:last-of-type { border-bottom: none; }
.mobile-nav-links a:hover { color: var(--text-primary); }

.mobile-menu-footer {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Subtle background grid */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}

/* Top gradient line */
.hero-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  background: rgba(30, 144, 255, 0.08);
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  animation: fadeIn 0.6s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-content h1 {
  animation: fadeUp 0.7s ease 0.1s both;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
  animation: fadeUp 0.7s ease 0.2s both;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.3s both;
}

/* Hero visual — browser mockup */
.hero-visual {
  position: relative;
  animation: fadeUp 0.8s ease 0.2s both;
}

.browser-mockup {
  background: #0f0f0f;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
  animation: float 6s ease-in-out infinite;
}

.browser-bar {
  background: #161616;
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.72rem;
  color: var(--text-tertiary);
  font-family: monospace;
}

.browser-content {
  padding: 0;
  min-height: 280px;
  background: linear-gradient(145deg, #0f0f0f 0%, #141414 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.browser-content-inner {
  padding: 32px;
  width: 100%;
}

.mock-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.mock-logo { width: 80px; height: 8px; background: var(--border-strong); border-radius: 4px; }
.mock-nav-links { display: flex; gap: 12px; }
.mock-nav-links span { width: 32px; height: 6px; background: var(--border); border-radius: 3px; }
.mock-btn { width: 56px; height: 22px; background: var(--accent); border-radius: 11px; opacity: 0.8; }

.mock-hero-text { margin-bottom: 20px; }
.mock-h1 { height: 14px; background: rgba(255,255,255,0.15); border-radius: 4px; margin-bottom: 8px; width: 80%; }
.mock-h1-2 { height: 14px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-bottom: 16px; width: 60%; }
.mock-sub { height: 8px; background: var(--border-strong); border-radius: 3px; margin-bottom: 6px; width: 90%; }
.mock-sub-2 { height: 8px; background: var(--border); border-radius: 3px; width: 70%; margin-bottom: 20px; }
.mock-btns { display: flex; gap: 8px; }
.mock-btns span:first-child { width: 80px; height: 26px; background: var(--accent); border-radius: 13px; opacity: 0.9; }
.mock-btns span:last-child { width: 80px; height: 26px; background: var(--border-strong); border-radius: 13px; }

/* Glow behind mockup */
.hero-visual::before {
  content: '';
  position: absolute;
  top: 10%; left: 10%; right: 10%; bottom: 10%;
  background: radial-gradient(ellipse, rgba(30,144,255,0.08) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

/* ============================================================
   LOGO SCROLLER
   ============================================================ */
#logo-scroller {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.scroller-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 32px;
}

.scroller-overflow {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.scroller-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
  align-items: center;
  height: 64px;
}
.scroller-track:hover { animation-play-state: paused; }

.scroller-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* spacing as margin (not flex gap) so every copy is exactly equal width
     — this is what makes the -50% loop perfectly seamless */
  margin: 0 32px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-tertiary);
  white-space: nowrap;
  transition: color var(--transition);
  letter-spacing: -0.01em;
}
.scroller-item:hover { color: var(--text-secondary); }

.scroller-item img {
  display: block;
  height: 56px;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: none;
  opacity: 0.4;
  transition: opacity 0.4s ease;
}
.scroller-item:hover img { opacity: 1; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  padding: var(--section-pad) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-text .section-label { display: inline-flex; }

.about-eyebrow {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.about-body {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 400;
}
.about-body:last-of-type { margin-bottom: 36px; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 48px;
}
.stat-item {
  background: var(--bg-card);
  padding: 24px 20px;
  text-align: center;
}
.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}
.about-card-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}
.about-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.about-card p {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.93rem;
}
.about-card-glow {
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(30,144,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   SERVICES — BENTO GRID
   ============================================================ */
#services {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 40px;
}
.section-header-left {}
.section-header h2 { margin-bottom: 0; }
.section-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 320px;
  line-height: 1.7;
  text-align: right;
}

/* Bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bento-card {
  background: var(--bg-card);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}
.bento-card:hover { background: var(--bg-card-hover); }

/* Card size variations */
.bento-card-lg {
  grid-column: span 2;
}
.bento-card-tall {
  grid-row: span 2;
}

.bento-icon {
  font-size: 1.6rem;
  margin-bottom: 32px;
  display: block;
}

.bento-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.bento-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 340px;
}

.bento-num {
  position: absolute;
  top: 32px; right: 32px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
}

.bento-card-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(30,144,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
#pricing {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

.pricing-header {
  max-width: 560px;
  margin-bottom: 64px;
}
.pricing-header h2 { margin-bottom: 12px; }
.pricing-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 900px;
}

.pricing-card {
  background: var(--bg-card);
  padding: 48px;
  position: relative;
  transition: background var(--transition);
}
.pricing-card:hover { background: var(--bg-card-hover); }

.pricing-card.featured {
  background: #0d1520;
}
.pricing-card.featured:hover { background: #0f1825; }
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* Badge wrap no longer reserves space — badge is absolutely positioned */
.pricing-badge-wrap {
  display: contents;
}

.pricing-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(30, 144, 255, 0.12);
  border: 1px solid rgba(30, 144, 255, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.pricing-tier {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
  line-height: 1;
}
.pricing-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0;
}

.pricing-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231E90FF'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card .btn { width: 100%; justify-content: center; font-size: 0.875rem; }

.pricing-note {
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}
.pricing-note a {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
  transition: color var(--transition), border-color var(--transition);
}
.pricing-note a:hover { color: var(--text-primary); border-color: var(--text-secondary); }

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
#portfolio {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 40px;
}
.portfolio-header h2 { margin-bottom: 0; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.portfolio-card {
  position: relative;
  background: var(--bg-card);
  aspect-ratio: 16/10;
  overflow: hidden;
  transition: background var(--transition);
}

.portfolio-card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-card-bg { transform: scale(1.04); }

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }

.portfolio-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(8,8,8,0.9), transparent);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: opacity 0.3s ease;
}
.portfolio-card:hover .portfolio-card-label { opacity: 0; }

.portfolio-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
  width: fit-content;
}
.portfolio-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.contact-info .section-label { display: inline-flex; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 48px;
  font-size: 0.95rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), background var(--transition);
  text-decoration: none;
}
.contact-method:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.contact-method-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-method-text { display: flex; flex-direction: column; gap: 2px; }
.contact-method-label { font-size: 0.68rem; color: var(--text-tertiary); letter-spacing: 0.06em; text-transform: uppercase; }
.contact-method-value { font-size: 0.875rem; font-weight: 500; color: var(--text-primary); }

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-tertiary); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.06);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Custom dropdown */
.da-select-wrap {
  position: relative;
  width: 100%;
  user-select: none;
}
.da-select-trigger {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 40px 12px 14px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  display: flex;
  align-items: center;
}
.da-select-trigger.placeholder { color: var(--text-tertiary); }
.da-select-trigger::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform var(--transition);
}
.da-select-wrap.open .da-select-trigger {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.06);
}
.da-select-wrap.open .da-select-trigger::after { transform: translateY(-50%) rotate(180deg); }
.da-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #161616;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  z-index: 500;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.25s ease, opacity 0.2s ease;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
}
.da-select-wrap.open .da-select-dropdown {
  max-height: 260px;
  opacity: 1;
  pointer-events: all;
  overflow-y: auto;
}
.da-select-dropdown li {
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.da-select-dropdown li:hover { background: rgba(255,255,255,0.04); color: var(--text-primary); }
.da-select-dropdown li.placeholder { color: var(--text-tertiary); font-style: italic; }

.form-submit { width: 100%; margin-top: 8px; justify-content: center; }

.form-status {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-top: 12px;
  display: none;
}
.form-status.success {
  background: rgba(46,160,67,0.08);
  border: 1px solid rgba(46,160,67,0.2);
  color: #4ade80;
  display: block;
}
.form-status.error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  color: #f87171;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo img { height: 24px; }

.footer-nav {
  display: flex;
  gap: 28px;
}
.footer-nav a {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--text-secondary); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 100px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-right { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-card-tall { grid-row: span 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px; }
  .container { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Center everything on mobile */
  #hero { text-align: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }

  .section-label { display: flex; justify-content: center; }
  .section-header { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .section-header p { text-align: center; max-width: 100%; }

  .about-text { text-align: center; }
  .about-text .section-label { justify-content: center; }
  .about-text .btn-ghost { margin: 0 auto; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }

  .pricing-header { text-align: center; margin-left: auto; margin-right: auto; }
  .pricing-header .section-label { justify-content: center; }

  .portfolio-header { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .portfolio-header .section-label { justify-content: center; }

  .contact-info { text-align: center; }
  .contact-info .section-label { justify-content: center; }
  .contact-methods { align-items: center; }
  .contact-method { width: 100%; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-card-lg { grid-column: span 1; }
  .bento-card { text-align: center; }
  .bento-icon { display: block; margin: 0 auto 24px; }
  .bento-card p { margin: 0 auto; }

  .pricing-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .pricing-card { padding: 32px 24px; }
  .about-stats { grid-template-columns: 1fr; }
}
