:root {
  --bg: #0d0d12;
  --bg-elevated: #13131a;
  --bg-card: #16161f;
  --fg: #f0f0f0;
  --fg-muted: #8a8a9a;
  --accent: #ff2d78;
  --accent-red: #e63946;
  --accent-maroon: #8b0000;
  --accent-dim: rgba(255, 45, 120, 0.12);
  --accent-glow: rgba(255, 45, 120, 0.25);
  --border: #1e1e2e;
  --border-accent: rgba(255, 45, 120, 0.35);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  background: rgba(13, 13, 18, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo-link {
  text-decoration: none;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  color: #fff;
}

.nav-logo-accent {
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 0 18px var(--accent-glow);
}

.nav-link-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(255, 45, 120, 0.45) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 20px var(--accent-glow);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(255, 45, 120, 0.5);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

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

.btn-large {
  font-size: 1rem;
  padding: 1.1rem 2.8rem;
  border-radius: 10px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2.5rem 5rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139, 0, 0, 0.18) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 100% 50%, rgba(255, 45, 120, 0.08) 0%, transparent 60%),
              var(--bg);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.07;
  filter: saturate(0.4);
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  color: #fff;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-maroon) 30%, var(--accent) 50%, var(--accent-maroon) 70%, transparent 100%);
  opacity: 0.5;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #fff;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 7rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  margin-bottom: 4rem;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(ellipse at top left, var(--accent-dim), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(255, 45, 120, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
  color: #fff;
  position: relative;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  position: relative;
}

/* ============================================================
   SLOGAN DIVIDER
   ============================================================ */
.slogan-divider {
  padding: 6rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0d12 0%, #130a12 40%, #0d0d1a 70%, #0d0d12 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.slogan-divider-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(139, 0, 0, 0.15) 0%, transparent 70%);
  animation: pulseBg 6s ease-in-out infinite;
}

@keyframes pulseBg {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.slogan-divider-inner {
  position: relative;
  z-index: 1;
}

.slogan-text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 50%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

.slogan-sub {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--fg-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  font-weight: 500;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 7rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

.pricing-cta-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 45, 120, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
}

.pricing-cta-text {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.pricing-cta-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 1.25rem;
  letter-spacing: 0.02em;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 7rem 2.5rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-header {
  margin-bottom: 4rem;
  text-align: center;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

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

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 1rem;
}

.testimonial-quote {
  font-size: 0.97rem;
  color: var(--fg-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-accent);
  flex-shrink: 0;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
}

.testimonial-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  display: block;
}

.testimonial-company {
  font-size: 0.8rem;
  color: var(--fg-muted);
  display: block;
  margin-top: 0.1rem;
}

/* ============================================================
   BRANDS
   ============================================================ */
.brands {
  padding: 6rem 2.5rem;
}

.brands-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.brands-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.brand-logo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  cursor: default;
}

.brand-logo:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  background: var(--bg-elevated);
}

.brand-logo-text {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.brand-logo:hover .brand-logo-text {
  color: var(--fg);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-cta {
  padding: 7rem 2.5rem;
  background: linear-gradient(135deg, #0d0d12 0%, #13080e 50%, #0d0d12 100%);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(255, 45, 120, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.contact-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.contact-cta-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.contact-cta-details {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg-muted);
  font-size: 0.92rem;
}

.contact-detail-icon {
  color: var(--accent);
  font-size: 1rem;
}

.contact-detail a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-detail a:hover {
  color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: #fff;
  text-decoration: none;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

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

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
.chatbot-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  font-family: var(--font-body);
}

.chatbot-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(255, 45, 120, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
  font-size: 1.4rem;
}

.chatbot-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 32px rgba(255, 45, 120, 0.6);
}

.chatbot-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 340px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  display: none;
  flex-direction: column;
  animation: slideUp 0.25s ease;
}

.chatbot-window.open {
  display: flex;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
  background: linear-gradient(135deg, var(--accent-maroon), var(--accent));
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.chatbot-header-info {
  flex: 1;
}

.chatbot-header-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  display: block;
}

.chatbot-header-status {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chatbot-header-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  flex-shrink: 0;
}

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 280px;
}

.chat-bubble {
  max-width: 88%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-bubble-bot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--fg);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble-user {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-quick-replies {
  padding: 0.75rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chatbot-quick-reply {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: var(--fg-muted);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  font-family: var(--font-body);
}

.chatbot-quick-reply:hover {
  border-color: var(--border-accent);
  color: var(--fg);
  background: var(--bg-elevated);
}

.chatbot-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.chatbot-input {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  color: var(--fg);
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.2s ease;
}

.chatbot-input:focus {
  border-color: var(--border-accent);
}

.chatbot-input::placeholder {
  color: var(--fg-muted);
  opacity: 0.6;
}

.chatbot-send {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.chatbot-send:hover {
  opacity: 0.85;
}

/* ============================================================
   PAGE HERO (shared across portfolio, pricing, contact)
   ============================================================ */
.page-hero {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 2.5rem 5rem;
  position: relative;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(139, 0, 0, 0.18) 0%, transparent 70%), var(--bg);
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
  color: #fff;
}

.page-hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */
.portfolio-grid-section {
  padding: 4rem 2.5rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.portfolio-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.portfolio-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto auto;
  column-gap: 2rem;
}

.portfolio-card-featured .portfolio-card-meta {
  grid-column: 1 / -1;
}

.portfolio-card-featured .portfolio-card-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.portfolio-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.portfolio-card-category {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.portfolio-card-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

.portfolio-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  color: #fff;
}

.portfolio-card-tagline {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.portfolio-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

.portfolio-card-arrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: block;
  margin-top: auto;
  transition: letter-spacing 0.2s ease;
}

.portfolio-card:hover .portfolio-card-arrow {
  letter-spacing: 0.1em;
}

.portfolio-cta {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 5rem 2.5rem;
  text-align: center;
}

.portfolio-cta-inner {
  max-width: 500px;
  margin: 0 auto;
}

.portfolio-cta-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: #fff;
}

.portfolio-cta-text {
  color: var(--fg-muted);
  margin-bottom: 2rem;
}

/* ============================================================
   PROJECT DETAIL
   ============================================================ */
.back-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  display: inline-block;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}

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

.project-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--accent);
  margin-top: 1rem;
  letter-spacing: -0.01em;
}

.project-article {
  padding: 4rem 2.5rem 6rem;
}

.project-article-inner {
  max-width: 800px;
  margin: 0 auto;
}

.project-section {
  margin-bottom: 3rem;
}

.project-section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.project-text {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

.project-results {
  font-size: 1.1rem;
  color: var(--fg);
  font-weight: 500;
}

.project-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.project-nav-section {
  padding: 3rem 2.5rem;
  border-top: 1px solid var(--border);
}

.project-nav-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-pillar {
  padding: 6rem 2.5rem;
}

.pricing-pillar-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-pillar-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-pillar-header {
  margin-bottom: 3rem;
}

.pricing-pillar-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.75rem 0;
  color: #fff;
}

.pricing-pillar-desc {
  color: var(--fg-muted);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.65;
}

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: border-color 0.3s ease;
}

.pricing-pillar-alt .pricing-card {
  background: var(--bg-card);
}

.pricing-card:hover {
  border-color: var(--border-accent);
}

.pricing-card-featured {
  border-color: var(--accent) !important;
}

.pricing-card-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 0 0 8px 8px;
}

.pricing-card-top {
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.pricing-tier-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pricing-price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.pricing-price-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.pricing-card-tagline {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(30,30,30,0.6);
  padding-left: 1.2rem;
  position: relative;
}

.pricing-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

.pricing-btn {
  width: 100%;
  text-align: center;
}

.pricing-note-section {
  padding: 4rem 2.5rem 6rem;
}

.pricing-note-inner {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-note {
  display: flex;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 2.5rem;
  align-items: flex-start;
}

.pricing-note-icon {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-note-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.pricing-note-text {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* ============================================================
   CONTACT FORM PAGE
   ============================================================ */
.contact-section {
  padding: 4rem 2.5rem 7rem;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrap {
  width: 100%;
}

.form-error-banner {
  background: rgba(255, 80, 80, 0.12);
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #ff6b6b;
  font-size: 0.9rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-row-2 > * {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.form-required {
  color: var(--accent);
}

.form-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--accent);
}

.form-input::placeholder {
  color: rgba(136, 136, 136, 0.5);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

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

.form-submit {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.contact-success {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.contact-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.contact-success-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.contact-success-text {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto 2rem;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-aside-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.contact-aside-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1.5rem;
}

.contact-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-step {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.contact-step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-aside-text {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.contact-accent {
  color: var(--accent);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pricing-tiers {
    grid-template-columns: 1fr;
  }

  .pricing-card-featured {
    order: -1;
  }

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

  .contact-aside {
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-aside-card {
    flex: 1;
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 1.1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 7rem 1.5rem 4rem;
    min-height: 90vh;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .services {
    padding: 5rem 1.5rem;
  }

  .slogan-divider {
    padding: 5rem 1.5rem;
  }

  .pricing {
    padding: 5rem 1.5rem;
  }

  .testimonials {
    padding: 5rem 1.5rem;
  }

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

  .brands {
    padding: 4rem 1.5rem;
  }

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

  .contact-cta {
    padding: 5rem 1.5rem;
  }

  .footer {
    padding: 2rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .page-hero {
    padding: 8rem 1.5rem 4rem;
    min-height: 45vh;
  }

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

  .portfolio-card-featured {
    grid-column: auto;
    display: block;
  }

  .portfolio-grid-section {
    padding: 3rem 1.5rem 4rem;
  }

  .pricing-pillar {
    padding: 4rem 1.5rem;
  }

  .contact-section {
    padding: 3rem 1.5rem 5rem;
  }

  .form-row {
    flex-direction: column;
  }

  .project-nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-note {
    flex-direction: column;
    gap: 1rem;
  }

  .chatbot-widget {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .chatbot-window {
    width: calc(100vw - 2.5rem);
    right: 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .slogan-text {
    font-size: 2rem;
    letter-spacing: 0.04em;
  }

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

  .page-hero-title {
    font-size: 2rem;
  }

  .pricing-price-amount {
    font-size: 1.8rem;
  }

  .contact-cta-title {
    font-size: 1.9rem;
  }
}
