/* 
  Inamorata Labs - CSS Styles
  Theme: Light, Pastel, Elegant (No neon colors)
*/

:root {
  /* Colors */
  --bg-color: #fdfbf7; /* Soft pastel beige/off-white */
  --text-primary: #2d312e; /* Deep charcoal for high contrast, soft on eyes */
  --text-secondary: #656d68;
  
  /* Pastels */
  --pastel-blue: #e0f0ff;
  --pastel-blue-text: #4a7bb0;
  --pastel-peach: #ffe6e0;
  --pastel-peach-text: #b06e5d;
  --pastel-sage: #e3f0e5;
  --pastel-sage-text: #5c8f65;
  
  /* Gradients */
  --gradient-pastel: linear-gradient(135deg, #4a7bb0 0%, #b06e5d 50%, #5c8f65 100%);

  /* Typography */
  --font-sans: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  /* Layout & Spacing */
  --container-width: 1200px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.mobile-nav-open {
  overflow: hidden;
}

/* Custom Cursor */
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--text-primary);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(45, 49, 46, 0.3);
  background-color: transparent;
}

.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  display: none; /* Hide by default, show only if active */
}

body.custom-cursor-active .cursor-dot,
body.custom-cursor-active .cursor-outline {
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

body.custom-cursor-active {
  cursor: none;
}

/* Allow native cursor on interactive elements for accessibility and screen magnifier tracking */
body.custom-cursor-active a,
body.custom-cursor-active button,
body.custom-cursor-active [role="button"],
body.custom-cursor-active select,
body.custom-cursor-active input,
body.custom-cursor-active textarea {
  cursor: auto;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
}

.italic-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-primary);
}

.text-gradient {
  background: var(--gradient-pastel);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-bottom: 0.12em;
  vertical-align: baseline;
}

.bg-pastel-blue { background-color: var(--pastel-blue); }
.bg-pastel-peach { background-color: var(--pastel-peach); }
.bg-pastel-sage { background-color: var(--pastel-sage); }
.pastel-blue-text { color: var(--pastel-blue-text); }
.pastel-peach-text { color: var(--pastel-peach-text); }
.pastel-sage-text { color: var(--pastel-sage-text); }

.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.w-100 { width: 100%; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p, li {
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--text-primary);
  color: var(--bg-color);
  padding: 1rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  border: none;
  transition: var(--transition);
}

.btn-primary-outline {
  display: inline-block;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  padding: 1rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: var(--transition);
  background: transparent;
}

.btn-primary-outline:hover {
  background-color: var(--text-primary);
  color: var(--bg-color);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.btn-primary:hover {
  background-color: #444a46;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.header.scrolled {
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1.3;
  display: inline-block;
  padding-bottom: 0.1em;
}

.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 400;
  transition: var(--transition);
  position: relative;
  display: inline-block;
  line-height: 1.3;
  padding-bottom: 0.2em; /* Gives space for p,g,y tails */
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--text-primary);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link.btn-contact {
  background-color: var(--text-primary);
  color: var(--bg-color);
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
}

.nav-link.btn-contact::after {
  display: none;
}

.nav-link.btn-contact:hover {
  background-color: #444a46;
  transform: translateY(-2px);
}

/* Language Switcher */
.lang-switch {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  margin-left: 0.5rem;
  box-sizing: border-box;
}

.lang-switch:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

/* Global Page Main Setup */
.page-main {
  padding-top: 10rem;
  min-height: 80vh;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
}

.page-header {
  padding: 2rem 0 6rem;
  text-align: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: white;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.hero-title {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 480px;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 500px;
  perspective: 1000px;
}

#hero-ai-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-widget {
  width: 100%;
  padding: 1.25rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(45, 49, 46, 0.06);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.hero-widget:hover {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 28px 56px rgba(45, 49, 46, 0.09);
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 0.5rem;
}

.widget-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--pastel-sage-text);
}

.status-dot.pulsing {
  animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(92, 143, 101, 0.6);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(92, 143, 101, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(92, 143, 101, 0);
  }
}

.widget-ai {
  border-top: 4px solid var(--pastel-blue-text);
  animation: float-slow 12s ease-in-out infinite alternate;
}

.widget-code {
  border-top: 4px solid var(--pastel-sage-text);
  animation: float-medium 9.5s ease-in-out infinite alternate;
}

.widget-flow {
  border-top: 4px solid var(--pastel-peach-text);
  animation: float-fast 7.5s ease-in-out infinite alternate;
}

.widget-body {
  font-size: 0.88rem;
}

.chat-prompt {
  color: var(--text-secondary);
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
  background: rgba(0, 0, 0, 0.03);
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  display: inline-block;
}

.chat-response {
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.chat-response::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 14px;
  background-color: var(--text-primary);
  animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
  from, to { background-color: transparent }
  50% { background-color: var(--text-primary); }
}

.widget-code pre {
  margin: 0;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  overflow-x: auto;
}

.widget-code .keyword { color: var(--pastel-peach-text); font-weight: 600; }
.widget-code .property { color: var(--pastel-blue-text); }
.widget-code .string { color: var(--pastel-sage-text); }

.neural-graph {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.graph-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw-path 8s linear infinite alternate;
}

@keyframes draw-path {
  to {
    stroke-dashoffset: 0;
  }
}

.node-dot {
  fill: #fdfbf7;
  stroke-width: 2px;
  transition: transform 0.3s;
}

.dot-1 { stroke: var(--pastel-blue-text); fill: var(--pastel-blue-text); animation: pulse-node 3s infinite; }
.dot-2 { stroke: var(--pastel-peach-text); fill: var(--pastel-peach-text); animation: pulse-node 3.5s infinite 0.5s; }
.dot-3 { stroke: var(--pastel-sage-text); fill: var(--pastel-sage-text); animation: pulse-node 4s infinite 1s; }
.dot-4 { stroke: var(--pastel-blue-text); fill: var(--pastel-blue-text); animation: pulse-node 3s infinite 1.5s; }
.dot-5 { stroke: var(--pastel-peach-text); fill: var(--pastel-peach-text); animation: pulse-node 3.5s infinite 2s; }

@keyframes pulse-node {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* Hero Code Panels */
.code-panel {
  position: absolute;
  z-index: 12;
  width: min(330px, 72%);
  border-radius: 22px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.6);
  background: linear-gradient(160deg, rgba(255,255,255,0.78), rgba(255,255,255,0.58));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(45, 49, 46, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.code-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(45, 49, 46, 0.12);
}
.panel-main { left: 2%; top: 12%; }
.panel-side { right: 3%; bottom: 8%; width: min(280px, 64%); }
.code-panel-label { display: inline-block; margin-bottom: 0.5rem; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); }
.code-panel pre { margin: 0; }
.code-panel code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.82rem; line-height: 1.45; color: #24312f; }

/* Interactive Hero Geometries */
.geometry-circle {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pastel-blue) 0%, rgba(200, 220, 240, 0.4) 100%);
  box-shadow: -20px 20px 60px rgba(0,0,0,0.05);
  animation: float-slow 12s ease-in-out infinite alternate;
  backdrop-filter: blur(10px);
}

.geometry-pill {
  width: 140px;
  height: 300px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(255, 230, 215, 0.8) 0%, var(--pastel-peach) 100%);
  animation: float-medium 10s ease-in-out infinite alternate-reverse;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.05);
}

.geometry-ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 20px solid rgba(227, 240, 229, 0.65); /* var(--pastel-sage) base */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.04), inset 0 10px 20px rgba(0,0,0,0.02);
  animation: float-fast 9s ease-in-out infinite alternate;
}

@keyframes float-slow {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-10px, -30px) rotate(5deg); }
}

@keyframes float-medium {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(10px, -25px) rotate(-3deg); }
}

@keyframes float-fast {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(15px, 20px) rotate(10deg); }
}

@keyframes laptop-float {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-14px) rotate(1.2deg); }
}

/* Services */
.services {
  padding: 8rem 0;
  background-color: white;
  border-radius: 40px;
  margin: 0 2%;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.service-card {
  display: block;
  text-decoration: none;
  padding: 3rem 2.5rem;
  background-color: var(--bg-color);
  border-radius: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.tech-stack span {
  font-size: 0.76rem;
  line-height: 1;
  padding: 0.48rem 0.65rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(45,49,46,0.08);
  color: var(--text-secondary);
}

.learn-more {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 500;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

.service-card:hover .learn-more {
  opacity: 1;
  transform: translateX(0);
}

/* Services Detail Page */
.services-detail {
  padding-bottom: 10rem;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 8rem;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-icon-large {
  flex: 1;
  height: 400px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-info {
  flex: 1;
}

.service-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.service-info p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.service-features {
  list-style: none;
}

.service-features li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features li::before {
  content: '✓';
  color: var(--text-primary);
  font-weight: bold;
}

/* About Preview on Homepage */
.about-preview {
  padding: 4rem 0 8rem;
}

.about-block {
  padding: 5rem;
  border-radius: 40px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-block:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 30px 60px rgba(92, 143, 101, 0.15);
}

.about-block h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  color: var(--pastel-sage-text);
}

.about-block p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--text-primary);
}

/* Works Section */
.works {
  padding: 8rem 0;
}

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

.work-card {
  cursor: pointer;
}

.work-image {
  height: 350px;
  border-radius: 24px;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  overflow: hidden;
  background-color: rgba(255,255,255,0.55);
}

.work-image-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-image {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.work-card:hover .work-image-media {
  transform: scale(1.06);
}

.work-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
  padding: 2rem 0 8rem;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: white;
  border: 1px solid rgba(45, 49, 46, 0.08);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  transition: var(--transition);
}

.faq-item[open] {
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.04);
  border-color: rgba(74, 123, 176, 0.25);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  padding-right: 2rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -0.15rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-secondary);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 0.85rem;
  color: var(--text-secondary);
}

/* Blog Section */
.blog-section {
  padding: 1rem 0 8rem;
}

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

.blog-card {
  background: white;
  border: 1px solid rgba(45, 49, 46, 0.08);
  border-radius: 24px;
  padding: 1.6rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.05);
}

.blog-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #456b8d;
  background: var(--pastel-blue);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  margin-bottom: 1rem;
}

.blog-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.blog-card p {
  margin-bottom: 1.15rem;
}

.blog-link {
  margin-top: auto;
  font-weight: 500;
}

.blog-link:hover {
  color: #456b8d;
}

/* Blog Index & Article Pages */
.blog-index-section {
  padding-bottom: 8rem;
}

.blog-index-grid {
  display: grid;
  gap: 2rem;
}

.blog-index-card {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 1.5rem;
  background: white;
  border: 1px solid rgba(45, 49, 46, 0.08);
  border-radius: 24px;
  padding: 1.1rem;
  transition: var(--transition);
}

.blog-index-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.05);
}

.blog-index-cover {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.blog-index-content {
  display: flex;
  flex-direction: column;
}

.blog-index-content h2 {
  font-size: 1.55rem;
  margin-bottom: 0.7rem;
}

.blog-index-content p {
  margin-bottom: 1rem;
}

.article-hero {
  padding-bottom: 3rem;
}

.article-hero h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin-bottom: 1rem;
}

.article-lead {
  font-size: 1.2rem;
  max-width: 850px;
  margin-bottom: 1.8rem;
}

.article-cover {
  width: 100%;
  max-width: 980px;
  border-radius: 24px;
  display: block;
  height: clamp(240px, 45vw, 460px);
  object-fit: cover;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
}

.article-section {
  padding-bottom: 8rem;
}

.article-layout {
  max-width: 920px;
}

.article-content h2 {
  font-size: 1.85rem;
  margin: 2.6rem 0 1rem;
}

.article-content p {
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}


/* Websites Page */
.website-hero {
  position: relative;
  padding: 2rem 0 7rem;
}

.website-page-main {
  padding-top: 6rem;
}

.website-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 4rem;
}

.website-title {
  font-size: 4rem;
  margin-bottom: 1.4rem;
}

.website-lead {
  max-width: 620px;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.website-scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem 0.9rem 0;
  color: var(--text-primary);
  font-weight: 600;
}

.website-scroll-link:hover {
  transform: translateY(2px);
}

.scroll-link-text {
  position: relative;
}

.scroll-link-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: rgba(45,49,46,0.24);
}

.scroll-link-icon {
  position: relative;
  width: 28px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid rgba(45,49,46,0.22);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.scroll-link-icon::before,
.scroll-link-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-link-icon::before {
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(45,49,46,0.55);
  animation: scroll-dot-bounce 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.scroll-link-icon::after {
  content: none;
}

.website-hero-visual {
  position: relative;
  display: block;
  perspective: 1600px;
  isolation: isolate;
  width: 100%;
}

.website-hero-visual::before {
  content: "";
  position: absolute;
  right: 10%;
  top: -1%;
  width: clamp(300px, 38vw, 455px);
  height: clamp(300px, 38vw, 455px);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(239,248,255,0.98), rgba(219,237,255,0.9) 52%, rgba(219,237,255,0.18) 76%);
  filter: blur(0.1px);
  z-index: 0;
}

.website-hero-visual::after {
  content: "";
  position: absolute;
  left: 7%;
  bottom: 7%;
  width: clamp(370px, 44vw, 560px);
  height: clamp(145px, 15vw, 205px);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 226, 218, 0.86), rgba(255, 226, 218, 0.12) 72%);
  transform: rotate(-2deg);
  z-index: 0;
}

.website-hero-device {
  position: absolute;
  z-index: 3;
}

.parallax {
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
  width: 100%;
}

.website-showcase-art {
  position: relative;
  z-index: 1;
  width: 110%;
  height: auto;
  display: block;
  border-radius: 0;
  animation: website-showcase-float 8s ease-in-out infinite alternate;
  transform-origin: 58% 70%;
}


.website-device-laptop {
  right: -14%;
  top: 9%;
  width: min(860px, 124%);
  transform-origin: 58% 72%;
  animation: website-laptop-float 8s ease-in-out infinite alternate;
  filter: drop-shadow(0 38px 52px rgba(34,38,36,0.18));
}

.website-device-screen {
  position: relative;
  z-index: 2;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 13px 13px 16px;
  border-radius: 30px 30px 18px 18px;
  background: linear-gradient(180deg, #070809 0%, #151719 100%);
  border: 12px solid #08090a;
  box-shadow:
    0 22px 34px rgba(45,49,46,0.18),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -12px 24px rgba(0,0,0,0.24);
}

.website-device-screen::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  transform: translateX(-50%);
  z-index: 4;
}

.website-device-screen::after {
  content: "MacBook Air";
  position: absolute;
  left: 50%;
  bottom: 3px;
  color: rgba(255,255,255,0.18);
  font-size: 0.58rem;
  letter-spacing: 0.02em;
  transform: translateX(-50%);
  z-index: 4;
}

.website-device-screen img,
.website-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.website-device-screen img {
  border-radius: 9px;
  transform: scale(1.035);
  transform-origin: center top;
}

.website-device-base {
  position: relative;
  z-index: 1;
  width: 122%;
  height: 164px;
  margin: -13px auto 0;
  transform: perspective(760px) rotateX(65deg);
  transform-origin: top center;
  clip-path: polygon(8% 0, 92% 0, 100% 80%, 0 80%);
  border-radius: 0 0 46px 46px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.74), rgba(255,255,255,0) 18%),
    linear-gradient(112deg, #8b9092 0%, #d1d4d5 30%, #767c7e 69%, #e0e3e3 100%);
  box-shadow: 0 36px 58px rgba(45,49,46,0.22), inset 0 1px 0 rgba(255,255,255,0.75);
}

.website-device-base::before {
  content: "";
  position: absolute;
  left: 15%;
  top: 15px;
  width: 70%;
  height: 54px;
  border-radius: 9px;
  background:
    repeating-linear-gradient(90deg, rgba(12,14,15,0.78) 0 17px, transparent 17px 27px),
    repeating-linear-gradient(0deg, rgba(12,14,15,0.7) 0 11px, transparent 11px 19px),
    linear-gradient(180deg, rgba(25,28,29,0.78), rgba(25,28,29,0.52));
  opacity: 0.78;
}

.website-device-base::after {
  content: "";
  position: absolute;
  left: 38%;
  top: 82px;
  width: 24%;
  height: 38px;
  border-radius: 12px;
  background: rgba(76, 82, 84, 0.3);
  box-shadow: inset 0 1px 5px rgba(255,255,255,0.42), 0 1px 0 rgba(255,255,255,0.22);
}

.website-device-phone {
  right: -4%;
  bottom: 9%;
  width: min(186px, 24%);
  z-index: 6;
  animation: website-phone-float 8.8s ease-in-out infinite alternate-reverse;
  filter: drop-shadow(0 26px 36px rgba(34,38,36,0.2));
}

.website-phone-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19.4;
  padding: 8px;
  border-radius: 40px;
  background: linear-gradient(180deg, #101214 0%, #050606 100%);
  border: 4px solid #111314;
  box-shadow: 0 24px 42px rgba(45,49,46,0.22), inset 0 1px 0 rgba(255,255,255,0.2);
}

.website-phone-screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 76px;
  height: 18px;
  border-radius: 999px;
  background: #050606;
  transform: translateX(-50%);
  z-index: 4;
}

.website-phone-screen::after {
  content: "9:41";
  position: absolute;
  top: 15px;
  left: 20px;
  z-index: 4;
  color: #111;
  font-size: 0.5rem;
  font-weight: 700;
}

.website-phone-screen img {
  border-radius: 30px;
  transform: scale(1.08);
  transform-origin: center top;
}

.website-metric {
  position: absolute;
  z-index: 8;
  width: min(236px, 42%);
  padding: 1.2rem 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.74);
  background: linear-gradient(160deg, rgba(255,255,255,0.94), rgba(255,255,255,0.76));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(45,49,46,0.11);
}

.website-metric strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.website-metric span {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.55;
}

.website-metric-top {
  right: 0;
  top: 8%;
}

.website-metric-bottom {
  left: 8%;
  bottom: 16%;
}

@keyframes website-laptop-float {
  0% { transform: perspective(1200px) rotateY(-7deg) rotateX(2deg) rotateZ(1deg) translateY(0); }
  100% { transform: perspective(1200px) rotateY(-7deg) rotateX(2deg) rotateZ(1deg) translateY(-12px); }
}

@keyframes website-phone-float {
  0% { transform: translateY(0) rotate(0.5deg); }
  100% { transform: translateY(-10px) rotate(-0.8deg); }
}

@keyframes website-showcase-float {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(0.4deg); }
}

.website-value-section,
.website-flow-section,
.website-build-section {
  padding: 7rem 0;
}

.website-examples-section {
  padding: 5.5rem 0 2rem;
}

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

.website-example-card {
  border-radius: 28px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(45,49,46,0.07);
  box-shadow: 0 18px 40px rgba(45,49,46,0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.website-example-card:hover {
  transform: translateY(-8px);
}

.website-example-visual {
  position: relative;
  aspect-ratio: 1.06 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7f2, #edf7ff);
}

.website-example-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.website-example-copy {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.website-example-copy strong,
.website-example-copy span {
  display: block;
}

.website-example-copy strong {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.website-example-copy span {
  color: var(--text-secondary);
}



.website-value-section {
  background: white;
  border-radius: 40px;
  margin: 0 2%;
}

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

.website-value-card {
  padding: 2rem;
  border-radius: 24px;
  background: var(--bg-color);
  border: 1px solid rgba(45,49,46,0.06);
  transition: var(--transition);
}

.website-value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.04);
}

.website-value-number {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--pastel-blue-text);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.website-value-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.website-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  padding: 1.5rem;
  border-radius: 22px;
  background: white;
  border: 1px solid rgba(45,49,46,0.08);
}

.flow-step::before {
  counter-increment: flow;
  content: counter(flow);
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--pastel-sage);
  color: var(--pastel-sage-text);
  font-weight: 700;
}

.flow-step span {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.website-build-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 4rem;
}

.website-checklist {
  display: grid;
  gap: 1rem;
}

.website-checklist div {
  padding: 1.35rem;
  border-radius: 20px;
  background: white;
  border: 1px solid rgba(45,49,46,0.08);
  transition: var(--transition);
}

.website-checklist div:hover {
  transform: translateX(6px);
  border-color: rgba(74,123,176,0.22);
}

.website-checklist strong,
.website-checklist span {
  display: block;
}

.website-checklist strong {
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.website-checklist span {
  color: var(--text-secondary);
}

@keyframes website-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-14px); }
}

@keyframes website-scan {
  0%, 100% { transform: translateX(0); opacity: 0.56; }
  50% { transform: translateX(18px); opacity: 0.96; }
}


/* About Page */
.about-content {
  padding-bottom: 8rem;
}

/* Bento Grid for About page */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 8rem;
}

.about-card {
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-sizing: border-box;
}

.about-card-text {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

.about-card-image {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
  aspect-ratio: 4/5;
}

/* Card layout spans */
.about-grid .span-2 {
  grid-column: span 2;
}

.about-grid .span-1 {
  grid-column: span 1;
}

/* Specific glows/accents on text cards */
.about-card-text.accent-peach {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 226, 218, 0.35) 100%);
  border-color: rgba(255, 226, 218, 0.8);
}

.about-card-text.accent-blue {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(219, 237, 255, 0.35) 100%);
  border-color: rgba(219, 237, 255, 0.8);
}

/* Hover effects */
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(45, 49, 46, 0.08);
}

.about-card-image .about-image-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-card-image:hover .about-image-media {
  transform: scale(1.05);
}

.about-card-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-primary);
}

.about-card-text p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(45, 49, 46, 0.8);
  margin-bottom: 1.25rem;
}

.about-card-text p:last-child {
  margin-bottom: 0;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .about-grid .span-2 {
    grid-column: span 2;
  }
  
  .about-grid .span-1 {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .about-content {
    padding-bottom: 3rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }
  
  .about-grid .span-2,
  .about-grid .span-1 {
    grid-column: span 1;
  }

  .about-card {
    border-radius: 20px;
  }

  .about-card-text {
    padding: 1.5rem;
  }
  
  .about-card-text h2 {
    font-size: 1.55rem;
    margin-bottom: 0.85rem;
    text-wrap: balance;
  }

  .about-card-text p {
    font-size: 0.96rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
    text-wrap: pretty;
  }

  .about-card-image {
    aspect-ratio: 16 / 9;
  }
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-image-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  color: rgba(45, 49, 46, 0.4);
}

/* Contact Page */
.contact-section {
  padding-bottom: 8rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.contact-info .detail-item {
  margin-bottom: 1.5rem;
}

.contact-info .detail-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-info .detail-item a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.25rem;
  border-bottom: 1px solid var(--text-primary);
}

.contact-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.contact-hero .badge {
  margin-bottom: 1.5rem;
}

.contact-hero h1 {
  margin-bottom: 1.5rem;
}

.contact-hero p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.6;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.contact-card-premium {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 2.5rem;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.02);
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.contact-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.contact-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.contact-card-premium:hover::before {
  opacity: 1;
}

/* Card custom backgrounds */
.contact-card-whatsapp {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.04) 0%, rgba(255, 255, 255, 0.6) 100%);
  border-color: rgba(37, 211, 102, 0.15);
}
.contact-card-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.35);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.contact-card-instagram {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.04) 0%, rgba(255, 255, 255, 0.6) 100%);
  border-color: rgba(225, 48, 108, 0.15);
}
.contact-card-instagram:hover {
  border-color: rgba(225, 48, 108, 0.35);
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.08) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.contact-card-phone {
  background: linear-gradient(135deg, rgba(45, 49, 46, 0.02) 0%, rgba(255, 255, 255, 0.6) 100%);
  border-color: rgba(45, 49, 46, 0.08);
}
.contact-card-phone:hover {
  border-color: rgba(45, 49, 46, 0.2);
  background: linear-gradient(135deg, rgba(45, 49, 46, 0.05) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.contact-card-header {
  position: relative;
  z-index: 2;
}

.contact-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-premium:hover .contact-icon-wrapper {
  transform: scale(1.08) rotate(3deg);
}

.contact-icon-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

.contact-icon-instagram {
  background: rgba(225, 48, 108, 0.1);
  color: #E1306C;
}

.contact-icon-phone {
  background: rgba(45, 49, 46, 0.06);
  color: var(--text-primary);
}

.contact-card-premium h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.contact-card-premium p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

.contact-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.contact-card-value {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(45, 49, 46, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.contact-card-premium:hover .contact-card-arrow {
  background: var(--text-primary);
  color: white;
  transform: translateX(4px);
}

/* Responsive styles */
@media (max-width: 992px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding-bottom: 3rem;
  }
  
  .contact-hero {
    margin-bottom: 2rem;
  }
  
  .contact-hero h1 {
    font-size: 1.8rem; /* Make header smaller */
  }
  
  .contact-hero p {
    font-size: 0.95rem; /* Make description text smaller */
  }
  
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem; /* Reduce gap between cards even more */
  }
  
  .contact-card-premium {
    padding: 1.25rem 1.25rem; /* Make card padding significantly more compact */
    border-radius: 20px; /* Smaller border radius to fit mobile perfectly */
  }
  
  .contact-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    margin-bottom: 0.75rem; /* Reduce margin below icon */
  }
  
  .contact-icon-wrapper svg {
    width: 18px;
    height: 18px; /* Scale icon inside wrapper */
  }
  
  .contact-card-premium h2 {
    font-size: 1.15rem; /* Shrink h2 */
    margin-bottom: 0.25rem;
  }
  
  .contact-card-premium p {
    font-size: 0.85rem; /* Shrink card body */
    line-height: 1.45;
    margin-bottom: 1.25rem; /* Reduce spacing before footer */
  }
  
  .contact-card-value {
    font-size: 0.95rem; /* Shrink phone/username text */
  }
  
  .contact-card-arrow {
    width: 28px;
    height: 28px; /* Scale arrow container */
    font-size: 0.85rem;
  }
}

/* CTA Section */
.cta-section {
  padding: 8rem 0;
}

.cta-box {
  background-color: var(--pastel-blue);
  padding: 6rem 4rem;
  border-radius: 40px;
  text-align: center;
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
  color: var(--text-primary);
}

/* Footer */
.footer {
  padding: 4rem 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.copyright {
  font-size: 0.75rem !important;
  color: var(--text-secondary);
  opacity: 0.7;
  margin-top: 0.6rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.footer-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-social-link::after {
  display: none !important;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-20px) scale(1.05); }
}

.js .reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
  .services-grid, .works-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-index-card {
    grid-template-columns: 1fr;
  }

  .blog-index-cover {
    height: 300px;
  }
}

@media (max-width: 900px) {
  .cursor-dot,
  .cursor-outline {
    display: none !important;
  }
  
  body.custom-cursor-active,
  body.custom-cursor-active a,
  body.custom-cursor-active button {
    cursor: auto;
  }
  
  body.custom-cursor-active a,
  body.custom-cursor-active button,
  body.custom-cursor-active [role="button"] {
    cursor: pointer;
  }

  .hero {
    min-height: auto;
    padding: 5.5rem 0 2.5rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .about-split, .about-split.reverse, .service-row, .service-row.reverse, .contact-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  
  .badge {
    margin-bottom: 1.25rem;
  }
  
  .hero-subtitle {
    margin: 0 auto;
    font-size: 1.05rem;
  }
  
  .hero-visual {
    height: 220px;
  }

  .panel-side {
    display: none !important;
  }
  
  .panel-main {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(330px, 92%) !important;
  }

  .geometry-circle {
    width: 180px !important;
    height: 180px !important;
  }
  .geometry-pill {
    width: 90px !important;
    height: 200px !important;
  }
  .geometry-ring {
    width: 110px !important;
    height: 110px !important;
    border-width: 15px !important;
  }
  
  .services, .works, .cta-section, .about-preview {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .cta-box {
    padding: 3rem 1.5rem;
  }

  .footer {
    padding: 2.5rem 0;
  }

  .faq-section {
    padding: 1rem 0 3rem;
  }

  .blog-section {
    padding: 0 0 3rem;
  }

  .blog-index-section,
  .article-section {
    padding-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  /* Container padding */
  .container {
    padding: 0 1.25rem !important;
  }

  /* Grid spacing and layout scaling */
  .services-grid, 
  .works-grid, 
  .blog-grid, 
  .website-examples-grid, 
  .website-value-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  
  .section-title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  /* Global body paragraph scaling for mobile */
  p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  /* Service Card Mobile adjustments */
  .service-card {
    padding: 2rem 1.5rem !important;
    border-radius: 20px !important;
  }
  
  .card-icon {
    margin-bottom: 1.25rem !important;
  }

  /* Case study (Work Card) image adjustments for reduced vertical scroll */
  .work-image {
    height: 200px !important;
    border-radius: 20px !important;
    margin-bottom: 1rem !important;
  }

  .work-info h4 {
    font-size: 1.15rem !important;
    margin-bottom: 0.35rem !important;
  }

  /* Article content legibility rules */
  .article-content h2 {
    font-size: 1.55rem;
  }

  .article-content p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .page-header {
    padding: 2rem 0 3rem;
  }

  /* About Card padding */
  .about-card-text {
    padding: 1.5rem;
  }

  /* Website examples card */
  .website-example-card {
    border-radius: 20px;
  }

  .website-example-visual {
    aspect-ratio: 16 / 9;
  }

  .website-example-copy {
    padding: 1.15rem 1.15rem 1.25rem;
  }

  .website-example-copy strong {
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
  }

  .website-example-copy span {
    font-size: 0.88rem;
    line-height: 1.45;
  }
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }
}


@media (max-width: 1024px) {
  .website-hero-grid,
  .website-build-grid {
    grid-template-columns: 1fr;
  }

  .website-hero-visual {
    min-height: 460px;
  }

  .website-value-grid,
  .website-flow,
  .website-examples-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .website-hero {
    padding: 1rem 0 4rem;
  }

  .website-title {
    font-size: 2.7rem;
  }

  .website-lead {
    font-size: 1.05rem;
  }

  .website-scroll-link {
    padding-right: 0;
  }

  /* website-hero-visual and website-showcase-art handled by final mobile reorder block */

  .website-device-laptop {
    left: 50%;
    right: auto;
    top: 13%;
    width: min(440px, 102%);
    animation: none;
    transform: translateX(-50%) perspective(1200px) rotateY(-6deg) rotateX(2deg) rotateZ(1deg);
  }

  .website-device-base {
    height: 112px;
  }

  .website-device-phone {
    right: 0;
    bottom: 5%;
    width: min(118px, 28%);
    animation: none;
  }

  .website-metric {
    width: min(172px, 48%);
    padding: 0.9rem 0.95rem;
  }

  .website-metric-top {
    right: 0;
    top: 2%;
  }

  .website-metric-bottom {
    left: 0;
    bottom: 1%;
  }

  .website-examples-grid {
    grid-template-columns: 1fr;
  }

  .website-examples-section {
    padding: 2.5rem 0 1rem;
  }

  .website-value-section,
  .website-flow-section,
  .website-build-section {
    padding: 3rem 0;
  }

  .website-flow {
    grid-template-columns: 1fr;
  }
}


/* Website page visual upgrade */
.website-value-section {
  background: linear-gradient(135deg, #fff8f3 0%, #f4fbff 48%, #f4fbf1 100%);
  overflow: hidden;
}

.website-value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.website-value-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: white;
  box-shadow: 0 14px 34px rgba(45,49,46,0.04);
}

.website-value-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: var(--card-accent, var(--pastel-blue));
}

.value-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border-radius: 18px;
  color: var(--card-text, var(--pastel-blue-text));
  background: var(--card-soft, var(--pastel-blue));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.78), 0 10px 18px rgba(45,49,46,0.08);
}

.value-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.value-coral {
  --card-accent: #ffb4a3;
  --card-soft: #ffe3dc;
  --card-text: #9b513f;
}

.value-blue {
  --card-accent: #9cc9f1;
  --card-soft: #e3f2ff;
  --card-text: #3e729f;
}

.value-sage {
  --card-accent: #9ed2aa;
  --card-soft: #e7f6e9;
  --card-text: #4e8659;
}

.value-gold {
  --card-accent: #f5c96d;
  --card-soft: #fff1c9;
  --card-text: #8a6620;
}

.value-lilac {
  --card-accent: #c8b6ff;
  --card-soft: #eee8ff;
  --card-text: #6a57a3;
}

.value-mint {
  --card-accent: #8ddfd1;
  --card-soft: #ddf8f3;
  --card-text: #2f8478;
}

.website-showcase-section {
  padding: 7rem 0;
}

.website-showcase-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

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

.showcase-tile {
  min-height: 180px;
  padding: 1.35rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 18px 40px rgba(45,49,46,0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.showcase-tile:hover {
  transform: translateY(-6px) rotate(-0.5deg);
}

.tile-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-tile:hover .tile-icon-wrapper {
  transform: scale(1.08) rotate(2deg);
}

.tile-icon {
  width: 22px;
  height: 22px;
}

.tile-identity .tile-icon-wrapper {
  background: rgba(184, 115, 98, 0.12);
  color: #b87362;
}

.tile-language .tile-icon-wrapper {
  background: rgba(74, 123, 176, 0.12);
  color: #4a7bb0;
}

.tile-visibility .tile-icon-wrapper {
  background: rgba(92, 143, 101, 0.12);
  color: #5c8f65;
}

.tile-systems .tile-icon-wrapper {
  background: rgba(147, 112, 219, 0.12);
  color: #8a2be2;
}

.showcase-tile strong,
.showcase-tile span {
  display: block;
}

.showcase-tile strong {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.showcase-tile span {
  color: rgba(45,49,46,0.72);
}

.tile-identity {
  background: linear-gradient(135deg, #ffe3dc, #fff8f3);
}

.tile-language {
  background: linear-gradient(135deg, #e3f2ff, #f8fcff);
  margin-top: 2rem;
}

.tile-visibility {
  background: linear-gradient(135deg, #e7f6e9, #fbfff9);
}

.tile-systems {
  background: linear-gradient(135deg, #eee8ff, #fff9f3);
  margin-top: 2rem;
}

.website-flow-section {
  background: #ffffff;
  border-radius: 40px;
  margin: 0 2%;
}

.flow-step {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #fdfbf7);
}

.flow-step::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 90px;
  height: 90px;
  border-radius: 28px;
  background: rgba(224,240,255,0.72);
  transform: rotate(18deg);
}

@media (max-width: 1024px) {
  .website-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .website-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .website-value-card {
    min-height: auto;
    padding: 1.15rem 1rem;
    border-radius: 18px;
  }

  .value-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    margin-bottom: 0.75rem;
  }

  .value-icon svg {
    width: 18px;
    height: 18px;
  }

  .website-value-number {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .website-value-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    line-height: 1.25;
  }

  .website-value-card p {
    font-size: 0.78rem;
    line-height: 1.4;
  }

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

  .showcase-tile {
    min-height: auto;
    padding: 1.15rem 1rem;
    border-radius: 18px;
    gap: 0.4rem;
  }

  .tile-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .tile-icon {
    width: 18px;
    height: 18px;
  }

  .showcase-tile strong {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .showcase-tile span {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .website-showcase-section {
    padding: 5rem 0;
  }

  .tile-language,
  .tile-systems {
    margin-top: 0;
  }
}


/* Mobile header simplification */
@media (max-width: 768px) {
  .header {
    padding: 1.15rem 0;
  }

  .header.scrolled {
    padding: 0.9rem 0;
  }

  .header-container {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0;
  }

  .header .nav {
    display: none;
  }

  .logo {
    font-size: 1.5rem;
  }

  .page-main {
    padding-top: 7rem;
  }
}


/* Mobile slide-out navigation */
.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(45, 49, 46, 0.08);
  border-radius: 50%;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding-right: 13px;
  box-shadow: 0 8px 24px rgba(45, 49, 46, 0.04);
  transition: var(--transition);
  cursor: pointer;
  outline: none;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:active {
  background: var(--pastel-sage);
  border-color: rgba(92, 143, 101, 0.3);
}

.mobile-menu-toggle:focus {
  outline: none;
}

.mobile-menu-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(92, 143, 101, 0.25);
}

.mobile-menu-toggle span {
  width: 20px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--text-primary);
  transition: var(--transition);
}

.mobile-menu-toggle span:first-child {
  width: 20px;
}

.mobile-menu-toggle span:last-child {
  width: 14px;
}

.mobile-nav-open .mobile-menu-toggle span:first-child {
  width: 20px;
  transform: translateY(3.25px) rotate(45deg);
}

.mobile-nav-open .mobile-menu-toggle span:last-child {
  width: 20px;
  transform: translateY(-3.25px) rotate(-45deg);
}

@media (max-width: 768px) {
  .header-container {
    position: relative;
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 130;
  }

  .header .nav {
    display: flex;
    position: fixed;
    top: 5.2rem;
    right: 5%;
    width: min(300px, 90vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid rgba(45,49,46,0.08);
    background: rgba(253,251,247,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 55px rgba(45,49,46,0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .header.scrolled .nav {
    top: 3.8rem;
  }

  .mobile-nav-open .header .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .header .nav-link,
  .header .lang-switch {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    text-align: left;
    border: 1px solid rgba(45,49,46,0.06);
    background: white;
  }

  .header .nav-link::after {
    display: none;
  }

  .header .nav-link.btn-contact {
    text-align: center;
    padding: 0.9rem 1rem;
    background: white;
    color: var(--text-primary);
    border-color: rgba(23, 99, 211, 0.9);
  }
}


/* Website identity/process refinements */
.website-hero {
  background: linear-gradient(135deg, #fff8f3 0%, #f8fcff 58%, #f8fff6 100%);
  border-bottom-left-radius: 44px;
  border-bottom-right-radius: 44px;
}

.website-showcase-section {
  background: linear-gradient(135deg, #f7fbff 0%, #fff8f3 100%);
  border-radius: 40px;
  margin: 0 2%;
}

.value-icon {
  position: relative;
}

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

.process-step {
  position: relative;
  min-height: 260px;
  padding: 1.5rem;
  border-radius: 24px;
  background: white;
  border: 1px solid rgba(45,49,46,0.08);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(45,49,46,0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.process-step::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background: rgba(255,228,220,0.78);
  transform: rotate(18deg);
}

.process-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(74, 123, 176, 0.08);
  color: #4a7bb0;
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: relative;
  z-index: 2;
}

.process-step:hover .process-icon-wrapper {
  transform: scale(1.08) translateY(-2px);
  background-color: rgba(74, 123, 176, 0.14);
}

.process-icon {
  width: 22px;
  height: 22px;
}

.process-step-number {
  position: absolute;
  top: -6px;
  right: -6px;
  display: flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pastel-blue);
  color: var(--pastel-blue-text);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.process-step span:not(.process-step-number) {
  display: none;
}

.process-step h3 {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.process-step p {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .website-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .website-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .process-step {
    min-height: auto;
    padding: 1.15rem 1rem;
    border-radius: 18px;
  }

  .process-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    margin-bottom: 0.75rem;
  }

  .process-icon {
    width: 18px;
    height: 18px;
  }

  .process-step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    line-height: 1.25;
  }

  .process-step p {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .process-step-number {
    font-size: 0.68rem;
  }

  .process-step::after {
    width: 60px;
    height: 60px;
    right: -15px;
    bottom: -15px;
  }
}

@media (max-width: 768px) {
  .website-hero-grid {
    display: flex !important;
    flex-direction: column !important;
    max-width: 100%;
  }

  .website-hero-copy,
  .website-title,
  .website-lead {
    max-width: 100%;
  }

  .website-metric {
    width: min(148px, 44%);
    padding: 0.8rem 0.85rem;
  }

  .website-metric span {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .website-metric-top {
    right: 0;
    top: 1%;
  }

  .website-metric-bottom {
    left: 0;
    bottom: 2%;
  }
}

@media (max-width: 768px) {
  .website-hero-copy {
    width: 100%;
    min-width: 0;
  }

  .website-title .italic-serif {
    display: inline;
  }

  .website-title,
  .website-lead {
    width: 100%;
    overflow-wrap: break-word;
  }
}

@media (max-width: 768px) {
  .container.website-hero-grid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
  }

  .website-hero-copy {
    max-width: calc(100vw - 48px) !important;
  }

  .website-title,
  .website-lead,
  .website-scroll-link {
    max-width: calc(100vw - 48px) !important;
  }

  .website-title {
    font-size: clamp(2rem, 8.8vw, 2.25rem) !important;
  }
}

.mobile-title-break {
  display: none;
}

@media (max-width: 768px) {
  .mobile-title-break {
    display: block;
  }

  .website-metric-top {
    left: min(190px, 51vw) !important;
    right: auto !important;
  }
}

@media (max-width: 768px) {
  /* website-lead sizing handled by the final mobile reorder block */
}

/* Generated photorealistic mockup already contains cards and pastel shapes. */
.website-hero-visual::before,
.website-hero-visual::after {
  display: none;
}

@media (max-width: 768px) {
  /* Handled by the later mobile reorder block */
}

.website-hero-copy {
  position: relative;
  z-index: 10;
}

.website-hero-visual {
  z-index: 1;
}

.website-showcase-art {
  z-index: 1 !important;
}

.website-title .italic-serif {
  display: block;
  width: fit-content;
  max-width: 100%;
}

@media (max-width: 768px) {
  /* Mobile showcase-art is handled by the reorder block below */
}

/* Website hero refinement: keep copy and generated mockup visually balanced. */
.website-hero {
  padding: 1.25rem 0 4.5rem;
}

.website-hero-grid {
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2.25rem;
  align-items: center;
}

.website-title {
  font-size: clamp(3.15rem, 4.45vw, 4.35rem);
  line-height: 1.04;
  margin-bottom: 1rem;
}

.website-lead {
  max-width: 530px;
  font-size: 1.08rem;
  line-height: 1.68;
  margin-bottom: 1.1rem;
}

/* Premium scroll-down indicator (mouse lozenge with animated dot) */
.website-scroll-link {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 44px;
  margin: 0;
  background: transparent;
  z-index: 15;
}

.website-scroll-link:hover {
  transform: translateX(-50%) translateY(-3px);
}

.scroll-link-icon {
  position: relative;
  width: 28px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid rgba(45,49,46,0.22);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 1;
  filter: none;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.website-scroll-link:hover .scroll-link-icon {
  border-color: rgba(45,49,46,0.4);
  box-shadow: 0 6px 20px rgba(45,49,46,0.1);
}

.scroll-link-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(45,49,46,0.55);
  animation: scroll-dot-bounce 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.scroll-link-icon::after {
  content: none;
}

@keyframes scroll-dot-bounce {
  0%, 100% {
    top: 8px;
    opacity: 1;
  }
  50% {
    top: 24px;
    opacity: 0.3;
  }
}

.website-hero-visual {
  min-height: auto;
}

.website-showcase-art {
  width: 110% !important;
  right: auto !important;
  top: auto !important;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-primary);
}

.footer-social-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7890bd, #b87362 55%, #8c9564);
  box-shadow: 0 0 0 4px rgba(184,115,98,0.1);
}

@media (max-width: 1024px) {
  .website-hero-grid {
    grid-template-columns: 1fr;
  }

  .website-hero-visual {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .website-hero {
    padding: 0.75rem 0 3.5rem;
  }

  /* Reorder: mockup ABOVE text on mobile */
  .website-hero-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .website-hero-visual {
    order: -1 !important;
    position: relative !important;
    min-height: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto 1.5rem !important;
    overflow: visible !important;
    border-radius: 20px !important;
  }

  .website-showcase-art {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    animation: none !important;
    display: block;
    border-radius: 16px;
  }

  .website-hero-copy {
    order: 1 !important;
    text-align: center;
  }

  .website-title {
    font-size: clamp(2rem, 8.8vw, 2.35rem) !important;
    line-height: 1.13;
  }

  .website-lead {
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 0.95rem !important;
    line-height: 1.58 !important;
    margin-bottom: 1.25rem;
  }

  .website-scroll-link {
    width: 26px;
    height: 40px;
    bottom: 12px;
  }

  .scroll-link-icon {
    width: 26px;
    height: 40px;
    border-radius: 13px;
  }
}

/* Final desktop containment for generated website mockup. */
@media (min-width: 1025px) {
  .website-hero-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    align-items: center;
  }

  .website-title {
    font-size: clamp(3.12rem, 4.08vw, 4rem);
    line-height: 1.04;
    max-width: 560px;
  }

  .website-title .italic-serif {
    display: inline;
    width: auto;
  }

  .website-lead {
    max-width: 470px;
    font-size: 1.02rem;
    line-height: 1.62;
    margin-bottom: 0;
  }

  .website-hero-visual {
    min-height: auto;
    overflow: visible;
    border-radius: 34px;
    align-self: center;
  }

  .website-showcase-art {
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 110% !important;
    max-width: none !important;
    animation: website-showcase-float 8s ease-in-out infinite alternate;
  }
}

/* Final mobile alignment fixes */
@media (max-width: 768px) {
  .website-hero {
    overflow: hidden;
  }

  .website-hero-copy {
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 12px;
  }

  .website-title,
  .website-lead {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .website-title .italic-serif {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .header .nav-link.btn-contact {
    text-align: left !important;
    justify-content: flex-start !important;
    color: var(--text-primary) !important;
    border-color: rgba(45,49,46,0.06) !important;
    background: white !important;
  }
}

/* Mobile readability tune for websites and contact pages */
@media (max-width: 768px) {
  .website-examples-grid,
  .website-value-grid,
  .website-flow,
  .showcase-board,
  .website-process-grid {
    grid-template-columns: 1fr !important;
  }

  .website-example-copy {
    padding: 1.35rem 1.35rem 1.45rem;
  }

  .website-example-copy strong,
  .website-checklist strong,
  .flow-step span,
  .showcase-tile strong {
    font-size: 1.16rem !important;
    line-height: 1.28;
  }

  .website-example-copy span,
  .website-value-card p,
  .website-checklist span,
  .flow-step p,
  .showcase-tile span,
  .process-step p {
    font-size: 1rem !important;
    line-height: 1.62 !important;
  }

  .website-value-card h3,
  .process-step h3 {
    font-size: 1.24rem !important;
    line-height: 1.28;
  }

  .website-value-number {
    font-size: 0.95rem !important;
  }

  .contact-hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.7rem) !important;
    line-height: 1.08;
  }

  .contact-hero p {
    font-size: 1.06rem !important;
    line-height: 1.65 !important;
  }

  .contact-card-premium {
    padding: 1.65rem 1.45rem !important;
  }

  .contact-card-premium h2 {
    font-size: 1.35rem !important;
    line-height: 1.22;
  }

  .contact-card-premium p {
    font-size: 1rem !important;
    line-height: 1.58 !important;
  }

  .contact-card-value {
    font-size: 1.08rem !important;
    line-height: 1.28;
  }
}

/* Final social icon and compact scroll refinements */
.instagram-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1.7px solid currentColor;
  border-radius: 5px;
  color: var(--text-primary);
  flex: 0 0 auto;
}

.instagram-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.instagram-icon::after {
  content: "";
  position: absolute;
  right: 3.2px;
  top: 3.2px;
  width: 2.6px;
  height: 2.6px;
  border-radius: 50%;
  background: currentColor;
}

.footer-social-link {
  gap: 0;
  min-width: 24px;
  justify-content: center;
}

.footer-social-link::before {
  content: none !important;
}

.contact-instagram-link,
.contact-action-inline {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .website-scroll-link {
    width: 20px !important;
    height: 28px !important;
    bottom: 46px !important;
  }

  .scroll-link-icon {
    width: 20px !important;
    height: 28px !important;
    border-width: 1.5px !important;
    border-radius: 999px !important;
  }

  .scroll-link-icon::before {
    width: 3px !important;
    height: 3px !important;
    top: 6px;
  }

  @keyframes scroll-dot-bounce {
    0%, 100% {
      top: 6px;
      opacity: 1;
    }
    50% {
      top: 16px;
      opacity: 0.35;
    }
  }
}

@media (max-width: 768px) {
  .website-scroll-link {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0.4rem auto 0 !important;
  }

  .website-scroll-link:hover {
    transform: translateY(2px) !important;
  }
}

@media (max-width: 768px) {
  .website-hero-grid {
    gap: 0 !important;
  }

  .website-hero-visual {
    margin-bottom: 0.75rem !important;
  }
}






/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: 90%;
  max-width: 580px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  padding: 1.2rem 1.6rem;
  z-index: 10000;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  pointer-events: auto;
}

.cookie-consent-banner {
  animation: cookieSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s;
}

@keyframes cookieSlideUp {
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.cookie-consent-banner.fade-out {
  transform: translateX(-50%) translateY(30px);
  opacity: 0;
  pointer-events: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-content p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
  font-family: var(--font-sans);
}

.cookie-btn {
  flex-shrink: 0;
  background-color: var(--text-primary);
  color: var(--bg-color);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn:hover {
  background-color: var(--pastel-sage-text);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    bottom: 1.5rem;
    padding: 1.1rem;
    width: 92%;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }
  
  .cookie-btn {
    width: 100%;
    text-align: center;
    padding: 0.7rem 1.2rem;
  }
}

/* Accessibility & Focus Indicators (WCAG AA Compliance) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible {
    outline: 2.5px solid var(--pastel-sage-text, #5c8f65);
    outline-offset: 4px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: scroll !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  
  .cursor-dot, 
  .cursor-outline,
  [data-cursor-dot],
  [data-cursor-outline] {
    display: none !important;
  }
  
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
