/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:         #080b14;
  --surface:    #0f1525;
  --surface-2:  #141b2e;
  --border:     rgba(255,255,255,0.07);
  --border-glow:rgba(139,92,246,0.4);

  --purple-1:   #8b5cf6;
  --purple-2:   #a78bfa;
  --cyan:       #22d3ee;
  --pink:       #ec4899;

  --text:       #e2e8f0;
  --muted:      #94a3b8;
  --white:      #ffffff;

  --radius-card: 24px;
  --radius-btn:  50px;

  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --shadow-card: 0 0 0 1px var(--border), 0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(139,92,246,0.25), 0 0 80px rgba(139,92,246,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===========================
   ANIMATED BG ORBS
=========================== */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: float 10s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  top: -200px; left: -200px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #22d3ee, transparent 70%);
  bottom: -150px; right: -150px;
  animation-delay: -3s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #ec4899, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  33% { transform: translateY(-30px) scale(1.05); }
  66% { transform: translateY(20px) scale(0.97); }
}

/* ===========================
   LAYOUT
=========================== */
.container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

/* ===========================
   HERO
=========================== */
.hero {
  text-align: center;
  margin-bottom: 72px;
  animation: fadeUp 0.8s ease both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.4);
  color: var(--purple-2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple-1), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

/* ===========================
   PRICING CARDS GRID
=========================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
  margin-bottom: 64px;
}

/* ===========================
   CARD
=========================== */
.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fadeUp 0.8s ease both;
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.04), rgba(34,211,238,0.02));
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* Featured card */
.card-featured {
  background: linear-gradient(160deg, #1a1040, #0f1a2e);
  border: 1px solid rgba(139,92,246,0.5);
  box-shadow: var(--shadow-card), 0 0 60px rgba(139,92,246,0.2);
  transform: scale(1.03);
}
.card-featured:hover { transform: scale(1.03) translateY(-8px); }

/* Popular badge */
.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--purple-1), var(--cyan));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
}

.card-inner {
  padding: 36px 32px;
}

/* Plan label */
.plan-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-2);
  margin-bottom: 8px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 8px;
  line-height: 1;
}

.currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple-2);
  padding-top: 6px;
}

.amount {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
}

.amount sup {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple-2);
  vertical-align: super;
}

.plan-tagline {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

/* Features list */
.features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.features li em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
}

.icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-1), var(--cyan));
  color: #fff;
  box-shadow: 0 4px 20px rgba(139,92,246,0.4);
}
.btn-primary:hover {
  box-shadow: 0 8px 35px rgba(139,92,246,0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--purple-2);
  border: 1.5px solid rgba(139,92,246,0.5);
}
.btn-outline:hover {
  background: rgba(139,92,246,0.12);
  border-color: var(--purple-1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
  width: auto;
}

/* ===========================
   EXTRAS SECTION
=========================== */
.extras-section {
  margin-bottom: 48px;
  animation: fadeUp 0.8s ease 0.4s both;
}

.extras-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.extra-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
  cursor: default;
}

.extra-item:hover {
  border-color: rgba(139,92,246,0.5);
  transform: translateY(-4px);
}

.extra-icon { font-size: 1.6rem; }
.extra-label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.extra-price { font-size: 1.15rem; font-weight: 700; color: var(--white); }
.extra-price small { font-size: 0.75rem; color: var(--muted); font-weight: 400; }

/* ===========================
   TRUST STRIP
=========================== */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 28px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 64px;
  animation: fadeUp 0.8s ease 0.5s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-icon { font-size: 1.25rem; }
.trust-text { font-size: 0.9rem; font-weight: 600; color: var(--text); }

.divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===========================
   CTA FOOTER
=========================== */
.cta-footer {
  text-align: center;
  padding: 60px 32px;
  background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(34,211,238,0.05));
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 28px;
  animation: fadeUp 0.8s ease 0.6s both;
}

.cta-footer h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-footer p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .container { padding: 40px 16px 60px; }
  .card-featured { transform: scale(1); }
  .card-featured:hover { transform: translateY(-8px); }
  .trust-strip { gap: 14px; padding: 20px; }
  .divider { display: none; }
  .cards-grid { gap: 16px; }
  .card-inner { padding: 28px 24px; }
  .amount { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .extras-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================
   SITE NAV
=========================== */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 50px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.6s ease both;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 50px;
  transition: all var(--transition);
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.nav-link-cta {
  background: linear-gradient(135deg, var(--purple-1), var(--cyan));
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(139,92,246,0.35);
}
.nav-link-cta:hover {
  box-shadow: 0 6px 24px rgba(139,92,246,0.55);
  transform: translateY(-1px);
}

/* ===========================
   OUR WORKS SECTION
=========================== */
.works-section {
  margin-bottom: 64px;
  animation: fadeUp 0.8s ease 0.4s both;
}

.works-header {
  text-align: center;
  margin-bottom: 48px;
}

.works-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin: 12px 0 14px;
  line-height: 1.15;
}

.works-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}

/* Works Grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* Work Card */
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(139,92,246,0.15);
}

.work-card-featured {
  border-color: rgba(139,92,246,0.3);
}

/* Thumbnail */
.work-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.6s ease;
}

.work-card:hover .work-thumb img {
  transform: scale(1.04);
}

/* Hover Overlay */
.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,5,30,0.88), rgba(10,20,40,0.92));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.work-overlay-content {
  text-align: center;
  padding: 24px;
  transform: translateY(10px);
  transition: transform var(--transition);
}

.work-card:hover .work-overlay-content {
  transform: translateY(0);
}

.work-tag {
  display: inline-block;
  background: rgba(139,92,246,0.2);
  border: 1px solid rgba(139,92,246,0.5);
  color: var(--purple-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.work-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.work-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.work-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.work-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
  width: auto;
}

/* Card Meta */
.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.work-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.work-client {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.work-type {
  font-size: 0.78rem;
  color: var(--muted);
}

.work-stats {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4ade80;
}

.stat-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 6px #4ade80;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Placeholder card */
.work-card-placeholder {
  border-style: dashed;
  border-color: rgba(255,255,255,0.1);
  cursor: default;
}

.work-thumb-placeholder {
  background: linear-gradient(135deg, rgba(139,92,246,0.05), rgba(34,211,238,0.03));
}

.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
  color: var(--muted);
}

.plus-icon {
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(139,92,246,0.4);
  line-height: 1;
}

.placeholder-inner p {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

/* ===========================
   LIGHTBOX
=========================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
}

.lightbox-box {
  position: relative;
  z-index: 1;
  width: min(1100px, 95vw);
  height: min(720px, 90vh);
  background: var(--surface);
  border: 1px solid rgba(139,92,246,0.4);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 80px rgba(139,92,246,0.3), 0 30px 80px rgba(0,0,0,0.7);
  animation: scaleIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes scaleIn {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  flex-shrink: 0;
}

.lightbox-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.lightbox-close {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.lightbox-close:hover {
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.5);
  color: #ef4444;
}

.lightbox-body {
  flex: 1;
  overflow: hidden;
}

.lightbox-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive Works */
@media (max-width: 768px) {
  .works-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 4px; }
  .nav-link { padding: 6px 12px; font-size: 0.82rem; }
}
