/* ==========================================================================
   WALES & WEBS — MODERN DIGITAL SYSTEMS AGENCY
   Pixel-perfect implementation matching the official Wales & Webs design
   Compatible with both PHP (Hostinger) & Node.js/Express
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Caveat:wght@600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Color Palette matching home.jpg */
  --bg-dark: #06070b;
  --bg-darker: #040508;
  --bg-surface: #0c0e17;
  --bg-surface-hover: #121522;
  --bg-card: rgba(14, 17, 27, 0.85);
  
  /* Accents */
  --accent-green: #00e599;
  --accent-green-hover: #00c784;
  --accent-green-glow: rgba(0, 229, 153, 0.35);
  --accent-purple: #8b5cf6;
  --accent-purple-dark: #7c3aed;
  --accent-purple-glow: rgba(139, 92, 246, 0.35);
  --accent-cyan: #00f0ff;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.09);
  --border-glow-purple: rgba(139, 92, 246, 0.4);
  --border-glow-green: rgba(0, 229, 153, 0.4);

  /* Typography */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Caveat', cursive, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Background Ambient Glows */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 20%;
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 30%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 153, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* Script Typography */
.handwritten {
  font-family: var(--font-script);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

/* Section Eyebrow matching mockup */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: var(--accent-green);
  border-radius: 2px;
}

/* Gradient Text */
.text-gradient-purple-green {
  background: linear-gradient(135deg, var(--accent-green) 0%, #38bdf8 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  color: var(--accent-green);
}

.text-gradient-purple {
  color: #c084fc;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-purple {
  background: var(--accent-purple);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.btn-purple:hover {
  background: var(--accent-purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
}

.btn-green {
  background: var(--accent-green);
  color: #040508;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 229, 153, 0.35);
}

.btn-green:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 229, 153, 0.5);
}

.btn-outline-green {
  background: rgba(14, 18, 27, 0.7);
  border: 1px solid rgba(0, 229, 153, 0.5);
  color: var(--accent-green);
}

.btn-outline-green:hover {
  background: rgba(0, 229, 153, 0.12);
  border-color: var(--accent-green);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-dark {
  background: rgba(22, 26, 38, 0.85);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
}

.btn-dark:hover {
  background: rgba(30, 35, 52, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 7, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
  height: 74px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.brand-icon-svg {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 9.5px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

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

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: #0d101a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: #94a3b8;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

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

.btn-client-portal {
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
}

.btn-usabime {
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
}

.mobile-toggle {
  display: none;
  color: #ffffff;
  padding: 6px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 56px 0 70px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-title .highlight-green {
  color: var(--accent-green);
}

.hero-title .highlight-purple {
  color: #c084fc;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

/* Feature pills bar below hero buttons */
.hero-pills-bar {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  background: rgba(15, 18, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
}

.hero-pill-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #cbd5e1;
}

.hero-pill-icon {
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Right: Modern Glowing Workspace Mockup */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero-handwritten-note {
  position: absolute;
  top: -24px;
  right: 16px;
  font-size: 28px;
  color: #ffffff;
  text-align: right;
  line-height: 1.05;
  opacity: 0.9;
  z-index: 5;
  text-shadow: 0 0 20px rgba(0, 229, 153, 0.3);
  transform: rotate(-3deg);
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: radial-gradient(ellipse at center, rgba(16, 21, 35, 0.9) 0%, rgba(6, 7, 11, 0.95) 75%);
  border-radius: var(--radius-lg);
  padding: 24px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 92, 246, 0.1);
}

/* Laptop Mockup */
.laptop-mockup {
  position: relative;
  width: 82%;
  margin: 0 auto;
  perspective: 1000px;
}

.laptop-screen {
  background: #000000;
  border: 3px solid #1a1e2d;
  border-radius: 12px 12px 2px 2px;
  padding: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 229, 153, 0.15);
  position: relative;
  overflow: hidden;
}

.laptop-display-inner {
  background: linear-gradient(135deg, #090c14 0%, #0d1222 100%);
  border-radius: 8px;
  padding: 24px 18px;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.laptop-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  padding: 3px 8px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.laptop-screen-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 6px;
}

.laptop-screen-title span {
  color: var(--accent-green);
}

.laptop-screen-btn {
  font-size: 10px;
  font-weight: 600;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 20px;
  margin-top: 10px;
}

.laptop-base {
  height: 12px;
  background: linear-gradient(to bottom, #2a2f42, #141722);
  border-radius: 0 0 12px 12px;
  margin: 0 -12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
  position: relative;
}

.laptop-notch {
  width: 44px;
  height: 4px;
  background: #383e56;
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
}

/* Smartphone Mockup */
.phone-mockup {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 140px;
  background: #0b0d14;
  border: 3px solid #23283b;
  border-radius: 22px;
  padding: 10px 8px 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(139, 92, 246, 0.25);
  z-index: 4;
}

.phone-screen {
  background: linear-gradient(160deg, #0f121d 0%, #15102a 100%);
  border-radius: 14px;
  padding: 14px 8px;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-header-dot {
  width: 24px;
  height: 3px;
  background: #2a3045;
  border-radius: 4px;
  margin: 0 auto 10px;
}

.phone-screen-text {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}

.phone-screen-text span {
  color: var(--accent-green);
}

.phone-screen-btn {
  font-size: 8.5px;
  font-weight: 700;
  background: var(--accent-purple);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 20px;
  margin-top: 10px;
  display: inline-block;
}

/* Mug on desk */
.desk-mug {
  position: absolute;
  bottom: 24px;
  right: -10px;
  width: 42px;
  height: 52px;
  background: linear-gradient(135deg, #181b29 0%, #0c0e17 100%);
  border-radius: 4px 4px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.desk-mug::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 12px;
  width: 12px;
  height: 24px;
  border: 3px solid #181b29;
  border-left: none;
  border-radius: 0 10px 10px 0;
}

/* ==========================================================================
   SECTION 2: WHAT WE HELP YOU BUILD
   ========================================================================== */
.section-what-we-build {
  padding: 80px 0;
}

.two-col-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: flex-end;
  margin-bottom: 44px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #ffffff;
}

.section-subtitle {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

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

.solution-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  border: 1px solid var(--border-card);
  min-height: 260px;
}

.solution-card.glow-purple {
  border-color: var(--border-glow-purple);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.08);
}

.solution-card.glow-green {
  border-color: var(--border-glow-green);
  box-shadow: 0 10px 30px rgba(0, 229, 153, 0.08);
}

.solution-card:hover {
  transform: translateY(-4px);
  background: var(--bg-surface-hover);
}

.solution-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.step-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
}

.solution-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow-purple .solution-icon {
  color: #a78bfa;
}

.glow-green .solution-icon {
  color: var(--accent-green);
}

.solution-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.solution-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-top: auto;
}

.glow-purple .solution-link {
  color: #c084fc;
}

.glow-green .solution-link {
  color: var(--accent-green);
}

.solution-link:hover {
  gap: 10px;
}

/* ==========================================================================
   SECTION 3: OUR PROCESS
   ========================================================================== */
.section-process {
  padding: 80px 0;
  position: relative;
}

.process-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 46px;
  flex-wrap: wrap;
  gap: 20px;
}

.process-handwritten-note {
  font-size: 26px;
  color: #ffffff;
  opacity: 0.85;
  transform: rotate(-2deg);
}

.process-steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 30px 24px;
  background: rgba(12, 14, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.process-step-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.process-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  flex-shrink: 0;
}

.process-step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.process-step-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.process-step-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  padding-left: 2px;
}

.process-arrow {
  color: rgba(255, 255, 255, 0.2);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   SECTION 4: MEET USABIME
   ========================================================================== */
.section-usabime {
  padding: 80px 0;
}

.usabime-banner-card {
  background: radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.18) 0%, rgba(12, 14, 23, 0.95) 65%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(139, 92, 246, 0.12);
  position: relative;
  overflow: hidden;
}

.usabime-content {
  display: flex;
  flex-direction: column;
}

.usabime-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #ffffff;
  margin-bottom: 14px;
}

.usabime-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.usabime-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.usabime-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #e2e8f0;
}

.usabime-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 229, 153, 0.15);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* Usabime Preview Dashboard */
.usabime-preview-panel {
  background: #090a10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  display: flex;
  gap: 18px;
}

.usabime-sidebar {
  width: 130px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding-right: 14px;
}

.usabime-sidebar-brand {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.usabime-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.usabime-nav-item.active,
.usabime-nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.usabime-main-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.usabime-view-header {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.3;
}

.usabime-glow-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.35) 0%, rgba(30, 20, 60, 0.7) 100%);
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25);
  margin-top: auto;
}

.usabime-card-logo {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.usabime-card-text {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

/* ==========================================================================
   SECTION 5: OUR WORK
   ========================================================================== */
.section-our-work {
  padding: 80px 0;
}

.work-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-green);
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--transition);
}

.view-all-link:hover {
  gap: 10px;
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.project-thumb-box {
  width: 100%;
  height: 155px;
  position: relative;
  overflow: hidden;
  background: #111420;
}

.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-thumb-img {
  transform: scale(1.05);
}

.project-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.project-tags {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.project-summary {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}

.project-case-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

/* ==========================================================================
   SECTION 6: WHAT OUR CLIENTS SAY
   ========================================================================== */
.section-testimonials {
  padding: 80px 0;
}

.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.testimonial-quote {
  font-size: 13.5px;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 22px;
  position: relative;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.client-role {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 7: LET'S BUILD TOGETHER (CTA BANNER)
   ========================================================================== */
.section-cta-banner {
  padding: 60px 0 80px;
}

.cta-banner-wrapper {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.45) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(59, 130, 246, 0.25) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* Glowing ribbon waves overlay */
.cta-banner-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr auto;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-left {
  display: flex;
  flex-direction: column;
}

.cta-eyebrow {
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.cta-headline {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.cta-center {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-subtext {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.55;
}

.cta-right-script {
  text-align: right;
  padding-left: 10px;
}

.cta-script-text {
  font-size: 28px;
  color: var(--accent-green);
  line-height: 1.15;
  transform: rotate(-3deg);
  text-shadow: 0 0 15px rgba(0, 229, 153, 0.4);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040508;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 16px 0 22px;
  max-width: 320px;
}

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

.social-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-item a {
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-link-item a:hover {
  color: var(--accent-green);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.contact-info-row svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-legal-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   INTERACTIVE MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 4, 7, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #0d0f19;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  padding: 32px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

/* Form inputs */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 10px rgba(0, 229, 153, 0.25);
  background: rgba(255, 255, 255, 0.07);
}

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

.form-alert {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

.form-alert.success {
  display: block;
  background: rgba(0, 229, 153, 0.15);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
}

.form-alert.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-title {
    font-size: 42px;
  }
  .solution-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .usabime-banner-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cta-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .cta-right-script {
    text-align: left;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual-wrapper {
    align-items: center;
    margin-top: 20px;
  }
  .hero-handwritten-note {
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: 10px;
    align-self: flex-end;
  }
  .two-col-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .process-steps-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-arrow {
    transform: rotate(90deg);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 34px;
  }
  .section-title {
    font-size: 28px;
  }
  .solution-cards-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .usabime-banner-card {
    padding: 26px 18px;
  }
  .usabime-preview-panel {
    flex-direction: column;
  }
  .usabime-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 10px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
