@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* CSS DESIGN SYSTEM VARIABLES */
:root {
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Core Colors */
  --color-primary: #3b82f6;
  --color-primary-rgb: 59, 130, 246;
  --color-secondary: #8b5cf6;
  --color-accent: #ec4899;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  
  /* Brand Gradients */
  --gradient-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  --gradient-glow: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-light-border: linear-gradient(90deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.02) 100%);
  
  /* Dark Theme Variables (Default) */
  --bg-primary: #03020c;
  --bg-secondary: #0a0b16;
  --bg-tertiary: #121426;
  --bg-navbar: rgba(3, 2, 12, 0.7);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-color: rgba(255, 255, 255, 0.05);
  --border-glow: rgba(139, 92, 246, 0.3);
  --glass-bg: rgba(10, 11, 22, 0.65);
  --glass-border: rgba(255, 255, 255, 0.06);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.2);
  
  --spotlight-1: rgba(59, 130, 246, 0.16);
  --spotlight-2: rgba(236, 72, 153, 0.12);
  
  /* Simulator App Colors */
  --phone-bg: #0c0d14;
  --phone-border: #1e2030;
  --phone-screen-bg: #090a0f;
  --phone-text: #f3f4f6;
  --phone-text-muted: #64748b;
  --phone-line: rgba(255, 255, 255, 0.08);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f6f8fd;
  --bg-secondary: #ffffff;
  --bg-tertiary: #eff3fa;
  --bg-navbar: rgba(246, 248, 253, 0.75);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --border-color: rgba(15, 23, 42, 0.06);
  --border-glow: rgba(59, 130, 246, 0.25);
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(15, 23, 42, 0.08);
  
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 36px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.12);
  
  --spotlight-1: rgba(59, 130, 246, 0.06);
  --spotlight-2: rgba(236, 72, 153, 0.04);
  
  /* Simulator App Colors */
  --phone-bg: #e2e8f0;
  --phone-border: #cbd5e1;
  --phone-screen-bg: #ffffff;
  --phone-text: #0f172a;
  --phone-text-muted: #64748b;
  --phone-line: rgba(15, 23, 42, 0.08);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 10% 20%, var(--spotlight-1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, var(--spotlight-2) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.625;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Slim Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* SECTION ANCHORS */
section[id] {
  scroll-margin-top: 120px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-secondary);
}

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

.gradient-text-insta {
  background: var(--gradient-instagram);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* REUSABLE CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

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

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* BUTTONS WITH SLIDING GRADIENTS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.85rem;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
  background-size: 300% 100%;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.25);
  animation: gradient-flow 10s infinite linear;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}
.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-accent {
  background: var(--gradient-instagram);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.2);
}
.btn-accent:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(220, 39, 67, 0.35);
}

.btn-sm {
  padding: 0.55rem 1.35rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* FLOATING CAPSULE NAVIGATION BAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bg-navbar);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-normal);
}

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

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 0 !important;
  color: transparent !important;
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.logo::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('Image/zcord_logo.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.35);
  transition: all var(--transition-normal);
}

.logo:hover::before {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.55);
}

.logo svg {
  display: none !important;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.8rem;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 0.35rem;
  border-radius: 50px;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  transition: all var(--transition-fast) !important;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background-color: var(--bg-tertiary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--color-primary);
  transform: rotate(15deg);
}

.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }
[data-theme="light"] .theme-toggle .sun-icon { display: block; }
[data-theme="light"] .theme-toggle .moon-icon { display: none; }

/* Responsive Nav Drawer */
.navbar-toggler {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Desktop Capsule Style */
@media (min-width: 992px) {
  .navbar {
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  }
}

@media (max-width: 991px) {
  .navbar-toggler {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 76px;
    left: 1.5rem;
    right: 1.5rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-actions {
    margin-left: auto;
    margin-right: 0.5rem;
  }
}

/* FLOATING AMBIENT LIGHTS (PULSING/ROTATING) */
.spotlight {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  -webkit-filter: blur(140px);
  z-index: -1;
  pointer-events: none;
}
.spotlight-1 {
  top: 5%;
  left: -15%;
  width: 50vw;
  height: 50vw;
  background-color: var(--spotlight-1);
  animation: float-glow-1 25s infinite ease-in-out;
}
.spotlight-2 {
  top: 35%;
  right: -15%;
  width: 45vw;
  height: 45vw;
  background-color: var(--spotlight-2);
  animation: float-glow-2 25s infinite ease-in-out;
}

@keyframes float-glow-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8%, 6%) scale(1.18); }
}
@keyframes float-glow-2 {
  0%, 100% { transform: translate(0, 0) scale(1.1); }
  50% { transform: translate(-8%, -6%) scale(0.88); }
}

/* FLOATING DECORATIVE GLASS BUBBLES */
.floating-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  pointer-events: none;
  z-index: 1;
}
.bubble-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 5%;
  animation: float-bubble 15s infinite ease-in-out;
}
.bubble-2 {
  width: 120px;
  height: 120px;
  bottom: 15%;
  right: 5%;
  animation: float-bubble 20s infinite ease-in-out reverse;
}

@keyframes float-bubble {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* HERO CONTAINER */
.hero {
  position: relative;
  padding: 10rem 0 6rem 0;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-content {
  text-align: left;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.45rem 1.25rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.badge-tag-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  text-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}

@media (min-width: 768px) {
  .hero-title { font-size: 4rem; }
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.stat-item h4 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
}
.stat-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* PREMIUM DARK-THEME INSTAGRAM PHONE SIMULATOR */
.simulator-container {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.phone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
  background-color: var(--phone-bg);
  border: 12px solid var(--phone-border);
  border-radius: 44px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.9), var(--shadow-glow);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: transform var(--transition-normal);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 32px;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 15;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background-color: #000;
  border-radius: 20px;
  z-index: 10;
  box-shadow: inset 0 0 4px rgba(255,255,255,0.2);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--phone-screen-bg);
  position: relative;
  overflow: hidden;
  color: var(--phone-text);
  transition: all var(--transition-normal);
}

.screen-view {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--phone-screen-bg);
  transition: all var(--transition-normal);
}

.ig-header {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--phone-line);
}

.ig-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.ig-icons {
  display: flex;
  gap: 14px;
  color: var(--phone-text-muted);
}

.ig-post {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-user {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 8px;
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-instagram);
  padding: 1.5px;
}
.user-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--phone-screen-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}

.post-username {
  font-weight: 700;
  font-size: 0.8rem;
}

.post-image-container {
  width: 100%;
  height: 170px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-top: 1px solid var(--phone-line);
  border-bottom: 1px solid var(--phone-line);
}

.post-image-promo {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  text-align: center;
}
.post-image-promo h5 {
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 4px;
}
.post-image-promo p {
  font-size: 0.68rem;
  color: var(--phone-text-muted);
}

.post-actions {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  color: var(--phone-text-muted);
}
.post-actions-left {
  display: flex;
  gap: 12px;
}

.post-likes {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0 14px;
  margin-bottom: 6px;
}

.post-comments {
  padding: 0 14px;
  font-size: 0.725rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comment {
  display: flex;
  gap: 6px;
}
.comment-user {
  font-weight: 700;
}
.comment-text {
  color: var(--phone-text-muted);
}

/* Simulated DM Notification Panel */
.dm-popup {
  position: absolute;
  top: 46px;
  left: 12px;
  right: 12px;
  background-color: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 10px rgba(139, 92, 246, 0.2);
  z-index: 20;
  display: flex;
  gap: 12px;
  opacity: 0;
  transform: translateY(-40px) scale(0.95);
  animation: dmNotification 12s infinite;
}

.dm-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.dm-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dm-title {
  font-weight: 700;
  font-size: 0.8rem;
}
.dm-message {
  font-size: 0.725rem;
  color: #d1d1d6;
}
.dm-link {
  color: #64d2ff;
  font-weight: 600;
  text-decoration: underline;
  display: inline-block;
  margin-top: 4px;
}

/* Mockup Keyframes & View Swapping (Linktree Inspired) */
.ig-feed-view {
  animation: feed-view-cycle 12s infinite ease-in-out;
}

.zcord-bio-view {
  background: linear-gradient(180deg, #090a12 0%, #15102a 100%);
  padding: 30px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  animation: bio-view-cycle 12s infinite ease-in-out;
}

@keyframes feed-view-cycle {
  0%, 48% { opacity: 1; transform: scale(1); pointer-events: auto; }
  52%, 96% { opacity: 0; transform: scale(0.96); pointer-events: none; }
  100% { opacity: 1; transform: scale(1); pointer-events: auto; }
}

@keyframes bio-view-cycle {
  0%, 48% { opacity: 0; transform: scale(1.04); pointer-events: none; }
  52%, 96% { opacity: 1; transform: scale(1); pointer-events: auto; }
  100% { opacity: 0; transform: scale(1.04); pointer-events: none; }
}

.anim-comment {
  opacity: 0;
  animation: commentIn 12s infinite;
}

.anim-reply {
  opacity: 0;
  animation: replyIn 12s infinite;
}

@keyframes commentIn {
  0%, 8% { opacity: 0; transform: translateY(8px); }
  12%, 46% { opacity: 1; transform: translateY(0); }
  49%, 100% { opacity: 0; }
}

@keyframes replyIn {
  0%, 20% { opacity: 0; transform: translateY(8px); }
  24%, 46% { opacity: 1; transform: translateY(0); }
  49%, 100% { opacity: 0; }
}

@keyframes dmNotification {
  0%, 32% { opacity: 0; transform: translateY(-40px) scale(0.95); }
  37%, 46% { opacity: 1; transform: translateY(0) scale(1); }
  49%, 100% { opacity: 0; transform: translateY(-20px) scale(0.95); }
}

/* Bio Redirect View Styling */
.bio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  text-align: center;
}

.bio-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  padding: 2px;
  margin-bottom: 8px;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.bio-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #0c0d14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.bio-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.bio-tagline {
  font-size: 0.7rem;
  color: var(--phone-text-muted);
}

.bio-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 15px;
  flex-grow: 1;
}

.bio-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 14px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all var(--transition-fast);
  position: relative;
}

.bio-link-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.link-icon {
  position: absolute;
  left: 14px;
  font-size: 0.9rem;
}

.bio-footer {
  font-size: 0.6rem;
  color: var(--phone-text-muted);
  margin-top: auto;
  padding-bottom: 10px;
}

.bio-powered strong {
  color: var(--color-primary);
}

.wobble-btn {
  animation: buttonWobble 2s infinite ease-in-out;
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
}

@keyframes buttonWobble {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); box-shadow: 0 0 15px rgba(139, 92, 246, 0.25); }
}

/* LINKTREE-INSPIRED USERNAME CLAIM BAR */
.claim-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 0.4rem 0.4rem 0.4rem 1.5rem;
  max-width: 500px;
  width: 100%;
  margin-bottom: 2rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.claim-container:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  background: rgba(255, 255, 255, 0.07);
}
.claim-prefix {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1.1rem;
  user-select: none;
}
.claim-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem;
  width: 100%;
}
.claim-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.claim-btn {
  margin-left: auto;
  border-radius: 50px !important;
  white-space: nowrap;
  padding: 0.8rem 1.75rem !important;
  font-size: 0.95rem !important;
}

/* GLASSMORPHIC PREMIUM CARDS WITH LIGHT OUTLINES */
.glass-card {
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 16px rgba(139, 92, 246, 0.2);
}

.icon-box-insta {
  background: var(--gradient-instagram);
  box-shadow: 0 8px 16px rgba(220, 39, 67, 0.2);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

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

/* MODULE HEADERS */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-tag {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .section-title { font-size: 3.25rem; }
}

/* PRICING STYLES */
.pricing-layout {
  padding: 6rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
@media (min-width: 992px) {
  .price-card.featured {
    transform: scale(1.05);
  }
  .price-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
  }
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  padding: 0.4rem 1.5rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 15px rgba(36, 143, 233, 0.4);
}

.price-header {
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
}

.price-tier {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.price-val {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  letter-spacing: -0.04em;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.price-features li {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-secondary);
}

.price-features svg {
  color: var(--color-success);
  flex-shrink: 0;
}

.pricing-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 4.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-badge-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* HOW TO TIMELINE / STEPPER */
.stepper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin: 5rem 0;
}

.stepper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 21px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--border-color) 100%);
  z-index: 1;
}

.step-node {
  position: relative;
  display: flex;
  gap: 2.25rem;
  z-index: 2;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.step-node:hover .step-number {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  transform: scale(1.1);
}

.step-content {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.75rem;
  flex-grow: 1;
  transition: all var(--transition-normal);
}
.step-node:hover .step-content {
  border-color: var(--border-glow);
  transform: translateX(4px);
}

.step-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

/* COMPARISON MATRIX MODULE */
.matrix-container {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-md);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

.matrix-table th, .matrix-table td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.matrix-table th {
  font-family: var(--font-heading);
  font-weight: 800;
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.matrix-table tr:last-child td {
  border-bottom: none;
}

.matrix-table td {
  font-size: 0.975rem;
  color: var(--text-secondary);
}

.matrix-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.015);
}

.matrix-highlight {
  color: var(--text-primary);
  font-weight: 700;
}

.check-icon {
  color: var(--color-success);
  font-weight: bold;
}

.cross-icon {
  color: var(--color-error);
  font-weight: bold;
}

/* SIDEBAR LAYOUTS FOR POLICY / DOCS */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  padding: 8rem 0;
}

@media (min-width: 992px) {
  .split-layout {
    grid-template-columns: 290px 1fr;
  }
}

.sidebar {
  position: sticky;
  top: 120px;
  height: max-content;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sidebar-link {
  display: block;
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.975rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.sidebar-link:hover, .sidebar-link.active {
  color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.sidebar-link.active {
  border-left: 3px solid var(--color-primary);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background-color: var(--bg-tertiary);
}

.doc-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.doc-content h2 {
  font-size: 2rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.doc-content h3 {
  font-size: 1.45rem;
  margin-top: 2.25rem;
  margin-bottom: 1.15rem;
}

.doc-content p {
  margin-bottom: 1.35rem;
  color: var(--text-secondary);
}

.doc-content ul, .doc-content ol {
  margin-bottom: 1.75rem;
  padding-left: 1.75rem;
}

.doc-content li {
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
}

/* CONTACT FORM */
.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.975rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

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

.form-feedback {
  margin-top: 1.75rem;
  padding: 1.15rem;
  border-radius: 10px;
  display: none;
}
.form-feedback.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--color-success);
  color: var(--color-success);
  font-size: 0.95rem;
  font-weight: 600;
}

/* PRINT BUTTON */
.print-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2.25rem;
}

/* BROWSER INTERFACE MOCKUP */
.browser-mockup {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--bg-secondary);
}

.browser-bar {
  height: 44px;
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  gap: 0.6rem;
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.browser-dot.red { background-color: #ff5f56; }
.browser-dot.yellow { background-color: #ffbd2e; }
.browser-dot.green { background-color: #27c93f; }

.browser-address {
  flex-grow: 1;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  height: 26px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  margin: 0 3rem;
}

.browser-content {
  padding: 1.25rem;
}

.browser-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* FOOTER */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 6rem 0 3rem 0;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  margin-bottom: 5rem;
}

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

.footer-brand p {
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.social-link:hover {
  color: #fff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.75rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}
.footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-bottom-links a:hover {
  color: var(--text-primary);
}

/* MEDIA EMBED COMPONENT */
.ratio-16x9 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.ratio-16x9 > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* UTILITIES */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.bg-secondary-section { background-color: var(--bg-secondary); }

/* PRINT STYLING */
@media print {
  body {
    background-color: #fff !important;
    color: #000 !important;
    background-image: none !important;
  }
  .navbar, .footer, .print-row, .sidebar {
    display: none !important;
  }
  .split-layout {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
  }
  .doc-content {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
}