/* Modern Premium CSS Reset & Variable System */
:root {
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Plus Jakarta Sans', sans-serif;

  /* Color Palette (Deep dark luxury with neon accents) */
  --bg-primary: #0a0b10;
  --bg-secondary: #12131a;
  --bg-card: rgba(22, 24, 35, 0.6);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  
  --accent-cyan: #00f2fe;
  --accent-purple: #4facfe;
  --accent-pink: #f857a6;
  --gradient-main: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
  --gradient-hover: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  --gradient-glow: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(79, 172, 254, 0) 70%);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-inverse: #0a0b10;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Glow Effects */
.glow-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.45;
}

.glow-1 {
  top: -10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.5) 0%, rgba(0, 242, 254, 0) 70%);
}

.glow-2 {
  bottom: -10%;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(248, 87, 166, 0.3) 0%, rgba(79, 172, 254, 0) 70%);
}

/* Header & Navigation */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 11, 16, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.logo-svg {
  height: 38px;
  width: auto;
  display: block;
}

.logo-svg rect, .logo-svg text {
  transition: var(--transition-fast);
}

.logo:hover .logo-svg rect {
  stroke: var(--accent-cyan);
  opacity: 1;
}

.logo:hover .logo-svg text {
  fill: var(--accent-cyan);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
}

/* Views & Routing System */
#app-view-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem 2rem;
  position: relative;
  min-height: calc(100vh - 12rem);
}

.page-view {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0s linear 0.5s;
}

.page-view.active {
  position: relative;
  height: auto;
  overflow: visible;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0s linear 0s;
}

/* Home Section Styles (Redesigned Hero) */
.hero-section {
  position: relative;
  min-height: 70vh;
  margin: 0 auto 4rem auto;
  padding: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Grid Overlay & Diagonal lines matching the screenshot */
.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  mask-image: radial-gradient(circle at 60% 50%, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 60% 50%, black 60%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-diagonal-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.015),
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 14px
  );
  mask-image: linear-gradient(to bottom right, black, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom right, black, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-main-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  width: 100%;
  z-index: 2;
  position: relative;
}

.hero-graphic {
  flex: 0 0 240px;
  display: flex;
  justify-content: center;
}

.floating-bust {
  width: 220px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(248, 87, 166, 0.2));
  animation: floatStatue 6s ease-in-out infinite;
}

@keyframes floatStatue {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}

.hero-content-wrapper {
  flex: 1;
}

.hero-title {
  font-family: var(--font-secondary);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text-main);
  text-transform: uppercase;
}

/* Styled Bar Graphic next to 'HI' */
.title-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 48px;
  margin: 0 8px;
  vertical-align: middle;
}

.title-bars span {
  width: 3px;
  background: var(--text-main);
  border-radius: 2px;
}

.title-bars span:nth-child(1) { height: 35%; }
.title-bars span:nth-child(2) { height: 65%; }
.title-bars span:nth-child(3) { height: 100%; }
.title-bars span:nth-child(4) { height: 85%; }
.title-bars span:nth-child(5) { height: 45%; }
.title-bars span:nth-child(6) { height: 75%; }

/* Bounding Dashed Box with Gradient text */
.dashed-box {
  display: inline-block;
  border: 1px dashed rgba(248, 87, 166, 0.6);
  padding: 0.2rem 1.5rem;
  margin: 0.4rem 0;
  border-radius: 4px;
}

.gradient-text {
  background: linear-gradient(90deg, #f857a6 0%, #ff5858 50%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sub-Hero section (2-column layout) */
.sub-hero-section {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin: 4rem auto 8rem auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 4rem;
}

.sub-hero-col-left {
  flex: 1;
  max-width: 480px;
}

.sub-hero-heading {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

.btn-about {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.btn-about:hover {
  background: var(--text-main);
  color: var(--bg-primary);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

.sub-hero-col-right {
  flex: 1.2;
}

.sub-hero-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Services Section (Redesigned Carousel/Slider) */
.services-section {
  margin-bottom: 8rem;
}

.services-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.services-main-title {
  font-family: var(--font-secondary);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.carousel-nav {
  display: flex;
  gap: 1rem;
}

.btn-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-nav:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-main);
}

.services-carousel-wrapper {
  overflow: hidden;
  width: calc(100% + 40px);
  margin-left: -20px;
  padding: 1.5rem 20px;
}

.services-carousel {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.service-carousel-card {
  flex: 0 0 460px;
  height: 320px;
  position: relative;
  overflow: visible;
  z-index: 1;
  transition: var(--transition-smooth);
}

.service-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

/* Rotating sparkling border stroke on parent */
.service-carousel-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink), var(--accent-purple), var(--accent-cyan));
  background-size: 200% 200%;
  border-radius: 25px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Glowing shadow projection of the sparkling border */
.service-carousel-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink), var(--accent-purple), var(--accent-cyan));
  background-size: 200% 200%;
  border-radius: 25px;
  z-index: -2;
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-carousel-card:hover::before {
  opacity: 1;
  animation: borderSparkle 1.5s linear infinite;
}

.service-carousel-card:hover::after {
  opacity: 0.7;
  animation: borderSparkle 1.5s linear infinite;
}

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

.service-carousel-card:hover {
  transform: translateY(-8px);
}

.service-carousel-card:hover .service-card-inner {
  background: var(--bg-secondary); /* Opaque solid bg blocks gradient inside card */
  border-color: transparent;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.card-top-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.service-round-img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-carousel-card .service-name {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-top: auto;
  color: var(--text-main);
}

/* Portfolio Section Styles */
.portfolio-header {
  margin-bottom: 4rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(248, 87, 166, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-image-wrapper {
  position: relative;
  height: 200px;
  background: #171822;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-placeholder {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.portfolio-card:hover .card-img-placeholder {
  transform: scale(1.1);
  color: var(--accent-pink);
}

.card-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(10, 11, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  backdrop-filter: blur(4px);
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
}

.portfolio-card:hover .card-footer {
  color: var(--text-main);
}

.card-action-text {
  display: inline-flex;
  align-items: center;
}

/* Footer Centering & Actions */
.portfolio-footer-actions {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.app-footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 6rem;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem 1.2rem;
    gap: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .logo-svg {
    height: 32px;
  }
  
  #app-view-container {
    padding-top: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1.5rem;
    min-height: auto;
  }

  .hero-main-flex {
    flex-direction: column-reverse;
    gap: 2rem;
    text-align: center;
  }

  .hero-graphic {
    flex: 0 0 auto;
  }

  .floating-bust {
    width: 150px;
  }

  .hero-title {
    font-size: 2.2rem;
    letter-spacing: -1px;
  }

  .title-bars {
    height: 32px;
  }

  .sub-hero-section {
    flex-direction: column;
    gap: 2rem;
    margin: 3rem auto 5rem auto;
    padding-top: 3rem;
  }

  .sub-hero-col-left {
    max-width: 100%;
    text-align: center;
  }

  .sub-hero-heading {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .sub-hero-text {
    font-size: 0.95rem;
    text-align: center;
  }

  .services-section {
    margin-bottom: 5rem;
  }

  .services-section-header {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
  }

  .services-main-title {
    font-size: 2.2rem;
  }

  /* Minimize services cards on mobile */
  .services-carousel-wrapper {
    padding: 1rem 20px;
  }

  .service-carousel-card {
    flex: 0 0 290px;
    height: 250px;
  }

  .service-card-inner {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .card-top-row {
    gap: 1rem;
  }

  .service-round-img {
    width: 50px;
    height: 50px;
  }

  .service-desc {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .service-carousel-card .service-name {
    font-size: 1.35rem;
    margin-top: 0.5rem;
  }

  .services-cta-section {
    margin-top: 2rem;
    padding: 2.2rem 1.2rem;
    gap: 1.2rem;
    margin-bottom: 2rem;
  }

  .cta-question {
    font-size: 1.15rem;
  }

  #services-contact-btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .contact-card {
    padding: 2rem 1.2rem;
  }

  .email-link {
    font-size: 1.25rem;
    word-break: break-all;
  }

  /* Spacing fix below footer on mobile */
  .app-footer {
    margin-top: 2rem;
    padding: 1.5rem 0;
  }
}

/* Desktop-only Interactive Cloud Canvas */
#cloud-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  filter: blur(48px);
  -webkit-filter: blur(48px);
  opacity: 0.8;
  display: none;
  transform: translate3d(0, 0, 0); /* Force GPU acceleration */
}

@media (min-width: 1025px) {
  #cloud-canvas.active {
    display: block;
  }
}

/* Services Contact CTA Section */
.services-cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 2.2rem 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(10px);
}

.services-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-question {
  font-family: var(--font-secondary);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

#services-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gradient-main);
  color: var(--bg-primary);
  font-weight: 800;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.45);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 1;
}

#services-contact-btn:hover {
  background: var(--gradient-hover);
  box-shadow: 0 0 35px rgba(248, 87, 166, 0.6);
  transform: translateY(-3px);
  color: var(--text-main);
}

/* Contact Page View Layout */
.contact-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.contact-card {
  width: 100%;
  max-width: 580px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Email Card Specific Styles */
.email-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 4.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.email-icon {
  font-size: 3rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
}

.email-label {
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.email-link {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-bottom: 2px dashed rgba(0, 242, 254, 0.3);
  padding-bottom: 6px;
  transition: all 0.3s ease;
  letter-spacing: -0.5px;
}

.email-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 20px 40px rgba(0, 242, 254, 0.08);
}

.email-card:hover .email-link {
  border-bottom-color: rgba(248, 87, 166, 0.6);
  filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.35));
}

/* Eabab Store E-Commerce Mini-site */
.eabab-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.eabab-item-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.eabab-item-card:hover {
  transform: translateY(-8px);
  border-color: rgba(248, 87, 166, 0.25);
  box-shadow: 0 15px 30px rgba(248, 87, 166, 0.06);
}

.item-img-placeholder {
  height: 200px;
  background: rgba(255, 255, 255, 0.01);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--accent-pink);
  opacity: 0.8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.item-img-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(248, 87, 166, 0.05) 0%, transparent 70%);
}

.item-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.item-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-pink);
  letter-spacing: 1.5px;
}

.item-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.item-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.item-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.buy-btn {
  margin-top: auto;
  border-radius: 12px;
  padding: 0.8rem 1.5rem;
  font-weight: 700;
}

/* Modal Checkout Styling */
.eabab-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

.eabab-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  animation: modalSlideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes modalSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

.close-modal-btn:hover {
  color: var(--accent-pink);
}

.eabab-order-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* Portfolio Custom System CTA */
.portfolio-cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(10px);
}

.portfolio-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.portfolio-cta-text {
  font-family: var(--font-secondary);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

#portfolio-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gradient-main);
  color: var(--bg-primary);
  font-weight: 800;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.45);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 1;
}

#portfolio-contact-btn:hover {
  background: var(--gradient-hover);
  box-shadow: 0 0 35px rgba(248, 87, 166, 0.6);
  transform: translateY(-3px);
  color: var(--text-main);
}

@media (max-width: 768px) {
  .portfolio-cta-section {
    margin-top: 3rem;
    padding: 2.2rem 1.2rem;
    gap: 1.2rem;
  }

  .portfolio-cta-text {
    font-size: 1.15rem;
  }

  #portfolio-contact-btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
  }
}

