/* Homepage-specific components. Global chrome (nav, buttons, footer, faq,
   fab, animations, section labels) lives in main.css. */

/* ── HERO ── */
.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -300px;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(255, 92, 0, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: 3.8rem;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: rgba(255, 92, 0, 0.3);
  text-underline-offset: 6px;
  text-decoration-thickness: 4px;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.delivery-date {
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 600;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.delivery-date .dd-accent {
  color: var(--orange);
}
.hero-visual {
  position: relative;
}

/* ── CARD STACK CAROUSEL ── */
.card-stack-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  height: 500px;
  perspective: 1600px;
  padding: 30px 50px 40px 20px;
}
.card-stack {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.stack-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s ease,
    box-shadow 0.4s ease;
  cursor: pointer;
  transform-origin: center center;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.stack-card.active {
  z-index: 4;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  opacity: 1;
}
.stack-card.next-1 {
  transform: translate3d(14px, -12px, -30px) rotate(2.5deg) scale(0.97);
  opacity: 0.9;
}
.stack-card.next-2 {
  transform: translate3d(28px, -22px, -60px) rotate(5deg) scale(0.94);
  opacity: 0.65;
}
.stack-card.exiting {
  z-index: 5;
  transform: translate3d(-120%, -20px, 0) rotate(-12deg) scale(0.9);
  opacity: 0;
}
.stack-card:hover.active {
  transform: translate3d(0, -6px, 20px) rotate(0deg) scale(1.015);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.08);
}
.stack-card-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  height: 36px;
  flex-shrink: 0;
}
.stack-card-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}
.stack-card-dot:nth-child(1) {
  background: #ff5f57;
}
.stack-card-dot:nth-child(2) {
  background: #febc2e;
}
.stack-card-dot:nth-child(3) {
  background: #28c840;
}
.stack-card-url {
  flex: 1;
  margin-left: 10px;
  background: var(--white);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid var(--line);
  font-family: var(--sans);
}
.stack-card-image {
  width: 100%;
  height: calc(100% - 36px);
  object-fit: cover;
  object-position: top center;
  display: block;
}
.stack-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.stack-dot-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: all 0.3s;
}
.stack-dot-indicator.active {
  background: var(--orange);
  width: 24px;
  border-radius: 5px;
}
.stack-dot-indicator:hover {
  background: var(--muted);
}

/* ── INCLUDES ── */
.includes {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.includes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.include-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: all 0.25s;
}
.include-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.include-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.include-card:nth-child(1) .include-icon {
  background: #fff0e6;
}
.include-card:nth-child(2) .include-icon {
  background: #e8f5e9;
}
.include-card:nth-child(3) .include-icon {
  background: #e3f2fd;
}
.include-card:nth-child(4) .include-icon {
  background: #f3e5f5;
}
.include-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.include-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── HOW IT WORKS (timeline) ── */
.how {
  padding: 100px 0;
  background: var(--paper);
}
.timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--line);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding-left: 72px;
  padding-bottom: 40px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: 16px;
  top: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s;
}
.timeline-item:first-child .timeline-dot,
.timeline-item:last-child .timeline-dot {
  border-color: var(--orange);
  background: var(--orange);
}
.timeline-dot-inner {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}
.timeline-item:first-child .timeline-dot-inner,
.timeline-item:last-child .timeline-dot-inner {
  background: var(--white);
}
.timeline-day {
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  margin-bottom: 4px;
}
.timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  font-weight: 700;
}
.timeline-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.test-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  position: relative;
}
.test-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--head);
  font-size: 4rem;
  color: var(--orange);
  opacity: 0.12;
  line-height: 1;
}
.test-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.test-quote {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 20px;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.test-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  overflow: hidden;
  flex-shrink: 0;
  font-family: var(--head);
}
.test-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.test-card:nth-child(1) .test-avatar {
  background: #e91e63;
}
.test-card:nth-child(2) .test-avatar {
  background: #1565c0;
}
.test-card:nth-child(3) .test-avatar {
  background: #7b1fa2;
}
.test-name {
  font-weight: 700;
  font-size: 0.9rem;
}
.test-role {
  font-size: 0.8rem;
  color: var(--muted);
}
.test-site-link {
  font-size: 0.75rem;
  color: var(--orange);
  font-weight: 600;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.test-site-link:hover {
  gap: 8px;
}

/* ── PORTFOLIO ── */
.portfolio {
  padding: 100px 0;
  background: var(--paper);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.3s;
  cursor: pointer;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--orange);
}
.portfolio-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}
.portfolio-card:hover .portfolio-screenshot {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.portfolio-thumb-screenshot {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--paper-2);
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.portfolio-thumb-screenshot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 92, 0, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.portfolio-card:hover .portfolio-thumb-screenshot::after {
  opacity: 1;
}
.portfolio-info {
  padding: 20px 24px;
  margin: 0;
}
.portfolio-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 4px;
  font-family: var(--sans);
}
.portfolio-name {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.1rem;
}
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 600;
  margin-top: 6px;
  transition: gap 0.2s;
}
.portfolio-card:hover .portfolio-link {
  gap: 8px;
}

/* ── PRICING ── */
.pricing {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  max-width: 640px;
  margin: 0 auto;
}

.pc-title {
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.4rem;
  margin: 0 0 18px;
}

.bundle-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.bundle-line:first-of-type {
  padding-top: 0;
}

.bundle-line .bl-label {
  color: var(--ink);
  font-weight: 500;
}

.bundle-line .bl-label small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.82rem;
  margin-top: 2px;
}

.bundle-line .bl-price {
  font-family: var(--head);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.bundle-line .was {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 8px;
}

.bundle-line .free-tag {
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.92rem;
}

.bundle-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 20px;
}

.bundle-total .bt-label {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.1rem;
}

.bundle-total .bt-label small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.8rem;
  margin-top: 2px;
}

.bundle-total .bt-price {
  text-align: right;
  white-space: nowrap;
}

.bundle-total .bt-was {
  color: var(--muted);
  text-decoration: line-through;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.1rem;
  margin-right: 4px;
}

.bundle-total .bt-now {
  font-family: var(--head);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--orange);
  letter-spacing: -1.5px;
}

.bundle-save {
  display: inline-block;
  margin-top: 14px;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: 6px;
}

.bundle-renewal {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.bundle-renewal strong {
  color: var(--ink);
  font-weight: 600;
}

.bundle-cta {
  margin-top: 26px;
  text-align: center;
}

.pricing-guarantee {
  text-align: center;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── FINAL CTA ── */
.final-cta {
  padding: 100px 0;
  text-align: center;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 92, 0, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.final-cta h2 {
  font-size: 3rem;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  position: relative;
}
.final-cta p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  margin-bottom: 36px;
  position: relative;
}
.final-reassure {
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
}

/* ── MOBILE STICKY CTA BAR ── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  gap: 10px;
  align-items: center;
}
.mobile-cta-bar .mcb-pay {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(255, 92, 0, 0.3);
}
.mobile-cta-bar .mcb-call {
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero-visual {
    order: -1;
  }
  .includes-grid {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio-grid,
  .test-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card-stack-container {
    height: 380px;
    max-width: 500px;
    padding: 15px 30px 15px 15px;
  }
}
@media (max-width: 720px) {
  .price-card {
    padding: 26px 20px;
  }
}
@media (max-width: 600px) {
  .includes-grid,
  .portfolio-grid,
  .test-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: -1px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary,
  .btn-secondary,
  .btn-call {
    width: 100%;
    justify-content: center;
  }
  .final-cta h2 {
    font-size: 2.2rem;
  }
  .mobile-cta-bar {
    display: flex;
  }
  body.has-mobile-cta {
    padding-bottom: 76px;
  }
  .card-stack-container {
    height: 320px;
    max-width: 100%;
    padding: 10px 24px 10px 10px;
  }
}

/* Pricing toggle */
.price-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 28px;
}
.pt-caption {
  font-size: 13px;
  color: var(--ink-60, #6b6b6b);
}
.pt-switch {
  display: inline-flex;
  background: var(--paper, #f5f4f2);
  border: 1px solid var(--border, #e5e3df);
  border-radius: 999px;
  padding: 3px;
}
.pt-btn {
  border: none;
  background: transparent;
  color: var(--ink-60, #6b6b6b);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.pt-btn.active {
  background: var(--orange, #ff5c00);
  color: #fff;
}
.pt-save {
  font-weight: 400;
  opacity: 0.85;
}

/* Line-item unit labels */
.bl-unit {
  display: inline;
  font-weight: 400;
  color: var(--ink-60, #6b6b6b);
  font-size: 0.7em;
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active {
  display: flex;
}
.modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 48px 40px;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
}
.modal-close:hover {
  color: var(--fg);
}
.modal h2 {
  font-size: 1.8rem;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.modal .modal-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}
.form-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--light);
  border-radius: 10px;
}
.form-total-label {
  font-weight: 600;
}
.form-total-price {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent);
}
.form-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font-size: 1.05rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(255, 92, 0, 0.25);
}
.form-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.form-secure {
  text-align: center;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--muted);
}
.form-guarantee {
  text-align: center;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 500;
}

@media (max-width: 600px) {
  .modal {
    padding: 32px 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Update the portfolio modal styles - streamlined version */

/* ── PORTFOLIO MODAL ── */
.portfolio-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-modal-overlay.active {
  display: flex;
  opacity: 1;
}
.portfolio-modal {
  background: var(--white);
  border-radius: 12px;
  max-width: 1600px;
  width: 100%;
  height: 92vh;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.portfolio-modal-overlay.active .portfolio-modal {
  transform: scale(1);
}
.portfolio-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
}
.portfolio-modal-close:hover {
  background: var(--white);
  border-color: var(--orange);
  color: var(--orange);
  transform: rotate(90deg);
}
.portfolio-modal-iframe-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: var(--white);
  overflow: hidden;
  border-radius: 12px;
}
.portfolio-modal-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Responsive adjustments for portfolio modal */
@media (max-width: 900px) {
  .portfolio-modal {
    max-width: 100%;
    height: 94vh;
    border-radius: 10px;
  }
  .portfolio-modal-iframe-container {
    border-radius: 10px;
  }
}
@media (max-width: 600px) {
  .portfolio-modal-overlay {
    padding: 10px;
  }
  .portfolio-modal {
    height: 96vh;
    border-radius: 8px;
  }
  .portfolio-modal-close {
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
    font-size: 1.4rem;
  }
  .portfolio-modal-iframe-container {
    border-radius: 8px;
  }
}
