/* ===== CSS Variables & Design Tokens ===== */
:root {
  /* Technology Junction Light Theme with Orange Accents */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f0f4f8;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);

  --text-primary: #1a1a2e;
  --text-secondary: #4a4a68;
  --text-muted: #6b7280;
  --text-light: #ffffff;

  /* Orange accent colors from Technology Junction */
  --accent-primary: #f26522;
  --accent-secondary: #ff8c42;
  --accent-dark: #e55a1c;
  --accent-gradient: linear-gradient(135deg, #f26522 0%, #ff8c42 100%);
  --accent-gradient-dark: linear-gradient(135deg, #e55a1c 0%, #f26522 100%);

  --border-color: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(242, 101, 34, 0.3);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 2.5rem;
  --space-2xl: 3.5rem;
  --space-3xl: 4.5rem;
  --space-4xl: 5rem;

  /* Typography */
  --font-primary: "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  --font-display: "Outfit",
    "Inter",
    sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 48px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 60px rgba(242, 101, 34, 0.25);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);

  /* Edge Glow */
  --edge-glow: radial-gradient(ellipse at top, rgba(242, 101, 34, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(255, 140, 66, 0.05) 0%, transparent 50%);
}

/* ===== GLOBAL OVERFLOW CONTAINMENT ===== */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

.hero,
.container,
section {
  max-width: 100%;

}

/* ===== PAGE PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.preloader-logo-img {
  height: 60px;
  width: auto;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-progress {
  width: 200px;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  animation: preloaderBar 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes preloaderPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes preloaderBar {
  to {
    width: 100%;
  }
}

/* ===== CUSTOM CURSOR ===== */
.cursor-wrapper {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99998;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
  z-index: 99999;
}

.cursor-outline {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  z-index: 99998;
}

.cursor-dot.hovering {
  transform: translate(-50%, -50%) scale(2);
  background: var(--accent-primary);
}

.cursor-outline.hovering {
  transform: translate(-50%, -50%) scale(1.5);
  border-color: var(--accent-primary);
}

.cursor-dot.clicking {
  transform: translate(-50%, -50%) scale(0.8);
}

.cursor-outline.clicking {
  transform: translate(-50%, -50%) scale(0.9);
}

@media (hover: none) and (pointer: coarse) {
  .cursor-wrapper {
    display: none;
  }

  body {
    cursor: auto !important;
  }
}

@media (hover: hover) and (pointer: fine) {

  body,
  a,
  button,
  [data-cursor] {
    cursor: none !important;
  }
}

/* ===== Base Styles ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
}



*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: var(--edge-glow);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  /* Increased side padding to prevent cutoff */
  position: relative;
}

/* ===== Typography ===== */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 0.1em;
  display: inline-block;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  background: rgba(242, 101, 34, 0.08);
  border: 1px solid rgba(242, 101, 34, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}

.section-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-spring);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 8px 30px rgba(242, 101, 34, 0.35);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(242, 101, 34, 0.5);
}

.btn-secondary {
  background: var(--text-primary);
  color: white;
  border: none;
}

.btn-secondary:hover {
  background: #2a2a4e;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
  border-radius: var(--radius-full);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 700px;
  /* Changed from 100vh to avoid excessive height on mobile scaling */
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  /* Reduced top padding */
  overflow: hidden;
  /* Changed from visible to hidden to contain orbs */
  background: linear-gradient(180deg, #ffffff 0%, #fff8f5 50%, #fff0eb 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(242, 101, 34, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 140, 66, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 50%, rgba(242, 101, 34, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Floating Gradient Orbs */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(242, 101, 34, 0.3) 0%, transparent 70%);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.25) 0%, transparent 70%);
  bottom: 20%;
  left: 5%;
  animation-delay: -7s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(242, 101, 34, 0.2) 0%, transparent 70%);
  top: 60%;
  right: 25%;
  animation-delay: -14s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -30px) scale(1.1);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(20px, 10px) scale(1.05);
  }
}

/* Swoosh Elements */
.swoosh-element {
  position: absolute;
  pointer-events: none;
}

.swoosh-1 {
  top: 15%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(242, 101, 34, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.swoosh-2 {
  bottom: 25%;
  left: 8%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 5s ease-in-out infinite 1s;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.4;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--space-md);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1px solid rgba(242, 101, 34, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.badge-icon {
  font-size: 1.2rem;
}

#home .hero-content .hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem) !important;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
}

.reveal-word {
  display: inline-block;
  overflow: visible;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
  padding-right: 0.15em;
  padding-left: 0.15em;
}

.reveal-word span {
  display: inline-block;
}

.reveal-word:nth-child(1) span {
  animation-delay: 0.1s;
}

.reveal-word:nth-child(2) span {
  animation-delay: 0.15s;
}

.reveal-word:nth-child(3) span {
  animation-delay: 0.2s;
}

.reveal-word:nth-child(4) span {
  animation-delay: 0.25s;
}

.reveal-word:nth-child(5) span {
  animation-delay: 0.3s;
}

@keyframes revealUp {
  to {
    transform: translateY(0);
  }
}

.hero-description {
  font-size: 1.375rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-spring);
  min-width: 140px;
}

.stat:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Floating Phone Mockups ===== */
.hero-devices {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-xl);
  z-index: 2;
  width: auto;
  pointer-events: none;
}

.device-phone {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.phone-left {
  transform: rotate(-10deg) translateY(40px);
  animation-delay: -1s;
}

.phone-center {
  transform: scale(1.1);
  z-index: 3;
}

.phone-right {
  transform: rotate(10deg) translateY(40px);
  animation-delay: -2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.phone-left {
  animation: floatLeft 6s ease-in-out infinite;
}

.phone-right {
  animation: floatRight 6s ease-in-out infinite;
}

@keyframes floatLeft {

  0%,
  100% {
    transform: rotate(-10deg) translateY(40px);
  }

  50% {
    transform: rotate(-10deg) translateY(25px);
  }
}

@keyframes floatRight {

  0%,
  100% {
    transform: rotate(10deg) translateY(40px);
  }

  50% {
    transform: rotate(10deg) translateY(25px);
  }
}

.phone-frame {
  width: 180px;
  height: 380px;
  background: #1a1a2e;
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.2),
    0 0 0 2px rgba(255, 255, 255, 0.1) inset,
    0 0 80px rgba(242, 101, 34, 0.15);
  position: relative;
  overflow: hidden;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  border-radius: 36px;
  pointer-events: none;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a2e;
  border-radius: 12px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.app-preview {
  width: 100%;
  height: 100%;
  padding: 40px 12px 12px;
}

.app-header {
  width: 60%;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  margin-bottom: 20px;
}

.app-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card {
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.app-card.small {
  width: 70%;
  height: 40px;
}

/* ===== Services Section ===== */
.services {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, #fff0eb, var(--bg-secondary));
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: auto;
  /* Allow growth */
  min-height: 100%;

}

/* Mobile Optimization for Service Cards (Touch Devices only) */
@media (hover: none) and (pointer: coarse) {
  .service-card {
    zoom: 0.8;
  }
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(242, 101, 34, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-normal);
}

.service-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--accent-primary);
}

.service-card:hover .service-icon {
  background: var(--accent-gradient);
  transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon svg {
  stroke: white;
}

.service-icon.android {
  background: rgba(61, 220, 132, 0.1);
}

.service-icon.android svg {
  stroke: #3DDC84;
}

.service-icon.cross {
  background: rgba(97, 218, 251, 0.1);
}

.service-icon.cross svg {
  stroke: #61DAFB;
}

.service-icon.design {
  background: rgba(168, 85, 247, 0.1);
}

.service-icon.design svg {
  stroke: #A855F7;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  line-height: 1.3;
  overflow-wrap: anywhere;
  /* Force wrap even mid-word if needed */
  word-break: break-word;

}

.service-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  overflow-wrap: anywhere;
  word-break: break-word;
  /* Prevent text clipping */
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.service-features li::before {
  content: '✓';
  color: var(--accent-primary);
  font-weight: 700;
}

/* ===== Portfolio Section ===== */
.portfolio {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-xl);
}

/* Elegant Dual Display Grid */
.portfolio-grid.elegant {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-grid.elegant .app-showcase-card {
  flex: 0 1 480px;
  max-width: 520px;
}

/* App Showcase Card */
.app-showcase-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-spring);
  border: 1px solid var(--border-color);
}

.app-showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(242, 101, 34, 0.1);
}

/* Dual Phone Display Container (Restored for Placeholders) */
.dual-phone-display {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-md);
  background: linear-gradient(180deg, #f8f9fa 0%, #f0f4f8 100%);
  min-height: 380px;
  position: relative;
}

/* Mockup Image styles for user-provided iPhone mockups */
.dual-phone-display .mockup-image {
  max-height: 320px;
  max-width: 45%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
  transition: all var(--transition-spring);
}

.dual-phone-display .mockup-image.left {
  transform: perspective(1000px) rotateY(3deg);
  z-index: 2;
}

.dual-phone-display .mockup-image.right {
  transform: perspective(1000px) rotateY(-3deg);
  z-index: 1;
}

.app-showcase-card:hover .dual-phone-display .mockup-image.left {
  transform: perspective(1000px) rotateY(5deg) translateY(-8px);
}

.app-showcase-card:hover .dual-phone-display .mockup-image.right {
  transform: perspective(1000px) rotateY(-5deg) translateY(-5px);
}

/* Single Phone Display (for individual app showcases) */
.single-phone-display {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-xl) var(--space-lg);
  background: linear-gradient(180deg, #f8f9fa 0%, #f0f4f8 100%);
  min-height: 420px;
  position: relative;
}

.single-phone-display .iphone-realistic {
  transform: none;
  /* No 3D rotation for single phone */
}

/* Combined Mockup Display */
.combined-mockup-display {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  /* Removed padding completely */
  background: linear-gradient(180deg, #f8f9fa 0%, #f0f4f8 100%);
  min-height: 450px;
  /* Increased height significantly */
  position: relative;
  overflow: hidden;
}

.combined-mockup-display .mockup-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  /* Reduced slightly to prevent excessive height */
  object-fit: cover;
  /* Cover to fill the space */
  object-position: top center;
  transition: transform var(--transition-spring);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  transform: scale(1.02);
  /* Slight scale to ensure edges are covered */
}

.app-showcase-card:hover .combined-mockup-display .mockup-image {
  transform: scale(1.05) translateY(-5px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.2));
}

/* Realistic iPhone Frame */
.iphone-realistic {
  position: relative;
  transition: all var(--transition-spring);
}

.iphone-realistic.left {
  transform: perspective(1000px) rotateY(5deg);
  z-index: 2;
}

.iphone-realistic.right {
  transform: perspective(1000px) rotateY(-5deg);
  z-index: 1;
}

.app-showcase-card:hover .iphone-realistic.left {
  transform: perspective(1000px) rotateY(8deg) translateY(-10px);
}

.app-showcase-card:hover .iphone-realistic.right {
  transform: perspective(1000px) rotateY(-8deg) translateY(-5px);
}

.iphone-frame-realistic {
  width: 160px;
  height: 320px;
  background: linear-gradient(145deg, #2a2a2e 0%, #1a1a1e 50%, #0d0d10 100%);
  border-radius: 32px;
  padding: 6px;
  position: relative;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 2px 4px rgba(255, 255, 255, 0.15),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

/* iPhone power button */
.iphone-frame-realistic::before {
  content: '';
  position: absolute;
  right: -2px;
  top: 100px;
  width: 3px;
  height: 50px;
  background: linear-gradient(180deg, #3a3a3e 0%, #2a2a2e 50%, #3a3a3e 100%);
  border-radius: 0 3px 3px 0;
}

/* iPhone volume buttons */
.iphone-frame-realistic::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 80px;
  width: 3px;
  height: 35px;
  background: linear-gradient(180deg, #3a3a3e 0%, #2a2a2e 50%, #3a3a3e 100%);
  border-radius: 3px 0 0 3px;
  box-shadow: 0 28px 0 #2a2a2e;
}

/* iPhone notch bar */
.iphone-notch-bar {
  display: none;
  /* Hide for cleaner look with actual screenshots */
}

/* Realistic iPhone Screen */
.iphone-screen-realistic {
  width: 100%;
  height: 100%;
  background: #f5f5f7;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.iphone-screen-realistic .screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 26px;
  background: #fff;
}

/* Special fit for images that shouldn't be cropped */
.iphone-screen-realistic .screen-image-fit {
  object-fit: contain;
  object-position: center top;
  transform: scale(1.35);
  transform-origin: top center;
}

/* Placeholder screen styles */
.placeholder-screen {
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-screen.gradient-purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.placeholder-screen.gradient-pink {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.placeholder-screen.gradient-cyan {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.placeholder-screen.gradient-orange {
  background: linear-gradient(135deg, #f26522 0%, #ff8c42 100%);
}

.placeholder-ui {
  width: 85%;
  padding: 40px 10px 10px;
}

.placeholder-ui .ui-bar {
  width: 50%;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  margin-bottom: 20px;
}

.placeholder-ui .ui-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.placeholder-ui .ui-block {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  height: 40px;
}

.placeholder-ui .ui-block.large {
  height: 80px;
}

.placeholder-ui .ui-block-row {
  display: flex;
  gap: 8px;
}

.placeholder-ui .ui-block-row .ui-block {
  flex: 1;
}

/* App Info Card */
.app-info-card {
  padding: var(--space-sm) var(--space-md);
  text-align: center;
}

.app-logo-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto var(--space-sm);
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-spring);
}

.app-showcase-card:hover .app-logo-wrapper {
  transform: scale(1.05);
}

.app-logo-wrapper .app-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-info-card .app-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: var(--space-xs);
}

.app-info-card .app-category {
  font-size: 0.875rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.app-info-card .app-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.app-info-card .platform-badges {
  position: static;
  justify-content: center;
}

/* Keep existing styles below */
.app-showcase {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-spring);
  border: 1px solid var(--border-color);
}

.app-showcase:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.device-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.phone-frame.large {
  width: 160px;
  height: 320px;
  transition: transform var(--transition-spring);
}

.app-showcase:hover .phone-frame.large {
  transform: scale(1.05) rotate(-2deg);
}

.platform-badges {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  display: flex;
  gap: var(--space-xs);
}

.platform-badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.platform-badge.ios {
  background: rgba(0, 0, 0, 0.8);
  color: white;
}

.platform-badge.android {
  background: rgba(61, 220, 132, 0.9);
  color: #1a1a2e;
}

.app-ui {
  width: 100%;
  height: 100%;
  padding: 35px 10px 10px;
}

.ui-header {
  width: 50%;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  margin-bottom: 15px;
}

.ui-hero {
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  margin-bottom: 15px;
}

.ui-cards {
  display: flex;
  gap: 8px;
}

.ui-card {
  flex: 1;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.app-info {
  padding: var(--space-lg);
}

.app-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.app-category {
  font-size: 0.875rem;
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.app-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Tech Marquee ===== */
.tech-marquee {
  padding: var(--space-xl) 0;
  background: var(--bg-secondary);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  gap: var(--space-xl);
  animation: marquee 30s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  padding: var(--space-sm) var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  text-decoration: none;
  display: inline-block;
}

.marquee-item:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: scale(1.05);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== Process Section ===== */
.process {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.process-step {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-spring);
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -30px;
  width: 30px;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0.3;
}

.process-step:last-child::after {
  display: none;
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Testimonials ===== */
.testimonials {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-spring);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.author-role {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4a 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 101, 34, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-md);
}

.cta-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.cta-buttons .btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* ===== Contact Section ===== */
.contact {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-info p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-item a {
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact-item a:hover {
  color: var(--accent-primary);
}

/* ===== Footer ===== */
.footer {
  padding: var(--space-xl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== App Showcase Section (Light - TJ Orange Theme) ===== */
.app-showcase-section {
  padding: var(--space-4xl) 80px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f5 50%, #fff0eb 100%);
  position: relative;
  overflow: visible;
}

.app-showcase-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(242, 101, 34, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255, 140, 66, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.section-header.light {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.section-title-light {
  font-family: var(--font-display);
  font-size: 48px !important;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.gradient-text-light {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc-light {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Showcase Phones Container */
.showcase-phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-xl);
  padding: var(--space-xl) 60px;
  overflow: visible;
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 auto;
  perspective: 2000px;
  /* Enable 3D perspective */
  zoom: 0.7;
  width: 100%;
  gap: 20px;
}

/* Floating Animation Keyframes */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes floatReverse {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow:
      0 50px 100px rgba(0, 0, 0, 0.15),
      0 0 0 1px rgba(0, 0, 0, 0.1),
      inset 0 2px 4px rgba(255, 255, 255, 0.8),
      inset 0 -2px 4px rgba(0, 0, 0, 0.1),
      0 0 60px rgba(242, 101, 34, 0.08);
  }

  50% {
    box-shadow:
      0 50px 100px rgba(0, 0, 0, 0.15),
      0 0 0 1px rgba(0, 0, 0, 0.1),
      inset 0 2px 4px rgba(255, 255, 255, 0.8),
      inset 0 -2px 4px rgba(0, 0, 0, 0.1),
      0 0 80px rgba(242, 101, 34, 0.2),
      0 0 120px rgba(255, 140, 66, 0.15);
  }
}

.iphone-mockup {
  position: relative;
  will-change: transform, opacity;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  flex-shrink: 0;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}

/* Stagger animation delays for each phone */
.iphone-mockup:nth-child(1) {
  animation-delay: 0s;
}

.iphone-mockup:nth-child(2) {
  animation: floatReverse 5.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.iphone-mockup:nth-child(3) {
  animation-delay: 1s;
}

.iphone-mockup:nth-child(4) {
  animation: floatReverse 6.5s ease-in-out infinite;
  animation-delay: 1.5s;
}

.iphone-mockup:nth-child(5) {
  animation-delay: 2s;
}

.iphone-mockup:hover {
  transform: translateY(-25px) scale(0.95) !important;
  /* Slightly larger on hover */
  z-index: 10;
  animation-play-state: paused;
  /* Pause floating on hover */
}


.iphone-frame {
  width: 240px;
  height: 490px;
  background: linear-gradient(145deg, #e8e8e8 0%, #d4d4d4 50%, #c0c0c0 100%);
  border-radius: 52px;
  padding: 8px;
  position: relative;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 0.8),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1),
    0 0 60px rgba(242, 101, 34, 0.08);
  transition: all 0.4s ease;
}

.iphone-mockup:hover .iphone-frame {
  animation: glow 2s ease-in-out infinite;
}

/* iPhone side buttons - power button */
.iphone-frame::before {
  content: '';
  position: absolute;
  right: -2px;
  top: 140px;
  width: 3px;
  height: 70px;
  background: linear-gradient(180deg, #d0d0d0 0%, #b0b0b0 50%, #d0d0d0 100%);
  border-radius: 0 3px 3px 0;
}

/* Volume buttons */
.iphone-frame::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 120px;
  width: 3px;
  height: 50px;
  background: linear-gradient(180deg, #d0d0d0 0%, #b0b0b0 50%, #d0d0d0 100%);
  border-radius: 3px 0 0 3px;
  box-shadow: 0 40px 0 #c0c0c0;
}

/* Dynamic Island - more realistic */
.iphone-dynamic-island {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3),
    inset 0 0 4px rgba(0, 0, 0, 0.8);
}

.iphone-dynamic-island::before {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #1a3a4a 0%, #0a1a2a 100%);
  border-radius: 50%;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: #f5f5f7;
  border-radius: 46px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.iphone-screen.light-screen {
  background: #f5f5f7;
}

.iphone-screen.dark-screen {
  background: #1a1a2e;
}

/* iPhone Screen Reflection */
.iphone-reflection {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.03) 100%);
  border-radius: 44px;
  pointer-events: none;
}

/* Screen Content Base Styles */
.screen-content {
  width: 100%;
  height: 100%;
  padding: 50px 15px 15px;
  color: white;
  font-size: 12px;
  overflow: hidden;
}

.screen-content.light-screen,
.light-screen .screen-content {
  color: #1a1a2e;
}

/* Screen Content Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Animate screen elements on hover */
.iphone-mockup:hover .property-card,
.iphone-mockup:hover .rec-card,
.iphone-mockup:hover .workout-card,
.iphone-mockup:hover .emp-card,
.iphone-mockup:hover .event-thumb {
  animation: pulse 1.5s ease-in-out infinite;
}

.iphone-mockup:hover .app-greeting,
.iphone-mockup:hover .welcome-text,
.iphone-mockup:hover .health-greeting h2 {
  animation: fadeIn 0.8s ease-in-out;
}

.app-status-bar {
  position: absolute;
  top: 15px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: white;
}

.app-status-bar.dark {
  color: #1a1a2e;
}

.status-icons {
  font-size: 10px;
  letter-spacing: 2px;
}

/* Real Estate App Style */
.screen-content.real-estate {
  background: linear-gradient(180deg, #1a1a2e 0%, #0d1117 100%);
}

.app-greeting {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.app-search {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 15px;
}

.app-categories {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.cat-item {
  flex: 1;
  text-align: center;
  font-size: 9px;
  padding: 10px 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.app-section-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.property-cards {
  display: flex;
  gap: 10px;
}

.property-card {
  flex: 1;
  height: 80px;
  background: linear-gradient(180deg, #2a4a5a 0%, #1a3a4a 100%);
  border-radius: 12px;
}

/* Weather App Style */
.screen-content.weather {
  background: #f5f5f7;
  color: #1a1a2e;
}

.welcome-text {
  font-size: 11px;
  color: #666;
  margin-bottom: 10px;
}

.app-headline {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.weather-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.weather-tags .tag {
  font-size: 9px;
  padding: 6px 10px;
  background: #e8e8ed;
  border-radius: 20px;
  color: #1a1a2e;
}

.recommended {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.rec-cards {
  display: flex;
  gap: 10px;
}

.rec-card {
  flex: 1;
  height: 90px;
  border-radius: 12px;
}

.rec-card.sunset {
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
}

.rec-card.desert {
  background: linear-gradient(135deg, #e65c00 0%, #f9d423 100%);
}

/* Fitness App Style */
.screen-content.fitness {
  background: linear-gradient(180deg, #1a1a2e 0%, #2a2a4e 100%);
}

.fitness-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.fitness-header .avatar {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-badge {
  font-size: 10px;
  padding: 6px 12px;
  background: rgba(242, 101, 34, 0.2);
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}

.marathon-card {
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
  background: rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  margin-bottom: 12px;
}

.workout-section {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.workout-card {
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.workout-card h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.workout-card .start-btn {
  font-size: 9px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 15px;
  color: white;
}

.gradient-purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-pink {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Employee Portal Style */
.screen-content.employee {
  background: #f5f5f7;
  color: #1a1a2e;
}

.emp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}

.role-toggle {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.role-btn {
  flex: 1;
  font-size: 9px;
  padding: 8px;
  background: #e8e8ed;
  border: none;
  border-radius: 8px;
  color: #666;
}

.role-btn.active {
  background: #1a1a2e;
  color: white;
}

.emp-section {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.emp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.emp-card {
  text-align: center;
  font-size: 9px;
  padding: 12px 8px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.whats-up {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.events-row {
  display: flex;
  gap: 8px;
}

.event-thumb {
  flex: 1;
  height: 50px;
  border-radius: 10px;
}

.event-thumb.purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.event-thumb.green {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

/* Mockup Card Content Styles */
.property-card,
.rec-card,
.event-thumb {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  color: white;
}

.card-title-sm {
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 2px;
}

.card-subtitle-sm {
  font-size: 8px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.card-icon-sm {
  font-size: 12px;
  margin-top: auto;
}

.rec-card .card-icon-sm {
  font-size: 16px;
  margin-bottom: 5px;
  margin-top: 0;
}

.rec-card .card-title-sm {
  font-size: 9px;
}

.event-thumb .card-title-sm {
  font-size: 9px;
  margin-bottom: 0;
}

.event-thumb .card-subtitle-sm {
  margin-top: 2px;
}

/* Healthcare App Style */
.screen-content.healthcare {
  background: #f5f5f7;
  color: #1a1a2e;
}

.health-greeting {
  margin-bottom: 15px;
}

.health-greeting h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.assess-btn {
  font-size: 10px;
  padding: 8px 16px;
  background: #38bdf8;
  border: none;
  border-radius: 20px;
  color: white;
}

.services-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.services-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.srv-icon {
  text-align: center;
  font-size: 9px;
  color: #666;
}

.doctors-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.doctor-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doctor-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  padding: 8px 10px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.doctor-item span {
  font-size: 8px;
  padding: 4px 8px;
  background: #1a1a2e;
  color: white;
  border-radius: 10px;
}

/* ===== Modern Fintech App Styles ===== */
.screen-content.fintech-modern {
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  padding: 50px 12px 12px;
}

.modern-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.user-welcome {
  display: flex;
  flex-direction: column;
}

.greeting-small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.user-name-lg {
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.avatar-modern {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #f26522, #ff8c42);
  border-radius: 50%;
  position: relative;
}

.avatar-ring {
  position: absolute;
  inset: -2px;
  border: 2px solid rgba(242, 101, 34, 0.3);
  border-radius: 50%;
}

.balance-card.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}

.balance-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 4px;
}

.balance-amount {
  font-size: 28px;
  font-weight: 800;
  color: white;
  display: block;
}

.balance-amount .cents {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.7;
}

.balance-trend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.trend-up {
  font-size: 10px;
  color: #34d399;
  background: rgba(52, 211, 153, 0.15);
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 600;
}

.trend-period {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
}

.quick-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.action-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
  border-radius: 12px;
  text-align: center;
}

.action-btn.gradient-orange {
  background: linear-gradient(135deg, #f26522 0%, #ff8c42 100%);
}

.action-btn.gradient-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.action-btn.gradient-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.action-btn.gradient-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.action-icon {
  font-size: 14px;
  color: white;
  margin-bottom: 3px;
}

.action-label {
  font-size: 8px;
  color: white;
  font-weight: 500;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.6);
}

.transaction-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.transaction-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.tx-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.tx-icon.netflix {
  background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
}

.tx-icon.spotify {
  background: linear-gradient(135deg, #1db954 0%, #158e3d 100%);
}

.tx-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tx-name {
  font-size: 11px;
  font-weight: 600;
  color: white;
}

.tx-date {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
}

.tx-amount {
  font-size: 11px;
  font-weight: 600;
}

.tx-amount.negative {
  color: #f87171;
}

.tx-amount.positive {
  color: #34d399;
}

/* ===== Modern Fitness App Styles ===== */
.screen-content.fitness-modern {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f172a 100%);
  padding: 50px 12px 12px;
  display: flex;
  flex-direction: column;
}

.fitness-hero {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.ring-progress {
  position: relative;
  width: 100px;
  height: 100px;
}

.progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke: url(#gradient-ring);
  stroke: #f26522;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 55;
}

.ring-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.ring-value {
  font-size: 20px;
  font-weight: 800;
  color: white;
}

.ring-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
}

.stats-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.stat-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-icon-sm {
  font-size: 14px;
  margin-bottom: 4px;
}

.stat-value-sm {
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.stat-label-sm {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.workout-card-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 8px;
}

.workout-card-modern.gradient-coral {
  background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
}

.workout-card-modern.gradient-ocean {
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
}

.workout-info {
  display: flex;
  flex-direction: column;
}

.workout-title {
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.workout-meta {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

.play-btn {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
}

/* ===== Modern E-commerce App Styles ===== */
.screen-content.ecommerce-modern {
  background: #f8f9fa;
  padding: 45px 10px 10px;
  color: #1a1a2e;
  display: flex;
  flex-direction: column;
}

.ecom-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.search-bar-modern {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-icon {
  font-size: 12px;
}

.search-placeholder {
  font-size: 11px;
  color: #999;
}

.cart-icon {
  font-size: 18px;
}

.promo-banner {
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 10px;
}

.promo-banner.gradient-warm {
  background: linear-gradient(135deg, #f26522 0%, #ff8c42 100%);
}

.promo-content {
  display: flex;
  flex-direction: column;
}

.promo-tag {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-title {
  font-size: 24px;
  font-weight: 800;
  color: white;
}

.promo-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
}

.category-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  overflow-x: auto;
  position: relative;
  z-index: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  background: white;
  color: #666;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.pill.active {
  background: #1a1a2e;
  color: white;
}

/* Override section-title-light inside phone screen content */
.screen-content .section-title-light,
.screen-content.ecommerce-modern .section-title-light,
.screen-content.productivity-modern .section-title-light {
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #1a1a2e !important;
  margin-bottom: 8px !important;
  line-height: 1.3 !important;
}

.product-grid {
  display: flex;
  gap: 10px;
}

.product-card-sm {
  flex: 1;
  background: white;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  min-height: 0;
}

.product-img {
  height: 50px;
  border-radius: 8px;
  margin-bottom: 6px;
}

.product-img.blue {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.product-img.pink {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.product-name {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.2;
}

.product-price {
  font-size: 11px;
  font-weight: 700;
  color: #f26522;
}

/* ===== Modern Productivity App Styles ===== */
.screen-content.productivity-modern {
  background: #f8f9fa;
  padding: 45px 10px 10px;
  color: #1a1a2e;
  display: flex;
  flex-direction: column;
}

.prod-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.prod-greeting {
  display: flex;
  flex-direction: column;
}

.prod-hello {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
}

.prod-date {
  font-size: 10px;
  color: #888;
}

.notification-badge {
  width: 24px;
  height: 24px;
  background: #f26522;
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.progress-card {
  background: white;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.progress-title {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a2e;
}

.progress-percent {
  font-size: 14px;
  font-weight: 800;
  color: #f26522;
}

.progress-bar-modern {
  height: 8px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, #f26522 0%, #ff8c42 100%);
  border-radius: 10px;
}

.tasks-done {
  font-size: 10px;
  color: #888;
}

.meeting-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meeting-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.meeting-time {
  font-size: 14px;
  font-weight: 700;
  color: #f26522;
  min-width: 35px;
}

.meeting-details {
  display: flex;
  flex-direction: column;
}

.meeting-name {
  font-size: 11px;
  font-weight: 600;
  color: #1a1a2e;
}

.meeting-loc {
  font-size: 9px;
  color: #888;
}

/* ===== Modern Food Delivery App Styles ===== */
.screen-content.food-modern {
  background: #f8f9fa;
  padding: 50px 12px 12px;
  color: #1a1a2e;
}

.food-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.location-row {
  display: flex;
  flex-direction: column;
}

.location-label {
  font-size: 9px;
  color: #888;
}

.location-value {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
}

.avatar-sm {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #f26522, #ff8c42);
  border-radius: 50%;
}

.food-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: white;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 11px;
  color: #999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-icon-sm {
  font-size: 12px;
}

.food-categories {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.food-cat {
  padding: 8px 12px;
  background: white;
  border-radius: 20px;
  font-size: 10px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.food-cat.active {
  background: #f26522;
  color: white;
}

.restaurant-card {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: white;
  border-radius: 14px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.resto-img {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-radius: 10px;
}

.resto-img.green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.resto-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resto-name {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a2e;
}

.resto-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.resto-rating {
  font-size: 10px;
  color: #1a1a2e;
}

.resto-time {
  font-size: 10px;
  color: #888;
}

/* ===== Premium Food Delivery App Styles ===== */
.screen-content.food-premium.dark {
  background: linear-gradient(180deg, #0a0a14 0%, #141428 100%);
  color: white;
  padding: 50px 10px 10px;
}

.food-header-premium {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.location-premium {
  display: flex;
  align-items: center;
  gap: 6px;
}

.loc-icon {
  font-size: 14px;
}

.loc-text {
  display: flex;
  flex-direction: column;
}

.loc-label {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.loc-address {
  font-size: 11px;
  font-weight: 600;
  color: white;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notif-icon {
  font-size: 14px;
}

.avatar-gradient {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #f26522, #ff8c42);
  border-radius: 50%;
  border: 2px solid rgba(242, 101, 34, 0.3);
}

.promo-card-food {
  background: linear-gradient(135deg, #f26522 0%, #ff6b35 50%, #ff8c42 100%);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.promo-text {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.promo-badge {
  font-size: 8px;
  font-weight: 700;
  color: white;
  background: rgba(0, 0, 0, 0.2);
  padding: 3px 8px;
  border-radius: 10px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 4px;
}

.promo-headline {
  font-size: 18px;
  font-weight: 800;
  color: white;
}

.promo-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.promo-pattern {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.promo-pattern::before {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cat-scroll {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.cat-chip {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.cat-chip.active {
  background: linear-gradient(135deg, #f26522, #ff8c42);
  color: white;
  font-weight: 600;
}

.resto-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.resto-title {
  font-size: 11px;
  font-weight: 700;
  color: white;
}

.see-all {
  font-size: 9px;
  color: #f26522;
  font-weight: 500;
}

.resto-card-premium {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
}

.resto-thumb {
  position: relative;
  height: 70px;
}

.thumb-img {
  width: 100%;
  height: 100%;
}

.thumb-img.gradient-red {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
}

.heart-icon {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
}

.discount-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #10b981;
  color: white;
  font-size: 8px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 6px;
}

.resto-details {
  padding: 10px;
}

.resto-name-lg {
  font-size: 12px;
  font-weight: 700;
  color: white;
  display: block;
  margin-bottom: 2px;
}

.resto-cuisine {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 6px;
}

.resto-stats {
  display: flex;
  gap: 8px;
}

.stat-item {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
}


/* ===== Features/Integrations Section (Light TJ Theme) ===== */
.features-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  background: var(--bg-card);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(242, 101, 34, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.feature-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ===== Process Section (The Gnar inspired) ===== */
.process-section {
  padding: var(--space-4xl) 0;
  background: #faf8f6;
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-4xl);
  align-items: start;
}

.process-left {
  position: sticky;
  top: 120px;
}

.process-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
  line-height: 1.2;
}

.process-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.process-step-new {
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.process-step-new:last-of-type {
  border-bottom: none;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.step-label {
  color: var(--accent-primary);
}

.step-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-cta {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ===== Dark CTA Section (Gnar inspired) ===== */
.cta-section-dark {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  position: relative;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-content-dark {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title-dark {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.cta-description-dark {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.btn-cta-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #f26522 0%, #ff8c42 100%);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-spring);
  box-shadow: 0 8px 30px rgba(242, 101, 34, 0.4);
  text-decoration: none;
}

.btn-cta-orange:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(242, 101, 34, 0.6);
}

.trusted-by {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.trusted-by .highlight {
  color: var(--accent-primary);
}

/* ===== FAQ Section ===== */
.faq-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(242, 101, 34, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255, 140, 66, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.faq-section .container {
  position: relative;
  z-index: 1;
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.faq-section .section-title {
  margin-bottom: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.faq-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(242, 101, 34, 0.1);
  border-color: var(--accent-primary);
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  margin-top: 0;
  line-height: 1.5;
  padding-left: var(--space-lg);
  padding-right: 0;
  position: relative;
  text-align: left;
  letter-spacing: -0.01em;
}

.faq-item h3::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  padding-left: var(--space-lg);
  padding-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  text-align: left;
  letter-spacing: 0;
}

.faq-item p::before {
  content: 'A';
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background: rgba(242, 101, 34, 0.1);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .faq-item {
    padding: var(--space-lg);
  }

  .faq-item h3 {
    font-size: 1.05rem;
    padding-left: var(--space-xl);
  }

  .faq-item h3::before {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .faq-item p {
    padding-left: var(--space-xl);
    font-size: 0.9rem;
  }

  .faq-item p::before {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }
}

/* ===== Responsive Design ===== */

@media (max-width: 1024px) {
  .hero-devices {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 var(--space-4xl);
  }

  .process-step::after {
    display: none;
  }

  .showcase-phones {
    overflow-x: auto;
    justify-content: flex-start;
    padding: var(--space-xl) var(--space-md);
    gap: var(--space-md);
    perspective: none;
    /* Disable 3D on mobile */
  }

  .iphone-mockup {
    transform: scale(0.9);
    animation: none !important;
    /* Disable floating animation on mobile */
  }

  .iphone-mockup:hover {
    transform: scale(0.9);
    /* Disable hover effects on mobile */
    animation-play-state: running;
  }

  .iphone-mockup:hover .iphone-frame {
    animation: none !important;
    /* Disable glow on mobile */
  }

  /* Disable screen content animations on mobile */
  .iphone-mockup:hover .property-card,
  .iphone-mockup:hover .rec-card,
  .iphone-mockup:hover .workout-card,
  .iphone-mockup:hover .emp-card,
  .iphone-mockup:hover .event-thumb {
    animation: none !important;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .process-left {
    position: static;
    text-align: center;
  }

  .process-left .btn {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-glass);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all var(--transition-normal);
    backdrop-filter: blur(20px);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat {
    width: 100%;
    max-width: 280px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-large {
    width: 100%;
    max-width: 280px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: var(--space-md);
  }

  .iphone-mockup {
    transform: scale(0.75);
  }

  .iphone-frame {
    width: 180px;
    height: 370px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .section-description {
    font-size: 1rem;
  }

  .cta-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
}

/* ===== Portfolio Section Enhancements ===== */

/* Portfolio Section Background Enhancement */
.portfolio {
  position: relative;
  overflow: hidden;
}

.portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(242, 101, 34, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255, 140, 66, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* App Showcase Card - Glassmorphism & Hover */
.app-showcase-card {
  position: relative;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease, opacity 0.8s ease-out;
  will-change: transform, opacity;
}

.app-showcase-card:hover {
  transform: translateY(-10px);
}

.app-showcase-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(242, 101, 34, 0.2), transparent, rgba(255, 140, 66, 0.1));
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.app-showcase-card:hover::before {
  opacity: 1;
}

/* Dual Phone Display - 3D Effects */
.dual-phone-display {
  perspective: 2000px;
  position: relative;
}

/* Phone Floating Animation */
.iphone-realistic {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.iphone-realistic.left {
  animation: phoneFloatStraight 6s ease-in-out infinite;
}

.iphone-realistic.right {
  animation: phoneFloatStraight 5.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

@keyframes phoneFloatStraight {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes phoneFloatTilted {

  0%,
  100% {
    transform: translateY(0px) rotate(8deg);
  }

  50% {
    transform: translateY(-12px) rotate(8deg);
  }
}

/* Lift and Scale on Hover */
.app-showcase-card:hover .iphone-realistic.left {
  transform: translateY(-20px) scale(1.05);
  animation-play-state: paused;
}

.app-showcase-card:hover .iphone-realistic.right {
  transform: translateY(-18px) scale(1.05);
  animation-play-state: paused;
}

/* iPhone Frame Glow Effect */
.iphone-frame-realistic {
  position: relative;
  transition: box-shadow 0.4s ease;
}

.app-showcase-card:hover .iphone-frame-realistic {
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(242, 101, 34, 0.15);
}

/* App Info Card - Glassmorphism */
.app-info-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(10px);
}

.app-info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.app-showcase-card:hover .app-info-card::before {
  opacity: 1;
}

.app-showcase-card:hover .app-info-card {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* App Logo Animation */
.app-logo-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.app-logo-wrapper .app-logo {
  max-width: 80px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Make TJ logo larger to match other logos visually */
.app-logo-wrapper .app-logo[src*="tj-logo"] {
  max-width: 120px;
  max-height: 120px;
}

.app-showcase-card:hover .app-logo-wrapper {
  transform: scale(1.1) rotate(-3deg);
}

/* ===== Featured Apps Card Symmetry ===== */
.portfolio-grid.elegant {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl, 32px);
  align-items: stretch;
}

.app-showcase-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.app-info-card {
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
  text-align: center;
  flex-grow: 1;
}

.app-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary, #1a1a2e);
  margin-bottom: 6px;
  height: 32px;
  line-height: 32px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-category {
  font-size: 0.9rem;
  color: var(--accent-primary, #f26522);
  font-weight: 500;
  margin-bottom: 12px;
  height: 24px;
  line-height: 24px;
}

.app-desc {
  font-size: 0.9rem;
  color: var(--text-secondary, #64748b);
  line-height: 1.6;
  height: 85px;
  overflow: hidden;
  margin-bottom: 16px;
}

.platform-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: auto;
}

.platform-badge {
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
}

.platform-badge.ios {
  background: #1a1a2e;
  color: white;
}

.platform-badge.android {
  background: #3ddc84;
  color: #1a1a2e;
}

/* Platform Badges Enhancement */
.platform-badge {
  transition: all 0.3s ease;
}

.platform-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.platform-badge.ios:hover {
  background: linear-gradient(135deg, #1a1a2e, #2d2d44);
}

.platform-badge.android:hover {
  background: linear-gradient(135deg, #3ddc84, #2fb66e);
}

/* Staggered Entrance Animations - Now handled by JavaScript for consistent scroll-triggered behavior */
/* All app-showcase-cards use JS IntersectionObserver for fade-in animation */

/* Screen Image Shine Effect */
.screen-image {
  position: relative;
}

.iphone-screen-realistic::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.app-showcase-card:hover .iphone-screen-realistic::after {
  left: 150%;
}

/* Portfolio Grid Enhancement */
.portfolio-grid.elegant {
  position: relative;
}

.portfolio-grid.elegant::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 101, 34, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

/* App Title Gradient on Hover */
.app-title {
  transition: all 0.3s ease;
}

.app-showcase-card:hover .app-title {
  background: linear-gradient(135deg, #f26522, #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* App Category Underline Animation */
.app-category {
  position: relative;
  display: inline-block;
}

.app-category::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f26522, #ff8c42);
  transition: width 0.4s ease;
}

.app-showcase-card:hover .app-category::after {
  width: 100%;
}

/* ===== Testimonial Card Alignment Fix ===== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-text {
  flex-grow: 1;
}

.testimonial-author {
  margin-top: auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg, 24px);
  align-items: stretch;
}

/* ===== Service Cards Symmetry Fix ===== */
/* Base mobile-first: single column */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg, 24px);
  align-items: stretch;
}

/* Desktop: 4 columns */
@media (min-width: 769px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-xl, 32px);
  background: var(--bg-card, #ffffff);
  border-radius: var(--radius-lg, 24px);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  box-shadow: var(--shadow-card, 0 10px 40px rgba(0, 0, 0, 0.08));
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-primary, #f26522);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md, 16px);
  background: linear-gradient(135deg, rgba(242, 101, 34, 0.1), rgba(255, 140, 66, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg, 24px);
  flex-shrink: 0;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-primary, #f26522);
}

.service-icon.android svg {
  stroke: #3ddc84;
}

.service-icon.cross svg {
  stroke: #667eea;
}

.service-icon.design svg {
  stroke: #e91e63;
}

.service-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary, #1a1a2e);
  margin-bottom: var(--space-sm, 12px);
  height: 30px;
  /* Fixed height - single line */
  line-height: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-description {
  font-size: 0.9rem;
  color: var(--text-secondary, #64748b);
  line-height: 1.6;
  margin-bottom: var(--space-lg, 24px);
  height: 120px;
  /* Fixed height for all descriptions */
  overflow: hidden;
  flex-shrink: 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: var(--space-md, 16px);
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-secondary, #64748b);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 28px;
  /* Fixed height for each bullet */
  line-height: 20px;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-primary, #f26522);
  font-weight: 600;
}

/* Responsive adjustments for services grid */
@media (max-width: 1200px) {
  .service-title {
    font-size: 1.1rem;
  }

  .service-features li {
    white-space: normal;
    height: auto;
    min-height: 28px;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-title {
    height: auto;
    white-space: normal;
  }

  .service-description {
    height: auto;
    min-height: 80px;
  }

  .service-features li {
    white-space: normal;
    height: auto;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-description {
    height: auto;
    min-height: auto;
  }
}

/* ============================================================ */
/* MOBILE OVERRIDE - MUST BE AT END FOR HIGHEST SPECIFICITY */
/* ============================================================ */
@media screen and (max-width: 768px) {

  /* CRITICAL: Prevent horizontal overflow on mobile */
  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  .hero,
  .hero-content,
  .container {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .tech-marquee,
  .marquee-track,
  .marquee-content {
    max-width: 100vw !important;
  }

  /* SERVICES SECTION: Force single column on mobile */
  .services-grid,
  #services .services-grid,
  section.services .services-grid,
  section#services .services-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .service-card,
  #services .service-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .service-title,
  #services .service-title {
    white-space: normal !important;
    height: auto !important;
    font-size: 1.25rem !important;
  }

  /* FEATURES SECTION: Force single column */
  .features-grid,
  #features .features-grid,
  .features-section .features-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .feature-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* PROCESS SECTION: Fix overlap with marquee */
  .tech-marquee {
    position: relative !important;
    z-index: 1 !important;
    margin-bottom: 0 !important;
  }

  .process-section,
  #process,
  section#process {
    position: relative !important;
    z-index: 100 !important;
    background: #ffffff !important;
    padding-top: 3rem !important;
    margin-top: 0 !important;
  }

  .process-layout,
  #process .process-layout {
    flex-direction: column !important;
    display: flex !important;
  }

  .process-left,
  #process .process-left,
  #sticky-sidebar {
    position: relative !important;
    width: 100% !important;
    margin-top: 0 !important;
    top: auto !important;
    transform: none !important;
    background: #ffffff !important;
    padding: 0 1rem !important;
    z-index: 101 !important;
  }

  .process-title,
  #process .process-title {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }

  .process-right,
  #process .process-right {
    width: 100% !important;
  }
}