/* ===== CSS Variables ===== */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #12122a;
  --bg-card: #1a1a3e;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-start: #6366f1;
  --accent-end: #8b5cf6;
  --accent-glow: rgba(99, 102, 241, 0.4);
  --border-color: rgba(99, 102, 241, 0.15);
  --nav-height: 72px;
  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  --radius: 12px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== Utility ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-start);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(10, 10, 26, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: var(--accent-start);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}

/* Animated grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-start);
  border-radius: 50%;
  opacity: 0.4;
  animation: float linear infinite;
}

@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Service Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-features span {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-start);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

/* ===== Stats Section ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.stat-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== Process Timeline ===== */
.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 40px 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 70px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-color);
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  padding: 0 12px;
}

.process-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-card);
  border: 2px solid var(--accent-start);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px var(--accent-glow);
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
  position: relative;
}

.cta-banner .btn {
  background: #fff;
  color: var(--accent-start);
  font-weight: 700;
  position: relative;
}

.cta-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ===== About Page ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-intro-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-image-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.12);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border: 2px solid var(--border-color);
}

.team-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.team-card .role {
  color: var(--accent-start);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Tech Stack */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.tech-tag:hover {
  border-color: var(--accent-start);
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(-2px);
}

/* Timeline */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--accent-start);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--accent-glow);
  z-index: 2;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 400px;
}

.timeline-content .year {
  color: var(--accent-start);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ===== Contact Page ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
}

.contact-info-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-info-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-info-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Form */
.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group label .required {
  color: #ef4444;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-stack);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-start);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #ef4444;
}

.form-group.error .form-error {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-secondary);
}

/* Map placeholder */
.map-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 1rem;
}

.map-placeholder span {
  font-size: 2.5rem;
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
  .process-timeline { flex-wrap: wrap; gap: 24px; justify-content: center; }
  .process-timeline::before { display: none; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .section-title { font-size: 1.8rem; }
  .section { padding: 60px 0; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hamburger { display: flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 52px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline-dot { left: 20px; }

  .contact-form-wrapper { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}

/* ===== Service storefront ===== */
[hidden] { display: none !important; }
button, input { font: inherit; }
button { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 5px; }
.hamburger { border: 0; background: transparent; }
.section-soft { background: var(--bg-secondary); }
.eyebrow { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: #a5b4fc; margin-bottom: 16px; }
.status-dot { width: 6px; height: 6px; flex-shrink: 0; display: inline-block; border-radius: 50%; background: #a5b4fc; margin-right: 7px; vertical-align: middle; }
.store-hero { padding: 158px 0 64px; position: relative; background: radial-gradient(ellipse at 55% 0, #6366f11a, transparent 65%); text-align: center; }
.store-hero .eyebrow { display: inline-flex; align-items: center; padding: 7px 14px; border: 1px solid #6366f13b; border-radius: 30px; letter-spacing: .04em; margin-bottom: 24px; }
.store-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); letter-spacing: -.04em; line-height: 1.3; }
.store-hero p { color: var(--text-secondary); margin: 23px auto 26px; font-size: 1.05rem; line-height: 1.9; }
.hero-assurances { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; color: #b8c2d4; font-size: .8rem; }
.catalog-section { padding: 0 0 88px; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; color: var(--text-secondary); font-size: .8rem; }
.catalog-toolbar > span:first-child { color: var(--text-primary); font-size: .95rem; }
.catalog-toolbar b { font-size: .7rem; margin-left: 10px; padding: 3px 7px; border-radius: 4px; background: #6366f11a; color: #a5b4fc; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { position: relative; display: flex; flex-direction: column; border: 1px solid #ffffff12; background: linear-gradient(145deg, #17172e, #111123); padding: 30px 26px 20px; border-radius: 16px; transition: transform .25s, border-color .25s; }
.product-card:hover { transform: translateY(-5px); border-color: #818cf870; }
.product-card.featured { border-color: #818cf880; background: linear-gradient(145deg, #222040, #16142f); box-shadow: 0 12px 50px #6366f10a; }
.product-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.product-icon { display: inline-flex; width: 50px; height: 50px; border-radius: 12px; align-items: center; justify-content: center; background: #6366f11a; color: #a5b4fc; flex-shrink: 0; }
.product-icon svg { width: 28px; height: 28px; }
.product-icon.ai { background: #a78bfa1a; color: #c4b5fd; }
.product-icon.ops { background: #2dd4bf14; color: #5eead4; }
.product-code { font: .65rem ui-monospace, monospace; letter-spacing: .14em; color: #8c92ad; }
.product-label { display: block; color: #b2a7ee; font-size: .75rem; margin-bottom: 8px; }
.product-card h3 { font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: 12px; }
.product-description { font-size: .85rem; color: var(--text-secondary); line-height: 1.85; min-height: 76px; }
.product-price { font-size: 2.55rem; font-weight: 750; line-height: 1.3; letter-spacing: -.04em; margin: 22px 0 8px; color: #f8fafc; white-space: nowrap; }
.product-price .currency { font-size: 1.2rem; vertical-align: 4px; margin-right: 4px; }
.product-price small { font-size: .75rem; font-weight: 400; color: var(--text-secondary); letter-spacing: 0; margin-left: 10px; }
.product-period { font-size: .75rem; color: var(--text-secondary); }
.check-list { padding: 22px 0; border-top: 1px solid #ffffff0d; margin-top: 23px; }
.check-list li { position: relative; padding-left: 23px; color: #c3cadd; font-size: .83rem; margin: 0 0 12px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: #a5b4fc; }
.product-card .btn { width: 100%; justify-content: space-between; border-radius: 8px; font-size: .85rem; padding: 12px 18px; margin-top: auto; }
.product-card .btn-outline { border-width: 1px; border-color: #818cf838; }
.card-footnote { text-align: center; color: #929bb3; font-size: .66rem; margin-top: 14px; }
.catalog-bottom { display: flex; justify-content: space-between; gap: 18px; color: var(--text-secondary); font-size: .82rem; margin-top: 28px; }
.catalog-bottom a, .inline-link, .detail-help a, .support-panel a { color: #b4b9ff; font-size: .85rem; }
.custom-service { margin-top: 28px; padding: 28px 32px; border: 1px solid #ffffff12; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; gap: 24px; background: #ffffff02; }
.custom-service .eyebrow { margin-bottom: 8px; }
.custom-service h2 { font-size: 1.2rem; margin-bottom: 8px; }
.custom-service p { color: var(--text-secondary); font-size: .85rem; }
.custom-service .btn { flex-shrink: 0; font-size: .85rem; border-width: 1px; border-radius: 8px; }
.section-heading { text-align: center; margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; }
.section-heading p { color: var(--text-secondary); font-size: .95rem; margin-top: 14px; }
.purchase-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.purchase-steps article { border-top: 1px solid #6366f13b; padding-top: 20px; }
.purchase-steps article > span { font: .8rem ui-monospace, monospace; color: #a5b4fc; }
.purchase-steps h3 { font-size: 1.05rem; margin: 16px 0 9px; }
.purchase-steps p, .section-note { font-size: .85rem; color: var(--text-secondary); }
.section-note { font-size: .75rem; text-align: center; margin-top: 32px; }
.faq-container { max-width: 860px; }
.faq { border-bottom: 1px solid #ffffff12; padding: 22px 0; }
.faq summary { cursor: pointer; font-size: .95rem; padding-right: 12px; }
.faq p { color: var(--text-secondary); margin-top: 14px; font-size: .88rem; line-height: 1.9; }
.faq a, .consent a, .policy-section a { color: #b4b9ff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom span { margin-left: 22px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: .77rem; color: var(--text-secondary); margin-bottom: 32px; }
.breadcrumbs a:hover { color: #a5b4fc; }
.breadcrumbs > span:last-child { color: #d0d5e4; }
.detail-main, .checkout-main, .policy-main { padding: 110px 0 88px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.product-visual { background: radial-gradient(ellipse at 50% 100%, #6366f133, transparent 70%), #141429; border: 1px solid #6366f130; border-radius: 14px; padding: 24px; position: relative; overflow: hidden; }
.product-visual.ai { background: radial-gradient(ellipse at 50% 100%, #a855f733, transparent 70%), #161329; }
.product-visual.ops { background: radial-gradient(ellipse at 50% 100%, #14b8a622, transparent 70%), #101f27; }
.visual-grid { position: absolute; inset: 0; background-image: linear-gradient(#a5b4fc07 1px, transparent 1px), linear-gradient(90deg, #a5b4fc07 1px, transparent 1px); background-size: 30px 30px; mask-image: radial-gradient(ellipse, #000, transparent 80%); }
.visual-top, .visual-bottom { display: flex; justify-content: space-between; position: relative; color: #a2a7bf; font-size: .65rem; letter-spacing: .09em; gap: 15px; }
.visual-center { position: relative; padding: 36px 0 38px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.visual-center > svg { width: 74px; height: 74px; color: #a5b4fc; filter: drop-shadow(0 0 24px #6366f14d); }
.ai .visual-center > svg { color: #c4b5fd; }
.ops .visual-center > svg { color: #5eead4; }
.visual-center > span { font-size: 1.12rem; font-weight: 600; letter-spacing: .04em; }
.detail-title { padding: 35px 0 30px; }
.detail-title .eyebrow { margin-bottom: 12px; }
.detail-title h1 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 15px; letter-spacing: -.03em; }
.detail-title p { color: var(--text-secondary); font-size: .92rem; line-height: 1.9; }
.detail-section { border-top: 1px solid #ffffff12; padding: 30px 0; }
.detail-section h2 { font-size: 1.15rem; margin-bottom: 24px; }
.deliverables article { display: flex; gap: 17px; padding: 0 0 24px; }
.deliverables article:last-child { padding-bottom: 0; }
.deliverable-number { font: .75rem ui-monospace, monospace; color: #a5b4fc; padding-top: 5px; }
.deliverables h3 { font-size: .95rem; margin-bottom: 8px; }
.deliverables p, .scope-list dd, .delivery-timeline p, .detail-help p { color: var(--text-secondary); font-size: .85rem; line-height: 1.9; }
.scope-list > div { margin-bottom: 22px; }
.scope-list > div:last-child { margin-bottom: 0; }
.scope-list dt { font-size: .9rem; font-weight: 600; margin-bottom: 8px; }
.delivery-timeline { list-style: none; counter-reset: delivery; }
.delivery-timeline li { position: relative; padding: 0 0 25px 35px; border-left: 1px solid #6366f138; margin-left: 11px; counter-increment: delivery; }
.delivery-timeline li:last-child { padding-bottom: 0; border-color: transparent; }
.delivery-timeline li::before { content: counter(delivery); position: absolute; left: -11px; top: 0; width: 22px; height: 22px; display: grid; place-items: center; font: .7rem ui-monospace, monospace; color: #b4b9ff; background: #242144; border: 1px solid #6366f160; border-radius: 50%; }
.delivery-timeline strong { font-size: .9rem; }
.delivery-timeline p { margin-top: 6px; }
.detail-help { background: #6366f10d; border: 1px solid #6366f130; padding: 25px; border-radius: 12px; margin-top: 12px; }
.detail-help h3 { font-size: 1rem; }
.detail-help p { margin: 10px 0 16px; }
.purchase-panel, .checkout-summary { position: sticky; top: 96px; padding: 28px; background: linear-gradient(145deg, #1c1b36, #141428); border: 1px solid #818cf838; border-radius: 14px; }
.purchase-panel h2 { font-size: 1.1rem; }
.purchase-panel .eyebrow { margin-bottom: 12px; }
.purchase-panel .product-price { margin-top: 24px; }
.price-note { color: var(--text-secondary); font-size: .72rem; }
.purchase-facts { border-top: 1px solid #ffffff0d; border-bottom: 1px solid #ffffff0d; margin: 24px 0; padding: 10px 0; }
.purchase-facts > div { display: flex; justify-content: space-between; gap: 14px; font-size: .78rem; margin: 13px 0; }
.purchase-facts dt { color: var(--text-secondary); flex-shrink: 0; }
.purchase-facts dd { text-align: right; }
.purchase-panel .btn, .checkout-summary .btn { width: 100%; justify-content: center; border-radius: 8px; font-size: .85rem; padding: 13px 12px; }
.purchase-panel .btn-outline { border-width: 1px; margin-top: 10px; }
.btn-alipay { color: white; background: #1677ff; border: 1px solid #3e90ff; box-shadow: 0 4px 20px #1677ff1a; }
.btn-alipay:hover { background: #3187ff; transform: translateY(-2px); box-shadow: 0 6px 24px #1677ff33; }
.alipay-symbol { font-family: var(--font-stack); font-weight: 700; display: inline-grid; place-items: center; background: white; color: #1677ff; width: 22px; height: 22px; border-radius: 5px; font-size: 1rem; flex-shrink: 0; }
.payment-status { font-size: .68rem; text-align: center; color: #adb7ca; margin: 16px 0; }
.payment-status .status-dot { width: 5px; height: 5px; background: #a5b4fc; }
.purchase-disclaimer { padding-top: 16px; border-top: 1px solid #ffffff0d; color: var(--text-secondary); font-size: .72rem; line-height: 1.9; }
.policy-link { display: block; color: #b4b9ff; font-size: .75rem; margin-top: 14px; }
.checkout-heading { margin: 42px 0 36px; }
.checkout-heading h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; letter-spacing: -.04em; }
.checkout-heading p { color: var(--text-secondary); font-size: .9rem; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 28px; align-items: start; }
.checkout-panel { background: #151529; border: 1px solid #ffffff10; border-radius: 12px; padding: 28px; margin-bottom: 20px; }
.panel-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.panel-heading h2 { font-size: 1rem; }
.step-badge { width: 27px; height: 27px; display: grid; place-items: center; background: #6366f11a; border-radius: 6px; color: #a5b4fc; font: .7rem ui-monospace, monospace; }
.checkout-product { display: flex; gap: 18px; }
.checkout-product h3 { font-size: 1.1rem; margin-bottom: 8px; }
.checkout-product p { font-size: .82rem; color: var(--text-secondary); line-height: 1.9; }
.checkout-product .product-label { margin-bottom: 6px; }
.checkout-panel .check-list { padding-bottom: 0; }
.checkout-meta { display: flex; gap: 20px; flex-wrap: wrap; color: #b5bfd1; font-size: .77rem; margin: 20px 0; }
.checkout-panel .inline-link { font-size: .77rem; }
.checkout-notes { list-style: disc; padding-left: 18px; color: var(--text-secondary); font-size: .82rem; line-height: 1.9; }
.checkout-notes li { margin-bottom: 13px; }
.checkout-notes + .inline-link { display: inline-block; margin-top: 10px; }
.payment-method { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid #1677ff80; border-radius: 8px; background: #1677ff08; cursor: pointer; }
.payment-method input { accent-color: #1677ff; width: 16px; height: 16px; }
.payment-method .alipay-symbol { background: #1677ff; color: white; width: 36px; height: 36px; font-size: 1.5rem; border-radius: 7px; }
.payment-method strong { font-size: .9rem; display: block; }
.payment-method small { display: block; font-size: .66rem; color: var(--text-secondary); margin-top: 3px; }
.method-tag { margin-left: auto; font-size: .65rem; color: #93bbff; background: #1677ff14; padding: 4px 7px; border-radius: 4px; white-space: nowrap; }
.method-note { color: var(--text-secondary); font-size: .73rem; margin-top: 14px; }
.checkout-summary .eyebrow { font-size: .65rem; }
.checkout-summary h2 { font-size: 1.2rem; margin-bottom: 25px; }
.checkout-summary dl > div { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 17px; font-size: .78rem; }
.checkout-summary dt { color: var(--text-secondary); }
.checkout-summary dd { white-space: nowrap; }
.summary-total { border-top: 1px solid #ffffff12; margin-top: 22px; padding-top: 23px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.summary-total > span { font-size: .85rem; }
.summary-total strong { font-size: 2rem; letter-spacing: -.04em; }
.summary-total strong small { font-size: 1rem; margin-right: 5px; }
.checkout-summary .price-note { text-align: right; margin-top: 4px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 28px 0 20px; font-size: .73rem; color: #b1bacd; line-height: 1.9; cursor: pointer; }
.consent input { margin-top: 4px; width: 15px; height: 15px; accent-color: #818cf8; flex-shrink: 0; }
.payment-hint { font-size: .7rem; color: var(--text-secondary); margin-top: 16px; line-height: 1.9; }
.checkout-support { border-top: 1px solid #ffffff0d; margin-top: 24px; padding-top: 20px; font-size: .7rem; display: flex; flex-direction: column; gap: 6px; color: var(--text-secondary); }
.checkout-support a { color: #b4b9ff; overflow-wrap: anywhere; }
.payment-dialog { color: var(--text-primary); border: 1px solid #818cf850; border-radius: 18px; background: #17172d; padding: 38px 32px 24px; margin: auto; max-width: 460px; width: calc(100% - 32px); text-align: center; max-height: calc(100dvh - 40px); overflow-y: auto; }
.payment-dialog::backdrop { background: #030314cc; backdrop-filter: blur(6px); }
.dialog-close { position: absolute; right: 12px; top: 8px; border: 0; background: transparent; font-size: 1.8rem; color: #abb4c9; cursor: pointer; width: 36px; height: 36px; }
.alipay-symbol.large { width: 58px; height: 58px; background: #1677ff; color: white; font-size: 2.3rem; border-radius: 14px; margin-bottom: 24px; }
.payment-dialog .eyebrow { font-size: .7rem; margin-bottom: 10px; }
.payment-dialog h2 { font-size: 1.45rem; margin-bottom: 18px; }
.payment-dialog > p { color: var(--text-secondary); font-size: .85rem; line-height: 1.9; }
.dialog-service { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #ffffff04; border: 1px solid #ffffff0c; border-radius: 8px; padding: 16px; margin: 22px 0; text-align: left; font-size: .8rem; }
.dialog-service strong { white-space: nowrap; }
.payment-dialog .btn { width: 100%; justify-content: center; font-size: .85rem; border-radius: 8px; }
.text-button { background: transparent; border: 0; color: #b4b9ff; font-size: .8rem; padding: 16px; cursor: pointer; }
.payment-dialog .fine-print { font-size: .68rem; }
.notice, .empty-state { background: #6366f10d; padding: 40px; border: 1px solid #6366f130; border-radius: 12px; color: var(--text-secondary); }
.empty-state { text-align: center; padding: 80px 24px; margin-bottom: 50px; }
.empty-state h1 { color: var(--text-primary); margin-bottom: 18px; }
.empty-state .btn { margin-top: 25px; }
.contact-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.contact-panel { border: 1px solid #ffffff12; background: #151529; border-radius: 14px; padding: 36px; }
.contact-panel h2 { font-size: 1.4rem; margin-bottom: 20px; }
.contact-panel p, .support-panel p { color: var(--text-secondary); font-size: .9rem; line-height: 1.9; margin-bottom: 18px; }
.contact-email { display: block; font-size: clamp(.9rem, 2vw, 1.3rem); margin: 28px 0; color: #b4b9ff; overflow-wrap: anywhere; }
.contact-panel .btn { border-radius: 8px; font-size: .85rem; border-width: 1px; }
.contact-panel .check-list { border: 0; margin-top: 0; padding: 10px 0; }
.support-panel { padding: 38px 0 0; margin-top: 38px; border-top: 1px solid #ffffff12; scroll-margin-top: 110px; }
.support-panel h2 { font-size: 1.3rem; margin-bottom: 20px; }
.policy-container { max-width: 860px; }
.policy-container > h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.04em; }
.policy-intro { color: var(--text-secondary); margin: 22px 0 45px; line-height: 1.9; }
.policy-section { border-top: 1px solid #ffffff12; padding: 30px 0; scroll-margin-top: 100px; }
.policy-section h2 { font-size: 1.1rem; margin-bottom: 18px; }
.policy-section p { color: #adb7cb; font-size: .9rem; line-height: 2; margin-bottom: 14px; }
.policy-container > .btn { margin-top: 20px; border-radius: 8px; font-size: .85rem; }
@media (min-width: 1600px) { .hero { min-height: 800px; } }
@media (max-width: 1100px) {
  .product-card { padding: 25px 20px 20px; }
  .product-card h3 { font-size: 1.05rem; }
  .product-price { font-size: 2.2rem; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; }
  .purchase-panel, .checkout-summary { padding: 24px; }
}
@media (max-width: 850px) {
  .product-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .product-card { padding: 28px; }
  .product-card h3 { font-size: 1.3rem; }
  .product-description { min-height: 0; }
  .product-price { font-size: 2.6rem; }
  .detail-layout, .checkout-layout { grid-template-columns: 1fr; }
  .purchase-panel, .checkout-summary { position: static; }
  .detail-content { display: contents; }
  .detail-layout { display: flex; flex-direction: column; }
  .detail-layout > .detail-content > * { width: 100%; }
  .product-visual { order: 0; }
  .detail-title { order: 1; padding: 5px 0 0; }
  .purchase-panel { order: 2; width: 100%; }
  .detail-section, .detail-help { order: 3; }
  .detail-section { padding-bottom: 0; }
  .purchase-panel .product-price { font-size: 2.6rem; }
  .custom-service { flex-direction: column; align-items: flex-start; }
  .catalog-bottom { flex-direction: column; }
}
@media (max-width: 600px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .store-hero { padding-top: 125px; padding-bottom: 32px; }
  .store-hero p { font-size: .9rem; }
  .hero-assurances { gap: 14px; font-size: .68rem; }
  .catalog-toolbar { gap: 14px; align-items: flex-start; }
  .catalog-toolbar > span:last-child { max-width: 155px; text-align: right; font-size: .7rem; }
  .purchase-steps, .contact-service-grid { grid-template-columns: 1fr; gap: 24px; }
  .purchase-steps article { padding-top: 15px; }
  .custom-service { padding: 24px; }
  .detail-main, .checkout-main, .policy-main { padding-top: 100px; padding-bottom: 60px; }
  .breadcrumbs { gap: 8px; font-size: .68rem; }
  .visual-top, .visual-bottom { font-size: .52rem; }
  .visual-center > span { font-size: .9rem; }
  .visual-center { padding: 30px 0; }
  .product-visual { padding: 20px; }
  .checkout-panel { padding: 22px; }
  .checkout-heading { margin-top: 26px; }
  .checkout-heading p { font-size: .8rem; }
  .checkout-product { gap: 12px; }
  .checkout-product h3 { font-size: .95rem; }
  .checkout-product .product-icon { width: 40px; height: 40px; }
  .method-tag { display: none; }
  .contact-panel { padding: 26px; }
  .contact-panel h2 { font-size: 1.2rem; }
  .footer-bottom span { display: block; margin: 10px 0 0; }
  .payment-dialog { padding-left: 24px; padding-right: 24px; }
  .dialog-service { font-size: .75rem; padding: 14px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .fade-in { opacity: 1; transform: none; }
}
