@import "tailwindcss";

:root {
  --bg-color: #000000;
  --text-main: #ffffff;
  --text-sub: #cbd5e1;
}

html:has(#theme-toggle-check:checked) {
  --bg-color: #f1f5f9;
  --text-main: #0f172a;
  --text-sub: #475569;
}

.theme-toggle-check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

html {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--bg-color);
  color: var(--text-main);
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow: visible;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.app-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  position: relative;
  box-sizing: border-box;
}

/* Luxinity-Style Top Full-Width Header */
.liquid-glass-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  background: rgba(15, 23, 42, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

@media (min-width: 640px) {
  .liquid-glass-header {
    padding: 1rem 2.5rem;
  }
}

html:has(#theme-toggle-check:checked) .liquid-glass-header {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
  color: #0f172a;
}

.liquid-glass-header.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 3.2rem;
  width: 7.04rem;
  aspect-ratio: 110 / 50;
  flex-shrink: 0;
  display: block;
  border-radius: 8px;
  transition: transform 0.25s ease;
  max-width: 220px;
}

@media (min-width: 640px) {
  .logo-img {
    height: 4rem;
    width: 8.8rem;
  }
}

.logo-black {
  display: block;
}
.logo-white {
  display: none;
}

html:has(#theme-toggle-check:checked) .logo-black {
  display: none;
}
html:has(#theme-toggle-check:checked) .logo-white {
  display: block;
}

.logo-link:hover .logo-img {
  transform: scale(1.03);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  padding: 0.4rem 0.8rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}

.icon-sun {
  display: block;
}
.icon-moon {
  display: none;
}

html:has(#theme-toggle-check:checked) .icon-sun {
  display: none;
}
html:has(#theme-toggle-check:checked) .icon-moon {
  display: block;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: inherit;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
  user-select: none;
}

.theme-toggle-btn:hover {
  opacity: 1;
  transform: scale(1.15) rotate(8deg);
  color: #38bdf8;
}

.liquid-glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  user-select: none;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

html:has(#theme-toggle-check:checked) .liquid-glass-btn {
  background: rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

.main-content {
  width: 100%;
  max-width: 48rem;
  margin: auto 0;
  padding-top: 6rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .main-content {
    padding-top: 7rem;
  }
}

.retro-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  user-select: none;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .retro-title {
    font-size: 3rem;
    line-height: 1.1;
  }
}

.retro-title span {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease, font-family 0.2s ease;
  cursor: default;
}

.retro-title span:hover {
  transform: translateY(-6px) scale(1.2) rotate(3deg);
  font-family: 'Russo One', sans-serif;
  color: #38bdf8;
  text-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

.subtitle {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.video-card-container {
  width: 100%;
  max-width: 48rem;
  margin: 1rem auto;
}

.liquid-glass-card {
  position: relative;
  padding: 0.875rem;
  border-radius: 2rem;
  backdrop-filter: blur(24px) saturate(220%);
  -webkit-backdrop-filter: blur(24px) saturate(220%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
}

@media (min-width: 640px) {
  .liquid-glass-card {
    padding: 1rem;
    border-radius: 2.5rem;
  }
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #000;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Floating Icon Button - Clean Icon Without Frame */
.floating-icon-btn {
  position: fixed;
  top: 1rem;
  left: 1.25rem;
  z-index: 60;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-20px) scale(0.8);
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.floating-icon-btn.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.floating-icon-img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.floating-icon-btn:hover .floating-icon-img {
  transform: scale(1.12);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7));
}

.footer {
  width: 100%;
  max-width: 64rem;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0.7;
  position: relative;
  z-index: 10;
}

/* Liquid Glass Footer Container */
.footer-container {
  width: 100%;
  max-width: 100%;
  margin-top: 4rem;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  color: #ffffff;
  padding: 3rem 1.5rem 1.5rem;
}

@media (min-width: 640px) {
  .footer-container {
    padding: 4rem 3rem 2rem;
  }
}

html:has(#theme-toggle-check:checked) .footer-container {
  background: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  color: #0f172a;
}

.footer-content {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 2rem;
  }
}

html:has(#theme-toggle-check:checked) .footer-content {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

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

.footer-brand .mb-3 {
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.8;
  max-width: 20rem;
  margin-bottom: 1.25rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  color: inherit;
  transition: all 0.2s ease;
  text-decoration: none;
  opacity: 0.85;
}

.social-icon-btn:hover {
  background: transparent;
  opacity: 1;
  transform: translateY(-2px);
}

.social-icon-img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.social-icon-btn svg {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
  transition: transform 0.2s ease;
}

html:has(#theme-toggle-check:checked) .social-icon-btn {
  background: transparent;
  border: none;
}

html:has(#theme-toggle-check:checked) .social-icon-btn:hover {
  background: transparent;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.85rem;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
  color: inherit;
}

.footer-links a:hover {
  opacity: 1;
  color: #38bdf8;
}

.footer-bottom {
  max-width: 72rem;
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  opacity: 0.75;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.footer-bottom-links a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-bottom-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-divider {
  opacity: 0.4;
}

.placeholder-section {
  width: 100%;
  max-width: 800px;
  margin: 3rem auto 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 1rem;
}

.placeholder-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

html:has(#theme-toggle-check:checked) .placeholder-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
}

.placeholder-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  opacity: 0.9;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.06) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 2.2s infinite linear;
}

html:has(#theme-toggle-check:checked) .skeleton-line {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.06) 25%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.06) 75%);
  background-size: 200% 100%;
}

.skeleton-line.full { width: 100%; }
.skeleton-line.long { width: 85%; }
.skeleton-line.medium { width: 65%; }
.skeleton-line.short { width: 40%; }

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Services Page Layout & Cards */
.services-container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  box-sizing: border-box;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

html:has(#theme-toggle-check:checked) .service-card {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 40px -15px rgba(56, 189, 248, 0.25);
}

.service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(-4deg);
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

html:has(#theme-toggle-check:checked) .service-tag {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.12);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.service-desc {
  font-size: 0.925rem;
  line-height: 1.6;
  opacity: 0.82;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

html:has(#theme-toggle-check:checked) .service-features {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.service-features li {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.88;
}

.service-features li svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.service-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  transition: all 0.25s ease;
  box-sizing: border-box;
}

html:has(#theme-toggle-check:checked) .service-action-btn {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.12);
}

.service-action-btn:hover {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.35);
}

/* sancOS Featured Card & Blurred Buy Button */
.sancos-card {
  max-width: 48rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.15);
}

html:has(#theme-toggle-check:checked) .sancos-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.08), 0 0 30px rgba(56, 189, 248, 0.1);
}

.sancos-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.sancos-icon-box {
  width: 4rem;
  height: 4rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.2);
}

.sancos-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sancos-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
}

.sancos-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  color: var(--text-main);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sancos-logo-svg {
  height: 2.2rem;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  color: var(--text-main);
}

.sancos-logo-btn-svg {
  height: 1.35rem;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  color: currentColor;
  margin: 0 0.2rem;
}

.sancos-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.88;
  margin-bottom: 2rem;
}

.blurred-buy-wrapper {
  position: relative;
  width: 100%;
  margin-top: 2rem;
  border-radius: 1rem;
  overflow: hidden;
}

.blurred-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: #ffffff;
  border: none;
  filter: blur(8px);
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
  box-sizing: border-box;
}

.in-dev-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1rem;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

html:has(#theme-toggle-check:checked) .in-dev-overlay {
  background: rgba(255, 255, 255, 0.6);
  color: #0f172a;
  border-color: rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

