/* ============================================
   EMBER. — Visual Mockups & Dynamic Elements
   ============================================ */

/* ============================================
   CASE STUDY SPOTLIGHT — RISE VISUAL MEDIA
   ============================================ */

.cs-spotlight {
  background: var(--dark);
  padding: 120px 48px 80px;
  max-width: 100%;
  overflow: hidden;
}

.cs-intro {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
}

.cs-spotlight .section-label {
  color: var(--ember);
}

.cs-heading {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: white;
  line-height: 1.05;
  margin-bottom: 20px;
}

.cs-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- BEFORE / AFTER ---- */
.cs-transform {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 80px;
}

.cs-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cs-side-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.cs-dot-red { background: #ef4444; }
.cs-dot-green { background: #22c55e; }

.cs-browser {
  width: 100%;
  max-width: 500px;
  transform: none;
}

.cs-browser-lg {
  width: 100%;
  max-width: 600px;
  transform: none;
}

.cs-arrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-arrow {
  width: 48px;
  height: 24px;
  color: var(--ember);
}

.cs-issues, .cs-wins {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cs-issues span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(239,68,68,0.12);
  color: #f87171;
}

.cs-wins span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(34,197,94,0.12);
  color: #4ade80;
}

/* ---- OLD SITE MOCKUP ---- */
.screen-rise-old {
  background: #f5f5f5;
  padding: 14px;
  min-height: 240px;
  font-family: Arial, sans-serif;
}

.old-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ccc;
}

.old-logo {
  font-size: 11px;
  font-weight: bold;
  color: #333;
}

.old-links {
  font-size: 8px;
  color: #888;
}

.old-hero {
  background: linear-gradient(135deg, #3a3a3a, #555);
  border-radius: 0;
  padding: 24px 16px;
  margin-bottom: 12px;
  text-align: center;
}

.old-hero-text {
  font-size: 16px;
  font-weight: bold;
  color: white;
  line-height: 1.3;
  margin-bottom: 6px;
}

.old-hero-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.old-btn {
  display: inline-block;
  background: #666;
  color: white;
  font-size: 8px;
  padding: 4px 12px;
  border-radius: 2px;
}

.old-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.old-img {
  aspect-ratio: 4/3;
  background: #ddd;
  border-radius: 2px;
}

/* ---- METRICS BAR ---- */
.cs-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1100px;
  margin: 0 auto 80px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
}

.cs-metric {
  background: var(--dark);
  padding: 32px 24px;
  text-align: center;
}

.cs-metric-number {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.cs-metric-arrow {
  color: var(--ember);
  font-weight: 400;
}

.cs-metric-label {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}

/* ---- DASHBOARD SECTION ---- */
.cs-dashboard-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 80px;
}

.cs-dash-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ember);
  margin-bottom: 16px;
}

.cs-dash-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cs-dash-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 24px;
}

.cs-dash-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-dash-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.cs-dash-preview {
  display: flex;
  justify-content: center;
}

/* ---- DELIVERABLES ---- */
.cs-deliverables {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.cs-del {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 28px 20px;
}

.cs-del-icon {
  margin-bottom: 16px;
}

.cs-del h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.cs-del p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* ---- CTA ---- */
.cs-cta {
  text-align: center;
  padding-top: 20px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .cs-transform {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cs-arrow-wrap {
    transform: rotate(90deg);
  }
  .cs-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-dashboard-section {
    grid-template-columns: 1fr;
  }
  .cs-deliverables {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cs-spotlight {
    padding: 80px 24px 60px;
  }
  .cs-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .cs-deliverables {
    grid-template-columns: 1fr;
  }
}

/* ---- BROWSER MOCKUP ---- */
.browser-mockup {
  width: 85%;
  max-width: 500px;
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.4);
  transform: perspective(800px) rotateY(-2deg) rotateX(1deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .browser-mockup {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}

.browser-bar {
  height: 28px;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555;
}

.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #febc2e; }
.browser-dot:nth-child(3) { background: #28c840; }

.browser-url {
  margin-left: 12px;
  background: #1a1a1a;
  border-radius: 4px;
  padding: 3px 12px;
  font-size: 10px;
  color: #666;
  font-family: 'DM Sans', monospace;
  flex: 1;
}

.browser-content {
  padding: 0;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

/* ---- WEBSITE MOCKUP SCREENS ---- */

/* Rise Visual Media — dark photography portfolio */
.screen-rise {
  background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
  padding: 24px;
  min-height: 240px;
}

.screen-rise .mock-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.screen-rise .mock-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
}

.screen-rise .mock-nav-links {
  display: flex;
  gap: 16px;
}

.screen-rise .mock-nav-links span {
  font-size: 9px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.screen-rise .mock-hero-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 12px;
}

.screen-rise .mock-sub {
  font-size: 11px;
  color: #555;
  margin-bottom: 20px;
}

.screen-rise .mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.screen-rise .mock-grid-item {
  aspect-ratio: 4/3;
  border-radius: 4px;
  background: linear-gradient(135deg, #2a2a2a, #333);
}

.screen-rise .mock-grid-item:nth-child(1) { background: linear-gradient(135deg, #1a3a2a, #2a5a3a); }
.screen-rise .mock-grid-item:nth-child(2) { background: linear-gradient(135deg, #2a2a3a, #3a3a5a); }
.screen-rise .mock-grid-item:nth-child(3) { background: linear-gradient(135deg, #3a2a1a, #5a3a2a); }

/* Rise Visual Media — live iframe embed */
.screen-rise-live {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #0d0d0d;
}

.screen-rise-live iframe {
  width: 200%;
  height: 560px;
  border: none;
  transform: scale(0.5);
  transform-origin: top left;
  pointer-events: none;
}

/* Rise Visual Media — dashboard mockup */
.screen-rise-dash {
  background: #0c0e14;
  display: flex;
  min-height: 280px;
  font-family: 'DM Sans', sans-serif;
}

.rd-sidebar {
  width: 40px;
  background: #111318;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.rd-logo {
  width: 22px;
  height: 22px;
  background: var(--ember);
  color: white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}

.rd-nav-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  opacity: 0.3;
}

.rd-nav-icon.active {
  opacity: 1;
  background: rgba(255,255,255,0.06);
}

.rd-nav-icon svg {
  width: 13px;
  height: 13px;
  stroke: white;
}

.rd-main {
  flex: 1;
  padding: 12px;
  overflow: hidden;
}

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

.rd-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: white;
}

.rd-date {
  font-size: 9px;
  color: #555;
}

.rd-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.rd-stat {
  background: #151821;
  border-radius: 6px;
  padding: 10px 8px;
  border: 1px solid rgba(255,255,255,0.04);
}

.rd-stat-label {
  font-size: 8px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.rd-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.rd-stat-change {
  font-size: 8px;
  font-weight: 600;
  margin-top: 2px;
}

.rd-stat-change.up { color: #22c55e; }
.rd-stat-change.neutral { color: #c9a227; }

.rd-chart {
  background: #151821;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.04);
}

.rd-chart-label {
  font-size: 8px;
  color: #555;
  margin-bottom: 8px;
}

.rd-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 45px;
}

.rd-bar {
  flex: 1;
  height: var(--h);
  background: rgba(201,162,39,0.3);
  border-radius: 2px 2px 0 0;
  position: relative;
  animation: barGrow 1.2s ease-out both;
}

.rd-bar.active {
  background: var(--ember);
}

.rd-bar span {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7px;
  color: #444;
}

@keyframes barGrow {
  from { height: 0; }
  to { height: var(--h); }
}

.rd-bar:nth-child(1) { animation-delay: 0.1s; }
.rd-bar:nth-child(2) { animation-delay: 0.2s; }
.rd-bar:nth-child(3) { animation-delay: 0.3s; }
.rd-bar:nth-child(4) { animation-delay: 0.4s; }
.rd-bar:nth-child(5) { animation-delay: 0.5s; }
.rd-bar:nth-child(6) { animation-delay: 0.6s; }

.rd-bookings {
  background: #151821;
  border-radius: 6px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.04);
}

.rd-bookings-title {
  font-size: 9px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.rd-booking-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 8px;
}

.rd-booking-row:last-child { border-bottom: none; }

.rd-booking-client {
  color: rgba(255,255,255,0.7);
  flex: 1;
}

.rd-booking-date {
  color: #555;
  margin-right: 8px;
}

.rd-booking-status {
  font-size: 7px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
}

.rd-booking-status.confirmed {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
}

.rd-booking-status.pending {
  background: rgba(201,162,39,0.15);
  color: #c9a227;
}

/* Iron Republic Fitness — dashboard */
.screen-fitness {
  background: #0f1117;
  padding: 16px;
  min-height: 240px;
}

.screen-fitness .dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.screen-fitness .dash-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: white;
}

.screen-fitness .dash-badge {
  background: #22c55e;
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.screen-fitness .dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.screen-fitness .dash-stat {
  background: #1a1d27;
  border-radius: 6px;
  padding: 12px;
}

.screen-fitness .dash-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.screen-fitness .dash-stat-label {
  font-size: 9px;
  color: #555;
  margin-top: 2px;
}

.screen-fitness .dash-chart {
  background: #1a1d27;
  border-radius: 6px;
  padding: 12px;
  height: 80px;
  position: relative;
  overflow: hidden;
}

.screen-fitness .chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 50px;
  margin-top: 8px;
}

.screen-fitness .chart-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: var(--ember);
  opacity: 0.8;
}

/* Coastal Plumbing — clean service site */
.screen-plumbing {
  background: #f0f4f8;
  padding: 20px;
  min-height: 240px;
}

.screen-plumbing .mock-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.screen-plumbing .mock-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #1a5276;
}

.screen-plumbing .mock-cta-btn {
  background: #1a5276;
  color: white;
  font-size: 8px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.screen-plumbing .mock-hero {
  background: linear-gradient(135deg, #1a5276, #2980b9);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 12px;
}

.screen-plumbing .mock-hero h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.screen-plumbing .mock-hero p {
  font-size: 9px;
  color: rgba(255,255,255,0.6);
}

.screen-plumbing .mock-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.screen-plumbing .mock-service-card {
  background: white;
  border-radius: 6px;
  padding: 12px;
  text-align: center;
}

.screen-plumbing .mock-service-icon {
  width: 24px;
  height: 24px;
  background: #e8f4fd;
  border-radius: 6px;
  margin: 0 auto 6px;
}

.screen-plumbing .mock-service-card span {
  font-size: 8px;
  font-weight: 600;
  color: #1a5276;
}

/* Flour Shop — order dashboard */
.screen-bakery {
  background: #faf7f2;
  padding: 16px;
  min-height: 240px;
}

.screen-bakery .dash-sidebar {
  display: flex;
  gap: 12px;
}

.screen-bakery .sidebar {
  width: 60px;
  background: #2d1b12;
  border-radius: 8px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.screen-bakery .sidebar-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
}

.screen-bakery .sidebar-icon.active {
  background: var(--ember);
}

.screen-bakery .dash-main {
  flex: 1;
}

.screen-bakery .dash-main h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #2d1b12;
  margin-bottom: 10px;
}

.screen-bakery .order-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.screen-bakery .order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 9px;
}

.screen-bakery .order-name { font-weight: 600; color: #2d1b12; }
.screen-bakery .order-status {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
}
.screen-bakery .status-ready { background: #d4edda; color: #155724; }
.screen-bakery .status-baking { background: #fff3cd; color: #856404; }
.screen-bakery .status-new { background: #e8d5f5; color: #5b2c8a; }

/* Summit Legal — professional site */
.screen-legal {
  background: #f8f9fa;
  padding: 20px;
  min-height: 240px;
}

.screen-legal .mock-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.screen-legal .mock-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.screen-legal .mock-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-bottom: 12px;
}

.screen-legal .mock-hero-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 8px;
}

.screen-legal .mock-hero-sub {
  font-size: 9px;
  color: #999;
  line-height: 1.4;
}

.screen-legal .mock-hero-img {
  background: linear-gradient(135deg, #1a1a2e, #2d2d5e);
  border-radius: 6px;
}

.screen-legal .mock-practice-areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.screen-legal .mock-area {
  background: white;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 10px 6px;
  text-align: center;
  font-size: 7px;
  font-weight: 600;
  color: #1a1a2e;
}

/* GreenLeaf — website + scheduler */
.screen-landscape {
  background: #f0f7ee;
  padding: 16px;
  min-height: 240px;
}

.screen-landscape .split-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  height: 100%;
}

.screen-landscape .view-website {
  background: white;
  border-radius: 6px;
  padding: 12px;
  position: relative;
}

.screen-landscape .view-website::before {
  content: 'WEBSITE';
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 7px;
  font-weight: 700;
  color: #999;
  letter-spacing: 1px;
}

.screen-landscape .mini-hero {
  background: linear-gradient(135deg, #1a5e2a, #2d8a3e);
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 8px;
}

.screen-landscape .mini-hero h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: white;
}

.screen-landscape .mini-hero p {
  font-size: 7px;
  color: rgba(255,255,255,0.5);
}

.screen-landscape .view-dashboard {
  background: #1a2e1a;
  border-radius: 6px;
  padding: 12px;
  position: relative;
}

.screen-landscape .view-dashboard::before {
  content: 'DASHBOARD';
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 7px;
  font-weight: 700;
  color: #555;
  letter-spacing: 1px;
}

.screen-landscape .schedule-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.screen-landscape .schedule-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 8px;
  color: rgba(255,255,255,0.6);
}

.screen-landscape .schedule-row .time { color: #4ade80; font-weight: 600; }

/* ---- PORTFOLIO PLACEHOLDER OVERRIDE ---- */
.portfolio-placeholder.has-mockup {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.portfolio-placeholder.has-mockup .project-info {
  text-align: center;
}

.portfolio-placeholder.has-mockup .browser-mockup {
  width: 90%;
}

/* ---- FLOATING ELEMENTS (for hero/service pages) ---- */
.float-element {
  animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-delay-1 { animation-delay: 0s; }
.float-delay-2 { animation-delay: 2s; }
.float-delay-3 { animation-delay: 4s; }

/* ---- GLOW ACCENTS ---- */
.glow-accent {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--ember);
  opacity: 0.06;
  filter: blur(100px);
  pointer-events: none;
}

/* ---- ANIMATED GRADIENT BG ---- */
.animated-gradient {
  background: linear-gradient(-45deg, #0a0a0a, #1a1a2e, #0f3443, #2d1b12);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---- CONTENT VISUAL WITH DEVICE ---- */
.content-visual.with-device {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.content-visual.with-device .browser-mockup {
  transform: perspective(800px) rotateY(-5deg);
  width: 80%;
}

/* ---- PHONE MOCKUP ---- */
.phone-mockup {
  width: 160px;
  background: #1a1a1a;
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.phone-screen {
  background: #0f1117;
  border-radius: 14px;
  overflow: hidden;
  min-height: 280px;
}

.phone-notch {
  width: 60px;
  height: 6px;
  background: #1a1a1a;
  border-radius: 10px;
  margin: 8px auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .browser-mockup {
    width: 95%;
    transform: none;
  }
  .portfolio-placeholder.has-mockup {
    padding: 20px;
  }
  .screen-legal .mock-hero {
    grid-template-columns: 1fr;
  }
  .screen-legal .mock-practice-areas {
    grid-template-columns: repeat(2, 1fr);
  }
  .screen-landscape .split-view {
    grid-template-columns: 1fr;
  }
}
