/* ============================================
   FLUO - Dopamine Pop Design System
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================
   CSS Variables & Theme
   ============================================ */
:root {
	/* Core Brand Colors */
	--coral: #ff6b35;
	--coral-light: #ff8a5c;
	--coral-dark: #e85a28;
	--teal: #00b4a8;
	--teal-light: #2dd4c8;
	--teal-dark: #009b90;
	--brown: #2d1810;
	--brown-light: #4a3228;

	/* Extended Palette */
	--cream: #fff8f0;
	--cream-dark: #f5ede3;
	--white: #ffffff;
	--black: #1a1a1a;

	/* Accent Colors */
	--yellow: #ffd93d;
	--pink: #ff6b9d;
	--purple: #9b5de5;

	/* Typography */
	--font-display: 'Outfit', sans-serif;
	--font-body: 'Space Grotesk', sans-serif;

	/* Spacing */
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2rem;
	--space-xl: 3rem;
	--space-2xl: 5rem;
	--space-3xl: 8rem;

	/* Border Radius */
	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;
	--radius-full: 9999px;

	/* Shadows */
	--shadow-sm: 0 2px 8px rgba(45, 24, 16, 0.08);
	--shadow-md: 0 8px 24px rgba(45, 24, 16, 0.12);
	--shadow-lg: 0 16px 48px rgba(45, 24, 16, 0.16);
	--shadow-glow-coral: 0 8px 32px rgba(255, 107, 53, 0.4);
	--shadow-glow-teal: 0 8px 32px rgba(0, 180, 168, 0.4);

	/* Transitions */
	--ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
	--ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--duration-fast: 150ms;
	--duration-normal: 300ms;
	--duration-slow: 500ms;
}

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

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

body {
	font-family: var(--font-body);
	background-color: var(--cream);
	color: var(--brown);
	line-height: 1.6;
	overflow-x: hidden;
	position: relative;
}

/* Grain Texture Overlay */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
	opacity: 0.03;
	pointer-events: none;
	z-index: 9999;
}

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

a {
	color: inherit;
	text-decoration: none;
}

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

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

h1 {
	font-size: clamp(2.5rem, 8vw, 5rem);
}

h2 {
	font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
	font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
	font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.text-gradient {
	background: linear-gradient(135deg, var(--coral) 0%, var(--teal) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.text-coral {
	color: var(--coral);
}
.text-teal {
	color: var(--teal);
}
.text-brown {
	color: var(--brown);
}

/* ============================================
   Layout Utilities
   ============================================ */
.container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--space-lg);
}

.section {
	padding: var(--space-3xl) 0;
	position: relative;
}

.flex {
	display: flex;
}

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

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

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

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

.gap-sm {
	gap: var(--space-sm);
}
.gap-md {
	gap: var(--space-md);
}
.gap-lg {
	gap: var(--space-lg);
}
.gap-xl {
	gap: var(--space-xl);
}

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

/* ============================================
   Navigation
   ============================================ */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: var(--space-md) 0;
	transition:
		background var(--duration-normal) var(--ease-smooth),
		backdrop-filter var(--duration-normal) var(--ease-smooth);
}

.nav.scrolled {
	background: rgba(255, 248, 240, 0.9);
	backdrop-filter: blur(20px);
	box-shadow: var(--shadow-sm);
}

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

.logo {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	transition: transform var(--duration-normal) var(--ease-bounce);
}

.logo:hover {
	transform: scale(1.05);
}

.logo-icon-img {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-md);
	object-fit: cover;
}

.logo-text-img {
	height: 38px;
	width: auto;
	object-fit: contain;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: var(--space-lg);
}

.nav-link {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	color: var(--brown);
	position: relative;
	padding: var(--space-xs) 0;
	transition: color var(--duration-fast) var(--ease-smooth);
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: var(--coral);
	border-radius: var(--radius-full);
	transition: width var(--duration-normal) var(--ease-bounce);
}

.nav-link:hover {
	color: var(--coral);
}

.nav-link:hover::after {
	width: 100%;
}

.mobile-menu-btn {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: var(--space-xs);
}

.mobile-menu-btn span {
	width: 24px;
	height: 3px;
	background: var(--brown);
	border-radius: var(--radius-full);
	transition: all var(--duration-normal) var(--ease-smooth);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-xs);
	padding: var(--space-md) var(--space-xl);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.125rem;
	border-radius: var(--radius-full);
	transition: all var(--duration-normal) var(--ease-bounce);
	position: relative;
	overflow: hidden;
}

.btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
	opacity: 0;
	transition: opacity var(--duration-normal) var(--ease-smooth);
}

.btn:hover::before {
	opacity: 1;
}

.btn-primary {
	background: var(--coral);
	color: var(--white);
	box-shadow: var(--shadow-glow-coral);
}

.btn-primary:hover {
	background: var(--coral-dark);
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 12px 40px rgba(255, 107, 53, 0.5);
}

.btn-primary:active {
	transform: translateY(-2px) scale(1);
}

.btn-secondary {
	background: var(--teal);
	color: var(--white);
	box-shadow: var(--shadow-glow-teal);
}

.btn-secondary:hover {
	background: var(--teal-dark);
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 12px 40px rgba(0, 180, 168, 0.5);
}

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

.btn-outline:hover {
	background: var(--coral);
	color: var(--white);
	transform: translateY(-4px) scale(1.02);
}

.btn-sm {
	padding: var(--space-sm) var(--space-lg);
	font-size: 1rem;
}

.btn-lg {
	padding: var(--space-lg) var(--space-2xl);
	font-size: 1.25rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	padding-top: 100px;
	overflow: hidden;
}

/* Animated Background Blobs */
.hero-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: -1;
}

.blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.6;
	animation: float 20s ease-in-out infinite;
}

.blob-1 {
	width: 600px;
	height: 600px;
	background: var(--coral);
	top: -200px;
	right: -200px;
	animation-delay: 0s;
}

.blob-2 {
	width: 400px;
	height: 400px;
	background: var(--teal);
	bottom: -100px;
	left: -100px;
	animation-delay: -5s;
}

.blob-3 {
	width: 300px;
	height: 300px;
	background: var(--yellow);
	top: 50%;
	left: 50%;
	animation-delay: -10s;
}

@keyframes float {
	0%,
	100% {
		transform: translate(0, 0) rotate(0deg);
	}
	25% {
		transform: translate(50px, -50px) rotate(90deg);
	}
	50% {
		transform: translate(0, 50px) rotate(180deg);
	}
	75% {
		transform: translate(-50px, -25px) rotate(270deg);
	}
}

.hero-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-2xl);
	align-items: center;
}

.hero-text {
	animation: slideInLeft 1s var(--ease-bounce);
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-60px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
	background: var(--white);
	padding: var(--space-xs) var(--space-md);
	border-radius: var(--radius-full);
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--coral);
	box-shadow: var(--shadow-md);
	margin-bottom: var(--space-lg);
	animation: bounceIn 0.6s var(--ease-bounce) 0.3s both;
}

@keyframes bounceIn {
	from {
		opacity: 0;
		transform: scale(0.5);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.hero-badge-dot {
	width: 8px;
	height: 8px;
	background: var(--coral);
	border-radius: 50%;
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.5;
		transform: scale(1.2);
	}
}

.hero h1 {
	margin-bottom: var(--space-lg);
}

.hero-headline-accent {
	display: block;
	color: var(--coral);
	position: relative;
}

.hero-headline-accent::after {
	content: '';
	position: absolute;
	bottom: 0.1em;
	left: 0;
	right: 0;
	height: 0.15em;
	background: var(--yellow);
	z-index: -1;
	transform: skewX(-5deg);
}

.hero-subheadline {
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	color: var(--brown-light);
	margin-bottom: var(--space-xl);
	max-width: 500px;
}

.hero-cta {
	display: flex;
	gap: var(--space-md);
	flex-wrap: wrap;
	animation: slideUp 1s var(--ease-bounce) 0.5s both;
}

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

/* Phone Mockup */
.hero-visual {
	position: relative;
	animation: slideInRight 1s var(--ease-bounce) 0.3s both;
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(60px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.phone-mockup {
	position: relative;
	width: 300px;
	height: 620px;
	background: var(--brown);
	border-radius: 50px;
	padding: 12px;
	box-shadow:
		var(--shadow-lg),
		0 0 0 2px var(--brown-light);
	margin: 0 auto;
	transform: rotate(3deg);
	transition: transform var(--duration-slow) var(--ease-bounce);
}

.phone-mockup:hover {
	transform: rotate(0deg) scale(1.02);
}

.phone-screen {
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
	border-radius: 40px;
	overflow: hidden;
	position: relative;
}

.phone-notch {
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 28px;
	background: var(--brown);
	border-radius: var(--radius-full);
	z-index: 10;
}

.phone-content {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding-top: 50px;
}

/* Sentence Card inside Phone */
.sentence-card {
	flex: 1;
	margin: 8px;
	border-radius: var(--radius-lg);
	position: relative;
	overflow: hidden;
}

.sentence-card-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--coral) 0%, var(--pink) 100%);
}

.sentence-card-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: var(--white);
	text-align: center;
	padding: var(--space-lg);
}

.sentence-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	opacity: 0.7;
	margin-bottom: var(--space-sm);
}

.chinese-char {
	font-size: 2.5rem;
	font-weight: 900;
	margin-bottom: var(--space-sm);
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	animation: charPop 4s ease-in-out infinite;
}

@keyframes charPop {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.02);
	}
}

.pinyin {
	font-size: 1rem;
	font-weight: 600;
	opacity: 0.9;
	margin-bottom: var(--space-xs);
}

.translation {
	font-size: 0.875rem;
	opacity: 0.8;
	margin-bottom: var(--space-md);
}

.word-tags {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: center;
}

.word-tag {
	font-size: 0.75rem;
	padding: 4px 10px;
	border-radius: var(--radius-full);
	font-weight: 600;
}

.word-tag-known {
	background: rgba(0, 180, 168, 0.3);
	color: var(--white);
}

.word-tag-learning {
	background: rgba(255, 217, 61, 0.4);
	color: var(--white);
}

.word-tag-new {
	background: rgba(255, 255, 255, 0.25);
	color: var(--white);
}

/* Floating Elements */
.floating-chars {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.floating-char {
	position: absolute;
	font-size: 2rem;
	font-weight: 700;
	opacity: 0.15;
	animation: floatChar 15s ease-in-out infinite;
}

.floating-char:nth-child(1) {
	top: 10%;
	left: 10%;
	animation-delay: 0s;
	color: var(--coral);
}

.floating-char:nth-child(2) {
	top: 20%;
	right: 15%;
	animation-delay: -3s;
	color: var(--teal);
}

.floating-char:nth-child(3) {
	bottom: 30%;
	left: 5%;
	animation-delay: -6s;
	color: var(--yellow);
}

.floating-char:nth-child(4) {
	bottom: 10%;
	right: 10%;
	animation-delay: -9s;
	color: var(--pink);
}

@keyframes floatChar {
	0%,
	100% {
		transform: translate(0, 0) rotate(0deg);
	}
	25% {
		transform: translate(20px, -30px) rotate(10deg);
	}
	50% {
		transform: translate(-10px, 20px) rotate(-5deg);
	}
	75% {
		transform: translate(30px, 10px) rotate(15deg);
	}
}

/* ============================================
   Features Section
   ============================================ */
.features {
	background: var(--white);
	position: relative;
}

.features::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 150px;
	background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto var(--space-2xl);
}

.section-label {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--teal);
	margin-bottom: var(--space-md);
}

.section-title {
	margin-bottom: var(--space-md);
}

.section-subtitle {
	color: var(--brown-light);
	font-size: 1.125rem;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-lg);
}

.feature-card {
	background: var(--cream);
	border-radius: var(--radius-xl);
	padding: var(--space-xl);
	position: relative;
	overflow: hidden;
	transition: all var(--duration-normal) var(--ease-bounce);
}

.feature-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, var(--coral) 0%, var(--teal) 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--duration-normal) var(--ease-smooth);
}

.feature-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
}

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

.feature-icon {
	width: 72px;
	height: 72px;
	border-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	margin-bottom: var(--space-lg);
	transition: transform var(--duration-normal) var(--ease-bounce);
}

.feature-card:hover .feature-icon {
	transform: scale(1.1) rotate(-5deg);
}

.feature-icon-brain {
	background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
}

.feature-icon-ai {
	background: linear-gradient(135deg, var(--coral) 0%, var(--pink) 100%);
}

.feature-icon-topic {
	background: linear-gradient(135deg, var(--yellow) 0%, var(--coral) 100%);
}

.feature-icon-track {
	background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
}

.feature-icon-recall {
	background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
}

.feature-icon-tutor {
	background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%);
}

.features-grid-2x3 {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
}

.feature-card h3 {
	margin-bottom: var(--space-sm);
	font-size: 1.5rem;
}

.feature-card p {
	color: var(--brown-light);
	line-height: 1.7;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
	background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
	position: relative;
	overflow: hidden;
}

.steps-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-xl);
	position: relative;
}

.steps-container::before {
	content: '';
	position: absolute;
	top: 60px;
	left: 15%;
	right: 15%;
	height: 4px;
	background: linear-gradient(90deg, var(--coral), var(--teal), var(--purple));
	border-radius: var(--radius-full);
	z-index: 0;
}

.step {
	text-align: center;
	position: relative;
	z-index: 1;
}

.step-number {
	width: 120px;
	height: 120px;
	margin: 0 auto var(--space-lg);
	background: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 3rem;
	font-weight: 900;
	color: var(--coral);
	box-shadow: var(--shadow-md);
	position: relative;
	transition: all var(--duration-normal) var(--ease-bounce);
}

.step:hover .step-number {
	transform: scale(1.1);
	box-shadow: var(--shadow-lg);
}

.step-number::before {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--coral), var(--teal));
	z-index: -1;
}

.step h3 {
	margin-bottom: var(--space-sm);
}

.step p {
	color: var(--brown-light);
	max-width: 280px;
	margin: 0 auto;
}

/* ============================================
   Translate Section
   ============================================ */
.translate-section {
	background: var(--white);
	position: relative;
}

.translate-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-2xl);
	align-items: center;
}

.translate-text .section-label {
	display: inline-block;
	margin-bottom: var(--space-md);
}

.translate-text h2 {
	margin-bottom: var(--space-lg);
}

.translate-text p {
	color: var(--brown-light);
	font-size: 1.125rem;
	line-height: 1.7;
}

.translate-card {
	background: var(--cream);
	border-radius: var(--radius-xl);
	padding: var(--space-xl);
	box-shadow: var(--shadow-md);
}

.translate-input-row {
	font-size: 1.75rem;
	font-weight: 700;
	text-align: center;
	padding: var(--space-md);
	margin-bottom: var(--space-lg);
	border-bottom: 2px solid var(--cream-dark);
}

.translate-breakdown {
	display: flex;
	justify-content: center;
	gap: var(--space-md);
	flex-wrap: wrap;
}

.translate-word {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius-md);
	font-size: 1.25rem;
	font-weight: 700;
}

.translate-word small {
	font-size: 0.75rem;
	font-weight: 500;
	opacity: 0.8;
}

.translate-known {
	background: rgba(0, 180, 168, 0.15);
	color: var(--teal-dark);
}

.translate-learning {
	background: rgba(255, 217, 61, 0.25);
	color: var(--brown);
}

.translate-new {
	background: rgba(155, 93, 229, 0.15);
	color: var(--purple);
}

/* ============================================
   Testimonial / Quote Section
   ============================================ */
.quote-section {
	background: var(--brown);
	color: var(--white);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.quote-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 20% 50%, var(--coral) 0%, transparent 50%),
		radial-gradient(circle at 80% 50%, var(--teal) 0%, transparent 50%);
	opacity: 0.15;
}

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

.quote-marks {
	font-size: 8rem;
	font-family: Georgia, serif;
	color: var(--coral);
	line-height: 0.5;
	opacity: 0.5;
}

.quote-text {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	font-weight: 700;
	max-width: 800px;
	margin: var(--space-lg) auto;
	line-height: 1.4;
}

.quote-highlight {
	color: var(--yellow);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
	background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
	color: var(--white);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta-section::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: var(--yellow);
	border-radius: 50%;
	opacity: 0.1;
}

.cta-section::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: -10%;
	width: 400px;
	height: 400px;
	background: var(--teal);
	border-radius: 50%;
	opacity: 0.1;
}

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

.cta-section h2 {
	margin-bottom: var(--space-md);
}

.cta-section p {
	font-size: 1.25rem;
	opacity: 0.9;
	max-width: 500px;
	margin: 0 auto var(--space-xl);
}

.cta-section .btn-primary {
	background: var(--white);
	color: var(--coral);
	box-shadow: var(--shadow-lg);
}

.cta-section .btn-primary:hover {
	background: var(--cream);
	transform: translateY(-4px) scale(1.05);
}

/* ============================================
   Footer
   ============================================ */
.footer {
	background: var(--brown);
	color: var(--white);
	padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: var(--space-xl);
	margin-bottom: var(--space-2xl);
}

.footer-brand {
	max-width: 300px;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	margin-bottom: var(--space-md);
}

.footer-logo-icon {
	width: 36px;
	height: 36px;
	border-radius: var(--radius-sm);
	object-fit: cover;
}

.footer-logo-text {
	height: 24px;
	width: auto;
	object-fit: contain;
}

.footer-brand p {
	opacity: 0.7;
	line-height: 1.7;
}

.footer-column h4 {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: var(--space-md);
	color: var(--coral);
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: var(--space-sm);
}

.footer-links a {
	opacity: 0.7;
	transition: all var(--duration-fast) var(--ease-smooth);
}

.footer-links a:hover {
	opacity: 1;
	color: var(--teal);
}

.social-links {
	display: flex;
	gap: var(--space-sm);
	margin-top: var(--space-md);
}

.social-link {
	width: 44px;
	height: 44px;
	background: var(--brown-light);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	transition: all var(--duration-normal) var(--ease-bounce);
}

.social-link:hover {
	background: var(--coral);
	transform: translateY(-4px);
}

.footer-bottom {
	padding-top: var(--space-lg);
	border-top: 1px solid var(--brown-light);
	display: flex;
	justify-content: space-between;
	align-items: center;
	opacity: 0.7;
	font-size: 0.875rem;
}

.footer-legal {
	display: flex;
	gap: var(--space-lg);
}

/* ============================================
   Forms (Signup & Contact Pages)
   ============================================ */
.form-page {
	min-height: 100vh;
	padding-top: 100px;
	display: flex;
	align-items: center;
}

.form-container {
	max-width: 600px;
	margin: 0 auto;
	background: var(--white);
	border-radius: var(--radius-xl);
	padding: var(--space-2xl);
	box-shadow: var(--shadow-lg);
	position: relative;
	overflow: hidden;
}

.form-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 8px;
	background: linear-gradient(90deg, var(--coral), var(--teal));
}

.form-header {
	text-align: center;
	margin-bottom: var(--space-xl);
}

.form-header h1 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	margin-bottom: var(--space-sm);
}

.form-header p {
	color: var(--brown-light);
}

.form-group {
	margin-bottom: var(--space-lg);
}

.form-label {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	margin-bottom: var(--space-xs);
	color: var(--brown);
}

.form-input,
.form-select,
.form-textarea {
	width: 100%;
	padding: var(--space-md);
	font-family: var(--font-body);
	font-size: 1rem;
	border: 2px solid var(--cream-dark);
	border-radius: var(--radius-md);
	background: var(--cream);
	color: var(--brown);
	transition: all var(--duration-fast) var(--ease-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--coral);
	background: var(--white);
	box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder {
	color: var(--brown-light);
	opacity: 0.6;
}

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

.form-select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232D1810' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 1.25rem;
	cursor: pointer;
}

.form-submit {
	width: 100%;
	margin-top: var(--space-md);
}

.form-note {
	text-align: center;
	font-size: 0.875rem;
	color: var(--brown-light);
	margin-top: var(--space-md);
}

/* Mascot Placeholder */
.mascot-placeholder {
	width: 120px;
	height: 120px;
	background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%);
	border-radius: 50%;
	margin: 0 auto var(--space-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	box-shadow: var(--shadow-md);
	position: relative;
}

.mascot-placeholder::after {
	content: 'Mascot';
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--brown);
	color: var(--white);
	font-size: 0.625rem;
	padding: 2px 8px;
	border-radius: var(--radius-full);
	font-family: var(--font-display);
	font-weight: 600;
}

/* ============================================
   Contact Page Specifics
   ============================================ */
.contact-intro {
	text-align: center;
	padding: var(--space-2xl) 0;
}

.contact-intro h1 {
	margin-bottom: var(--space-md);
}

.contact-intro p {
	max-width: 600px;
	margin: 0 auto;
	color: var(--brown-light);
	font-size: 1.125rem;
}

.roles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--space-md);
	margin: var(--space-xl) 0;
}

.role-tag {
	background: var(--cream);
	padding: var(--space-md);
	border-radius: var(--radius-md);
	text-align: center;
	font-weight: 600;
	border: 2px solid transparent;
	transition: all var(--duration-normal) var(--ease-bounce);
	cursor: default;
}

.role-tag:hover {
	border-color: var(--coral);
	transform: translateY(-4px);
}

/* ============================================
   Success State
   ============================================ */
.success-message {
	display: none;
	text-align: center;
	padding: var(--space-2xl);
}

.success-message.show {
	display: block;
	animation: scaleIn 0.5s var(--ease-bounce);
}

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.success-icon {
	width: 100px;
	height: 100px;
	background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto var(--space-lg);
	font-size: 3rem;
}

.success-message h2 {
	margin-bottom: var(--space-sm);
	color: var(--teal);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
	.hero-content {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero-text {
		order: 1;
	}

	.hero-visual {
		order: 0;
	}

	.hero-subheadline {
		margin: 0 auto var(--space-xl);
	}

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

	.phone-mockup {
		width: 260px;
		height: 540px;
		transform: rotate(0);
	}

	.features-grid,
	.features-grid-2x3 {
		grid-template-columns: repeat(2, 1fr);
		max-width: 700px;
		margin: 0 auto;
	}

	.translate-content {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.steps-container {
		grid-template-columns: 1fr;
		gap: var(--space-2xl);
	}

	.steps-container::before {
		display: none;
	}

	.footer-content {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
		max-width: none;
		text-align: center;
		margin-bottom: var(--space-lg);
	}

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

@media (max-width: 768px) {
	.nav-links {
		display: none;
	}

	.mobile-menu-btn {
		display: flex;
	}

	.section {
		padding: var(--space-2xl) 0;
	}

	.footer-content {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-brand {
		margin-bottom: var(--space-xl);
	}

	.footer-bottom {
		flex-direction: column;
		gap: var(--space-md);
	}

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

	.form-container {
		margin: var(--space-lg);
		padding: var(--space-xl);
	}
}

@media (max-width: 480px) {
	:root {
		--space-lg: 1.5rem;
		--space-xl: 2rem;
		--space-2xl: 3rem;
	}

	.btn {
		width: 100%;
	}

	.hero-cta {
		flex-direction: column;
	}

	.phone-mockup {
		width: 220px;
		height: 460px;
	}

	.chinese-char {
		font-size: 2rem;
	}

	.features-grid,
	.features-grid-2x3 {
		grid-template-columns: 1fr;
		max-width: 500px;
	}
}

/* ============================================
   Animations on Scroll (JS will add .visible)
   ============================================ */
.animate-on-scroll {
	opacity: 0;
	transform: translateY(40px);
	transition: all 0.8s var(--ease-smooth);
}

.animate-on-scroll.visible {
	opacity: 1;
	transform: translateY(0);
}

.animate-on-scroll:nth-child(1) {
	transition-delay: 0s;
}
.animate-on-scroll:nth-child(2) {
	transition-delay: 0.1s;
}
.animate-on-scroll:nth-child(3) {
	transition-delay: 0.2s;
}
.animate-on-scroll:nth-child(4) {
	transition-delay: 0.3s;
}

/* ============================================
   Mobile Menu (JS controlled)
   ============================================ */
.mobile-nav {
	position: fixed;
	top: 0;
	right: -100%;
	width: 80%;
	max-width: 400px;
	height: 100vh;
	background: var(--white);
	z-index: 1001;
	padding: var(--space-2xl);
	transition: right var(--duration-normal) var(--ease-smooth);
	box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
	right: 0;
}

.mobile-nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	z-index: 1000;
	transition: all var(--duration-normal) var(--ease-smooth);
}

.mobile-nav-overlay.open {
	opacity: 1;
	visibility: visible;
}

.mobile-nav-close {
	position: absolute;
	top: var(--space-lg);
	right: var(--space-lg);
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: var(--brown);
}

.mobile-nav-links {
	list-style: none;
	margin-top: var(--space-2xl);
}

.mobile-nav-links li {
	margin-bottom: var(--space-lg);
}

.mobile-nav-links a {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--brown);
	display: block;
	padding: var(--space-sm) 0;
	border-bottom: 2px solid var(--cream);
	transition: all var(--duration-fast) var(--ease-smooth);
}

.mobile-nav-links a:hover {
	color: var(--coral);
	border-color: var(--coral);
}
