/* Local Inter font */
@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter/Inter_24pt-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter/Inter_24pt-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter/Inter_24pt-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter/Inter_24pt-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter/Inter_24pt-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* === CSS Variables for New Design === */
:root {
  /* Colors */
  --primary: #FDB913;
  --primary-dark: #E5A610;
  --primary-light: #FFDD4A;
  --primary-foreground: #000000;
  --background: #F5F5F5;
  --background-rgb: 245, 245, 245;
  --surface: #FFFFFF;
  --surface-rgb: 255, 255, 255;
  --surface-hover: rgba(0, 0, 0, 0.05);
  --text-primary: #1A1A1A;
  --text-secondary: #6B6B6B;
  --text-light: #9E9E9E;
  --border: #E0E0E0;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-heavy: rgba(0, 0, 0, 0.25);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition: all 0.3s ease;
}

.dark-mode {
  --background: #0A0A0A;
  --background-rgb: 10, 10, 10;
  --surface: #1A1A1A;
  --surface-rgb: 26, 26, 26;
  --surface-hover: rgba(255, 255, 255, 0.1);
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --text-light: #808080;
  --border: #2A2A2A;
  --shadow: rgba(255, 255, 255, 0.05);
  --shadow-medium: rgba(255, 255, 255, 0.1);
  --shadow-heavy: rgba(255, 255, 255, 0.15);
}

/* Lucide Icons (CDN fallback handled in HTML) */

/* CSS Variables for theming */
:root,
html.dark-mode {
  --background: hsl(0 0% 8%); /* Dark charcoal */
  --foreground: hsl(0 0% 95%); /* Light grey/white */
  --card: hsl(0 0% 12%); /* Slightly lighter charcoal */
  --card-foreground: hsl(0 0% 95%);
  --popover: hsl(0 0% 12%);
  --popover-foreground: hsl(0 0% 95%);
  --primary: hsl(48 94% 50%); /* Brand yellow #f7c708 */
  --primary-foreground: hsl(0 0% 15%); /* Dark charcoal */
  --secondary: hsl(0 0% 37%); /* Brand gray #5f5f5f */
  --secondary-foreground: hsl(0 0% 95%);
  --muted: hsl(0 0% 15%); /* Dark muted background */
  --muted-foreground: hsl(0 0% 85%); /* Light muted text */
  --accent: hsl(48 94% 50%); /* Brand yellow accent */
  --accent-foreground: hsl(0 0% 15%);
  --destructive: hsl(0 84% 60%);
  --destructive-foreground: hsl(210 40% 98%);
  --border: hsl(0 0% 37%); /* Brand gray border */
  --input: hsl(0 0% 22%);
  --ring: hsl(48 94% 50%); /* Brand yellow ring */
  --radius: 0.5rem;
}

html.light-mode {
  --background: hsl(210 13% 95%); /* Brand light gray #f1f2f3 */
  --foreground: hsl(0 0% 37%); /* Brand gray #5f5f5f */
  --card: hsl(0 0% 100%); /* Pure white card */
  --card-foreground: hsl(0 0% 37%);
  --popover: hsl(0 0% 100%);
  --popover-foreground: hsl(0 0% 37%);
  --primary: hsl(48 94% 50%); /* Brand yellow #f7c708 */
  --primary-foreground: hsl(0 0% 15%); /* Dark text on yellow */
  --secondary: hsl(210 13% 95%); /* Brand light gray */
  --secondary-foreground: hsl(0 0% 37%);
  --muted: hsl(49 92% 90%); /* Brand cream #fdf4ce */
  --muted-foreground: hsl(0 0% 37%); /* Brand gray */
  --accent: hsl(48 94% 50%); /* Brand yellow accent */
  --accent-foreground: hsl(0 0% 15%);
  --border: hsl(210 13% 85%); /* Slightly darker light gray */
  --input: hsl(210 13% 90%);
  --ring: hsl(48 94% 50%); /* Brand yellow ring */
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.025em;
}

::selection {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Layout utilities */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  width: 100%;
  padding: 3rem 1.5rem;
}

.section-large {
  width: 100%;
  padding: 5rem 1.5rem;
}

/* Typography */
.h1 {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.h2 {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-align: center;
}

.h3 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.text-large {
  font-size: 1.125rem;
  text-align: center;
}

.text-small {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-balance {
  text-wrap: balance;
}

/* Grid and Flexbox utilities */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.flex {
  display: flex;
}

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

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

/* Section title spacing - reduced margin-top */
.section-title-container {
  margin-bottom: 3rem !important;
}

.section-title-container > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.space-y-12 > * + * {
  margin-top: 3rem;
}

.space-y-16 > * + * {
  margin-top: 4rem;
}

/* Spacing utilities */
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.m-4 { margin: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

/* Sizing utilities */
.w-full { width: 100%; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.min-h-screen { min-height: 100vh; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-20 { top: 5rem; }
.left-4 { left: 1rem; }
.right-4 { right: 1rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Display utilities */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

/* Border utilities */
.border { border: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

/* Color utilities */
.bg-background { background-color: var(--background); }
.bg-card { background-color: var(--card); }
.bg-primary { background-color: var(--primary); }
.bg-muted { background-color: var(--muted); }
.bg-accent { background-color: var(--accent); }
.bg-secondary { background-color: var(--secondary); }

.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-accent-foreground { color: var(--accent-foreground); }
.text-secondary-foreground { color: var(--secondary-foreground); }

/* Transform utilities */
.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }
.translate-y-0 { --tw-translate-y: 0px; }
.translate-y-10 { --tw-translate-y: 2.5rem; }
.translate-y-20 { --tw-translate-y: 5rem; }
.-translate-x-1\/2 { --tw-translate-x: -50%; }
.-translate-y-1\/2 { --tw-translate-y: -50%; }
.rotate-180 { --tw-rotate: 180deg; }

/* Opacity utilities */
.opacity-0 { opacity: 0; }
.opacity-5 { opacity: 0.05; }
.opacity-10 { opacity: 0.1; }
.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-70 { opacity: 0.7; }
.opacity-100 { opacity: 1; }

/* Shadow utilities */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Transition utilities */
.transition-all { transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-transform { transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-700 { transition-duration: 700ms; }
.duration-1000 { transition-duration: 1000ms; }
.delay-700 { transition-delay: 700ms; }

/* Custom component styles */
.cosmic-gradient {
  background: linear-gradient(135deg, rgba(64, 64, 64, 0.2) 0%, rgba(32, 32, 32, 0.4) 100%);
}

html.light-mode .cosmic-gradient {
  background: linear-gradient(135deg, rgba(230, 230, 230, 0.8) 0%, rgba(200, 200, 200, 0.6) 100%);
}

.cosmic-glow {
  position: relative;
}

.cosmic-glow::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle at center, rgba(247, 199, 8, 0.1) 0%, transparent 70%);
  z-index: -1;
  border-radius: inherit;
}

html.light-mode .cosmic-glow::before {
  background: radial-gradient(circle at center, rgba(247, 199, 8, 0.08) 0%, transparent 70%);
}

.cosmic-grid {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

html.light-mode .cosmic-grid {
  background-image: 
    linear-gradient(rgba(64, 64, 64, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 64, 64, 0.08) 1px, transparent 1px);
}

.cosmic-glass {
  backdrop-filter: blur(8px);
  background-color: hsl(var(--card) / 0.8);
  border: 1px solid hsl(255 255 255 / 0.1);
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

html.light-mode .cosmic-glass {
  backdrop-filter: blur(8px);
  background-color: hsl(var(--card) / 0.8);
  border: 1px solid hsl(0 0 0 / 0.1);
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.cosmic-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}


/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 2rem;
  font-size: 1rem;
  height: 3rem;
  border-radius: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(247, 199, 8, 0.3);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: hsl(48 94% 45%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(247, 199, 8, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  padding: 0.75rem 2rem;
  font-size: 1rem;
  height: 3rem;
  border-radius: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--muted);
  color: var(--foreground);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--muted-foreground);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

.btn-sm {
  height: 2rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  height: 4rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Form styles */
.form-input {
  width: 100%;
  height: 3rem;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--input);
  color: var(--foreground);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

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

.form-label {
  display: block;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-error {
  color: var(--destructive);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Navigation styles */
.nav-pill {
  backdrop-filter: blur(12px);
  background-color: hsl(var(--background) / 0.8);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.25rem;
  box-shadow: var(--shadow-lg);
}

.nav-pill-item {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: all 0.2s;
  color: var(--muted-foreground);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  position: relative;
}

.nav-pill-item:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

.nav-pill-item.active {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* Navigation Badge - Special Offer Indicator */
.nav-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  background: linear-gradient(135deg, var(--primary) 0%, hsl(48 94% 60%) 100%);
  border-radius: 50%;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-badge 2s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(247, 199, 8, 0.6);
}

.nav-badge i {
  color: var(--primary-foreground);
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(247, 199, 8, 0.6);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(247, 199, 8, 0.8);
  }
}

.nav-pill-item-with-badge,
.mobile-menu-item-with-badge {
  position: relative;
}

/* Header styles */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding-top: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

html.light-mode .header.scrolled {
  background-color: hsl(var(--background) / 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

html.dark-mode .header.scrolled {
  background-color: hsl(var(--background) / 0.95);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
}

.header-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-content-grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

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

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

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

/* Logo styles */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 2rem;
  width: 2rem;
  object-fit: contain;
}

/* Invert logo in light mode */
html.light-mode .logo img {
  filter: invert(1);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

/* Hero section styles */
.hero {
  position: relative;
  width: 100%;
  padding: 3rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--background);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
}

.hero-glow > div {
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-color: var(--primary);
  filter: blur(120px);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  text-align: center;
  transition: all 0.7s;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.hero-badge-dot {
  display: block;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 50%;
  background-color: var(--primary);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: var(--foreground);
  text-align: center;
  margin: 2rem 0 1rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 56rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}

/* Section title and subtitle styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: var(--foreground);
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 2rem;
}

.hero-certifications {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  padding-top: 1rem;
}

.hero-cert-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.hero-cert-check {
  color: var(--primary);
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  padding-top: 1.5rem;
  align-items: center;
}

/* Mobile and tablet: full width buttons */
@media (max-width: 767px) {
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    max-width: none;
  }
}

/* Tablet specific adjustments */
@media (min-width: 480px) and (max-width: 767px) {
  .hero-buttons {
    gap: 1.25rem;
  }
}

@media (min-width: 768px) {
  .hero-buttons {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.hero-disclaimer {
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
  font-weight: 500;
}

.hero-preview {
  width: 100%;
  max-width: 72rem;
  margin-top: 4rem;
  z-index: 10;
  transition: all 1s;
  transition-delay: 0.7s;
}

.hero-preview img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-2xl);
  border: 1px solid hsl(var(--border) / 0.2);
}

/* Step indicator styles */
.step-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.step-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--muted);
  transition: all 0.3s;
}

.step-dot.active {
  background-color: var(--primary);
  width: 2rem;
  border-radius: 9999px;
}

/* Card styles */
.card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  transition: all 0.3s;
}

.card:hover {
  border-color: hsl(var(--primary) / 0.3);
}

/* Feature card styles */
.feature-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  transition: all 0.3s;
  cursor: pointer;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.feature-card.expanded {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.feature-icon {
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  background-color: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  text-align: left;
}

.feature-chevron {
  height: 1.25rem;
  width: 1.25rem;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}

.feature-chevron.rotated {
  transform: rotate(180deg);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.feature-description {
  color: var(--muted-foreground);
}

.feature-expanded {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

.feature-expanded p {
  color: var(--muted-foreground);
}

/* Testimonial styles */
.testimonial-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    var(--primary),
    transparent,
    var(--primary)
  );
  background-size: 200% 200%;
  animation: shine 3s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.testimonial-card:hover::before {
  opacity: 0.3;
}

@keyframes shine {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.testimonial-stars {
  margin-bottom: 1.5rem;
}

.testimonial-star {
  color: var(--primary);
  display: inline-block;
  margin-right: 0.25rem;
}

.testimonial-quote {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: hsl(var(--foreground) / 0.9);
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.testimonial-avatar {
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 500;
  color: var(--foreground);
}

.testimonial-position {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Pricing card styles */
.pricing-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 450px));
  justify-content: center;
  align-items: start;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem 0;
}

.pricing-card {
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--primary) / 0.3);
  background-color: var(--card);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

html.light-mode .pricing-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

html.light-mode .pricing-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Special Offer Card */
.pricing-card-special {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 35px rgba(247, 199, 8, 0.25);
  background: linear-gradient(135deg, var(--card) 0%, hsl(var(--card) / 0.95) 100%);
}

.pricing-card-special:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 45px rgba(247, 199, 8, 0.35);
}

html.light-mode .pricing-card-special {
  box-shadow: 0 8px 35px rgba(247, 199, 8, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1.25rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.8125rem;
  border-radius: 9999px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  box-shadow: 0 4px 12px rgba(247, 199, 8, 0.4);
  letter-spacing: 0.025em;
}

.pricing-badge-special {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(48 94% 60%) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
  box-shadow: 0 6px 18px rgba(247, 199, 8, 0.5);
}

@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 0.5rem;
}

.pricing-title {
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--foreground);
  line-height: 1.3;
}

.pricing-price-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.pricing-price-old {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-decoration: line-through;
  opacity: 0.5;
  position: relative;
}

.pricing-price-old::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background-color: #ef4444;
  transform: translateY(-50%);
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--primary);
  line-height: 1;
}

.pricing-period {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  font-weight: 500;
}

.pricing-description {
  color: var(--muted-foreground);
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.pricing-features {
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  flex-grow: 1;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
  padding: 0.25rem 0;
}

.pricing-feature:last-child {
  margin-bottom: 0;
}

.pricing-feature-check {
  height: 1.375rem;
  width: 1.375rem;
  min-width: 1.375rem;
  border-radius: 50%;
  background-color: hsl(var(--primary) / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
  border: 1.5px solid hsl(var(--primary) / 0.3);
}

.pricing-feature-text {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.5;
}

/* Countdown/Urgency Element */
.pricing-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding: 0.875rem 1rem;
  background: linear-gradient(135deg, rgba(247, 199, 8, 0.12) 0%, rgba(247, 199, 8, 0.06) 100%);
  border: 1px solid rgba(247, 199, 8, 0.25);
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.015em;
}

.pricing-countdown i {
  animation: gentle-pulse 2s ease-in-out infinite;
}

@keyframes gentle-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Special Offer Button */
.btn-special {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(48 94% 60%) 100%);
  background-size: 200% 200%;
  box-shadow: 0 6px 20px rgba(247, 199, 8, 0.4);
  font-weight: 700;
  gap: 0.5rem;
  animation: gradient-move 3s ease infinite;
}

.btn-special:hover {
  box-shadow: 0 8px 28px rgba(247, 199, 8, 0.6);
  transform: translateY(-2px);
}

@keyframes gradient-move {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Footer styles */
.footer {
  width: 100%;
  padding: 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background-color: var(--card);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  gap: 1rem;
}

.footer-link-container {
  flex-shrink: 0;
}

.footer-link {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-link:hover {
  color: var(--foreground);
}

.linkedin-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.footer-link:hover .linkedin-logo {
  opacity: 0.8;
}

/* Theme toggle styles */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.5rem 0.75rem;
}

.theme-switch {
  position: relative;
  display: inline-block;
  width: 2.75rem;
  height: 1.5rem;
  cursor: pointer;
}

.theme-switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 10;
}

.theme-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--muted);
  transition: 0.4s;
  border-radius: 1.5rem;
  z-index: 5;
}

.theme-switch-slider:before {
  position: absolute;
  content: "";
  height: 1.125rem;
  width: 1.125rem;
  left: 0.1875rem;
  bottom: 0.1875rem;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .theme-switch-slider {
  background-color: var(--primary);
}

input:checked + .theme-switch-slider:before {
  transform: translateX(1.25rem);
}

/* Hover effects */
.theme-switch:hover .theme-switch-slider {
  opacity: 0.9;
}

.theme-switch:active .theme-switch-slider {
  transform: scale(0.95);
}

/* Ensure entire toggle area is clickable */
.theme-toggle {
  user-select: none;
}

.theme-toggle * {
  pointer-events: auto;
}

/* Hamburger menu button styles */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.hamburger-btn:hover {
  background-color: var(--muted);
}

.hamburger-line {
  width: 1.5rem;
  height: 2px;
  background-color: var(--foreground);
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* Mobile menu styles */
.mobile-menu {
  position: fixed;
  top: 6rem;
  left: 1rem;
  right: 1rem;
  background-color: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 50;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  opacity: 1;
}

/* Ensure mobile menu background stays consistent */
.mobile-menu[style*="display: block"] {
  background-color: var(--card) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* Force background consistency for mobile menu */
.mobile-menu {
  background-color: var(--card) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* Dark mode mobile menu background - solid background */
html.dark-mode .mobile-menu {
  background-color: #1a1a1a !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* Light mode mobile menu background - solid background */
html.light-mode .mobile-menu {
  background-color: #ffffff !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* Ensure mobile menu background persists during scroll */
.mobile-menu[style*="top"] {
  background-color: var(--card) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* Additional fallback for solid background */
.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--card);
  border-radius: inherit;
  z-index: -1;
}

/* Ensure mobile menu items are visible */
.mobile-menu-items {
  position: relative;
  z-index: 1;
}

/* Dark mode specific solid background */
html.dark-mode .mobile-menu::before {
  background-color: #1a1a1a;
}

/* Light mode specific solid background */
html.light-mode .mobile-menu::before {
  background-color: #ffffff;
}

.mobile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideInDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure login button sits at bottom of mobile menu below Pricing */
.mobile-login-btn {
  margin-top: 0.5rem;
}

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

.mobile-menu-item {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--muted-foreground);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.mobile-menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.mobile-menu-item:hover::before {
  left: 100%;
}

.mobile-menu-item:hover {
  color: var(--foreground);
  background-color: var(--muted);
  transform: translateX(4px);
}

.mobile-menu-item.active {
  background-color: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 2px 8px rgba(247, 199, 8, 0.3);
}

/* Responsive styles */
@media (max-width: 767px) {
  .pricing-cards-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 1.5rem 0.5rem 0;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 100%;
    padding: 2rem 1.5rem;
  }
  
  .section-title-container {
    margin-bottom: 2rem !important;
  }
}

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:mt-0 { margin-top: 0; }
  
  .pricing-cards-container {
    padding: 2rem 1rem 0;
  }
}

@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:text-xl { font-size: 1.25rem; }
  
  .section-title-container {
    margin-bottom: 3.5rem !important;
  }
  
  .hero-buttons { flex-direction: row; }
  .hero-title { 
    font-size: 3.75rem; 
    text-align: center;
  }
  .hero-subtitle { 
    font-size: 1.25rem; 
    text-align: center;
  }
  .footer-content { 
    flex-direction: row; 
    justify-content: space-between;
  }
}

/* Mobile header adjustments */
@media (max-width: 767px) {
  .header-content-grid {
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
  }
  
  .header-center {
    display: none !important;
  }
  
  .header-left .logo {
    margin-left: 0.75rem;
  }
  
  /* Hide desktop navigation when mobile menu is active */
  .mobile-menu-open .header-center {
    display: none !important;
  }
  
  /* Smaller hamburger menu button */
  #mobile-menu-button {
    width: 2rem;
    height: 2rem;
    padding: 0.25rem;
    background: transparent !important;
    border: none !important;
    border-radius: 0.375rem;
  }
  
  #mobile-menu-button:hover {
    background: var(--muted) !important;
  }
  
  /* Fix font size for mobile menu items */
  .mobile-menu-item {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
  
  /* Ensure mobile menu stays properly positioned */
  .mobile-menu {
    top: 6rem;
    left: 0.75rem;
    right: 0.75rem;
  }
  
  /* Adjust mobile menu position when header is scrolled */
  .header.scrolled .mobile-menu {
    top: 5rem;
  }
  
  /* Mobile footer adjustments */
  .footer {
    padding: 1.5rem 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.8rem;
    gap: 1rem;
  }
  
  .footer-content > div:first-child {
    order: 2;
    width: 100%;
  }
  
  .footer-link-container {
    order: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }
  
  .footer-link-container .mx-2 {
    margin: 0 0.25rem;
  }
  
  .footer-link {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
  }
  
  .footer-link:hover {
    background-color: var(--muted);
    color: var(--foreground);
  }
}

/* Extra small mobile screens */
@media (max-width: 480px) {
  .footer {
    padding: 1.25rem 0.75rem;
  }
  
  .footer-content {
    gap: 0.75rem;
  }
  
  .footer-link-container {
    gap: 0.25rem;
  }
  
  .footer-link-container .mx-2 {
    margin: 0 0.125rem;
    font-size: 0.7rem;
  }
  
  .footer-link {
    font-size: 0.75rem;
    padding: 0.25rem 0.375rem;
  }
  
  .footer-content > div:first-child {
    font-size: 0.75rem;
  }
  
  .signup-footer {
    padding: 1.25rem 0.75rem;
  }
  
  .signup-footer-content {
    gap: 0.75rem;
  }
  
  .signup-footer .footer-links,
  .signup-footer .footer-link-container {
    gap: 0.25rem;
  }
  
  .signup-footer .footer-link {
    font-size: 0.75rem;
    padding: 0.25rem 0.375rem;
  }
  
  .signup-footer .mx-2 {
    margin: 0 0.125rem;
    font-size: 0.7rem;
  }
  
  .signup-footer p {
    font-size: 0.75rem;
  }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer {
    padding: 1.25rem 1.5rem;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    gap: 1rem;
  }
  
  .footer-content > div:first-child {
    flex: 1;
    min-width: 0;
  }
  
  .footer-link-container {
    flex-shrink: 0;
  }
  
  .linkedin-logo {
    width: 19px;
    height: 19px;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:text-7xl { font-size: 4.5rem; }
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity 0.7s, transform 0.7s;
}

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

.fade-in-delayed {
  opacity: 0;
  transform: translateY(5rem);
  transition: opacity 1s, transform 1s;
  transition-delay: 0.7s;
}

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

/* Promo banner arrow bounce */
.promo-arrow-bounce {
  animation: promo-bounce 1.2s ease-in-out infinite;
}

@keyframes promo-bounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(4px); }
}

/* Utility classes for common animations */
.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

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

/* === Signup Page Styles === */

.signup-page {
  background: var(--background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === Header === */
.signup-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.signup-header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.header-left {
  display: flex;
  justify-content: flex-start;
}

.header-center {
  display: flex;
  justify-content: center;
}

.header-right {
  display: flex;
  justify-content: flex-end;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* === Theme Toggle === */
.theme-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  cursor: pointer;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-switch-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border);
  border-radius: 30px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
}

.theme-switch-slider:before {
  content: '';
  position: absolute;
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background: var(--surface);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.theme-switch input:checked + .theme-switch-slider {
  background: var(--primary);
}

.theme-switch input:checked + .theme-switch-slider:before {
  transform: translateX(30px);
}

.theme-icon {
  width: 16px;
  height: 16px;
  transition: var(--transition);
  z-index: 2;
  position: relative;
  display: block;
  font-style: normal;
  font-size: 14px;
  line-height: 1;
}

.light-icon {
  color: var(--text-light);
}

.dark-icon {
  color: var(--text-light);
}

.theme-switch input:checked + .theme-switch-slider .light-icon {
  color: #000;
}

.theme-switch input:checked + .theme-switch-slider .dark-icon {
  color: var(--text-light);
}

.theme-switch input:not(:checked) + .theme-switch-slider .light-icon {
  color: var(--text-light);
}

.theme-switch input:not(:checked) + .theme-switch-slider .dark-icon {
  color: #000;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.back-btn:hover {
  color: var(--text-primary);
  background: var(--background);
}

.back-btn i {
  width: 18px;
  height: 18px;
}

/* === Main Content === */
.signup-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.signup-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* === Title Section === */
.signup-title-section {
  text-align: center;
  margin-bottom: 3rem;
}

.signup-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.signup-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.signup-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* === Form Container === */
.signup-form-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.form-icon i {
  width: 28px;
  height: 28px;
  color: #000;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* === Form Styles === */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-input,
.form-select {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--background);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(253, 185, 19, 0.1);
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.dark-mode .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%9ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* === Submit Button === */
.signup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
  letter-spacing: 0.025em;
}

.signup-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(253, 185, 19, 0.3);
}

.signup-btn:active {
  transform: translateY(0);
}

.signup-btn i {
  width: 18px;
  height: 18px;
}

/* === Terms === */
.form-terms {
  text-align: center;
  margin-top: 1rem;
}

.form-terms p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.terms-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.terms-link:hover {
  text-decoration: underline;
}

/* === Footer === */
.signup-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.signup-footer .footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.signup-footer .footer-link:hover {
  color: var(--primary);
}

/* === Form Validation === */
.form-input:invalid {
  border-color: #ef4444;
}

.form-input:valid {
  border-color: #10b981;
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.success-message {
  color: #10b981;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* === Loading State === */
.signup-btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.signup-btn.loading::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top: 2px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 0.5rem;
}

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

/* === Multi-Step Flow === */
.signup-form-container.hidden {
  display: none !important;
}

/* === Progress Indicator === */
.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0 3rem 0;
  padding: 0 2rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.step-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
}

.progress-step.active .step-number {
  background: var(--primary);
  color: #000;
}

.progress-step.active .step-label {
  color: var(--text-primary);
}

.progress-step.completed .step-number {
  background: var(--primary);
  color: #000;
}

.progress-step.completed .step-label {
  color: var(--text-primary);
}

.progress-line {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin: 0 1rem;
  transition: var(--transition);
}

.progress-line.completed {
  background: var(--primary);
}

/* === OTP Input Styles === */
.otp-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.otp-input {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--background);
  color: var(--text-primary);
  transition: var(--transition);
}

.otp-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(253, 185, 19, 0.1);
}

.otp-input.filled {
  border-color: var(--primary);
  background: rgba(253, 185, 19, 0.1);
}

.otp-input.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* === Timer Styles === */
.timer-container {
  text-align: center;
  margin: 1rem 0;
}

.timer-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

#timer {
  font-weight: 600;
  color: var(--primary);
}

.resend-btn {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.resend-btn:hover {
  background: var(--primary);
  color: #000;
}

/* === Edit Email Button === */
.edit-email-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  margin: 0.5rem auto 0 auto;
}

.edit-email-btn:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.edit-email-btn i {
  width: 14px;
  height: 14px;
}

/* === Step Transitions === */
.signup-form-container {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateX(0);
}

.signup-form-container.hidden {
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
}

.signup-form-container.fade-in {
  opacity: 1;
  transform: translateX(0);
  animation: slideInFromRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.signup-form-container.fade-out {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideOutToLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutToLeft {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-30px);
  }
}

/* Progress indicator transitions */
.progress-step {
  transition: all 0.3s ease-in-out;
}

.progress-line {
  transition: all 0.3s ease-in-out;
}

/* Form elements transitions */
.form-group {
  transition: all 0.3s ease-in-out;
}

.form-input, .form-select {
  transition: all 0.2s ease-in-out;
}

.form-input:focus, .form-select:focus {
  transform: scale(1.02);
}

.signup-btn {
  transition: all 0.3s ease-in-out;
}

.signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* OTP inputs transitions */
.otp-input {
  transition: all 0.2s ease-in-out;
}

.otp-input:focus {
  transform: scale(1.1);
}

.otp-input.filled {
  animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* === Success/Error Messages === */
.message {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
  font-size: 0.875rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  transform: translateX(0);
  opacity: 1;
}

.message.success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* === Disabled Button === */
.signup-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .signup-main {
    padding: 1rem;
  }
  
  .signup-form-container {
    padding: 1.5rem;
  }
  
  .signup-title {
    font-size: 1.75rem;
  }
  
  .signup-subtitle {
    font-size: 1rem;
  }
  
  .signup-header {
    padding: 1rem;
  }
  
  .signup-header-content {
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
  }
  
  .header-center .logo {
    justify-content: center;
  }
  
  .logo img {
    width: 28px;
    height: 28px;
  }
  
  .logo-text {
    font-size: 1.1rem;
  }
  
  .theme-switch {
    width: 50px;
    height: 25px;
  }
  
  .theme-switch-slider:before {
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
  }
  
  .theme-switch input:checked + .theme-switch-slider:before {
    transform: translateX(25px);
  }
  
  .theme-icon {
    width: 14px;
    height: 14px;
  }
  
  .signup-footer {
    padding: 1.5rem 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  
  .signup-footer p,
  .signup-footer-content > div:first-child {
    order: 2;
    width: 100%;
    font-size: 0.8rem;
  }
  
  .signup-footer .footer-links,
  .signup-footer .footer-link-container {
    order: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }
  
  .signup-footer .footer-link {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
  }
  
  .signup-footer .footer-link:hover {
    background-color: var(--muted);
    color: var(--foreground);
  }
  
  .signup-footer .mx-2 {
    margin: 0 0.25rem;
  }
  
  .progress-indicator {
    margin: 1.5rem 0 2rem 0;
    padding: 0 1rem;
  }
  
  .progress-line {
    width: 40px;
    margin: 0 0.5rem;
  }
  
  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
  
  .step-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .signup-container {
    max-width: 100%;
  }
  
  .signup-form-container {
    padding: 1rem;
  }
  
  .form-icon {
    width: 50px;
    height: 50px;
  }
  
  .form-icon i {
    width: 24px;
    height: 24px;
  }
  
  .form-title {
    font-size: 1.25rem;
  }
}
