/* ============================================
   Seri Public Website - Common Styles
   ============================================ */

/* CSS Variables */
:root {
  --primary-color: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: #e0e7ff;
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --danger-color: #ef4444;
  --danger-hover: #dc2626;
  --success-color: #10b981;
  --warning-color: #f59e0b;

  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --text-light: #f9fafb;

  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --bg-dark: #111827;

  --border-color: #e5e7eb;
  --border-light: #f3f4f6;

  --gradient-primary: linear-gradient(
    135deg,
    #6366f1 0%,
    #8b5cf6 50%,
    #a855f7 100%
  );
  --gradient-hero: linear-gradient(
    135deg,
    #1e1b4b 0%,
    #312e81 50%,
    #4c1d95 100%
  );
  --gradient-card: linear-gradient(
    180deg,
    rgba(99, 102, 241, 0.05) 0%,
    rgba(139, 92, 246, 0.02) 100%
  );

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  --container-max: 1200px;
  --container-sm: 800px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

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

.nav-logo {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary-color);
  background-color: var(--primary-light);
}

.nav-links a.active {
  color: var(--primary-color);
  background-color: var(--primary-light);
}

.nav-links a.nav-danger {
  color: var(--danger-color);
}

.nav-links a.nav-danger:hover {
  background-color: #fef2f2;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle svg {
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu li {
  width: 100%;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: 0;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background-color: var(--bg-tertiary);
  color: var(--primary-color);
}

.nav-dropdown-menu a.active {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (max-width: 968px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  /* Mobile Dropdown - 펼쳐진 상태로 표시 */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    justify-content: center;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-top: 8px;
    padding: 8px;
  }

  .nav-dropdown-menu a {
    border-radius: var(--radius-sm);
  }
}

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

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 20% 80%,
      rgba(99, 102, 241, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(139, 92, 246, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 40% 40%,
      rgba(6, 182, 212, 0.2) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #67e8f9 0%, #a78bfa 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(18px, 3vw, 24px);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.6;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

.btn-danger {
  background: var(--danger-color);
  color: white;
}

.btn-danger:hover {
  background: var(--danger-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 18px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding: 120px 24px;
  background: var(--bg-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
  padding: 80px 24px;
  background: var(--gradient-hero);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #67e8f9 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: 120px 24px;
  background: var(--bg-secondary);
  text-align: center;
}

.cta-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 64px 48px;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
  padding: 140px 24px 60px;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 30% 70%,
      rgba(99, 102, 241, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 30%,
      rgba(139, 92, 246, 0.3) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.page-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Content Section
   ============================================ */
.content-section {
  padding: 80px 24px;
  background: var(--bg-primary);
}

.content-card {
  max-width: var(--container-max);
  margin: 0 auto;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.content-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-card ul,
.content-card ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.content-card li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
  position: relative;
}

.content-card ul li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
}

.content-card strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Policy Content - 완전 격리 */
.policy-content {
  font-size: 15px;
  line-height: 1.9;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 16px;

  /* 내부 HTML 구조 리셋 */
  all: revert;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-primary);
}

/* 내부 모든 요소의 스타일 리셋 */
.policy-content * {
  all: revert;
  color: var(--text-primary);
  background: transparent;
  border: none;
  margin: 0;
  padding: 0;
  box-shadow: none;
}

.policy-content html,
.policy-content head,
.policy-content body {
  display: contents;
}

.policy-content h1,
.policy-content h2,
.policy-content h3,
.policy-content h4,
.policy-content h5,
.policy-content h6 {
  margin: 24px 0 16px 0;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.policy-content h1 {
  font-size: 28px;
}
.policy-content h2 {
  font-size: 22px;
}
.policy-content h3 {
  font-size: 18px;
}
.policy-content h4 {
  font-size: 16px;
}

.policy-content p {
  margin: 12px 0;
  line-height: 1.9;
  color: var(--text-secondary);
}

.policy-content ul,
.policy-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.policy-content li {
  margin: 8px 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.policy-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.policy-content a:hover {
  color: var(--primary-hover);
}

.policy-content strong {
  font-weight: 700;
  color: var(--text-primary);
}

.policy-content em {
  font-style: italic;
}

.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  border: 1px solid var(--border-color);
}

.policy-content th,
.policy-content td {
  padding: 12px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.policy-content th {
  background: var(--bg-tertiary);
  font-weight: 700;
}

.policy-content::-webkit-scrollbar {
  width: 6px;
}

.policy-content::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
  border-radius: 3px;
}

.policy-content::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.policy-content::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.policy-content h1,
.policy-content h2,
.policy-content h3,
.policy-content h4 {
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.policy-content h1 {
  font-size: 28px;
}

.policy-content h2 {
  font-size: 22px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.policy-content h3 {
  font-size: 18px;
}

.policy-meta {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   Forms
   ============================================ */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* ============================================
   Alerts / Messages
   ============================================ */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 20px;
}

.alert-info {
  background: var(--primary-light);
  border-left: 4px solid var(--primary-color);
  color: var(--primary-color);
}

.alert-success {
  background: #d1fae5;
  border-left: 4px solid var(--success-color);
  color: #065f46;
}

.alert-warning {
  background: #fef3c7;
  border-left: 4px solid var(--warning-color);
  color: #92400e;
}

.alert-danger {
  background: #fee2e2;
  border-left: 4px solid var(--danger-color);
  color: #991b1b;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 24px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 32px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }
}

/* ============================================
   Invite Page
   ============================================ */
.invite-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--gradient-hero);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.invite-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 20% 80%,
      rgba(99, 102, 241, 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(139, 92, 246, 0.4) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.invite-card {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.invite-logo {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.invite-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.invite-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.status-message {
  font-size: 14px;
  color: var(--text-muted);
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.store-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.store-button.app-store {
  background: #000;
  color: white;
}

.store-button.play-store {
  background: #01875f;
  color: white;
}

.store-button.deep-link {
  background: var(--gradient-primary);
  color: white;
}

/* ============================================
   Delete Account Page
   ============================================ */
.delete-container {
  min-height: 100vh;
  background: var(--gradient-hero);
  padding: 100px 24px 40px;
}

.delete-card {
  max-width: 560px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.delete-header {
  background: var(--gradient-primary);
  padding: 32px;
  text-align: center;
}

.delete-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.delete-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.delete-content {
  padding: 32px;
}

.delete-footer {
  background: var(--bg-tertiary);
  padding: 20px 32px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* Steps */
.step-indicator {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  transition: all var(--transition-normal);
}

.step-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.step {
  display: none;
}

.step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-group {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-group .btn {
  flex: 1;
}

/* Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
}

.carousel-wrapper {
  display: flex;
  transition: transform var(--transition-normal);
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  padding: 24px;
}

.slide-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 16px;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slide-dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 8px;
}
.mt-2 {
  margin-top: 16px;
}
.mt-3 {
  margin-top: 24px;
}
.mt-4 {
  margin-top: 32px;
}
.mt-5 {
  margin-top: 48px;
}

.mb-1 {
  margin-bottom: 8px;
}
.mb-2 {
  margin-bottom: 16px;
}
.mb-3 {
  margin-bottom: 24px;
}
.mb-4 {
  margin-bottom: 32px;
}
.mb-5 {
  margin-bottom: 48px;
}

.hidden {
  display: none !important;
}
.visible {
  display: block !important;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .features,
  .content-section {
    padding: 60px 20px;
  }

  .content-card {
    padding: 32px 24px;
  }

  .invite-card {
    padding: 32px 24px;
  }

  .delete-content {
    padding: 24px;
  }
}

/* ============================================
   About Page - Enhanced Styles
   ============================================ */

.about-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.about-section:last-of-type {
  border-bottom: none;
}

.about-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.about-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.about-section strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Connection Steps */
.connection-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.step {
  padding: 24px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.08),
    rgba(139, 92, 246, 0.08)
  );
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
}

.step-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.step h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Value Cards */
.value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.value-card {
  padding: 28px;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.value-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* About CTA */
.about-cta {
  text-align: center;
}

.about-cta h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.about-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .about-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
  }

  .about-section h2 {
    font-size: 20px;
  }

  .connection-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .value-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step,
  .value-card {
    padding: 20px;
  }

  .about-cta h3 {
    font-size: 20px;
  }
}

/* ============================================
   Delete Account Page - Enhanced Styles
   ============================================ */

.delete-info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.info-card {
  padding: 28px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.08),
    rgba(139, 92, 246, 0.08)
  );
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
}

.info-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.info-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.info-list {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  padding-left: 20px;
  margin: 0;
}

.info-list li {
  margin-bottom: 8px;
}

.info-list li:last-child {
  margin-bottom: 0;
}

/* Delete Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Alert Styles */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
}

.alert strong {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.alert-info {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--text-primary);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--text-primary);
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--text-primary);
}

/* Button Styles */
.btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

.btn-outline:hover:not(:disabled) {
  background: var(--bg-tertiary);
  border-color: var(--primary-color);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.btn-danger:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.3);
}

.btn-danger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* Button Group */
.btn-group {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-group .btn {
  flex: 1;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  transition: all var(--transition-normal);
}

.step-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.step {
  display: none;
}

.step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .delete-info-section {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .info-card {
    padding: 20px;
  }

  .info-card h3 {
    font-size: 16px;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  .alert {
    padding: 12px 16px;
    font-size: 13px;
  }
}
