/* ===========================================
   LAQEN LLC – COMPLETE REWRITE
   Zero JS. All buttons visible. Bulletproof.
   =========================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #09090b;
  color: #f4f4f5;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ── Utility ── */
.label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #71717a;
  margin-bottom: 0.75rem;
}

/* ===========================================
   HEADER
   =========================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #09090b;
  background: linear-gradient(145deg, #f4f4f5, #a1a1aa);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-text small {
  font-size: 0.6rem;
  color: #a1a1aa;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.25rem;
}

.nav a {
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a1a1aa;
  border-radius: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.08);
}

/* Support button */
.btn-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.btn-support:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.32);
}

/* ===========================================
   HERO
   =========================================== */
.hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 1.2rem;
  max-width: 14ch;
}

.subtitle {
  font-size: 1.1rem;
  color: #d4d4d8;
  margin-bottom: 0.8rem;
  max-width: 52ch;
}

.note {
  font-size: 0.92rem;
  color: #a1a1aa;
  margin-bottom: 1.8rem;
  max-width: 48ch;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #09090b;
  background: linear-gradient(135deg, #f4f4f5, #a1a1aa);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #e4e4e7;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
}

/* Orb */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
}

.orb {
  width: min(400px, 70vw);
  aspect-ratio: 1;
  position: relative;
  animation: orbFloat 6s ease-in-out infinite;
}

.orb-inner {
  position: absolute;
  inset: 8%;
  border-radius: 42% 58% 50% 50% / 45% 40% 60% 55%;
  background:
    radial-gradient(circle at 30% 28%, rgba(200, 200, 210, 0.12), transparent 40%),
    radial-gradient(circle at 70% 72%, rgba(100, 110, 130, 0.18), transparent 35%),
    linear-gradient(170deg, #18181b 0%, #0f0f12 50%, #09090b 100%);
  box-shadow:
    inset 16px 16px 30px rgba(0, 0, 0, 0.7),
    inset -10px -10px 24px rgba(255, 255, 255, 0.03),
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.orb-ring {
  position: absolute;
  inset: 2%;
  border-radius: 44% 56% 48% 52% / 52% 38% 62% 48%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.05), transparent);
}

.orb-shine {
  position: absolute;
  width: 35%;
  height: 35%;
  top: 18%;
  left: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent);
  filter: blur(8px);
  animation: shinePulse 4s ease-in-out infinite;
}

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

@keyframes shinePulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

/* ===========================================
   PORTFOLIO
   =========================================== */
.portfolio {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
}

.portfolio-header {
  max-width: 60ch;
  margin-bottom: 2rem;
}

.portfolio-header h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.portfolio-header > p:last-child {
  color: #a1a1aa;
  font-size: 0.95rem;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
}

/* Card accent glow on hover */
.card-green:hover  { box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15); }
.card-purple:hover { box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15); }
.card-cyan:hover   { box-shadow: 0 12px 40px rgba(56, 189, 248, 0.15); }
.card-lime:hover   { box-shadow: 0 12px 40px rgba(34, 197, 94, 0.15); }

/* Card top: icon + text */
.card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.card-top img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.card-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #71717a;
  margin-bottom: 0.2rem;
}

.card-top h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.15rem;
}

.card-sub {
  font-size: 0.8rem;
  color: #71717a;
}

.card-desc {
  font-size: 0.9rem;
  color: #a1a1aa;
  line-height: 1.55;
}

/* Tags */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.card-tags span {
  font-size: 0.72rem;
  color: #d4d4d8;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

/* ── CARD BUTTONS (ALWAYS VISIBLE) ── */
.card-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.cbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 120px;
  height: 40px;
  padding: 0 0.9rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.cbtn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.cbtn-blue {
  box-shadow: inset 0 0 12px rgba(56, 189, 248, 0.08);
}

.cbtn-blue:hover {
  box-shadow: inset 0 0 20px rgba(56, 189, 248, 0.15), 0 8px 16px rgba(0, 0, 0, 0.4);
}

.cbtn-orange {
  box-shadow: inset 0 0 12px rgba(249, 115, 22, 0.08);
}

.cbtn-orange:hover {
  box-shadow: inset 0 0 20px rgba(249, 115, 22, 0.15), 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
  max-width: 1140px;
  margin: 0 auto 2rem;
  padding: 1.5rem;
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-name {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-sub {
  font-size: 0.72rem;
  color: #a1a1aa;
  margin-top: 2px;
}

.footer-body {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1.5rem;
  align-items: start;
}

.legal-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.legal-address {
  font-size: 0.88rem;
  color: #a1a1aa;
}

.footer-links {
  text-align: right;
}

.footer-links-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #71717a;
  margin-bottom: 0.5rem;
}

.footer-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.footer-link-row a {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d4d4d8;
  transition: background 0.2s, border-color 0.2s;
}

.footer-link-row a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #f4f4f5;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  color: #52525b;
  letter-spacing: 0.03em;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3.5rem 1.25rem 2.5rem;
    gap: 2rem;
  }

  .hero-visual {
    order: -1;
    min-height: 240px;
  }

  .orb {
    width: min(300px, 65vw);
  }

  .hero-content h1 {
    max-width: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .footer-body {
    grid-template-columns: 1fr;
  }

  .footer-links {
    text-align: left;
  }

  .footer-link-row {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .btn-support {
    margin-left: auto;
  }

  .logo-text small {
    display: none;
  }

  .hero {
    padding: 2.5rem 1rem 2rem;
  }

  .portfolio {
    padding: 1.5rem 1rem 3rem;
  }

  .footer {
    margin: 0 0.5rem 1rem;
    padding: 1.2rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-support {
    width: 100%;
    justify-content: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
