/* ==========================================
   TURTLES WEB - PAGE HOME STYLES (UNIVERSAL MOBILE & DESKTOP)
   ========================================== */

/* Import Clean Sans-Serif & Monospace Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* Global Reset & Base Layout Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plain', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000000;
    color: #F6F6F6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.dark-theme {
    background-color: #000000;
    color: #F6F6F6;
}

/* ------------------------------------- */
/* NAVBAR STYLES LOADED FROM LAYOUT.CSS */

/* ------------------------------------- */
/* REDESIGNED HERO SECTION               */
/* ------------------------------------- */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 240px 24px 40px !important;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 1300px;
}

.hero-title {
  font-size: clamp(34px, 5.2vw, 76px) !important;
  line-height: 1.05 !important;
  letter-spacing: -2px !important;
  color: #F6F6F6 !important;
  margin-top: 0 !important;
  margin-bottom: 36px !important;
  max-width: 100% !important;
  width: 100% !important;
  white-space: nowrap !important;
  font-weight: 500 !important;
  transition: color 0.8s ease;
}

.hero-title .title-italic,
.title-italic {
  font-style: italic !important;
  font-weight: 200 !important;
  color: inherit !important;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 60px;
  gap: 32px;
}

.hero-description {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 90%;
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

/* Secondary Button */
.btn {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  height: 48px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.310391px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

/* Stylized CTA Button */
.button {
  --h-button: 48px;
  --round: 0.75rem;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.25s ease;
  background: radial-gradient(
      65.28% 65.28% at 50% 100%,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(0deg, #111111, #111111);
  border-radius: var(--round);
  border: none;
  outline: none;
  padding: 14px 28px;
  text-decoration: none;
  box-sizing: border-box;
  height: 48px;
}

.button::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  transition: all 0.5s ease-in-out;
  border-radius: calc(var(--round) - 1px);
  z-index: 0;
  background: linear-gradient(
    177.95deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.button::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  transition: all 0.5s ease-in-out;
  border-radius: calc(var(--round) - 2px);
  z-index: 0;
  background: radial-gradient(
      65.28% 65.28% at 50% 100%,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(0deg, #111111, #111111);
}

.button:active {
  transform: scale(0.95);
}

.fold {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  height: 1rem;
  width: 1rem;
  display: inline-block;
  transition: all 0.5s ease-in-out;
  background: radial-gradient(
    100% 75% at 55%,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow: 0 0 4px rgba(0,0,0,0.8);
  border-bottom-left-radius: 0.5rem;
  border-top-right-radius: var(--round);
  overflow: hidden;
}

.fold::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150%;
  height: 150%;
  transform: rotate(45deg) translateX(0%) translateY(-18px);
  background-color: #000000;
  pointer-events: none;
  transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover .fold {
  margin-top: -1rem;
  margin-right: -1rem;
}

.points_wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
}

.points_wrapper .point {
  bottom: -10px;
  position: absolute;
  animation: floating-points infinite ease-in-out;
  pointer-events: none;
  width: 2px;
  height: 2px;
  background-color: #fff;
  border-radius: 9999px;
}

@keyframes floating-points {
  0% { transform: translateY(0); }
  85% { opacity: 0; }
  100% { transform: translateY(-55px); opacity: 0; }
}

.points_wrapper .point:nth-child(1) { left: 10%; opacity: 1; animation-duration: 2.35s; animation-delay: 0.2s; }
.points_wrapper .point:nth-child(2) { left: 30%; opacity: 0.7; animation-duration: 2.5s; animation-delay: 0.5s; }
.points_wrapper .point:nth-child(3) { left: 25%; opacity: 0.8; animation-duration: 2.2s; animation-delay: 0.1s; }
.points_wrapper .point:nth-child(4) { left: 44%; opacity: 0.6; animation-duration: 2.05s; }
.points_wrapper .point:nth-child(5) { left: 50%; opacity: 1; animation-duration: 1.9s; }
.points_wrapper .point:nth-child(6) { left: 75%; opacity: 0.5; animation-duration: 1.5s; animation-delay: 1.5s; }
.points_wrapper .point:nth-child(7) { left: 88%; opacity: 0.9; animation-duration: 2.2s; animation-delay: 0.2s; }
.points_wrapper .point:nth-child(8) { left: 58%; opacity: 0.8; animation-duration: 2.25s; animation-delay: 0.2s; }
.points_wrapper .point:nth-child(9) { left: 98%; opacity: 0.6; animation-duration: 2.6s; animation-delay: 0.1s; }
.points_wrapper .point:nth-child(10) { left: 65%; opacity: 1; animation-duration: 2.5s; animation-delay: 0.2s; }

.inner {
  z-index: 2;
  gap: 8px;
  position: relative;
  width: 100%;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.2s ease-in-out;
}

.inner svg.icon {
  width: 18px;
  height: 18px;
  transition: fill 0.1s linear;
}

.button:focus svg.icon {
  fill: white;
}
.button:hover svg.icon {
  fill: transparent;
  animation: dasharray 1s linear forwards, filled 0.1s linear forwards 0.95s;
}

@keyframes dasharray {
  from { stroke-dasharray: 0 0 0 0; }
  to { stroke-dasharray: 68 68 0 0; }
}
@keyframes filled {
  to { fill: white; }
}

/* Demo Mockup Image Wrapper - 16:9 Ratio */
.hero-image-wrapper {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #1C1C1E;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-section {
    padding: 160px 24px 32px;
  }
  .hero-image-wrapper {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 130px 20px 32px;
  }
  .hero-content {
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
  }
  .hero-title {
    font-size: clamp(48px, 11vw, 64px);
    line-height: 1.05;
    letter-spacing: -1.8px;
    white-space: normal;
    text-wrap: balance;
    margin-bottom: 24px;
  }
  .hero-description {
    font-size: 17px;
    line-height: 1.6;
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }
  .btn, .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 115px 16px 28px;
  }
  .hero-title {
    font-size: clamp(44px, 12vw, 56px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
  }
  .hero-content {
    gap: 24px;
    margin-bottom: 32px;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.55;
  }
}

/* ------------------------------------- */
/* SHOWCASE WRAPPER                      */
/* ------------------------------------- */
.showcase-wrapper {
    padding: 120px 40px;
    opacity: 1;
    transform: none;
    pointer-events: all;
}
.showcase-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 160px;
}

.section-header {
    margin-bottom: 48px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 24px;
}
.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

/* --------------------------------------------- */
/* ZIGZAG SERVICES SECTION                       */
/* --------------------------------------------- */
.services-section-wrapper {
    margin-top: 40px;
    position: relative;
}

.services-header-meta {
    font-family: monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.services-header-meta span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px #ffffff;
}

.services-zigzag-container {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-top: 60px;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 80px;
    align-items: center;
}

.service-row.mirrored {
    grid-template-columns: 1.25fr 1fr;
}

.service-row.mirrored .svc-text-col {
    grid-column: 2;
}

.service-row.mirrored .svc-visual-col {
    grid-column: 1;
    grid-row: 1;
}

.svc-text-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.svc-badge-micro {
    font-family: monospace;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
    border: 1px solid #eaeaea;
    padding: 5px 14px;
    border-radius: 100px;
    width: fit-content;
    background: #f9f9f9;
    transition: all 0.8s ease;
}

body.dark-theme .svc-badge-micro {
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.02);
}

.svc-trigger-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    color: #111111;
    letter-spacing: -1.5px;
    line-height: 1.2;
    transition: color 0.8s ease;
}

body.dark-theme .svc-trigger-title {
    color: #ffffff;
}

.svc-trigger-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #666666;
    max-width: 480px;
    transition: color 0.8s ease;
}

body.dark-theme .svc-trigger-desc {
    color: #aaaaaa;
}

.svc-visual-col {
    background: transparent;
    border: none;
    border-radius: 24px;
    padding: 0;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.svc-visual-col::after {
    display: none;
}

.svc-visual-col > * {
    position: relative;
    z-index: 2;
}

/* SERVICE WEBP IMAGES */
.svc-webp-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.7);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.service-row:hover .svc-webp-img {
    transform: scale(1.02);
    box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.9);
}

/* SCREEN 1: UPGRADED SEO & AEO VISUALS */
.ai-search-mock {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.search-bar-mock {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.02);
    overflow: hidden;
}
.search-icon {
    opacity: 0.5;
    color: #ffffff;
    flex-shrink: 0;
}
.search-typing-text {
    color: #ffffff;
    font-family: monospace;
    border-right: 2px solid #ffffff;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 5s steps(30, end) infinite, blink-caret 0.75s step-end infinite;
    max-width: 100%;
}
@keyframes typing {
    0%, 90%, 100% { width: 0 }
    30%, 80% { width: 235px }
}
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #ffffff }
}
.ai-answer-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}
.ai-answer-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(120px circle at top left, rgba(255, 255, 255, 0.03), transparent);
    pointer-events: none;
}
.ai-answer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: #ffffff;
    font-family: monospace;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.ai-sparkle {
    animation: rotateBrand 12s linear infinite;
    color: #ffffff;
    opacity: 0.8;
    font-size: 14px;
}
.ai-answer-body {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}
.ai-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 18px;
}
.source-tag {
    font-family: monospace;
    font-size: 9px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 12px;
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}
.source-tag:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

/* SCREEN 2: UPGRADED WEB DEVELOPMENT GRAPHIC */
.webdev-mock {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.terminal-code {
    font-family: monospace;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.005);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 24px 28px;
    border-radius: 20px;
    line-height: 1.8;
    overflow-x: auto;
}
.c-key { color: rgba(255, 255, 255, 0.4); }
.c-val { color: #ffffff; font-weight: 500; }
.c-tag { color: rgba(255, 255, 255, 0.85); }
.c-prop { color: rgba(255, 255, 255, 0.5); }
.c-string { color: rgba(255, 255, 255, 0.65); }
.c-bool { color: #ffffff; }
.indent-1 { padding-left: 20px; }
.indent-2 { padding-left: 40px; }
.indent-3 { padding-left: 60px; }

.speed-gauge-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px 32px;
    border-radius: 20px;
}
.speed-gauge {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}
.speed-gauge svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}
.gauge-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 6;
}
.gauge-fill {
    fill: none;
    stroke: #ffffff;
    stroke-width: 6;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    stroke-linecap: round;
    animation: fillGauge 5s cubic-bezier(0.16, 1, 0.3, 1) forwards infinite;
}
@keyframes fillGauge {
    0% { stroke-dashoffset: 251.2; }
    50%, 100% { stroke-dashoffset: 12.5; } 
}
.gauge-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}
.gauge-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.gauge-label {
    font-size: 13.5px;
    font-weight: 500;
    color: #ffffff;
}
.gauge-subtext {
    font-family: monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}

/* SCREEN 3: UPGRADED BRAND IDENTITY GEOMETRY */
.branding-mock {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.interactive-logo-grid {
    position: relative;
    width: 320px;
    height: 320px;
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.002);
}
.grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
}
.grid-line.horizontal {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
}
.grid-line.vertical {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
}
.morphing-geometry {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.geom-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    animation: scalePulse 4s ease-in-out infinite;
}
.geom-square {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    animation: spinningLogo 20s linear infinite;
}
@keyframes spinningLogo {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}
@keyframes scalePulse {
    0%, 100% { transform: scale(0.9); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.7; }
}
.geom-dots span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}
.dot-top { top: -3px; left: calc(50% - 3px); }
.dot-bottom { bottom: -3px; left: calc(50% - 3px); }
.dot-left { left: -3px; top: calc(50% - 3px); }
.dot-right { right: -3px; top: calc(50% - 3px); }

.hud-labels {
    position: absolute;
    inset: 16px;
    font-family: monospace;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.25);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 32px);
}
.hud-row {
    display: flex;
    justify-content: space-between;
}

/* SCREEN 4: UPGRADED AI WORKFLOW INFRASTRUCTURE */
.ai-mock {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.nodes-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 0;
    width: 100%;
}
.node {
    background: #080808;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.02);
}
.node-icon {
    font-size: 16px;
}
.node-text {
    font-family: monospace;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.node.central-ai {
    border-color: rgba(255, 255, 255, 0.2);
    background: #0f0f0f;
    box-shadow: 
        0 0 30px rgba(255,255,255,0.03),
        inset 0 1px 0 0 rgba(255,255,255,0.08);
}
.ai-pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: pulseGlow 2.5s infinite ease-in-out;
    pointer-events: none;
}
.node-arrow-flow {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.05);
    position: relative;
    margin: 0 12px;
}
.flow-dot {
    position: absolute;
    top: -3px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 12px #ffffff;
    animation: flowAnimation 2s infinite linear;
}
.shadow-delay {
    animation-delay: 1s;
}
@keyframes flowAnimation {
    0% { left: 0%; opacity: 0; }
    10%, 90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}
.live-activity-log {
    background: rgba(255, 255, 255, 0.005);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 20px 24px;
    border-radius: 20px;
    font-family: monospace;
    font-size: 11px;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.log-entry {
    color: rgba(255, 255, 255, 0.35);
}
.log-time {
    color: rgba(255, 255, 255, 0.15);
    margin-right: 8px;
}
.log-entry.success {
    color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------- */
/* PROJECT SHOWCASE                      */
/* ------------------------------------- */
.b-tags { display: flex; gap: 12px; }
.b-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: #aaa; border: 1px solid rgba(255,255,255,0.2); padding: 6px 16px; border-radius: 50px; }

.b-image { grid-column: span 8; height: 480px; position: relative; }
.b-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.b-card:hover.b-image img { transform: scale(1.03); }

.b-story { grid-column: span 4; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.story-label { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; color: #ffffff; margin-bottom: 16px; display: inline-block; }
.story-label.highlight { color: #888; }
.b-story p { font-size: 16px; line-height: 1.6; color: #aaa; margin-bottom: 24px; }
.b-story p:last-child { margin-bottom: 0; }
.b-story strong { color: #ffffff; font-weight: 500; }

.project-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.b-header { grid-column: span 12; display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 24px; margin-bottom: 12px; }
.b-title { font-size: clamp(28px, 4vw, 48px); font-weight: 600; color: #ffffff; letter-spacing: -1.5px; line-height: 1; }

.b-card { background: #111111; border-radius: 24px; border: 1px solid rgba(255,255,255,0.05); overflow: hidden; transition: transform 0.4s ease, border-color 0.4s ease; }
.b-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-4px); }

.project-bento.mirrored .b-image { grid-column: 5 / 13; grid-row: 2; }
.project-bento.mirrored .b-story { grid-column: 1 / 5; grid-row: 2; }

/* ------------------------------------- */
/* EDITORIAL ACCORDION                   */
/* ------------------------------------- */
.editorial-section { margin-top: 120px; }
.editorial-list { display: flex; flex-direction: column; }
.ed-item { border-top: 1px solid rgba(255,255,255,0.1); padding: 48px 0; cursor: pointer; position: relative; overflow: hidden; }
.ed-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.ed-top { display: flex; align-items: center; justify-content: space-between; }
.ed-left { display: flex; align-items: center; gap: 48px; }
.ed-num { font-size: 16px; font-weight: 500; color: #555; width: 30px; transition: color 0.4s ease; }
.ed-title { font-size: clamp(32px, 5vw, 64px); font-weight: 600; letter-spacing: -2px; color: #ffffff; margin: 0; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease; transform-origin: left center; }

.ed-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #ffffff; transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); flex-shrink: 0; }

.editorial-list:hover .ed-item:not(:hover) .ed-title { color: #444; transform: translateX(0); }
.editorial-list:hover .ed-item:not(:hover) .ed-arrow { opacity: 0.2; }

.ed-item:hover .ed-title { transform: translateX(32px); color: #ffffff; }
.ed-item:hover .ed-num { color: #ffffff; }
.ed-item:hover .ed-arrow { background: #ffffff; border-color: #ffffff; color: #000; transform: rotate(-45deg); }

.ed-content-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease 0.1s, padding 0.5s ease; }
.ed-item:hover .ed-content-wrapper { max-height: 600px; opacity: 1; padding-top: 48px; }
.ed-desc { font-size: 18px; line-height: 1.6; color: #aaa; max-width: 400px; margin: 0; transform: translateY(20px); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s; }
.ed-item:hover .ed-desc { transform: translateY(0); }

/* SVG WOW CONTAINERS */
.ed-wow-container { 
    width: 100%; 
    height: 350px; 
    border-radius: 20px; 
    overflow: hidden; 
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03), transparent 75%), #0a0a0a; 
    border: 1px solid rgba(255,255,255,0.04); 
    transform: scale(0.95); 
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.8s ease; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ed-item:hover .ed-wow-container { 
    transform: scale(1); 
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 40px rgba(255,255,255,0.015);
    border-color: rgba(255,255,255,0.1);
}

.ed-wow-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.15;
    transition: opacity 0.8s ease;
}

.ed-item:hover .ed-wow-container::after { opacity: 0.4; }

.wow-svg-art { width: 100%; max-width: 180px; height: 180px; z-index: 2; position: relative; overflow: visible; }
.wow-glow { filter: drop-shadow(0 0 12px rgba(255,255,255,0.7)); }
.wow-subglow { filter: drop-shadow(0 0 8px rgba(255,255,255,0.3)); }

.roi-spin { transform-origin: center; animation: spinInfinite 12s linear infinite; }
.roi-spin-reverse { transform-origin: center; animation: spinInfiniteRev 16s linear infinite; }
@keyframes spinInfinite { to { transform: rotate(360deg); } }
@keyframes spinInfiniteRev { to { transform: rotate(-360deg); } }

.roi-chart-line { 
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: chartRise 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
@keyframes chartRise {
    0% { stroke-dashoffset: 200; opacity: 0; }
    20% { opacity: 1; }
    60%, 100% { stroke-dashoffset: 0; opacity: 1;}
}
.roi-ring { animation: pulseTarget 2.5s ease-out infinite; transform-origin: 160px 50px; opacity: 0; }
@keyframes pulseTarget {
    0%, 50% { transform: scale(0.2); opacity: 0; }
    60% { opacity: 1; transform: scale(1.5); stroke-width: 2px; }
    100% { opacity: 0; transform: scale(4); stroke-width: 0.2px; }
}

.flex-beam {
    fill: none;
    stroke: #ffffff;
    stroke-width: 4;
    stroke-dasharray: 80 400;
    animation: beamRun 2.8s linear infinite;
    stroke-linecap: round;
}
@keyframes beamRun {
    0% { stroke-dashoffset: 480; }
    100% { stroke-dashoffset: 0; }
}
.flex-art { animation: hoverArt 5s ease-in-out infinite; height: 110px; transform-origin: center; }
@keyframes hoverArt { 
    0%, 100% { transform: translateY(-8px) scale(0.98); } 
    50% { transform: translateY(8px) scale(1.02); } 
}

.scan-bar { animation: scanline 4s cubic-bezier(0.2, 0, 0.2, 1) infinite; opacity: 0; }
@keyframes scanline {
    0% { transform: translateY(0); opacity: 0; }
    15%, 85% { opacity: 1; }
    100% { transform: translateY(140px); opacity: 0; }
}
.nexus-poly {
    transform-origin: 100px 100px;
    animation: pulsePoly 4s ease-in-out infinite alternate;
    stroke-dasharray: 40 10;
    stroke-dashoffset: 0;
}
.nexus-poly.inner {
    animation: rotatePolyRev 7s cubic-bezier(0.3, 0, 0.7, 1) infinite;
    stroke-dasharray: 10 15;
}
@keyframes pulsePoly {
    0% { transform: scale(0.95); stroke-dashoffset: 0; }
    100% { transform: scale(1.05); stroke-dashoffset: 50; }
}
@keyframes rotatePolyRev {
    0%, 15% { transform: scale(0.95) rotate(0deg); }
    45%, 60% { transform: scale(1.05) rotate(22deg); }
    90%, 100% { transform: scale(0.95) rotate(0deg); }
}
.orb { opacity: 0.6; animation: flickerOrb 2s alternate infinite; }
.o1 { animation-delay: 0s; }
.o2 { animation-delay: 0.6s; }
.o3 { animation-delay: 1s; }
.o4 { animation-delay: 0.3s; }
.o5 { animation-delay: 0.8s; }
@keyframes flickerOrb {
    0%, 20% { opacity: 0.1; transform: scale(0.5); box-shadow: none; }
    80%, 100% { opacity: 1; transform: scale(1.4); }
}

/* ------------------------------------- */
/* TESTIMONIALS                          */
/* ------------------------------------- */
.testimonials-section { padding: 160px 0 60px 0; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.marquee-bg { position: absolute; top: 50%; left: 0; transform: translateY(-50%); white-space: nowrap; font-size: 280px; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03); z-index: 0; pointer-events: none; animation: marqueeScroll 60s linear infinite; }
@keyframes marqueeScroll { 0% { transform: translate(0, -50%); } 100% { transform: translate(-50%, -50%); } }

.testi-track { display: flex; gap: 40px; padding: 0 5vw; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; position: relative; z-index: 2; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-card { flex: 0 0 700px; background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 32px; padding: 80px 64px; scroll-snap-align: center; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease; min-height: 480px; }
.testi-card:hover { transform: translateY(-8px); border-color: rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.04); }

.quote-icon { width: 48px; height: 48px; color: #333; margin-bottom: 40px; transition: color 0.4s ease; }
.testi-card:hover .quote-icon { color: #ffffff; }
.testi-text { font-size: 32px; font-weight: 400; line-height: 1.4; letter-spacing: -0.5px; color: #ffffff; margin-bottom: 60px; }
.testi-author { display: flex; align-items: center; gap: 24px; }
.author-line { width: 40px; height: 1px; background: #444; transition: width 0.4s ease, background 0.4s ease; }
.testi-card:hover .author-line { width: 80px; background: #ffffff; }
.author-name { font-size: 18px; font-weight: 600; color: #ffffff; margin-bottom: 4px; }
.author-role { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: #888; }

/* ------------------------------------- */
/* ------------------------------------- */
/* FOOTER STYLES MANAGED IN LAYOUT.CSS  */
/* ------------------------------------- */

/* ------------------------------------------------------------- */
/* RESPONSIVE MEDIA QUERIES (TABLETS & MOBILE DEVICES <= 1024px) */
/* ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .services-zigzag-container { gap: 80px; }
    .service-row, .service-row.mirrored { grid-template-columns: 1fr; gap: 32px; }
    .service-row.mirrored .svc-text-col { grid-column: auto; order: 1; }
    .service-row.mirrored .svc-visual-col { grid-column: auto; grid-row: auto; order: 2; }
    .svc-visual-col { padding: 0; min-height: auto; width: 100%; }
    .svc-webp-img { width: 100%; height: auto; object-fit: cover; }
    .ai-search-mock, .webdev-mock, .ai-mock { max-width: 100%; }

    .b-image { grid-column: span 12; grid-row: auto !important; height: auto; aspect-ratio: 16 / 10; width: 100%; }
    .b-story { grid-column: span 12; grid-row: auto !important; }
    .project-bento.mirrored .b-image { grid-column: span 12; grid-row: auto !important; order: 1; }
    .project-bento.mirrored .b-story { grid-column: span 12; grid-row: auto !important; order: 2; }
    .ed-title { font-size: 48px; }
    .ed-content-wrapper { gap: 40px; }
    .testi-card { flex: 0 0 500px; padding: 60px 40px; min-height: 400px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .brand-col { grid-column: 1 / 3; }
}

@media (max-width: 768px) {
    /* Mobile Showcase Section */
    .showcase-wrapper { padding: 60px 20px; }
    .showcase-container { gap: 80px; }
    .section-title { font-size: 32px; letter-spacing: -1px; }

    /* Services Zigzag Visual Mocks Mobile Optimization */
    .services-zigzag-container { gap: 60px; }
    .service-row, .service-row.mirrored { grid-template-columns: 1fr; gap: 24px; }
    .svc-visual-col { padding: 0; border-radius: 16px; min-height: auto; width: 100%; }
    .svc-webp-img { width: 100%; height: auto; border-radius: 16px; object-fit: cover; }
    .svc-trigger-title { font-size: clamp(24px, 6vw, 32px); }
    .svc-trigger-desc { font-size: 15px; line-height: 1.6; max-width: 100%; }

    .search-bar-mock { padding: 12px 16px; font-size: 11px; gap: 10px; }
    .ai-answer-box { padding: 20px 16px; border-radius: 18px; gap: 14px; }
    .ai-answer-body { font-size: 12px; line-height: 1.6; }
    
    .terminal-code { padding: 16px 14px; font-size: 10.5px; line-height: 1.6; border-radius: 14px; }
    .indent-1 { padding-left: 10px; }
    .indent-2 { padding-left: 20px; }
    .indent-3 { padding-left: 30px; }
    
    .speed-gauge-container { padding: 16px 20px; gap: 16px; border-radius: 16px; }
    .speed-gauge { width: 56px; height: 56px; }
    .gauge-value { font-size: 14px; }
    .gauge-label { font-size: 12px; }

    .interactive-logo-grid { width: 250px; height: 250px; }
    .morphing-geometry { width: 100px; height: 100px; }
    .geom-ring { width: 85px; height: 85px; }
    .geom-square { width: 55px; height: 55px; }

    .nodes-container { padding: 6px 0; }
    .node { padding: 10px 10px; gap: 6px; border-radius: 12px; }
    .node-icon { font-size: 14px; }
    .node-text { font-size: 8.5px; }
    .live-activity-log { padding: 14px 16px; font-size: 9.5px; border-radius: 14px; }
    
    /* Mobile Bento & Case Studies */
    .b-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
    .b-title { font-size: 28px; }
    .b-tags { flex-wrap: wrap; gap: 8px; }
    .b-tag { font-size: 10px; padding: 4px 12px; }
    .b-card { border-radius: 18px; }
    .b-image { height: auto; aspect-ratio: 16 / 10; width: 100%; }
    .b-image img { width: 100%; height: 100%; object-fit: cover; }
    .b-story { padding: 24px 20px; }
    .b-story p { font-size: 14px; }

    /* Mobile Editorial Accordion */
    .editorial-section { margin-top: 60px; }
    .ed-item { padding: 32px 0; }
    .ed-left { gap: 16px; }
    .ed-num { font-size: 14px; width: 20px; }
    .ed-title { font-size: 26px; letter-spacing: -0.5px; }
    .ed-arrow { display: none; }
    .ed-content-wrapper { max-height: 1000px; opacity: 1; grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
    .ed-desc { font-size: 15px; line-height: 1.5; }
    
    .ed-wow-container { height: 220px; border-radius: 16px; }
    .wow-svg-art { width: 130px; height: 130px; }
    
    /* Mobile Kinetic Testimonials */
    .testimonials-section { padding: 80px 0 40px 0; }
    .marquee-bg { font-size: 100px; }
    .testi-track { gap: 16px; padding: 0 16px; }
    .testi-card { flex: 0 0 88vw; padding: 36px 24px; min-height: auto; border-radius: 20px; scroll-snap-align: start; }
    .testi-text { font-size: 18px; margin-bottom: 32px; line-height: 1.45; }
    .quote-icon { width: 32px; height: 32px; margin-bottom: 24px; }
    .author-name { font-size: 16px; }
    .author-role { font-size: 11px; }

    /* Mobile Footer */
    .footer-visual-spacer { height: 30vh; }
    .footer-top { flex-direction: column; align-items: flex-start; gap: 32px; padding-bottom: 40px; margin-bottom: 40px; }
    .btn-massive { width: 100%; justify-content: center; padding: 18px 32px; font-size: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
    .brand-col { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .footer-content { padding: 0 20px 40px 20px; }
}

@media (max-width: 480px) {
    .node { padding: 8px 6px; }
    .node-text { font-size: 7.5px; }
    .node-icon { font-size: 12px; }
}
