/* ===== PulseCreate — Dark Cyberpunk / Violet Accent ===== */
:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --violet: #8b5cf6;
  --violet-hover: #a78bfa;
  --violet-dim: rgba(139,92,246,0.1);
  --violet-glow: rgba(139,92,246,0.3);
  --white: #ffffff;
  --grey-100: #f0f0f0;
  --grey-400: #a0a0a0;
  --grey-600: #666666;
  --grey-800: #333333;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'JetBrains Mono', monospace;
  --radius: 12px;
  --transition: .3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--grey-400);
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    linear-gradient(rgba(139,92,246,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  background-attachment: fixed;
}
a { color: var(--violet); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--violet-hover); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--white); line-height: 1.2; letter-spacing: .03em; }
h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--surface { background: var(--surface); }
.text-center { text-align: center; }
.highlight { color: var(--violet); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(139,92,246,.15);
  box-shadow: 0 2px 20px rgba(139,92,246,.08);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1100px; margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.1rem; color: var(--white); letter-spacing: .05em;
  display: flex; align-items: center; gap: 10px;
}
.logo__dot {
  width: 10px; height: 10px; background: var(--violet); border-radius: 50%;
  box-shadow: 0 0 10px var(--violet-glow);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.5; } }
.logo span { color: var(--violet); }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  color: var(--grey-400); padding: 8px 16px; border-radius: 6px;
  font-size: .8rem; letter-spacing: .03em; transition: all var(--transition);
}
.nav a:hover, .nav a.active { color: var(--white); background: var(--violet-dim); }
.nav a.active { color: var(--violet); }
.nav__cta {
  background: var(--violet) !important; color: var(--white) !important;
  font-weight: 600; margin-left: 8px;
}
.nav__cta:hover { background: var(--violet-hover) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: all var(--transition); }

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--violet-dim); border: 1px solid rgba(139,92,246,.25);
  color: var(--violet); padding: 6px 16px; border-radius: 30px;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 24px;
}
.hero__badge::before {
  content: ''; width: 6px; height: 6px; background: var(--violet);
  border-radius: 50%; animation: pulse 2s infinite;
}
.hero h1 { max-width: 750px; margin: 0 auto 18px; position: relative; }
.hero p { color: var(--grey-400); max-width: 560px; margin: 0 auto 32px; font-size: .95rem; position: relative; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px;
  font-family: var(--font-body); font-size: .85rem; font-weight: 600;
  letter-spacing: .02em; border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition);
}
.btn--primary {
  background: var(--violet); color: var(--white);
  box-shadow: 0 4px 20px var(--violet-glow);
}
.btn--primary:hover { background: var(--violet-hover); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 28px var(--violet-glow); }
.btn--outline {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.15);
}
.btn--outline:hover { border-color: var(--violet); color: var(--violet); }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== STATS ===== */
.stats {
  display: flex; justify-content: center; gap: 48px; padding: 40px 0 0;
  position: relative;
}
.stats__item { text-align: center; }
.stats__number { font-family: var(--font-display); font-size: 1.6rem; color: var(--white); }
.stats__label { font-size: .75rem; color: var(--grey-600); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--surface); border: 1px solid rgba(139,92,246,.1);
  border-radius: var(--radius); padding: 32px;
  transition: all var(--transition);
}
.card:hover { border-color: var(--violet); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,92,246,.1); }
.card__icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--violet-dim); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; fill: var(--violet); }
.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p { font-size: .85rem; line-height: 1.6; }

/* ===== PROCESS / STEPS ===== */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  position: relative;
}
.steps::before {
  content: ''; position: absolute; top: 40px; left: 15%; right: 15%;
  height: 2px; background: linear-gradient(90deg, transparent, var(--violet), transparent);
  opacity: .3;
}
.step { text-align: center; position: relative; }
.step__number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--violet);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem; color: var(--violet);
  margin: 0 auto 16px; position: relative; z-index: 1;
}
.step h3 { margin-bottom: 8px; font-size: 1rem; }
.step p { font-size: .82rem; }

/* ===== PORTFOLIO ===== */
.portfolio-card {
  background: var(--surface); border: 1px solid rgba(139,92,246,.1);
  border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  transition: all var(--transition);
}
.portfolio-card:hover { border-color: var(--violet); box-shadow: 0 8px 40px rgba(139,92,246,.12); }
.portfolio-card__image {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  display: block; position: relative; overflow: hidden;
  background: #0a0a0a; aspect-ratio: 16/9;
}
.portfolio-card__image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
}
}
.portfolio-card__image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
}
.portfolio-card__image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
}
.portfolio-card__image::after { display: none; }
.portfolio-card__body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.portfolio-card__tech { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.portfolio-card__tag {
  background: var(--violet-dim); color: var(--violet); padding: 3px 10px;
  border-radius: 4px; font-size: .7rem; font-weight: 600; letter-spacing: .03em;
}
.portfolio-card__body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.portfolio-card__body p { font-size: .85rem; margin-bottom: 8px; }
.portfolio-card__features { margin: 12px 0 20px; }
.portfolio-card__features li {
  display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .82rem;
}
.portfolio-card__features li svg { width: 14px; height: 14px; fill: var(--violet); flex-shrink: 0; }

/* ===== PRICING ===== */
.pricing-card {
  background: var(--surface); border: 1px solid rgba(139,92,246,.15);
  border-radius: var(--radius); padding: 40px; text-align: center;
  max-width: 520px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.pricing-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--violet-hover));
}
.pricing-card__price {
  font-family: var(--font-display); font-size: 2.8rem; color: var(--white);
  margin: 16px 0 8px;
}
.pricing-card__price small { font-size: .9rem; color: var(--grey-400); }
.pricing-card__features { text-align: left; margin: 24px 0; }
.pricing-card__features li {
  display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.pricing-card__features li svg { width: 16px; height: 16px; fill: var(--violet); flex-shrink: 0; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .8rem; color: var(--grey-400); margin-bottom: 6px; letter-spacing: .03em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid rgba(139,92,246,.2);
  border-radius: 8px; background: var(--surface); color: var(--white);
  font-family: var(--font-body); font-size: .85rem;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-dim);
}
.form-group select option { background: var(--surface); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info__item { display: flex; gap: 14px; }
.contact-info__icon {
  width: 40px; height: 40px; background: var(--violet-dim); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info__icon svg { width: 18px; height: 18px; fill: var(--violet); }
.contact-info__item h4 { font-family: var(--font-body); font-weight: 600; font-size: .85rem; color: var(--white); margin-bottom: 2px; }
.contact-info__item p { font-size: .82rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--surface); text-align: center; padding: 60px 0;
  border-top: 1px solid rgba(139,92,246,.1); border-bottom: 1px solid rgba(139,92,246,.1);
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { margin-bottom: 28px; font-size: .9rem; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--grey-600); max-width: 500px; margin: 0 auto; font-size: .85rem; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid rgba(139,92,246,.1);
  padding: 30px 0;
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .75rem; color: var(--grey-600);
}
.footer a { color: var(--grey-600); margin-left: 16px; }
.footer a:hover { color: var(--violet); }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(139,92,246,.2);
  padding: 20px 24px;
  z-index: 1000;
  box-shadow: 0 -4px 30px rgba(139,92,246,.1);
}
.cookie-banner__inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.cookie-banner__inner p {
  font-size: .85rem; color: var(--grey-400); flex: 1;
}
.cookie-banner__inner a {
  color: var(--violet); text-decoration: underline;
}
.cookie-banner__buttons {
  display: flex; gap: 8px; flex-shrink: 0;
}
@media (max-width: 768px) {
  .cookie-banner__inner {
    flex-direction: column; align-items: stretch;
  }
  .cookie-banner__buttons {
    flex-wrap: wrap;
  }
}

/* ===== LEGAL CONTENT ===== */
.legal-content {
  max-width: 800px; margin: 0 auto;
}
.legal-content h2 {
  margin-top: 40px; margin-bottom: 16px; color: var(--white);
}
.legal-content p {
  color: var(--grey-400); margin-bottom: 16px; line-height: 1.7;
}
.legal-content ul {
  margin-left: 20px; margin-bottom: 24px;
}
.legal-content li {
  color: var(--grey-400); margin-bottom: 8px;
}
.legal-content a {
  color: var(--violet);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Hero fade-ups should be visible immediately if JS loads after paint */
.hero .fade-up { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav {
    display: none; position: fixed; inset: 0; background: rgba(10,10,10,.97);
    flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; z-index: 101; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .portfolio-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { gap: 24px; flex-wrap: wrap; }
}
