/* ============================================
   GLOBAL STYLES - TYPOGRAPHY & THEME
   ============================================ */

:root {
	/* Color Theme */
	--primary-color: #0ea5e9;
	--primary-dark: #0284c7;
	--primary-light: #38bdf8;
	--secondary-color: #8b5cf6;
	--secondary-dark: #7c3aed;
	--accent-color: #f97316;
	--success-color: #10b981;
	--warning-color: #f59e0b;
	--error-color: #ef4444;
	
	/* Neutral Colors */
	--text-primary: #0f172a;
	--text-secondary: #475569;
	--text-light: #64748b;
	--bg-primary: #ffffff;
	--bg-secondary: #f8fafc;
	--bg-tertiary: #f1f5f9;
	--border-color: #e2e8f0;
	
	/* Gradients */
	--gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 50%, #f97316 100%);
	--gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	--gradient-soft: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
	
	/* Typography */
	--font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	
	/* Font Sizes */
	--fs-xs: 0.75rem;    /* 12px */
	--fs-sm: 0.875rem;   /* 14px */
	--fs-base: 0.9375rem; /* 15px */
	--fs-lg: 1rem;       /* 16px */
	--fs-xl: 1.125rem;   /* 18px */
	--fs-2xl: 1.375rem;  /* 22px */
	--fs-3xl: 1.625rem;  /* 26px */
	--fs-4xl: 1.875rem;  /* 30px */
	--fs-5xl: 2.25rem;   /* 36px */
	--fs-6xl: 2.75rem;   /* 44px */
	
	/* Spacing */
	--spacing-xs: 0.25rem;
	--spacing-sm: 0.5rem;
	--spacing-md: 1rem;
	--spacing-lg: 1.5rem;
	--spacing-xl: 2rem;
	--spacing-2xl: 3rem;
	--spacing-3xl: 4rem;
	
	/* Shadows */
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	--shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	
	/* Border Radius */
	--radius-sm: 0.375rem;
	--radius-md: 0.5rem;
	--radius-lg: 0.75rem;
	--radius-xl: 1rem;
	--radius-2xl: 1.5rem;
	--radius-full: 9999px;
	
	/* Transitions */
	--transition-fast: 150ms ease-in-out;
	--transition-base: 300ms ease-in-out;
	--transition-slow: 500ms ease-in-out;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	/* Exclude background from transitions to prevent waving effect */
	transition-property: color, opacity, transform, box-shadow, border-color, filter !important;
	transition-duration: 0.3s !important;
	transition-timing-function: ease-in-out !important;
}

/* Ensure backgrounds change instantly - no transitions */
body,
body::before,
body::after,
.Introduction,
.Introduction::before,
.Introduction::after,
.Login,
.Login::before,
.signup,
.signup::before,
.profile-section,
.signup-complete-section {
	transition-property: color, opacity, transform, box-shadow, border-color, filter !important;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: 1.6;
	color: var(--text-primary);
	/* color: black; */
	/* Static gradient background - no animation to prevent waving effect */
	background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 25%, #f0f4ff 50%, #fef3f2 75%, #fff7ed 100%);
	background-attachment: fixed;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	/* No transition on background to prevent waving effect - only transition color */
	transition: color var(--transition-base);
	position: relative;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: 
		radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
		radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
	/* No transition on background to prevent waving effect */
	z-index: -1;
	pointer-events: none;
}

/* Removed gradientShift animation to prevent waving effect */

body.dark-theme {
	--text-primary: #f9fafb;
	--text-secondary: #d1d5db;
	--text-light: #9ca3af;
	--bg-primary: #111827;
	--bg-secondary: #1f2937;
	--bg-tertiary: #374151;
	--border-color: #4b5563;
	/* Dark theme background - subtle, static gradient */
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e1b4b 100%);
	background-attachment: fixed;
}

body.dark-theme::before {
	background: 
		radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 40% 20%, rgba(79, 70, 229, 0.15) 0%, transparent 50%);
	/* No transition to prevent waving effect */
}

.main-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-primary);
	margin-bottom: var(--spacing-md);
}

h1 {
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.02em;
}

h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.01em;
}

h3 {
	font-size: clamp(1.375rem, 2.5vw, 1.75rem);
	font-weight: 600;
}

h4 {
	font-size: clamp(1.125rem, 2vw, 1.375rem);
	font-weight: 600;
}

h5 {
	font-size: var(--fs-xl);
	font-weight: 600;
}

h6 {
	font-size: var(--fs-lg);
	font-weight: 600;
}

p {
	font-size: clamp(0.9375rem, 1.2vw, 1rem);
	line-height: 1.7;
	color: var(--text-secondary);
	margin-bottom: var(--spacing-md);
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color var(--transition-base);
}

a:hover {
	color: var(--primary-dark);
}

/* ============================================
   RESPONSIVE TYPOGRAPHY
   ============================================ */

@media (max-width: 768px) {
	html {
		font-size: 15px;
	}
	
	h1 {
		font-size: var(--fs-4xl);
	}
	
	h2 {
		font-size: var(--fs-3xl);
	}
	
	h3 {
		font-size: var(--fs-2xl);
	}
}

@media (max-width: 480px) {
	html {
		font-size: 14px;
	}
	
	h1 {
		font-size: var(--fs-3xl);
	}
	
	h2 {
		font-size: var(--fs-2xl);
	}
	
	h3 {
		font-size: var(--fs-xl);
	}
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-gradient {
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--spacing-lg);
}

.section {
	padding: var(--spacing-3xl) 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes shimmer {
	0% {
		background-position: -1000px 0;
	}
	100% {
		background-position: 1000px 0;
	}
}

.animate-fadeIn {
	animation: fadeIn var(--transition-slow) ease-out;
}

.animate-fadeInUp {
	animation: fadeInUp var(--transition-slow) ease-out;
}

.animate-fadeInDown {
	animation: fadeInDown var(--transition-slow) ease-out;
}

